1 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * cursor.C (goUpDown): remove call to idxUpDown2
5 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
7 * tabular.[Ch]: use size_t-like types for cell, row and column
10 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
12 * lyxfunc.C (getStatus): do not lose previous information when
13 calling BufferView::getStatus; do not set a default "Command
14 disabled" message at the beginning, but just before returning.
16 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
18 * cursor.h (getStatus): add better comment from src/cursor.C
20 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
22 * text3.C (getStatus): return false when the lfun is not handled
24 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
26 * broken_headers.h: remove
28 * Makefile.am (lyx_SOURCES): remove broken_headers.h
30 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
32 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
35 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
36 top_y_, merge fitcursor with update
37 (updateScrollbar, scrollDocView, fitCursor, center, update): new
40 (workAreaDispatch): adapt to new coord scheme
41 (redoCurrentBuffer): remove
43 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
45 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
48 * coordcache.[Ch]: add paragraph cache and helpers
50 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
53 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
54 (targetX, setTargetX): introduce
56 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
57 baseline -> ascent, as the rest of lyx
59 * lyxtext.h: remove redoParagraphs, updateParPositions,
60 fullRebreak, redoParagraphInternal. move dist to anon namespace in
61 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
62 have ascent/descent (ascent is ascent of first par)
64 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
67 * paragraph.[Ch]: unify dimension handling with the rest of lyx
69 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
71 * pariterator.C: fix infinite loop introduced in par->pit renaming
73 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
74 in insets and LyXText, draw two off-screen paragraphs using
75 NullPainter, and adapt to new coord scheme
79 * text3.C: adapt lfun handlers to the new coord scheme, which
80 means: there's only guaranteed coord information for onscreen pars
81 plus one above and one below. This implies that one can do search
82 from y coordinates in the range [-1,workHeight]
84 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
86 * rename a lot of InsetOld to InsetBase
88 2004-11-25 Angus Leeming <leeming@lyx.org>
92 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
94 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
96 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
97 call BufferView::getStatus if LCursor::getStatus did nothing
98 (setStatusMessage, getStatusMessage): removed.
100 * FuncStatus.C (message): new methods. Used to provide an error
101 message indicating why a command is disabled.
102 (clear, |=, FuncStatus): update for message.
104 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
106 * lyxfunc.C (dispatch): always call sendDispatchMessage
108 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
111 * BufferView_pimpl.C:
125 * undo.C: par->pit renaming
127 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
129 * tabular.C (cellstruct): use initialization, store a shared_ptr
130 to insettext instead of the insettext directly, adjust to fit.
131 (operator=): new function
133 (rowstruct): use initialization
134 (columnstruct): use initialization
135 (ltType): use initialization
138 * lyxlength.h (swap): new function
140 * LColor.[Ch] (operator=): use the common semantics
142 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
144 * lyxfind.C (findNextChange): update the bufferview after setting
147 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
149 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
150 number of InsetOptArgs has already been inserted.
152 * output_latex.C (latexOptArgInsets): new method. This outputs all
153 the optarg insets, up to the limit defined in the layout file.
154 (optArgInset): removed
155 (TeXOnePar): call latexOptArgInsets; correctly update texrow
157 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
159 * paragraph.C (isLetter): remove special spellchecker-related
160 code; return true also for digits
161 (isWord, isKomma): remove
163 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
164 * lyxfind.C (MatchString()): use isLetter instead of isWord
166 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
168 * pariterator.h (operatir=): comment out un-implemented member
171 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
174 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
176 * lyxfont.h: include LColor.h to satisfy concept checks.
178 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
180 * pariterator.h: add typdefs for value_type, difference_type,
181 pointer and reference to satisfy concept checks. Also add default
182 constructor for same reason.
184 * pariterator.C (operator++): add post-increment operator to
185 satisfy concept checks.
187 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
190 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
192 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
193 checks. Also rename base_type to BaseType to follow naming
196 * FloatList.h: include Floating.h to satisfy concept checks.
198 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
200 * lyxfunc.C (getStatus): when the origin of the request is menu or
201 toolbar, and the LyXView does not have focus, do as if there was
204 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
205 FuncRequest to individual entries of LFUN_SEQUENCE
207 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
209 * output_latex.C (TeXOnePar): override runparams.moving_arg
210 according to the needprotect value of the current paragraph (bug
213 * paragraph.C (simpleTeXOnePar): no need to override
214 runparams.moving_args here
216 2004-11-14 John Spray <spray_john@users.sourceforge.net>
218 * vspace.C: fix off-by-one-error, related to fix #1682
220 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
222 * lengthcommon.C: a more general fix for bug 1682
224 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
226 * text.C (backspace): fix crash
228 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
230 * format.[Ch] (getFormatFromFile): new method
231 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
233 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
235 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
237 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
239 * lyxfunc.C (dispatch): remove the verbose argument
240 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
243 * kbmap.C (defkey): set the origin of func to KEYBOARD
245 * MenuBackend.C (MenuItem):
246 * ToolbarBackend.C (add): set the origin of func to UI
248 * funcrequest.[Ch]: add origin member, which indicates which part
249 of LyX requests an action
251 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
253 * converter.C (move): don't lie in the error message
254 * converter.h (isReachable, move): document
256 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
258 * buffer.C: remove unused using lyx::support::atoi
259 * paragraph_funcs.C: ditto
261 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
263 * bufferlist.C (exists): use bind and equal_to instead of
266 * lyxtextclasslist.C (NumberOfClass): ditto
268 * cursor.C (insert): use for_each instead of explicit for loop
270 * bufferlist.C (getFileNames): use std::transform and
271 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
273 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
276 * buffer.C (changeLanguage): use for_each instead of explicit for
278 (hasParWithID): implement using getParFromID
280 * LaTeXFeatures.C: ws change only
282 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
285 * BufferView_pimpl.C (trackChanges): use for_each instead of
288 2004-11-04 André Pönitz <poenitz@gmx.net>
291 * undo.C (textUndoOrRedo): fix crash when creating undo information.
293 * dociterator.C (asDocIterator): use hard assert again.
295 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
297 * lyxlength.C (asLatexString): rewrite so that it does not use
300 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
302 * text3.C (specialChar, dispatch): make sure cursor moves to the
303 right after inserting an inset
305 2004-11-02 José Matos <jamatos@lyx.org>
307 * output_docbook.C (docbook):
308 * paragraph.C (getID):
309 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
310 garantee that the output is always legal.
312 * tabular.C (docbook):
313 * outputprams.[Ch]: remove mixed contents.
315 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
317 * text2.C (setCounter): prevent endless loop
319 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
321 * exporter.C (copyFile): use the mover instead of support::copy()
322 * exporter.C (Export): pass format and latex name to copyFile()
323 * exporter.h (addExternalFile): document
324 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
326 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
328 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
330 2004-10-30 José Matos <jamatos@lyx.org>
332 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
333 text and no inset or font change. This allows to use CDATA
334 sections just for the whole paragraph.
336 2004-10-30 José Matos <jamatos@lyx.org>
338 * paragraph.C (getFirstWord): remove unused variable.
340 2004-10-30 José Matos <jamatos@lyx.org>
342 * paragraph.C (getFirstWord): the content should always be escaped
344 (simpleDocBookOnePar):
345 * output_docbook.C (makeEnvironment): replace reference to CDATA
348 2004-10-30 José Matos <jamatos@lyx.org>
350 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
352 2004-10-30 José Matos <jamatos@lyx.org>
354 * output_docbook.C (makeParagraphs):
355 * paragraph.[Ch] (emptyTag): for docbook and company, if the
356 standard paragraph has only a given type of content drop the wrapper.
358 2004-10-29 José Matos <jamatos@lyx.org>
360 * output_docbook.C (makeEnvironment):
362 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
364 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
366 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
367 (cleanID): sanitize any id.
369 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
371 * buffer.C, lyxlex_pimpl.C:
372 * lyxlex_pimpl.C (setFile):
373 s/getExtFromContents/getFormatFromContents/
375 2004-10-28 José Matos <jamatos@lyx.org>
377 * output_docbook.C (makeEnvironment): move id to broadest possible
380 * sgml.C (openTag): apply substitution of <> for all attributes.
382 2004-10-28 José Matos <jamatos@lyx.org>
384 * buffer.C (makeLinuxDocFile, makeDocBookFile):
385 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
386 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
388 * sgml.[Ch]: new version for open and closeTag for paragraph and
389 for strings. Now they handle the ids of paragraphs.
391 2004-10-26 Angus Leeming <leeming@lyx.org>
393 * Makefile.am: add mover.[Ch].
395 * converter.C (convert, move): use the new Movers to move external
396 files to the temp directory.
398 * lyx_main.C (init): ensure that the global system_movers data
401 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
404 * mover.[Ch]: new files, defining a Mover as a utility to move an
405 external file between directories and, if necessary, manipulate this
406 file using a helper script.
408 2004-10-25 José Matos <jamatos@lyx.org>
410 * output_docbook.C (makeCommand): merge two if's that tested the
413 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
415 * sgml.C (escapeString): fix warning in a better way
417 2004-10-25 José Matos <jamatos@lyx.org>
419 * sgml.C (escapeString): import the require boosts header file for
420 tie, and avoid a signed unsigned comparison.
422 2004-10-25 José Matos <jamatos@lyx.org>
424 * sgml.h: add #include <string>
426 2004-10-25 José Matos <jamatos@lyx.org>
428 * sgml.[Ch] (escapeString): new function to escape all the string.
430 2004-10-24 José Matos <jamatos@lyx.org>
432 * paragraph.[Ch] (getFirstWord): new function to get the first
433 word. Useful for description.
434 (simpleDocBookOnePar): remove depth argument, add another that
435 says where to start the paragraph.
437 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
438 use the new functions to fix cleanly the support for descriptions.
440 2004-10-24 José Matos <jamatos@lyx.org>
442 * buffer.C (makeLinuxDocFile, makeDocBookFile):
443 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
444 * output_linuxdoc.C (linuxdocParagraphs):
445 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
446 add buffer as argument.
448 2004-10-24 José Matos <jamatos@lyx.org>
450 * output_docbook.C (makeEnvironment, searchEnvironment): place
451 CDATA inside paragraphs and fix scope for listitems.
453 2004-10-24 José Matos <jamatos@lyx.org>
455 * output_docbook.C: remove using statement for stack.
457 2004-10-23 José Matos <jamatos@lyx.org>
459 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
460 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
461 docbook. The new scheme is recursive and makes use of iterators, the
462 same as latex export works.
463 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
464 directly with the paragraph contents. This code was moved up to
465 output_docbook.C (docbookParagraphs).
466 * sgml.C (openTag, closeTag): removed unneeded newlines.
467 (closeEnvTags) removed.
469 2004-10-23 André Pönitz <poenitz@gmx.net>
471 * undo.C (textUndoOrRedo):
472 * dociterator.C (asDocIterator): work around crash
474 * cursor.C (getStatus): replace ASSERT by more verbose error message
475 and manual correction of the problem. Should increase stability
476 while providing more sensible information.
478 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
480 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
482 * bufferlist.C (previous, next): new methods
485 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
487 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
489 * buffer.C (makeDocBookFile): add dsssl stylesheet control
490 entities to preamble.
492 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
494 * messages.C (Pimpl): strip off translation context information
496 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
498 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
499 the cursor is correct (bug 1694)
501 2004-10-13 José Matos <jamatos@lyx.org>
503 * output_docbook.C (docbookParagraphs): fix closing tags in the
506 2004-10-09 José Matos <jamatos@lyx.org>
508 * buffer.C: format up to 237.
509 * bufferparams.C (write): use tostr to convert booleans to strings.
511 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
513 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
515 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
517 * LaTeX.C: implement use of babel language in xindy.
519 2004-10-05 José Matos <jamatos@lyx.org>
521 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
522 Add new translators to help reading and writing the lyx file.
524 2004-10-05 José Matos <jamatos@lyx.org>
526 * ParagraphParameters.C (read):
527 * text.C (readParToken): replace nexToken by more appropriate lex
530 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
532 * LaTeX.C (runMakeIndex):
533 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
534 (usually 'makeindex') configurable.
536 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
537 with a variable rather than with a number.
539 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
541 * output_latex.C (TeXOnePar): make sure font setting is the first
542 thing that gets output (and the last at the end). Should fix bug
545 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
547 * pch.h: use proper signal include
549 * LaTeX.h: Use preferred calling of Boost.Signal
552 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
554 * pch.h: dont include <boost/function/function0.hpp>
556 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
558 * paragraph_pimpl.h: remove usage of ShareContainer
560 * paragraph_pimpl.C: remove initialization of ShareContainer.
562 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
566 * BufferView.C (putSelectionAt): change the semantics when
567 backwards == true: now, this just swaps cursor and anchor wrt the
570 * BufferView.h (putSelectionAt): add some documentation
572 * lyxfind.C (findBackwards): rewrite using while(). In particular,
573 make sure backwardChar is done at least once (to avoid getting
575 (findNextChange): use putSelectionAt in the forward direction
576 (operator()): use Paragraph::isWord
578 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
580 * Spacing.C (set): c_str fix
582 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
584 * lyx_cb.C (Reconfigure): quote the name of configure script in
585 case it contains spaces
587 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
591 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
592 (BOOST_LIBS): use top_buildir when looking for the file
594 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
596 * pch.h: do not use include boost/format.hpp, multiple symbols
597 will result (gcc bug)
600 2004-08-23 José Matos <jamatos@lyx.org>
602 * bufferparams.C (readToken): fix reading of the author field.
604 2004-08-20 José Matos <jamatos@lyx.org>
606 * lyxrc.C: remove support/translator.h inclusion since it is not used.
608 2004-08-20 José Matos <jamatos@lyx.org>
610 * lyxlex.[Ch] (findToken): remove function.
612 * ParagraphParameters.C (findToken):
613 * bufferparams.C (findToken): replace call for previous function
614 with local copy. This local function has one more argument, the
615 read string argument.
617 2004-08-16 José Matos <jamatos@lyx.org>
619 * ParagraphParameters.C (write):
620 * Spacing.C (writeFile):
621 * bufferparams.C (writeLaTeX):
622 * lyx_cb.C (Reconfigure):
623 * paragraph.C (write):
624 * tabular.C (write): remove unnecessary space at end of line.
627 2004-08-16 José Matos <jamatos@lyx.org>
629 * text.C (readParagraph): remove debug message.
631 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
633 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
636 * output_plaintext.C (asciiParagraph): set depth correctly
638 * outputparams.h: add member depth
640 * paragraph_funcs.C (ownerPar): remove.
642 * text2.C (setCounter): remove first_pit; comment out some
643 non-working code that uses ownerPar
645 * BufferView.C (getParentLanguage): remove. Not used anymore, and
648 2004-08-16 José Matos <jamatos@lyx.org>
650 * text.C (readParToken, readParagraph, read): report all unknown tokens.
651 For the same level of importance use the same chanel to report problems.
652 (read): add code to deal with \begin_body and \end_body.
655 2004-08-15 José Matos <jamatos@lyx.org>
657 * lyxlex.C (getString): fix comment, buffer::readBody is now
660 * tex-strings.C (string_papersize): Default -> default,
661 Custom -> custom, for consistency with other options.
663 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
667 * Makefile.am: support pch
669 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
671 * text.C (readParToken): remove the static LyXFont variable and
672 pass it as a parameter instead. This fixes a nasty bug where an
673 inset will be inserted with a bad font in some situations
674 (readParagraph): adapt
676 * text2.C (setCounter): reduce number of calls to pars_[pit]
678 * text.C (singleWidth): add an assert, fix a test
680 * rowpainter.C (paintText): reduce number of calls to singleWidth
682 * paragraph.C (isHfill):
685 2004-08-14 André Pönitz <poenitz@gmx.net>
690 * lyxtext.h (several functions): use a Paragraph & argument
693 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
695 * metricsinfo.h: add a new field ltr_pos to PainterInfo
697 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
699 * text.C (singleWidth): remove useless test
701 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
703 * tabular.h: remove bogus comments
705 * tabular.C (getDescentOfRow):
706 (isPartOfMultiColumn): add assertions
708 * lyxlength.C (inPixels): remove #warning
710 2004-08-14 André Pönitz <poenitz@gmx.net>
712 * paragraph.h: inline getChar()
714 * BufferView.h: remove unused declarations
716 2004-08-14 José Matos <jamatos@lyx.org>
718 * Buffer.[Ch] (readDocument): new name for old readBody.
719 * Buffer.C: new file format, new keywords: \begin_document,
720 \begin_header, \begin_body, \end_body.
722 * bufferparams.C (readToken): replace all calls to lex.nextToken
723 by lex.next(). Do the same to eatLine except where really needed.
725 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
726 line when writing to the lyx file.
728 * output_plaintext.C (asciiParagraph): fix Bibliography style
731 * text.C (read): fix end of file handling.
733 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
735 * MenuBackend.C (Menu::operator[]): new method to access
736 individual menu items
737 (Menu::hasFunc): new method. search for an item that corresponds
739 (MenuBackend::specialMenu): new method
740 (MenuBackend::expand): if a special menu has been set, skip
741 entries whose func() appears in this menu
743 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
745 * text3.C: use Debug::DEBUG a bit more
747 * text.C (leftMargin): try to simplify a tiny bit change var x to
748 l_margin. Dont output the wide margins always.
749 (rightMargin): no margin in inner texts
751 * rowpainter.h (nestMargin): new func
752 (changebarMargin): new func
753 (rightMargin): new func
755 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
759 * factory.C (createInset): modify setDrawFrame
761 * cursor.C: use Debug::DEBUG a bit more
763 2004-08-14 André Pönitz <poenitz@gmx.net>
766 * Makefile.am: new files to accomodate an 'external' (x,y)-position
767 cache for all insets in (at least partially) visible (top-level)
770 * BufferView_pimpl.C: reset external coord cache before every update.
771 This means the coord cache only contains valid entries.
773 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
776 * BufferView_pimpl.C (getInsetByCode): move function out of class
777 and change in to a template in anon namespace. Also fix to do what
780 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
783 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
785 (breakParagraph): rename par to par_offset and use a local
786 reference. Add code to keep the language over a rebreak.
787 (breakParagraphConservative): rename par to par_offset, use a
789 (mergeParagraph): ditto
791 (isFirstInSequence): ditto
792 (outerFont): rename pit to par_offset
794 * paragraph.C: ws change
799 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
801 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
804 * paragraph.C (simpleTeXOnePar): when we have a \item with
805 optional argument, enclose the argument with curly brackets (in
806 case it contains a closing square bracket)
810 * text3.C (checkInsetHit): constify
812 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
814 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
817 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
819 Fix toggling of collapsable insets with the mouse (bug 1558)
821 * lyxfunc.C (dispatch): adapt to LCursor changes
823 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
824 make sure that dispatch is not invoked twice
826 * cursor.C (needsUpdate): new method
827 (dispatch): return void
828 (result): new method, to access the DispatchResult of the cursor.
830 2004-08-13 José Matos <jamatos@lyx.org>
832 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
834 2004-08-13 André Pönitz <poenitz@gmx.net>
836 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
838 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
841 2004-08-12 André Pönitz <poenitz@gmx.net>
843 * text3.C: take out the 'cursor right' form insertInset and only
844 do it in those places when it is really needed. Fixes crash on
847 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
849 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
851 * BufferView_pimpl.C (setBuffer): initialize the current font of
852 the underlying LyXText
854 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
856 * kbsequence.C (print): use UI native formatting for menu
859 * text.C (insertChar): call Paragraph::insertChar with a font
862 * paragraph.C (insertInset, insertChar): the version that takes a
863 LyXFont argument is now a wrapper around the other one (the
864 opposite used to be true).
866 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
867 argument. Font setting is done in Paragraph now.
869 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
871 * outputparams.h: add new members intitle and lang.
873 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
874 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
876 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
878 * text3.C (dispatch): remove special handling of button 4 and 5,
879 it is now taken care of in the frontend code.
881 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
883 * Spacing.h: add <string> (STLPort compile fix)
885 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
887 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
889 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
891 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
894 * converter.C (showMessage): inherit from unary_function, make
897 * buffer.C (writeFile): initialize retval
899 * InsetList.h: rename private variable list to list_
900 * InsetList.[Ch]: adjust accordingly.
902 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
904 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
905 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
906 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
907 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
908 * ParagraphParameters.C, LaTeXFeatures.C: replace
909 "support/std_sstream.h" with <sstream>
911 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
913 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
914 * lyxsocket.C (LyXServerSocket): ditto
915 (serverCallback): ditto
917 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
919 * LaTeXFeatures.C: check release date when loading jurabib.
921 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
923 * lyxserver.C (startPipe): call register_socket_callback
924 (endPipe): call unregister_socket_callback
926 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
928 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
929 (LyXServerSocket): register the callback
930 (LyXServerSocket): unregister the callback
931 (fd): delete function
932 (serverCallback): improve error checking and setup the callbacks.
933 (dataCallback): change arg to fd.
934 (writeln): new func (copied fro the client socket) used for server
936 (LyXDataSocket): simplify
937 (~LyXDataSocket): close ann unregiser callback
938 (server): delete function
939 (fd): delete function
940 (readln): small changes, improve some std::string usage
941 (writeln): constify a bit
943 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
945 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
948 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
950 * BufferView_pimpl.C (setBuffer): set the layout combox value only
951 after it has been populated
953 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
955 * text2.C (insertInset): move cursor when inserting inset.
957 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
959 * kbmap.C (findbindings): a couple of new methods. returns a
960 container of kb_sequence objects. The real work is done by the
961 private recursive version
962 (printbindings): uses findbindings to print out a bracketed list
963 of bindings (renamed from findbinding).
965 * MenuBackend.C (binding): use kb_keymap::findbindings
967 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
969 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
971 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
973 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
975 * paragraph.C (isWord): return true on insets that report
978 * text.C (getWord): use Paragraph::isWord to decide what is in a
979 word and what is not; fix bug 1609.
981 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
983 * tex-strings.C: add "none" to string_paperpackages[], fixes
984 off-by-one-error in the paperpackage selection.
987 * tex-strings.[Ch]: char const * string[n]
988 -> char const * const string[]
990 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
992 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
993 command, return early.
995 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
997 * debug.h: add DEBUG to enum and fix size of ANY.
999 * debug.C: add support for Debug::DEBUG
1000 (showTags): cast errorTags.level to unsigned int
1002 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1003 (redoCurrentBuffer): ditto
1004 (updateScrollbar): ditto
1005 * cursor.C (dispatch): ditto
1006 * text2.C (setLayout): ditto
1008 (updateCounters): ditto
1010 (deleteEmptyParagraphMechanism): ditto
1012 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1014 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1015 annotations to cleanup the Makefile slightly.
1017 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1019 * lyxrc.C: do not set user_email to a default value but use empty
1020 instead. The entry used to be translated, which does not work
1021 since at the point where lyxrc is constructed there is no
1022 translation service available
1024 * messages.C (getLocaleDir): remove and use directly
1025 lyx_localedir() instead
1027 2004-06-02 Angus Leeming <leeming@lyx.org>
1029 Fix crash caused by dereferencing null pointer 'exportdata' in
1030 OutputParams by creating a new ExportData variable on the heap,
1031 storing it in a boost::shared_ptr.
1032 The crash was triggered when generating an Instant Preview
1033 of an external inset.
1035 * Makefile.am: add outputparams.C
1037 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1038 (c-tor): allocate memory to it.
1040 * exporter.C (c-tor): associated changes.
1042 2004-06-01 Angus Leeming <leeming@lyx.org>
1044 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1045 contains data before calling isInset(0). (Bug 1513.)
1047 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1049 * exporter.C (checkOverwrite): new method
1050 * exporter.C (copyFile): new method
1051 * exporter.C (Export): copy referenced files to the document dir
1052 * exporter.[Ch]: new class ExportedFile
1053 * exporter.[Ch]: new class ExportData. Contains currently the
1054 names of referenced external files
1055 * outputparams.h: add exportdata member.
1057 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1059 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1062 2004-05-19 Angus Leeming <leeming@lyx.org>
1067 * lyxfunc.C: small changes due to the introduction of namespace
1068 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1070 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1072 * text3.C (dispatch): supress update when only moving the cursor
1073 * cursor.C (selHandle): remove commented code
1075 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1077 * paragraph.C (startTeXParParams): correct column count
1078 * CutAndPaste.C (pasteSelection): remove const_cast
1079 * output_docbook.C (docbookParagraphs): remove const_cast
1080 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1081 const_cast and return ParagraphList::const_iterator
1082 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1083 * output_plaintext.C (writeFileAscii): remove const_cast
1084 * paragraph.[Ch] (simpleTeXOnePar): make const
1085 * paragraph_funcs.C (outerPar): use const iterators
1086 * paragraph_pimpl.C (validate): use const iterators
1087 * text.C (setHeightOfRow): use const iterators
1089 2004-05-17 Angus Leeming <leeming@lyx.org>
1092 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1094 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1095 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1096 if the citation engine has changed.
1098 2004-05-14 José Matos <jamatos@lyx.org>
1100 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1101 if the textclass does not provide it. Have it different for sgml and
1103 support the language of document.
1104 * output_docbook.C (docbookParagraphs):
1105 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1106 first anchor as the id of the paragraph, remove special case code.
1107 * sgml.C (escapeChar): escape only < & >.
1109 2004-05-14 Angus Leeming <leeming@lyx.org>
1111 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1112 dependencies on src/frontends/controllers/biblio.h. Define a
1113 CiteEngine_enum wrapper class to enable the enum to be forward
1116 2004-05-12 Angus Leeming <leeming@lyx.org>
1118 * buffer.C: up LYX_FORMAT to 234.
1119 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1120 use_numerical_citations with a single biblio::CiteEngine cite_engine
1122 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1124 2004-05-13 José Matos <jamatos@lyx.org>
1127 * converter.C (Converter, readFlags): add xml member.
1128 * outputparams.h: add XML flavor.
1129 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1131 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1133 * lyxfunc.C (dispatch):
1134 (getStatus): fix handling of LFUN_SEQUENCE
1136 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1138 * debug.C (showLevel): do not forget the end-of-line marker
1140 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1142 * kbmap.C (read): do not stop parsing a bind file when an error
1145 2004-04-29 Angus Leeming <leeming@lyx.org>
1150 * text2.C: wrap a bunch of #warning statements
1151 inside #ifdef WITH_WARNINGS blocks.
1153 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1155 * buffer.C: increment format to 233.
1157 2004-04-28 Angus Leeming <leeming@lyx.org>
1159 * BufferView_pimpl.C:
1162 s/updateToolbar()/updateToolbars()/
1163 s/Toolbar.h/Toolbars.h/
1165 2004-04-28 Angus Leeming <leeming@lyx.org>
1167 * BufferView.[Ch] (c-tor):
1168 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1169 No longer passes these data to the WorkArea generator.
1171 2004-04-28 Angus Leeming <leeming@lyx.org>
1173 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1175 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1177 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1179 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1181 * output_latex.C (TeXEnvironment): make sure that there is a line
1182 break before \end{foo} for the last paragraph of a document
1183 (TeXOnePar): if the paragraph is at the end of the document (or
1184 inset) and the language has to be reset, then make sure that the
1185 line break is _before_ the language command, not after (fixes bug
1186 1225); also make sure that the language reset command is the first
1187 thing after the paragraph (to ensure proper nesting of
1188 environments and thus fix bug 1404)
1190 2004-04-21 John Levon <levon@movementarian.org>
1193 * ToolbarBackend.C: make "name" be a programmatic name
1194 and a gui_name field.
1196 * lyxfunc.C: display the minibuffer on M-x
1198 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1200 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1203 2004-04-19 Angus Leeming <leeming@lyx.org>
1205 * BufferView_pimpl.C (setBuffer): changed preview interface.
1207 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1210 2004-04-19 John Levon <levon@movementarian.org>
1212 * BufferView_pimpl.C:
1213 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1215 2004-04-05 Angus Leeming <leeming@lyx.org>
1217 * text.C (redoParagraphs): add call to updateCounters(), thereby
1218 fixing the missing "Figure #:" label from the caption of a
1221 2004-04-13 Angus Leeming <leeming@lyx.org>
1223 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1224 cursor is clicked out of an inset.
1226 2004-04-13 Angus Leeming <leeming@lyx.org>
1228 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1229 than an InsetOld one.
1231 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1233 * format.[Ch]: add editor to Format
1234 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1235 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1237 2004-04-08 André Pönitz <poenitz@gmx.net>
1239 * metricsinfo.h: remove PainterInfo::width member
1241 2004-04-08 Angus Leeming <leeming@lyx.org>
1243 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1244 "\providecommand" rather than "\newcommand", thereby preventing
1245 clashes with packages that define "\boldsymbol" themselves.
1248 2004-04-08 Angus Leeming <leeming@lyx.org>
1250 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1251 thereby squashing an unnecessary warning.
1253 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1255 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1258 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1260 * BufferView.C (setCursor): call redoParagraph (some insets could
1262 (putSelectionAt): remove the 'double update' trick
1264 * BufferView_pimpl.C (fitCursor): call refreshPar
1265 (workAreaDispatch): remove an uneeded update call
1266 (dispatch): remove some manual update calls
1268 * cursor.[Ch]: remove cached_y_, updatePos
1269 (selHandle): set noUpdate when appropriate
1271 * lyxfunc.C (dispatch): track if we need an update
1273 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1275 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1276 (paintSelection): cheap optimization, do not call cursorX when not
1278 (paintPars): change signature
1281 (paintTextInset): adjust
1285 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1287 * lengthcommon.C: compilation fix: remove explicit array size from
1288 unit_name[] and friends
1290 2004-04-05 Angus Leeming <leeming@lyx.org>
1292 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1294 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1295 present only for the preferences dialog.
1296 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1298 2004-04-05 Angus Leeming <leeming@lyx.org>
1300 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1301 to enable the frontends to export changes to lyxrc correctly.
1303 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1305 2004-04-07 André Pönitz <poenitz@gmx.net>
1307 * cursor.[Ch] (selClear, adjust): remove math
1309 * cursor_slice.C: more agressive assert
1312 * BufferView_pimpl.C: rework mouse event dispatch
1319 2004-04-05 André Pönitz <poenitz@gmx.net>
1321 * cursor.[Ch] (valign, halign...): remove unneeded functions
1323 2004-04-05 Angus Leeming <leeming@lyx.org>
1325 * lyxlength.[Ch] (unit_name et al.): const-correct.
1327 2004-04-05 Angus Leeming <leeming@lyx.org>
1329 * BufferView_pimpl.C:
1338 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1340 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1342 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1344 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1346 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1347 * BufferView_pimpl.[Ch] (getStatus)
1348 * BufferView.[Ch] (getStatus): add
1349 * lyxfunc.C (getStatus): move lfuns handled in
1350 BufferView::dispatch to te function above
1351 * Cursor.C (setSelection): set selection() = true
1353 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1355 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1357 2004-03-31 Angus Leeming <leeming@lyx.org>
1359 * lyxfunc.C (dispatch): Fall through to the generic
1360 Dialogs::show("preamble").
1362 2004-03-31 Angus Leeming <leeming@lyx.org>
1364 * lyxfunc.C (dispatch): Fall through to the generic
1365 Dialogs::show("spellchecker").
1367 2004-03-31 Angus Leeming <leeming@lyx.org>
1369 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1372 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1377 * insetiterator.[Ch]:
1382 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1384 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1386 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1387 insets where we are putting the cursor.
1389 2004-03-31 Angus Leeming <leeming@lyx.org>
1392 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1394 * lyxrc.[Ch] (read, write): overloaded member functions taking
1395 a std::[io]stream arguments.
1397 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1399 2004-03-31 Angus Leeming <leeming@lyx.org>
1401 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1402 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1404 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1405 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1407 2004-03-31 Angus Leeming <leeming@lyx.org>
1409 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1410 the LFUN_ALL_INSETS_TOGGLE code.
1412 2004-03-30 Angus Leeming <leeming@lyx.org>
1414 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1415 has died. Fall through to the generic Dialogs::show("document").
1417 2004-03-30 Angus Leeming <leeming@lyx.org>
1420 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1421 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1423 * lyxfunc.C (getStatus, dispatch): define the actions for these
1424 lfuns. Little more than a cut and pste job from ControlDocument.C
1426 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1428 2004-03-30 Angus Leeming <leeming@lyx.org>
1431 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1432 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1434 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1435 open/closed state of ollapsable insets. Usage:
1437 all-inset-toggle <state> <name>, where
1438 <state> == "open" || "closed" || "toggle" and
1439 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1441 * lyxtext.h, text2.C (toggleInset): removed.
1443 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1444 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1445 now passes LFUN_INSET_TOGGLE to the found inset.
1447 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1448 is now invoked as "all-insets-toggle toggle branch".
1450 2004-03-30 Angus Leeming <leeming@lyx.org>
1454 * pariterator.[Ch]: added/corrected header blurb.
1456 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1458 * dociterator.[Ch]: add an inset_ member
1459 (backwardPos): implemented
1460 (backwardPos, forwardPos): use inset_ when the stack is empty.
1461 (doc_iterator_begin, doc_iterator_end): implemented
1462 * pariterator.[Ch]: adjust, add begin, end
1463 * insetiterator.[Ch]: adjust, add begin, end
1467 * BufferView_pimpl.C:
1468 * CutAndPaste.C: adjust
1470 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1472 * buffer.C: increment file format to 232.
1473 * LaTeXFeatures.C: add bibtopic package.
1474 * bufferparams.[Ch]: param \use_bibtopic.
1476 * lyxrc.[Ch]: add lyxrc bibtex_command
1477 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1479 * buffer.C: increment file format to 231.
1481 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1483 * dociterator.C: implement forwardPar
1484 * iterators.[Ch]: remove, replaced by
1485 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1487 * BufferView_pimpl.C:
1490 * bufferview_funcs.C:
1496 * Makefile.am: adjust
1498 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1500 * CutAndPaste.C (pasteSelection): fix 2 crashes
1501 (eraseSelection): fix a crash
1502 * paragraph_funcs.C: remove a warning
1504 2004-03-28 Angus Leeming <leeming@lyx.org>
1507 * LyXAction.C (init): new LFUN_PRINT.
1509 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1511 2004-03-27 Angus Leeming <leeming@lyx.org>
1514 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1516 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1518 2004-03-27 Angus Leeming <leeming@lyx.org>
1520 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1521 insetlist always contains non-null pointers to insets.
1523 2004-03-26 Angus Leeming <leeming@lyx.org>
1525 * src/BufferView_pimpl.C:
1526 * src/CutAndPaste.C:
1529 * src/output_plaintext.C:
1530 * src/outputparams.h:
1531 * src/paragraph_funcs.C:
1535 * src/frontends/controllers/ControlErrorList.C:
1536 * src/frontends/gtk/FileDialogPrivate.C:
1537 * src/frontends/gtk/GPainter.C:
1538 * src/frontends/gtk/GToolbar.C:
1539 * src/frontends/qt2/QRef.C:
1540 * src/mathed/math_scriptinset.C: squash compiler warnings.
1542 2004-03-26 Angus Leeming <leeming@lyx.org>
1544 * ispell.C (LaunchIspell::start):
1545 * lyx_cb.C (AutoSaveBuffer::start):
1546 invoke run(DontWait) rather than runNonBlocking().
1548 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1550 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1552 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1554 * kbsequence.C (print): adjust
1556 * kbmap.C (printKeySym): rename and change signature
1557 (printKey): use LyXKeySym::print()
1559 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1561 * undo.C: add using std::advance to compile for stlport
1563 2004-03-24 Angus Leeming <leeming@lyx.org>
1565 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1566 it leads to a crash when no buffer is present.
1568 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1569 Martin Vermeer <martin.vermeer@hut.fi>
1571 * lyxfunc.C (dispatch):
1572 * bufferparams.C (readToken): use the new LColor::setColor
1574 * LColor.[Ch] (setColor): new version that takes two strings as
1575 argument and creates a new color entry if necessary
1577 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1579 * buffer.C (makeLaTeXFile): if the main latex file that is
1580 processed is usually a subdocument of some master, then pretend
1581 for a while that it is actually the master
1583 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1585 * buffer.C (getLabelList):
1586 (getBibkeyList): use getMasterBuffer()
1587 (getMasterBuffer): new method. Returns the main document in the
1588 case where one is using included documents.
1590 2004-03-25 André Pönitz <poenitz@gmx.net>
1594 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1596 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1598 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1599 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1601 * ParameterStruct.h: merge with ParagraphParameters
1603 * lyxtext.h: remove LyXText::parOffset() and getPar()
1605 * text3.C: Remove all 'manual' update calls. We do now one per user
1606 interaction which is completely sufficient.
1610 * BufferView_pimpl.C:
1611 * FontIterator.[Ch]:
1613 * ParagraphParameters.[Ch]:
1618 * cursor_slice.[Ch]:
1625 * output_docbook.[Ch]:
1626 * output_latex.[Ch]:
1627 * output_linuxdoc.[Ch]:
1628 * output_plaintext.[Ch]:
1630 * paragraph_funcs.[Ch]:
1631 * paragraph_pimpl.[Ch]:
1639 * frontends/controllers/ControlDocument.C:
1640 * frontends/controllers/ControlErrorList.C:
1641 * frontends/controllers/ControlSpellchecker.C:
1644 * insets/insetbase.h:
1645 * insets/insetbibitem.C:
1646 * insets/insetbox.C:
1647 * insets/insetbranch.C:
1648 * insets/insetcaption.C:
1649 * insets/insetcharstyle.C:
1650 * insets/insetcharstyle.h:
1651 * insets/insetcollapsable.C:
1652 * insets/insetcollapsable.h:
1653 * insets/insetert.C:
1654 * insets/insetfloat.C:
1655 * insets/insetfoot.C:
1656 * insets/insetmarginal.C:
1657 * insets/insetnote.C:
1658 * insets/insetoptarg.C:
1659 * insets/insettabular.C:
1660 * insets/insettext.C:
1661 * insets/insettext.h:
1662 * insets/insetwrap.C:
1663 * mathed/math_mboxinset.C:
1664 * mathed/math_nestinset.C:
1665 * mathed/math_scriptinset.C:
1666 * mathed/math_scriptinset.h:
1669 2004-03-24 Angus Leeming <leeming@lyx.org>
1671 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1672 deal with any child processes that have finished but are waiting to
1673 communicate this fact to the rest of LyX.
1675 2004-03-24 Angus Leeming <leeming@lyx.org>
1677 64-bit compile fixes.
1679 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1680 (c-tor): pass lyx::pos_types rather than ints.
1682 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1685 * text.C (Delete): compile fix.
1686 (getPar): ensure that function declaration is the same as that in
1689 2004-03-23 Angus Leeming <leeming@lyx.org>
1691 * ispell.C (LaunchIspell):
1692 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1693 a boost::shred_ptr rather than a std::auto_ptr.
1695 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1697 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1698 handle LFUN_FILE_INSERT_*
1700 * lyxrc.C (setDefaults, getDescription, output, read):
1701 * lyxrc.h: remove ps_command
1703 2004-03-22 Angus Leeming <leeming@lyx.org>
1705 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1706 Ensure that error_handler is processed once only and that all data
1707 is saved before attempting to output any warning messages.
1709 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1711 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1713 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1715 2004-03-19 André Pönitz <poenitz@gmx.net>
1717 * cursor.[Ch] (reset): take main text inset as argument
1719 * BufferView: adjust
1720 * BufferView_pimpl.C: adjust
1722 * paragraph.[Ch]: fix completely broken operator=()
1724 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1726 * LColor.C (getFromLyXName): make sure that the color name is used
1729 2004-03-17 Angus Leeming <leeming@lyx.org>
1732 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1734 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1735 dialog and to kill a forked process.
1737 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1739 * text2.C (setCursorFromCoordinates): fix font problem
1741 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1743 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1744 bogus "rebuild cursor" code
1746 2004-03-11 André Pönitz <poenitz@gmx.net>
1748 * buffer.[Ch]: use InsetText instead of LyXText as container for
1751 * dociterator.[Ch]: drop the BufferView * member which is not needed
1752 anymore after the change to buffer.C
1754 * paragraph_funcs.C:
1758 * BufferView_pimpl.[Ch]:
1760 * cursor_slice.[Ch]: adjust
1762 * text3.C: fix bug in mathDispatch
1764 2004-03-08 André Pönitz <poenitz@gmx.net>
1766 * undo.[Ch]: use 'StableDocumentIterator' as base for
1769 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1772 * bufferparams.[Ch]: add jurabib support and param.
1774 * LaTeX.C: add FIXME/comment.
1776 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1778 * buffer.C: increment file format to 230.
1780 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1782 * cursor.C (dispatch): avoid infinite loops
1784 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1786 * rowpainter.C (paintSelection): fix x coordinates
1788 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1790 * text.C (rowBreakPoint): fix breaking before displayed insets
1792 2004-03-01 André Pönitz <poenitz@gmx.net>
1794 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1796 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1800 * BufferView_pimpl.C:
1808 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1814 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1815 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1817 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1819 * Bidi.[Ch] (computeTables): const correctness
1820 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1821 fill_hfill, fill_label_hfill and x from Row
1822 * lyxtext.h: prepareToPrint returns a RowMetrics
1823 * rowPainter.C: adjust
1824 * text.C (prepareToPrint): use width, not textWidth. adjust
1825 (redoParagraphInternal, cursorX): adjust
1826 * text2.C (getColumnNearX): adjust
1827 (init): put a default value to the top LyXText::width
1829 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1831 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1833 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1835 * lyxtext.h: add FontIterator class
1837 * text.C (FontIterator, operator*, operator->, operator++): add
1838 (rowBreakPoint, setRowWidth): adjust (fixing a
1841 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1843 * BufferView_pimpl.C (workAreaDispatch): allow also
1844 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1846 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1848 * text.C (rowBreakPoint): fix a bug showing with very large insets
1850 2004-02-25 André Pönitz <poenitz@gmx.net>
1853 * cursor.[Ch]: move some mathed specific code to mathed
1855 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1857 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1858 use_tempdir in preferences
1859 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1861 * lyx_main.C: ensure that tempdir is valid
1862 * lyxlex.h: correct typo
1863 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1864 * paragraph.[Ch] (isMultiLingual): make const
1865 * cursor.[Ch] (openable): make const
1867 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1869 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1871 2004-02-20 André Pönitz <poenitz@gmx.net>
1873 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1875 * cursor.[Ch]: prepare for localized getStatus()
1881 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1883 2004-02-20 André Pönitz <poenitz@gmx.net>
1885 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1887 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1889 * text2.C (setCursorFromCoordinates): switch to absolute coords
1891 (cursorDown): adjust
1892 * text3.C (dispatch): adjust
1894 2004-02-16 André Pönitz <poenitz@gmx.net>
1896 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1899 * cursor_slice.[Ch]: remove unneeded acessor function
1901 * lyxtext.h: rename rtl() to isRTL()
1909 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1911 * rowpainter.C (paintSelection): coord fix
1913 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1915 * Spacing.C: compile fix
1917 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1919 * cursor.C (dispatch): restore current_ before returning
1921 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1923 * text2.C (cursorUp, cursorDown): fix coords
1926 2004-02-12 André Pönitz <poenitz@gmx.net>
1931 * text3.C: add LCursor & parameter to most cursor movement functions
1932 remove usage of LyXText::cursorRow() and cursorPar()
1934 * cursor.[Ch]: add textRow() needed members
1937 * BufferView_pimpl.C:
1940 * BufferView_pimpl.C: adjust
1942 2004-02-11 André Pönitz <poenitz@gmx.net>
1946 * BufferView_pimpl.C: shift undo/redo handling
1948 * cursor.[Ch]: fix mathed crash
1951 * lyxtext.h: move selectionAsText to LCursor
1959 * rowpainter.C: fix excessive drawing
1961 2004-02-06 André Pönitz <poenitz@gmx.net>
1964 * BufferView_pimpl.[Ch]:
1965 * text3.C: move some text specific LFUN handling
1967 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1969 * text3.C (checkInsetHit): adjust coords
1970 * text2.C (getColumnNearX): adjust coords
1971 (edit): adjust coords
1972 * text.C (getRowNearY): add two asserts
1974 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1977 * format.C: add using std::distance to compile on gcc 2.95/stlport
1979 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1981 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1983 2004-02-04 André Pönitz <poenitz@gmx.net>
1985 * BufferView.[Ch] (insertInset):
1986 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1991 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1993 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1994 on the default clause of the switch
1995 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1996 wasn't catched by LCursor::dispatch
1998 2004-02-03 André Pönitz <poenitz@gmx.net>
2001 * cursor.[Ch]: some additional asserts
2003 * undo.[Ch]: remove LyXText dependency in interface
2007 * lyxtext.h (firstPar, lastPar): remove dead functions
2012 * paragraph.[Ch]: adjust
2014 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2016 * lyxfind.C (find): fix argument order in call to ::find
2018 2004-02-02 André Pönitz <poenitz@gmx.net>
2020 * cursor.[Ch]: remove direct access to anchor
2022 * text.C: remove findText() hack
2024 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2026 * iterators.[Ch] (lockPath): remove in favour of...
2027 * BufferView.[Ch] (setCursor): this addition
2028 * BufferView.C (putSelectionAt): adjust
2029 * undo.C (performUndoOrRedo): adjust
2030 * lyxfunc.C (dispatch): adjust
2032 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2034 * iterators.C (lockPath): add a missing slice
2035 * undo.C (performUndoOrRedo): remove redundant positioning code
2037 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2039 * vc-backend.C (scanMaster): ";" -> ';'
2041 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2043 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2044 std::binary_function
2046 * lyxtextclass.C (compare_name): rename to...
2047 (LayoutNamesEqual): ...this
2049 * lyxlex_pimpl.C (compare_tags): inherit from
2050 std::binary_function, put back into anon namespace
2052 * lyxfind.C (MatchString): inherig from std::binary_function
2053 (findChange): use empty() istead of !size()
2055 * format.C (FormatNamesEqual): new functor
2062 * converter.C (compare_Converter): rename to...
2063 (ConverterEqual): ...this, and fixup a bit.
2064 (getConverter): use it, and make function const
2065 (getNumber): use it, and make function const
2069 * bufferlist.C: add using boost::bind
2071 * MenuBackend.C (MenuNamesEqual): new functor
2072 (hasMenu): use it, and make function const
2073 (hasSubmenu): use nested bind to get rid of compare_memfun.
2075 2004-01-30 André Pönitz <poenitz@gmx.net>
2077 * BufferView_pimpl.C:
2080 * cursor_slice.[Ch]:
2083 * paragraph_funcs.C:
2084 * paragraph_funcs.h:
2088 * text3.C: move some of the edit(x,y) handling to the insets
2089 some coordinate changes.
2091 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2093 * text.C: add using statements for std::advance and std::distance
2095 * paragraph.C: add using statement for std::distance
2097 * lyxfind.C: add using statement for std::advance
2099 * cursor.C (region): remove std:: from swap
2100 (openable): use nucleus in stead of operator->
2102 * BufferView.C: add using statements for std::distance and std::swap
2104 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2106 * iterators.C: Remove the pimple, move the needed structures to
2107 the header file. Create accessor for the positions stack.
2108 (asPosIterator): remove function
2110 * PosIterator.C (PosIterator): move constructors to top of file
2111 (PosIterator): reimplement the constructor taking a ParIterator in
2113 (setFrom): new function
2114 (operator!=): inline it
2116 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2118 * lyxfind.C (replaceAll): use std::advance
2120 * iterators.h: inherit from std::iterator.
2122 * PosIterator.C (advance, distance): remove
2123 * PosIterator.h: interit from std::iterator.
2125 2004-01-26 André Pönitz <poenitz@gmx.net>
2128 * BufferView_pimpl.[Ch]:
2132 * bufferview_funcs.C:
2142 * output_linuxdoc.C:
2143 * output_plaintext.C:
2145 * paragraph_funcs.[Ch]:
2146 * paragraph_pimpl.[Ch]:
2152 * text3.C: more IU: dumps most of the rest of the mathcursor
2153 implementation into cursor.[Ch]; "globalize" a bit of it.
2155 2004-01-25 Angus Leeming <leeming@lyx.org>
2157 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2159 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2161 * LaTeXFeatures.h: add nice_ and nice() const
2162 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2164 2004-01-20 André Pönitz <poenitz@gmx.net>
2167 * BufferView_pimpl.C:
2169 * bufferview_funcs.C:
2171 * cursor_slice.[Ch]:
2182 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2183 LCursor and mathcursor parts to LCursor and InsetBase.
2185 2004-01-15 André Pönitz <poenitz@gmx.net>
2187 * cursor_slice.[Ch]: add a few covienience functions
2189 * funcrequest.[Ch]: remove BufferView * member
2191 * BufferView_pimpl.C:
2198 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2200 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2202 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2203 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2205 2004-01-13 André Pönitz <poenitz@gmx.net>
2208 * lyxtext.h: hide cursor and selection anchor behind accessor function
2211 * BufferView_pimpl.[Ch]:
2213 * bufferview_funcs.C:
2223 * cursor_slice.[Ch]: some integer type changes for inset unification
2225 * lyxcursor.[hC]: remove, it's CursorSlice now.
2228 * BufferView_pimpl.[Ch]:
2229 * bufferview_funcs.C:
2235 * textcursor.[Ch]: adjust
2237 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2239 * text2.C (undoSpan): add and use
2240 * text.C (breakParagraph): use undoSpan (fix bug 578)
2243 2004-01-08 Angus Leeming <leeming@lyx.org>
2245 * BufferView_pimpl.C (MenuInsertLyXFile):
2246 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2247 * lyxfunc.C (menuNew, open, doImport):
2248 FileFilterList change to the FileDialog open and save functions.
2250 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2252 * ShareContainer.h: make isEqual and isUnique adaptable
2254 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2256 2004-01-07 Angus Leeming <leeming@lyx.org>
2259 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2261 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2263 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2264 functions replacing find, replace and replaceAll.
2266 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2267 LFUN_WORDFIND(FORWARD|BACKWARD).
2269 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2271 * text.C (breakParagraph): remove an outdated #warning
2273 2004-01-07 André Pönitz <poenitz@gmx.net>
2275 * lyxfind.C: somewhat clearer logic
2277 * text.C: prevent crash in cursorX on unitialized row cache
2279 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2281 * lyxcursor.[Ch] (operator>): add
2282 * textcursor.C (selStart, selEnd): use std::min and std::max
2284 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2286 * Chktex.C: include boost/format.hpp
2288 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2290 * InsetList.C: replace functor MathcIt with adaptable functor
2292 (insetIterator): modify accordingly
2294 * BranchList.h: move the BranchNamesEqual functor here from...
2295 * BranchList.C: ... to here
2297 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2299 (add): replace a finding loop with std::find_if.
2301 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2303 * output_docbook.C: moving LatexParam functionality into
2306 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2308 * buffer.C: increment format to 229.
2310 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2313 * lyx_sty.[Ch]: remove minipageindent_def
2319 * text3.C: remove LFUN_INSET_MINIPAGE
2321 2003-12-28 Angus Leeming <leeming@lyx.org>
2323 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2325 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2327 * text2.C (setParagraph): fix off-by-one crash
2329 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2331 * output_docbook.C: header stuff for AGU
2333 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2335 * text2.C (redoCursor): remove
2338 * BufferView_pimpl.C: remove calls to redoCursor and
2339 setCursor(cursor.par(), cursor.pos()) all around
2341 2003-12-15 Angus Leeming <leeming@lyx.org>
2343 * buffer.C: up the format to 228.
2345 2003-12-15 André Pönitz <poenitz@gmx.net>
2347 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2352 * BufferView_pimpl.C:
2361 2003-12-15 Angus Leeming <leeming@lyx.org>
2363 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2364 than getFromGUIName to manipulate the color.
2366 2003-12-14 Angus Leeming <leeming@lyx.org>
2368 * BranchList.[Ch]: minimize the API.
2369 (Branch::getBranch, getColor): now return a 'const &'.
2370 (Branch::setSelected) now returns a bool set to true if the
2371 selection status changes.
2372 (BranchList::clear, size, getColor, setColor, setSelected,
2373 allBranches, allSelected, separator): removed.
2374 (BranchList::find): new functions, returning the Branch with
2376 (BranchList::add, remove): return a bool indicating that
2377 the operation was successful.
2379 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2380 new InsetBranch::isBranchSlected member function.
2382 * LColor.[Ch]: mimimize the API.
2383 (fill): renamed as addColor and made private.
2384 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2385 versions of these functions taking a string arg have been removed.
2387 * bufferparams.C (readToken):
2388 * lyxfunc.C (dispatch):
2389 * lyxrc.C (read): changes due to the altered BranchList and
2392 * factory.C (createInset, readInset): changes due to altered
2395 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2398 * lyxfunc.C: remove insetminipage. "minipage-insert"
2399 now produces a frameless minipage box inset.
2401 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2403 * textcursor.[Ch] (selStart,selEnd): add new methods
2404 remove selection::start, end, use LyXCursor::operator<
2405 * lyxcursor.[Ch] (operator<): add
2406 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2407 * BufferView.[Ch] (unsetXSel): add
2408 * text2.C (clearSelection): use unsetXSel,adjust
2411 * rowpainter.C: adjust
2412 * bufferview_funcs.C (put_selection_at): adjust
2414 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2416 * BufferView_pimpl.C: small coord. correction
2418 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2420 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2421 dragging over the splash screen.
2423 2003-12-11 Angus Leeming <leeming@lyx.org>
2425 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2426 as it is now handled in LyXText::dispatch.
2428 * text3.C (doInsertInset): remove a level of nesting.
2430 2003-12-11 Angus Leeming <leeming@lyx.org>
2432 * factory.C (createInset): changes due to the changed interface to
2433 InsetCommandMailer::string2params.
2435 2003-12-10 Angus Leeming <leeming@lyx.org>
2437 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2438 'dialog-show-new-inset <inset name>'
2440 2003-12-10 Angus Leeming <leeming@lyx.org>
2442 * buffer.C: up the format to 227.
2444 * factory.C: the box inset is now identified simply by 'Box'.
2446 2003-12-10 Angus Leeming <leeming@lyx.org>
2448 * buffer.C: up the format to 226.
2450 * factory.C: the note inset is now identified simply by 'Note'.
2452 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2454 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2455 when a pit is enough. Standarize a couple of loops.
2457 2003-12-05 Angus Leeming <leeming@lyx.org>
2459 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2460 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2461 data to the re-worked "log" dialog.
2463 2003-12-03 André Pönitz <poenitz@gmx.net>
2469 * paragraph_funcs.C:
2471 * text2.C: use Inset::getText instead of Inset::getParagraph
2473 2003-12-03 André Pönitz <poenitz@gmx.net>
2477 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2478 InsetText::read() as LyXText::read()
2480 2003-12-02 Angus Leeming <leeming@lyx.org>
2482 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2483 type. Add a comment in the implementation that the function uses
2484 the stream's bad() function rather than fail() as the std::streams
2487 2003-12-02 André Pönitz <poenitz@gmx.net>
2489 * lyxlex.[Ch]: make interface more similar to std::stream
2491 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2493 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2495 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2497 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2499 * vspace.[Ch]: remove VSpace::NONE
2501 2003-12-01 André Pönitz <poenitz@gmx.net>
2504 * lyxtext.h: move ParagraphList member to LyXText
2505 rename LyXText::ownerParagraphs to LyXText::paragraph
2508 * bufferview_funcs.C:
2518 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2520 * undo.C: fix cursor positioning
2522 2003-12-01 John Levon <levon@movementarian.org>
2524 * BufferView_pimpl.C: fix a crash on exit with
2527 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2529 * BranchList.C: fix setSelected() method.
2531 2003-11-28 André Pönitz <poenitz@gmx.net>
2533 * ParagraphParameters.[Ch]:
2534 * ParameterStruct.h: remove space above/below from Paragraph to
2537 * BufferView_pimpl.C:
2543 * paragraph_funcs.C:
2549 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2551 * factory.C: Syntax change for CharStyles
2553 2003-11-28 André Pönitz <poenitz@gmx.net>
2558 * buffer.[Ch]: move LyXText member
2560 2003-11-28 André Pönitz <poenitz@gmx.net>
2562 * BufferView.[Ch]: make LyXText * text a private member
2564 * BufferView_pimpl.C:
2575 * output_plaintext.C: cleanup
2577 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2580 * lyxtextclass.[Ch]: parametrize SGML document header
2582 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2585 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2588 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2590 * text2.C (setFont): rework using PosIterator (no more recursive)
2591 (setCharFont): no more needed
2592 (setLayout): no more selection cursors fiddling (done by redoCursor)
2593 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2594 destroy remaining ones)
2596 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2598 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2600 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2603 * text3.C: adjust + re-allow multi par depth changes
2604 * textcursor.C: simplify a bit
2606 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2612 * src/output_docbook.C:
2613 * src/output_latex.C:
2618 * src/text2.C: Introducing a number of tags parametrizing various
2619 XML formats that we may want to support
2621 2003-11-25 André Pönitz <poenitz@gmx.net>
2623 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2625 * lyxtext.h (leftMargin/rightMargin): simplify interface
2632 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2634 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2635 master file to any child files. Fixes bug 546.
2637 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2639 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2641 2003-11-24 André Pönitz <poenitz@gmx.net>
2643 * rowpainter.C: simplification
2645 * text2.C (updateCounters): remove call to redoParagraph on
2646 changed labels as this is far too expensive.
2648 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2650 * converter.C (convert): fix a crash: this function gets
2651 called with buffer == 0 from importer code.
2653 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2655 * text3.C (cursorPrevious): make sure that we do not compare
2656 iterators form different containers.
2659 * rowpainter.C (paintSelection): make sure that we do not compare
2660 iterators from different containers.
2662 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2663 iterators from different ParagraphList containers.
2666 * text2.C (LyXText): change order of initialization slightly
2667 (operator=): new function. copy all variables except cache_par_
2668 (moveUp): make sure that we do not compare iterators from
2669 different ParagraphList constainers.
2672 * text.C (firstPar): new function
2673 (lastPar): new function
2674 (endPar): new function
2676 * lyxtext.h: move things around and group public functions, public
2677 variables, private functions, private variables
2679 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2681 * factory.C: change call to InsetERT constructor to avoid
2682 additional invocation of method status
2683 * text2.C (toggleInset): remove redundant update() call
2684 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2685 instead of a Bufferview pointer
2687 2003-11-21 André Pönitz <poenitz@gmx.net>
2689 * rowpainter.C: simplification
2691 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2693 * text3.C (dispatch): make possible to extend a word/row selection
2696 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2698 * lyxtext.h: x0_,y0_ -> xo_,yo_
2699 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2700 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2701 * rowpainter.C (paintRows): paint full paragraphs
2703 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2705 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2708 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2710 * lyxtext.h: add x0_, y0_
2711 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2712 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2714 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2716 * text2.C (setCursorIntern): move the x_target update here *
2717 * text3.C: change some bv() to true/false in calls to
2718 cursorUp/Down/Right/Left
2719 * cursor.C: use helper function.
2721 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2723 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2724 * paragraph_funcs.[Ch]: correct comment
2725 * rowpainter.C: do not paint selections away from bv->cursor()
2726 Fix a long standing selection painting bug.
2727 * text3.C: generalize mouse-selection code to LyXTexts other that
2729 * textcursor.C: do not use y coords if we can use par offsets
2731 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2733 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2734 cursor position after e.g. inset insert)
2736 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2738 * lyxfind.C (replace): adjust to locking removal + some
2741 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2743 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2746 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2749 * output_docbook.C: XML sanitation: new layout
2750 parameters InnerTag and CommandDepth
2752 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2754 * BufferView_pimpl.C:
2756 * text3.C: Fix the insertion and modification of button-style
2759 2003-11-13 André Pönitz <poenitz@gmx.net>
2761 * InsetList.[Ch]: remove deleteLyXText
2763 * paragraph.[Ch]: cache beginOfBody position
2768 * text3.C: remove superfluous update() calls
2772 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2774 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2775 * BufferView.C (fitLockedInsetCursor): remove
2776 * cursor.[Ch] (getDim): add
2777 * text.C (getRowNearY): add faster version
2778 * text3.C: remove some update calls
2780 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2792 * text3.C: The Character Style /XML short element patch.
2794 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2797 * factory.C: Small step to solving 'unable to insert some insets'
2800 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2802 * cursor.[Ch] (updatePos): new function for updating the y
2803 position of the tip inset
2804 * bufferview_funcs.C (put_selection_at):
2805 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2807 2003-11-11 André Pönitz <poenitz@gmx.net>
2809 * text.C: remove big comment on invalid Paragraph pointers as it is
2812 2003-11-11 André Pönitz <poenitz@gmx.net>
2814 * text_funcs.[Ch]: merge with ...
2822 * Makefile.am: remove text_funcs.[Ch]
2824 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2826 * cursor.C (getPos): return absolute cached y coord
2828 * BufferView_pimpl.C (fitCursor): new simplistic code
2829 (workAreaDispatch): add a fitCursor call
2831 2003-11-10 André Pönitz <poenitz@gmx.net>
2834 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2836 2003-11-10 André Pönitz <poenitz@gmx.net>
2838 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2839 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2840 indicate that the cursor needs to leave an inset
2842 * lyxtext.h: remove inset locking
2844 * cursor.[Ch]: re-implement functionality provided by inset locking
2847 * BufferView_pimpl.[Ch]:
2849 * bufferview_funcs.[Ch]:
2861 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2863 * PosIterator.[Ch]: replace the stack with a vector, add inset
2865 * iterators.[C]: adjust
2867 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2869 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2871 * paragraph_funcs.C (readParToken): put the correct id in the
2872 error item, not the id of the top paragraph
2874 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2876 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2877 * bufferview_funcs.C (put_selection_at): use the above
2879 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2881 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2883 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2885 * output_linuxdoc.h:
2886 * output_plaintext.h:
2888 * output_docbook.h: add #include statements
2890 2003-11-05 José Matos <jamatos@lyx.org>
2892 * output_docbook.[Ch]:
2893 * output_latex.[Ch]:
2894 * output_linuxdoc.[Ch]:
2895 * output_plaintext.[Ch]: New files for output formats.
2896 * output.[Ch]: New file for helper functions.
2899 * paragraph_funcs.[Ch]: output functions moved to new files.
2901 * outputparams.h: rename of latexrunparams.h
2909 * paragraph_funcs.[Ch]:
2910 * paragraph_pimpl.[Ch]:
2911 * tabular.[Ch]: rename ascii to plaintext
2912 and LatexRunParams to OutputParams.
2914 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2916 * iterators.[Ch] (text): require bv argument
2917 * undo.C (recordUndo):
2918 * lyxfunc.C (dispatch):
2919 * bufferview_funcs.C (put_selection_at): adjust
2921 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2923 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2925 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2927 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2930 2003-11-04 André Pönitz <poenitz@gmx.net>
2932 * cursor.[Ch]: restructure
2935 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2937 * iterators.[Ch] (asCursor): remove
2939 * lfuns.h: remove LFUN_INSET_EDIT
2945 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2947 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2949 * lyxfind.[Ch]: complete overhaul
2950 * BufferView_pimpl.C:
2952 * paragraph.[Ch] (insert): add
2954 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2958 * text.C: remove dead spellcheck code
2960 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2962 * dispatchresult.h: add a val setter
2964 * cursor.C (dispatch): use a tempvar for data_[i]
2966 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2968 * PosIterator.[Ch]: compile fix
2970 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2972 * text.C (cursorPar): deactivate the cursor cache
2974 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2976 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2978 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2980 * text3.C (dispatch): adjust for new DisptchResult semantics.
2982 * lyxfunc.C (dispatch): handle update when return from
2983 Cursor::dispatch, adjust for new DispatchResult semantics.
2985 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2986 DispatchResult(true) mean to not update. Add class functions for
2987 setting dispatched and update, as well as reading.
2989 * cursor.C (dispatch): don't handle update here
2991 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2993 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2994 * trans_mgr.C: adjust
2996 * paragraph_funcs.C (readParToken): exception safety
2998 * lyxvc.h: store the vcs pointer in a scoped_ptr
3001 * lyxsocket.C (serverCallback): exception safety
3003 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3005 * ispell.C (clone): make it return a auto_ptr
3007 * factory.C (createInset): exception safety
3008 (readInset): exception safety
3010 * bufferlist.C (newBuffer): exception safety
3012 * Thesaurus.C (Thesaurus): use initialization for aik_
3014 * MenuBackend.C (expandToc): exception safety.
3016 2003-11-03 André Pönitz <poenitz@gmx.net>
3020 * bufferview_funcs.C: remove getInsetFromId()
3023 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3029 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3031 * PosIterator.C (distance, advance): new
3032 * bufferview_funcs.[Ch] (put_selection_at): new
3033 * iterators.[Ch] (lockPath): new
3035 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3037 * iterators.[Ch] (asPosIterator): added
3038 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3039 * PosIterator.[Ch]: added
3041 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3045 * cursor.C (dispatch):
3046 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3048 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3049 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3050 contructor, add a class function dispatched. Remove operator>=
3052 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3054 * debug.C: only use the default constructor for debugstream
3057 * main.C (main): include debug.h and setup the lyxerr streambuf
3060 2003-10-31 José Matos <jamatos@lyx.org>
3062 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3064 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3065 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3066 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3067 * paragraph_pimpl.C (simpleTeXSpecialC):
3068 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3069 add LatexRunParams argument.
3071 * exporter.C (Export): change call accordingly.
3073 * latexrunparams.h: add new member to take care of the other backends.
3074 2003-10-30 José Matos <jamatos@lyx.org>
3076 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3077 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3078 factorise code for paragraph output.
3080 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3083 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3085 * text3.C (dispatch):
3086 * lyxfunc.C (dispatch):
3087 * cursor.C (dispatch):
3088 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3090 * dispatchresult.h: make the dispatch_result_t ctor explicit
3092 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3095 * buffer.C: small refactoring of docbook stuff
3097 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3099 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3102 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3104 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3105 operator dispatch_result_t, and operators for == != and >=
3107 * cursor.C (dispatch): adjust for operator dispatch_result_t
3108 removal. comment out call to update
3110 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3112 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3120 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3123 * dispatchresult.h: new file, DispatchResult broken out of
3126 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3128 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3130 * text.C (rowBreakPoint): put a hack inside #if 0
3132 2003-10-28 André Pönitz <poenitz@gmx.net>
3136 * paragraph_funcs.C:
3139 * text2.C: general cleanup (lots of small stuff)
3141 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3143 * text2.C (cursorEnd): simple fix to the "end key goes to one
3144 before the end on last row" bug
3146 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3148 * text.C (backspace): fix the "zombie characters"
3150 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3152 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3154 2003-10-27 André Pönitz <poenitz@gmx.net>
3156 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3158 * factory.C: handle new InsetPagebreak, InsetLine
3160 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3161 and move handling into new InsetPagebreak, InsetLine
3163 * BufferView_pimpl.C:
3165 * ParagraphParameters.C:
3166 * ParameterStruct.h:
3171 * paragraph_funcs.C:
3172 * paragraph_pimpl.C:
3178 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3181 * lyxrow_funcs.[Ch]:
3187 * text3.C: remove lastPos uses in favour of Row::endpos
3189 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3191 * undo.C (performUndoOrRedo): fix two crashes by setting a
3192 cursor by hand and reordering some calls. Use bv->lockInset instead
3193 of inset->edit because the latter loses cursor information
3195 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3197 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3199 (rowBreakPoint): fix width. change point to point + 1.
3200 Add a missing check.
3202 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3205 * lyxfunc.C: fix (at least partly) the problems
3206 with the Nav menu and headers inside branch insets
3209 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3211 * paragraph.C (getChar): add strong asserts
3213 * lyxrow_funcs.C (lastPos): remove hideous hack
3215 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3216 (fill): adjust to that (avoid an infinite loop)
3218 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3220 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3222 2003-10-23 André Pönitz <poenitz@gmx.net>
3224 * RowList_fwd.h: change list<> to vector<> to gain speed
3225 after suggestion from Alfredo
3227 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3229 * lyxtext.h: move the bidi stuff from here...
3232 * Bidi.[Ch]: ... to here
3234 2003-10-23 André Pönitz <poenitz@gmx.net>
3237 * text.C (isLastRow, isFirstRow): new functions
3239 * paragraph.h: new width cache member
3241 * rowpainter.C: replace RowList::iterator with Row & where possible
3243 * lyxfunc.C: replace several view()->text with a single call
3245 * toc.C: fix 'unused' warning
3247 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3249 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3250 when woring with stream::pos_type
3251 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3253 2003-10-22 André Pönitz <poenitz@gmx.net>
3256 * text.C: use Row & instead of RowList::iterator
3258 * lyxrow.h: rename end() to endpos()
3264 2003-10-22 Angus Leeming <leeming@lyx.org>
3266 * buffer.[Ch] (fully_loaded): new member function, returning true
3267 only when the file has been loaded fully.
3268 Used to prevent the premature generation of previews and by the
3269 citation inset to prevent computation of the natbib-style label.
3271 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3272 templates are all set up.
3274 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3276 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3278 * text.C: fixed an "oops" in the "is a bit silly"
3281 2003-10-21 André Pönitz <poenitz@gmx.net>
3283 * FuncStatus.[Ch]: small stuff, whitespace
3285 * lyxfont.[Ch]: operator<<() for debug reasons
3289 * lyxtext.h: whitespace, spelling
3291 * paragraph.C: naming of variables
3294 * text2.C: small stuff
3297 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3299 * text.C: (1) finish off the inset display() work;
3300 (2) fix the "is a bit silly" bug (accessing char
3303 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3305 * text.C: re-introduce display() for insets, fixing the
3306 various bugs (stretch of line above, math inset
3309 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3311 * text.C (rightMargin): remove spurious semicolon
3313 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3316 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3318 * text3.C: fix one crash due to wrong cursor def
3320 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3322 * vc-backend.C (scanMaster): make the regex static
3324 * LaTeX.C (scanAuxFile): make the regexs static
3326 * text3.C (doInsertInset, dispatch, dispatch):
3327 * text2.C (cursorUp, cursorDown):
3328 * text.C (selectNextWordToSpellcheck):
3329 * BufferView_pimpl.C (dispatch):
3330 * lyxfunc.C (dispatch): localDispatch -> dispatch
3332 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3334 * lyxsocket.C: include <cerrno>
3336 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3338 * lyxfunc.C (dispatch): remove textcache stuff
3340 * bufferlist.C (release): remove textcache stuff
3343 * TextCache.C: delete file
3344 * TextCache.h: delete file
3346 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3348 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3349 delete of the bv_->text.
3350 (resizeCurrentBuffer): remove texcache stuff
3351 (workAreaResize): ditto
3353 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3355 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3358 2003-10-16 André Pönitz <poenitz@gmx.net>
3365 * text3.C: speed up by storing y positions per paragraph plus per-row
3366 offset instead of having a 'full' y position in the row.
3368 2003-10-15 André Pönitz <poenitz@gmx.net>
3372 * undo.[Ch]: make undo aware of inner insets
3374 2003-10-14 Angus Leeming <leeming@lyx.org>
3376 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3377 static member functions LyX::ref() and LyX::cref.
3378 (lastfiles): new accessor functions for the new lastfiles_ member var.
3379 (addLyXView, views_): add a new LyXView to the list of views_.
3380 (updateInset): loop over all LyXViews to call their own updateInset
3381 member function, returning a pointer to the Buffer owning the inset.
3383 * BufferView_pimpl.C (loadLyXFile):
3384 * MenuBackend.C (expandLastfiles):
3385 * bufferlist.C (MenuWrite, QuitLyX):
3386 lastfiles is no longer a global variable.
3387 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3389 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3390 static function. Access through LyX::cref().emergencyCleanup().
3392 2003-10-14 André Pönitz <poenitz@gmx.net>
3394 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3396 * undo.[Ch]: restoring part of 'undo in insets'
3399 * undo_funcs.[Ch]: merge with undo.[Ch]
3401 * tabular.C: small cleansing stuff
3403 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3405 * paragraph_funcs.C (readParToken): report unknown insets as error
3406 boxes. Use the outer paragraph as location (also for unknown
3409 * factory.C (readInset): do not abort on reading an unknown inset.
3410 Eat it and return 0.
3412 2003-10-13 Angus Leeming <leeming@lyx.org>
3414 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3416 * lyxrc.C: displayTranslator is now a function,
3417 declared in GraphicsTypes.h.
3419 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3421 * format.C: new placeholder $$a to pass the socket address.
3423 * bufferlist.[Ch]: new function getBufferFromTmp.
3425 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3426 files in the temporary dir.
3428 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3430 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3432 * Makefile.am: add lyxsocket.[Ch].
3434 * lyx_main.C (error_handler): handle SIGPIPE.
3436 2003-10-13 André Pönitz <poenitz@gmx.net>
3438 * BufferView_pimpl.C:
3443 * undo_funcs.[Ch]: use paroffset_type instead of
3444 ParagraphList::iterators to prevent multiple conversion
3445 (and get a more robust interface)
3447 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3449 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3451 * text3.C (dispatch): ditto
3453 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3455 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3456 move the onlyfile, use onlyfile instead of foundfile in a couple
3459 * DepTable.C (update): flush the error stream a bit more
3461 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3463 * lyxserver.C (callback): adjust
3465 * lyxfunc.C (getStatus): add a missing brace in commented code
3466 (ensureBufferClean): reindent
3467 (dispatch): delete version taking a string
3469 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3471 * LaTeX.C (deplog): move found file handlig from here...
3472 (handleFoundFile): .. to new function here.
3473 (deplog): make sure to discover several files mentioned on the
3476 2003-10-10 André Pönitz <poenitz@gmx.net>
3483 * text3.C: fix some of the tabular crashes
3485 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3487 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3489 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3491 2003-10-09 André Pönitz <poenitz@gmx.net>
3493 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3496 * BufferView_pimpl.C:
3497 * bufferview_funcs.C:
3508 * undo_funcs.C: adjust
3510 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3512 * text2.C (incrementItemDepth): new function, use a backtracking
3513 algorithm to discover the correct item depth.
3514 (resetEnumCounterIfNeeded): new function, use a backtracking
3515 algorithm to discover if counter reset is needed.
3516 (setCounter): use them. Simplify a bit. Add different labels for
3517 different item depths for itemize.
3519 * paragraph.C (Paragraph): remove initialization of enumdepth
3522 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3523 enumerate and itemize. Change the type of itemdepth to signed char.
3525 2003-10-08 André Pönitz <poenitz@gmx.net>
3527 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3532 * tabular.[Ch]: fix crash after 'row-insert'
3534 2003-10-08 Angus Leeming <leeming@lyx.org>
3536 Fix doxygen warnings.
3538 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3539 Remove CutAndPaste:: prefix from header file declaration.
3541 * LColor.h (fill): remove LColor:: prefix from declaration.
3543 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3544 use lyx::depth_type rather than Paragraph::depth_type so that
3545 header file and .C file match.
3547 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3549 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3550 * aspell.C: \file aspell_local.C -> \file aspell.C
3551 * gettext.C: \file gettext.C -> \file src/gettext.C
3552 * gettext.h: \file gettext.h -> \file src/gettext.h
3553 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3554 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3555 * text.C: \file text.C -> \file src/text.C
3557 * toc.C: move comment so that doxygen is not confused.
3559 2003-10-07 Angus Leeming <leeming@lyx.org>
3561 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3563 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3566 * aspell_local.h: add forgotten std::string's.
3568 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3575 * text3.C: The Box patch. Fancybox support, minipage, parbox
3577 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3583 * ParagraphParameters.h:
3593 * lyxtextclasslist.h:
3596 * paragraph_pimpl.C:
3597 * textcursor.h: add <string> and other small fixes to make Lars'
3598 std::string patch compile with STLport.
3600 2003-10-06 Angus Leeming <leeming@lyx.org>
3602 * LColor.h: Add missing #include <string>.
3604 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3606 * All most all file in all subdirs: Make <string> be the prefered
3607 way of getting to std::string, add using declarations.
3609 2003-10-06 André Pönitz <poenitz@gmx.net>
3611 * metricsinfo.C: initialize LyXFont before changing attribute.
3612 (fixes the 'math in \emph is upright' bug)
3614 2003-10-06 André Pönitz <poenitz@gmx.net>
3616 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3618 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3621 * paragraph_pimpl.C: Small fixes to build using STLport
3623 2003-10-02 André Pönitz <poenitz@gmx.net>
3626 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3628 2003-10-01 André Pönitz <poenitz@gmx.net>
3630 * factory.C: assert early
3632 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3634 * lyx_main.C: remove the global debug object
3636 * debug.h: adjust for new debugstream
3638 * debug.C: adjust for new debugstream and keep the global debug
3641 2003-09-22 Angus Leeming <leeming@lyx.org>
3643 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3644 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3645 an incomplete class LyXFont.
3647 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3649 * factory.C: bug fix in branches
3651 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3653 * lyxfunc.C (processKeySym): adjust
3655 (dispatch): change arg name from ev to func, adjust
3656 (sendDispatchMessage): ditto
3658 * lyx_main.C (defaultKeyBindings): adjust keybindings
3659 (deadKeyBindings): ditto
3661 * kbsequence.C (addkey): return a FuncRequest
3663 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3665 * kbmap.C (bind): take a FuncRequest as arg, adjust
3668 (defkey): change to take a FuncRequest as arg, adjust
3669 (findbinding): take a FuncRequest as arg, adjust.
3671 * funcrequest.h (operator=): added
3673 * funcrequest.C (FuncRequest): default kb_action changed from
3674 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3676 * buffer.C (dispatch): simplify
3677 (dispatch): adjust to take a FuncRequest as arg, adjust
3679 * boost.C (assertion_failed): change assertion message slightly
3681 * ToolbarBackend.C (read): simplify
3683 * MenuBackend.C (binding): adjust call to findbinding, add a
3684 message if no binding is found.
3686 (expandToc): correct by adding a empty FuncRequest
3688 * LyXAction.C: include <boost/assert.hpp>
3689 (isPseudoAction): delete function
3690 (LookupFunc): change name to...
3691 (lookupFunc): this. change return type to FuncRequest.
3692 (getActionName): take kb_action as arg, simplify
3693 (funcHasFlag): add an assert, simplify.
3695 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3697 * toc.C (action): return a FuncRequest, simplify
3699 * lyxfunc.C (processKeySym): adjust
3700 (getStatus): delete version that takes an int.
3702 (dispatch): delete version that takes action as int
3704 (sendDispatchMessage): simplify and adjust
3706 * funcrequest.C (getArg): take unsigned int as arg
3708 * ToolbarBackend.C (read): adjust
3709 (add): delete version that takes func as a string.
3710 (getIton): take a FuncRequest as arg
3712 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3715 * MenuBackend.C (MenuItem): add a new construct that only takes a
3716 Kind, simplify the constructor use for submenus.
3718 (expandLastfiles): adjust
3719 (expandDocuments): adjust
3720 (expandFormats): adjust
3721 (expandFloatListInsert): adjust
3722 (expandFloatInsert): adjust
3723 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3725 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3726 Remove class variables lyx_pseudo_map and lyx_arg_map
3728 * LyXAction.C (searchActionArg): delete function
3729 (getPseudoAction): delete function
3730 (retrieveActionArg): delete function
3731 (LookupFunc): make it return kb_action, simplify.
3732 (getActionName): simplify
3734 * factory.C (createInset): fix new bug
3736 2003-09-19 Angus Leeming <leeming@lyx.org>
3738 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3739 masterFilename_ parameter in the include inset.
3741 * factory.C (createInset): changes due to the changes to InsetInclude.
3743 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3745 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3747 2003-09-18 Angus Leeming <leeming@lyx.org>
3750 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3751 Inset::fillWithBibKeys.
3752 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3754 2003-09-18 Angus Leeming <leeming@lyx.org>
3756 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3758 (ctor): pass and store a 'Buffer const &'
3759 (buffer): new member function.
3761 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3762 '*this' to the LaTeXFeatures ctor.
3764 2003-09-18 Angus Leeming <leeming@lyx.org>
3770 * text.C: rename EnumLColor as LColor_color.
3772 2003-09-18 Angus Leeming <leeming@lyx.org>
3774 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3775 remove #include "insets/insetbase.h" from cursor.h.
3777 2003-09-18 Angus Leeming <leeming@lyx.org>
3779 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3780 InsetOld_code to remove #include "inset.h".
3782 * iterators.C: add #include "insets/inset.h"
3784 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3786 * BufferView.C: remove more locking stuff that apparently doesn't
3787 do anything sensible.
3789 2003-09-16 André Pönitz <poenitz@gmx.net>
3792 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3795 2003-09-16 Angus Leeming <leeming@lyx.org>
3797 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3799 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3802 * paragraph.h: remove #include "lyxfont.h". Forward declare
3805 2003-09-16 Angus Leeming <leeming@lyx.org>
3807 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3808 of support/textutils.h.
3809 (isWord): move the contents of support/textutils.h's IsWordChar here.
3815 * text2.C: add #include "paragraph.h".
3818 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3820 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3826 * LaTeX.C: use namespace alias for lyx::support::os
3828 2003-09-16 Angus Leeming <leeming@lyx.org>
3831 * bufferview_funcs.C:
3834 * paragraph_pimpl.C:
3836 * text.C: add #include "LColor.h".
3838 2003-09-16 Angus Leeming <leeming@lyx.org>
3840 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3841 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3843 Store the FontBits::color variable as an int rather than as an
3844 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3847 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3848 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3849 string calls together.
3851 * lyxrc.C: add #include "LColor.h".
3853 2003-09-15 Angus Leeming <leeming@lyx.org>
3855 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3858 2003-09-15 Angus Leeming <leeming@lyx.org>
3860 * LColor.h: add an EnumLColor wrapper for LColor::color.
3862 * lyxfont.[Ch] (color, setColor, realColor):
3863 * lyxtext.h, text.C (backgroundColor):
3864 pass EnumLColor args to/from the functions, rather than LColor::color
3868 * lyxtext.h: forward declare EnumLColor.
3870 * lyx_main.C: add #include "LColor.h".
3872 2003-09-15 Angus Leeming <leeming@lyx.org>
3874 * .cvsignore: add lyx-gtk.
3876 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3881 * ParagraphParameters.C
3885 * bufferview_funcs.C
3895 * vc-backend.C: remove usage of STRCONV
3897 2003-09-15 Angus Leeming <leeming@lyx.org>
3899 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3900 explicitly define the color passed to the painter.
3902 2003-09-15 Angus Leeming <leeming@lyx.org>
3904 * bufferparams.C (BufferParams): reorder member initializers to avoid
3907 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3909 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3910 * text.C (updateRowPositions): remove an unusual nop
3912 2003-09-12 André Pönitz <poenitz@gmx.net>
3914 * BufferView_pimpl.C:
3923 * Counters.[Ch]: finish the 'automatic counters' job
3925 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3927 * aspell.C: include <boost/assert.cpp> (compile fix)
3929 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3931 * boost.C (assertion_failed): use lyx::support::abort instead of
3934 2003-09-10 Angus Leeming <leeming@lyx.org>
3936 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3937 with their _fwd progeny.
3939 2003-09-09 Angus Leeming <leeming@lyx.org>
3941 134 files throughtout the source tree: replace 'using namespace abc;'
3942 directives with the appropriate 'using abc::xyz;' declarations.
3944 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3946 * boost.C (emergencyCleanup): moved here from LAssert.c
3947 (assertion_failed): new function, called by BOOST_ASSERT
3949 * several files: change Assert to BOOST_ASSERT
3951 2003-09-09 Angus Leeming <leeming@lyx.org>
3953 * buffer.[Ch]: Add an Impl class and move Buffer's member
3954 variables into it. As a result move several header files out of
3957 Add header files to lots of .C files all over the tree as a result.
3959 2003-09-09 Angus Leeming <leeming@lyx.org>
3961 * buffer.[Ch]: make Buffer's member variables private. Add
3964 Lots of changes all over the tree as a result.
3966 2003-09-08 Angus Leeming <leeming@lyx.org>
3968 * graph.C: #include <config.h>.
3970 2003-09-08 Angus Leeming <leeming@lyx.org>
3974 * BufferView_pimpl.C:
4003 * toc.C: remove redundant using directives.
4005 2003-09-07 Angus Leeming <leeming@lyx.org>
4007 * LaTeXFeatures.h: remove #include "support/types.h".
4008 * ToolbarBackend.h: remove #include <algorithm>.
4009 * changes.h: remove #include <ctime>.
4010 * debug.h: remove #include <iosfwd>.
4011 * graph.h: remove #include "support/std_string.h".
4012 * lyx_main.h: remove #include <csignal>.
4013 * lyxlex_pimpl.h: remove #include <fstream>.
4014 * sgml.h: remove #include <algorithm>, <utility>.
4015 * toc.h: remove #include "support/std_ostream.h".
4016 Add #include <iosfwd>.
4018 2003-09-07 Angus Leeming <leeming@lyx.org>
4020 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4022 * converter.h: forward declare LatexRunParams.
4023 * encoding.h: remove #include "lyxrc.h".
4024 * lyxtext.h: remove #include "LColor.h".
4025 * lyxtextclass.h: remove #include "support/types.h".
4026 * trans.h: remove #include "tex-accent.h".
4027 * trans_mgr.h: remove #include "tex-accent.h".
4028 * insets/inset.h: remove #include "support/types.h", <vector>.
4029 * insets/insetcollapsable.h: remove #include "LColor.h".
4030 * insets/insetinclude.h: remove #include "dimension.h".
4031 * insets/insetlatexaccent.h: remove #include "dimension.h".
4032 * insets/insetoptarg.h:: remove #include "insettext.h".
4033 * insets/insettext.h: remove #include "dimension.h",
4034 <boost/shared_ptr.hpp>
4036 * insets/renderers.h: add #include "dimension.h".
4037 * insets/updatableinset.h: add #include "support/types.h".
4039 * many .C files: Associated changes.
4041 2003-09-06 Angus Leeming <leeming@lyx.org>
4043 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4044 one, inside testInvariant.
4046 * PrinterParams.C: new file.
4047 * PrinterParams.[Ch]: move the function bodies out of line.
4049 2003-09-06 Angus Leeming <leeming@lyx.org>
4051 * ParagraphParameters.h: forward declare ParameterStruct rather than
4052 including its header file.
4053 (depth): moved out-of-line.
4055 2003-09-06 Angus Leeming <leeming@lyx.org>
4057 * BufferView_pimpl.h:
4060 * lyxfunc.h: forward declare LyXKeySym rather than
4061 #include "frontends/LyXKeySym.h".
4063 * BufferView_pimpl.C:
4066 * lyxfunc.C: associated changes.
4068 2003-09-06 Angus Leeming <leeming@lyx.org>
4070 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4071 As a result, can remove the #include "insets/inset.h" from BufferView.h
4073 2003-09-06 Angus Leeming <leeming@lyx.org>
4075 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4076 As a result, can remove the #include "insets/inset.h" from BufferView.h
4078 2003-09-06 Angus Leeming <leeming@lyx.org>
4084 * bufferview_funcs.C:
4085 * BufferView_pimpl.C:
4090 * ParagraphParameters.C:
4095 * frontends/controllers/ControlDocument.C:
4096 * insets/insetcaption.C: rearrange the #includes into some sort of
4099 * buffer.h: remove #includes ErrorList.h, undo.h
4101 2003-09-06 Angus Leeming <leeming@lyx.org>
4103 * support/types.h: add a 'depth_type' typedef, used to store the
4104 nesting depth of a paragraph.
4107 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4108 defining explicitly.
4111 * paragraph_funcs.h:
4112 * ParagraphParameters.h:
4113 * sgml.h: use lyx::depth_type rather than Paragraph or
4114 ParameterStruct's depth_type.
4117 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4120 * BufferView_pimpl.C:
4122 * ParagraphParameters.C:
4125 * bufferview_funcs.C:
4132 * frontends/LyXView.C:
4133 * frontends/controllers/ControlDocument.C:
4134 * frontends/controllers/ControlErrorList.C:
4135 * insets/insetbibitem.C:
4136 * insets/insetbranch.C:
4137 * insets/insetcaption.C:
4138 * insets/insetcollapsable.C:
4139 * insets/insetenv.C:
4140 * insets/insetert.C:
4141 * insets/insetfloat.C:
4142 * insets/insetfoot.C:
4143 * insets/insetfootlike.C:
4144 * insets/insetnewline.C:
4145 * insets/insetquotes.C:
4146 * insets/insettabular.C:
4147 * insets/insettext.C:
4148 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4150 * frontends/controllers/ControlChanges.C: #include "changes.h".
4152 2003-09-06 Angus Leeming <leeming@lyx.org>
4154 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4155 than #including paragraph.h.
4158 * RowList.h: deleted. Superfluous.
4168 * insets/insettext.h: use ParagraphList_fwd.h rather than
4171 * paragraph.h: don't forward declare ParagraphList.
4174 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4175 rather than ParagraphList.h. paragraph.h is still needed for the
4176 Paragraph::depth_type parameters.
4178 * textcursor.h: enable it to compile stand-alone in light of the
4181 * bufferview_funcs.C:
4193 * frontends/controllers/ControlParagraph.C:
4194 * frontends/controllers/ControlTabular.C:
4195 * insets/insetmarginal.C:
4196 * insets/insetminipage.C:
4197 * insets/insetnote.C:
4198 * insets/insetoptarg.C: add header files needed to compile again.
4200 2003-09-06 Angus Leeming <leeming@lyx.org>
4202 * RowList_fwd.h: new file, forward-declaring Row rather than
4203 #including lyxrow.h.
4208 * insets/insettext.h: use it instead of RowList.h
4210 * bufferview_funcs.C:
4217 * text3.C: #include "RowList.h".
4219 2003-09-05 Angus Leeming <leeming@lyx.org>
4221 * factory.C (createInset):
4222 * vspace.C (c-tor): replace sscanf call with an istringstream.
4223 * ispell.C: re-add missing HP/UX headers.
4224 * lyxserver.C: re-add missing os2 headers.
4226 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4235 * text3.C: re-add missing system headers, needed for 2.95.2.
4237 2003-09-05 Angus Leeming <leeming@lyx.org>
4239 Changes most place everywhere due to the removal of using directives
4240 from support/std_sstream.h.
4242 2003-09-05 Angus Leeming <leeming@lyx.org>
4244 Replace LString.h with support/std_string.h,
4245 Lsstream.h with support/std_sstream.h,
4246 support/LIstream.h with support/std_istream.h,
4247 support/LOstream.h with support/std_ostream.h.
4249 Changes resulting throughout the tree.
4251 2003-09-05 Angus Leeming <leeming@lyx.org>
4253 * sgml.h: ensure that the header file can be compiled stand-alone.
4254 * *.C: strip out redundant #includes. (320 in total.)
4256 2003-09-04 Angus Leeming <leeming@lyx.org>
4258 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4259 here (from getPackages).
4261 * debug.[Ch]: add a new EXTERNAL tag.
4263 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4265 * text2.C (cursorEnd): simplify
4267 (getColumnNearX): adjust
4269 * text.C (computeBidiTables): adjust
4272 * rowpainter.C (paintChars): adjust
4273 (paintSelection): adjust
4274 (paintChangeBar): adjust
4277 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4279 (numberOfSeparators): adjust
4281 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4287 * text3.C: Restricts the mouse click functionality
4288 of insets like bibtex, include, toc and floatlist to the visible
4289 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4290 up the dialogs. Cursor has to be in front of the inset (i.e.
4291 start of row) for this to function.
4293 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4295 * bufferview_funcs.C (currentState): output row information
4297 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4299 * bufferview_funcs.C (currentState): output paragraph position
4301 2003-09-04 Angus Leeming <leeming@lyx.org>
4303 * FloatList.h: move out #include "Floating.h".
4304 * LaTeX.h: move out #include "DepTable.h".
4305 * LyXAction.h: move out #include "funcrequest.h".
4306 * buffer.h: move out #include "author.h", "iterators.h".
4307 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4308 * lyx_main.h: move out #include "errorlist.h".
4309 * lyxfunc.h: move out #include "FuncStatus.h".
4310 * lyxtext: move out #include "lyxcursor.h".
4311 * paragraph_pimpl.h: move out #include "counters.h".
4313 2003-09-03 Angus Leeming <leeming@lyx.org>
4315 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4316 preamble_snippets list, enabling us to add snippets to the preamble
4317 only if the snippet was not there already.
4319 2003-09-04 Angus Leeming <leeming@lyx.org>
4321 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4323 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4325 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4328 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4330 * BranchList.C: point fix, earlier forgotten
4332 2003-09-02 Angus Leeming <leeming@lyx.org>
4334 * box.C (contains): renamed from 'contained' after a fantastic
4337 2003-09-02 John Levon <levon@movementarian.org>
4343 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4345 2003-09-02 John Levon <levon@movementarian.org>
4347 * text2.C: simplification of cursorEnd(), including partial
4350 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4352 * buffer.C (readFile): add a space
4354 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4356 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4358 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4360 * buffer.C (readFile): new function, take a filename and a
4361 ParagraphList::iterator
4363 (readFile): adjust, make it private. don't use setStream, make
4364 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4365 always contain the filename.
4367 * BufferView.C (insertLyXFile): simplify and make it work for
4370 2003-08-30 John Levon <levon@movementarian.org>
4372 * Makefile.am: fix dist (from Kayvan)
4374 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4376 * most files: change to use const Buffer refs
4378 2003-08-27 André Pönitz <poenitz@gmx.net>
4380 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4381 on top of ownerPar().
4383 2003-08-27 John Levon <levon@movementarian.org>
4385 * funcrequest.C: properly initialise POD members
4387 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4389 * lyxtext.h (top_y): move top_y from here
4394 * BufferView_pimpl.[Ch]: to here
4395 * frontends/screen.C:
4396 * insets/insettabular.C:
4397 * insets/insettext.C: adjust
4398 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4400 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4403 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4405 2003-08-26 André Pönitz <poenitz@gmx.net>
4407 * paragraph_func.[Ch] (outerPar): new function
4410 * paragraph_funcs.C:
4411 * paragraph_funcs.h:
4412 * paragraph_pimpl.C:
4413 * text2.C: remove Inset::par_owner
4415 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4420 * text2.C: eliminates the needFullRow/display() stuff
4421 altogether, putting the logic in metrics/draw in the insets.
4423 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4425 * text2.C (redoParagraphInternal, redoParagraphs):
4426 * text.C (redoParagraph): add a call to updateRowPositions at the
4427 end of each 'metrics-like' call. Remove all others.
4428 (getRow): remove the 'y-computing' version.
4429 (getRowNearY): do not compute nor return the real y. Solve the
4430 'y < 0' problem and simplify.
4432 2003-08-22 Angus Leeming <leeming@lyx.org>
4434 * *.[Ch]: clean-up of licence and author blurbs.
4435 Also move config.h out of a few .h files and into a few .C files.
4437 2003-08-22 André Pönitz <poenitz@gmx.net>
4439 * lyxrow.[Ch]: add x_ and *fill_ members
4444 * text2.C: adjust/remove prepareToPrint() calls
4446 2003-08-22 André Pönitz <poenitz@gmx.net>
4448 * lyxrow.[Ch]: add end_ member
4450 * lyxrow_funcs.C: use LyXRow::end_
4452 * lyxtext.h (singleWidth): add LyXFont parameter
4455 * text2.C: adjust LyXText::singleWidth() calls
4457 * text.C (redoParagraph): simplify row breaking logic
4460 2003-08-19 André Pönitz <poenitz@gmx.net>
4462 * funcrequest.C: initialize button_ member
4465 * rowpainter.[Ch]: interface consolidation
4467 2003-08-18 André Pönitz <poenitz@gmx.net>
4470 * BufferView_pimpl.C:
4472 * paragraph_funcs.C:
4474 * text3.C: remove LyXScreen::draw() and fitCursor calls
4476 * BranchList.h: remove spurious semicolons
4478 * MenuBackend.C: fix branchlist related crash
4480 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4488 * bufferparams.[Ch]:
4492 * text3.C: implements the 'branch inset'
4493 idea. This allows the output of various versions of a document
4494 from a single source version, selectively outputing or suppressing
4495 output of parts of the text.
4496 This implementation contains a 'branch list editor' in a separate
4497 tab of the document settings dialog. Branches are user definable
4498 and have a "display colour" to distinguish them on-screen.
4500 ColorHandler was somewhat cleaned up.
4501 (1) make possible a dynamically growing LColor list by allowing
4502 the graphic context cache to grow along (vector);
4503 (2) eliminate an IMHO unnecessary step in colour allocation.
4505 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4507 * BufferView_pimpl.C: compile fix
4509 2003-08-15 André Pönitz <poenitz@gmx.net>
4511 * rowpainter.C: remove extra metrics calls
4513 * lyxtext.h: merge the two constructors into a single one,
4514 pass reference to owner's par list
4516 * BufferView_pimpl.C:
4520 2003-08-15 André Pönitz <poenitz@gmx.net>
4522 * lyxrow_funcs.[Ch]:
4525 * paragraph_funcs.C:
4530 * text_funcs.C: split LyXText::rowlist_ into individual
4531 Paragraph::rows_ chunks
4534 * BufferView_pimpl.[Ch]:
4537 * text3.C: remove toggleSelection()
4539 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4541 * bufferlist.C: beautify two alerts (shorter text of buttons)
4542 * buffer.C: Remove redundant ' ' from message
4544 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4545 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4546 rename VALIGN_CENTER to VALIGN_MIDDLE
4548 2003-08-11 André Pönitz <poenitz@gmx.net>
4550 * lyxtext.h (getPar):
4551 * text.C: new function
4553 2003-08-11 André Pönitz <poenitz@gmx.net>
4556 * tracer.[Ch]: remove unneeded files
4558 * InsetList.[Ch]: remove resizeInsetsLyXText()
4563 * text3.C: merge insertParagraphs() and appendParagraph()
4564 remove breakAgain(), update()
4566 * BufferView_pimpl.[Ch]:
4567 * bufferview_funcs.[Ch]:
4571 * tabular.C: adjust after text & InsetList changes.
4573 2003-08-08 André Pönitz <poenitz@gmx.net>
4575 * text.C (insertChar, backspace): replace rowlist fiddling
4576 with rebreak of full par
4579 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4580 checkParagraph, updateInset): removed
4582 2003-08-07 André Pönitz <poenitz@gmx.net>
4585 * text3.C: merge some LFUN handlers, remove dead code
4587 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4589 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4591 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4593 * text2.C (DEPM): fix part of bug 1255 and 1256
4595 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4597 * BufferView_pimpl.C (workAreaDispatch): change to use
4598 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4599 that are no mouse related.
4601 2003-08-05 André Pönitz <poenitz@gmx.net>
4604 * BufferView_pimpl.[Ch]:
4605 * bufferview_funcs.C:
4607 * text3.C: rip out "deep update"
4609 * textcursor.[Ch] (last_sel_cursor): remove unused member
4611 2003-08-04 André Pönitz <poenitz@gmx.net>
4614 * BufferView_pimpl.[Ch]:
4615 * ParagraphParameters.C:
4616 * bufferview_funcs.C:
4622 * text3.C: replace "complicated" BufferView::update(...) calls with
4625 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4627 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4629 * Makefile.am (lyx_SOURCES): add paper.h
4631 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4633 * Makefile.am: move things around so that both lyx-qt and
4634 lyx-xforms can be built (according to --with-frontend). Then lyx
4635 is a symbolic link to lyx-[firstfrontend]
4637 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4639 * Always use std::endl with lyxerr
4641 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4643 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4645 2003-08-01 André Pönitz <poenitz@gmx.net>
4648 * BufferView_pimpl.[Ch]:
4650 * text3.C: merge BufferView::repaint() and BufferView::update()
4652 2003-08-01 José Matos <jamatos@lyx.org>
4654 * buffer.[Ch]: file_format is no longer a buffer data element.
4656 2003-08-01 André Pönitz <poenitz@gmx.net>
4661 * text2.C: make redoParagraph more independent of current cursor
4663 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4665 * text2.C: remove unneeded members
4667 2003-07-30 André Pönitz <poenitz@gmx.net>
4669 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4671 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4672 create a single function...
4674 * paragraph_funcs.C (moveItem): ... here.
4677 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4679 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4681 * LColor.[Ch]: Add comment and greyedout logical colors.
4683 2003-07-30 André Pönitz <poenitz@gmx.net>
4685 * tabular.C: don't use Assert too heavily. This crashes where it
4688 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4690 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4691 is disabled (bug 1232)
4693 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4695 * factory.C: limited 'arg' scope
4697 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4699 * factory.C: fixed Note submenu issues
4701 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4703 * factory.C: submenu for Note/Comment/Greyedout
4705 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4708 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4710 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4713 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4714 greyedout. Patch provided by Jürgen Spitzmüller.
4716 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4718 * kbmap.C (read): fix error message when reading bind files
4720 2003-07-29 Angus Leeming <leeming@lyx.org>
4722 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4723 certainly does not do what it purports to do. I am doing it, and
4724 us, a favour by killing it.
4726 2003-07-28 José Matos <jamatos@lyx.org>
4728 * buffer.C (readBody, do_writeFile):
4729 * paragraph.C(readParagraph): \end_document replaces \the_end.
4731 2003-07-29 André Pönitz <poenitz@gmx.net>
4734 * BufferView_pimpl.[Ch]:
4738 * textcursor.[Ch]: remove toggleToggle & Co
4740 2003-07-28 José Matos <jamatos@fep.up.pt>
4742 * buffer.C (readParagraph):
4743 * params_func (readParToken, readParagraph):
4744 * paragraph.C (write): \layout -> \begin_layout.
4746 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4748 * lyxlex_pimpl.C (setFile): clean up slightly.
4750 * bufferparams.h: add compressed var
4752 * buffer_funcs.C (readFile): adjust for LyXLex change
4753 (newFile): ditto + simplify
4755 * buffer.C (writeFile): handle writing of compressed files
4757 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4758 Check if the file is compressed and set a bufferparm if so.
4760 * Makefile.am (lyx_LDADD): remove explicit -lz
4762 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4764 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4765 makeDocBookFile): put the real LyX version in the first line of
4769 * version.C.in: remove lyx_docversion
4771 * tabular.C (write_attribute): add a template-based version to
4772 write enums properly
4774 2003-07-28 André Pönitz <poenitz@gmx.net>
4779 * text3.C: use doubles again for x-coordinates. They are needed.
4781 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4783 * messages.C (getLocaleDir): use lyx_localedir()
4785 * lyxlex_pimpl.C (setFile): compress stuff
4787 * buffer.C (writeFile): add some compression stuff
4788 (do_writeFile): new func, dont call expliti close... will this
4791 * Makefile.am (lyx_LDADD): add -lz
4793 2003-07-28 José Matos <jamatos@fep.up.pt>
4795 * buffer.C: increment file format.
4796 * paragraph_funcs (readParagraph, readParToken):
4797 * paragraph.C (readParagraph): add \end_layout.
4799 2003-07-27 Angus Leeming <leeming@lyx.org>
4801 * Makefile.am: remove special casing for configure-time setting of
4802 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4804 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4805 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4807 2003-07-26 André Pönitz <poenitz@gmx.net>
4809 * paragraph_func.[Ch]:
4810 * paragraph.C (realizeFont): inline it whereever it is used
4815 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4818 2003-07-26 André Pönitz <poenitz@gmx.net>
4822 * text2.C: get rid of LyXText::need_break_row
4824 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4826 * toc.[Ch]: put namespace toc inside namespace lyx
4828 * MenuBackend.C (expandToc2): adjust for lyx::toc
4831 * lyxfunc.C (dispatch): adjust for lyx::find
4833 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4834 lyx::find instead. Reorganize a bit.
4835 (LyXReplace): rename to replace
4836 (LyXFind): rename to find
4838 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4841 2003-07-26 André Pönitz <poenitz@gmx.net>
4843 * text.C (setHeightOfRow): restrict scope of temporary variable
4845 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4846 code (never has been used?)
4848 2003-07-27 Asger Alstrup <alstrup@local>
4850 * text.C (fill): Optimise algorithm to exploit that we can reuse
4851 the LyXFont for many characters.
4852 (setHeightOfRow): Same thing.
4853 (rowBreakPoint): Same thing.
4855 2003-07-26 Asger Alstrup <alstrup@local>
4857 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4859 * text.C (singleWidth): Spurious font copying in hot-spot
4860 singleWidth avoided. Reorder tests for arabic for efficiency.
4862 * text.C (fill): handle empty paragraphs better.
4864 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4867 * encoding.h: add includes
4869 * lyxrc.C: remove reading of bind files
4871 * lyx_main.C (init): setup bindings and menus only if we have a
4874 * kbmap.C (read): new method. Do the actual reading of bind
4877 * converter.C (dvipdfm_options):
4880 (output): adapt PAPER_* enums.
4882 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4884 * bufferparams.h: remove paper-related enums from there
4886 * paper.h: New file. A trivial header file to hold paper-related
4887 enums. It should later expand to contain many paper-related
4890 * lyxrc.C: declare extern displayTranslator
4892 2003-07-27 José Matos <jamatos@fep.up.pt>
4894 * tabular.[Ch] (linuxdoc): add support for tables and figures
4897 2003-07-27 José Matos <jamatos@fep.up.pt>
4899 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4900 consistency in both functions.
4901 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4903 2003-07-26 Asger Alstrup <alstrup@local>
4905 * rowpainter.C (paintRows): Change algorithm to work directly on
4906 the insets rather than asking every character in the document
4907 whether its an inset.
4909 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4911 * buffer.C (openFileWrite): factorize some code
4913 2003-07-26 Angus Leeming <leeming@lyx.org>
4916 * lyx_main.[Ch]: replace occurances of system_tempdir with
4919 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4921 * rename Inset to InsetOld
4923 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4925 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4926 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4927 which I think is a bit clearer. EDIT is gone, since it was
4928 premature optimisation, and broken for mathed anyway.
4929 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4930 with cursor positioning in insets as well (math insets still do not
4931 work, but that's a different story anyway.) It mysteriously
4932 crashes sometimes with undo in the first paragraph, but I'm fairly
4933 confident that this is a compiler bug.
4935 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4937 * paragraph.C (Paragraph): adjust for new clone return type
4939 (copyIntoMinibuffer): ditto
4941 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4943 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4944 by not having a special case, and always doing a full rebreak of
4945 the document after undo.
4947 2003-07-23 Angus Leeming <leeming@lyx.org>
4949 * factory.C (createInset): InsetExternal::setParams now takes a
4952 2003-07-23 Angus Leeming <leeming@lyx.org>
4954 * factory.C (createInset): changed interface to the external and
4955 graphics mailers' string2params functions.
4957 2003-07-23 Angus Leeming <leeming@lyx.org>
4959 * factory.C (createInset): pass a
4960 Buffer const * parameter to InsetExternalMailer's string2params.
4962 2003-07-22 John Levon <levon@movementarian.org>
4964 * Thesaurus.h: include the right aiksaurus header
4966 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4968 * MenuBackend.C (expand): check menu shortcuts unconditionally
4970 2003-07-21 Angus Leeming <leeming@lyx.org>
4972 * factory.C (createInset): pass a
4973 buffer_path parameter to InsetGraphicsMailer's string2params.
4975 2003-07-21 Angus Leeming <leeming@lyx.org>
4977 * BufferView_pimpl.C (buffer):
4980 * lyxfunc.C (dispatch):
4981 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4982 rather than the grfx shortcut.
4984 2003-07-21 André Pönitz <poenitz@gmx.net>
4986 * rowpainter.C: remove unused variables
4989 * tabular_funcs.h: move to tabular.C
4990 * Makefile.am: adjust
4992 * tabular.[Ch]: basic optical cleaning
4994 * author.h: pass references, not values
4996 2003-07-18 André Pönitz <poenitz@gmx.net>
5004 * text3.C: two-phase drawing for InsetText and InsetTabular
5005 some float -> int changes.
5007 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5009 * lyx_main.C: fix the fix
5011 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5013 * lyx_main.C: fix a crash in batch mode if no files specified
5016 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5018 * format.[Ch] (papersize): moved to BufferParams
5019 * converter.[Ch] (dvips_options): moved to BufferParams
5020 (dvipdfm_options): moved to anon namespace
5021 * bufferparams.[Ch]: added above functions.
5023 2003-07-17 André Pönitz <poenitz@gmx.net>
5027 * text2.C: don't call inset->update() anymore
5029 * metricsinfo.[Ch]: add convenience constructor
5031 2003-07-16 André Pönitz <poenitz@gmx.net>
5036 * text2.C: replace the LyXCursor::irow_ member with
5037 on-demand computation of the value
5039 2003-07-16 John Levon <levon@movementarian.org>
5041 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5043 2003-07-15 André Pönitz <poenitz@gmx.net>
5046 * text2.C: remove no more needed refresh_row
5048 2003-07-15 André Pönitz <poenitz@gmx.net>
5053 * text3.C: refresh_status tristate -> need_update bool
5055 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5057 * lyxtext.h (init): remove reinit argument (act as if always true)
5058 * text2.C: adjust to that
5060 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5062 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5063 * text3.C: use it to delete selections in some cases
5064 (bugs 441, 673, 702, 954).
5066 2003-07-14 André Pönitz <poenitz@gmx.net>
5068 * rowpainter.[Ch]: reduce interface
5070 2003-07-14 André Pönitz <poenitz@gmx.net>
5072 * BufferView_pimpl.C:
5073 * text2.C: adjust after removing unused BufferView * argument
5075 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5077 * text2.C (init): fix a crash fired on resize
5079 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5081 * buffer.[Ch]: added new closing signal
5082 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5083 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5084 BufferView::Pimpl via the closing the signal
5086 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5088 * buffer.[Ch]: take out all bv-related from buffer
5090 * BufferView_pimpl.[Ch]: connect to new signals
5091 * CutAndPaste.C: removed useless asserts
5092 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5095 * lyxfunc.C: moved view-related funciontality from vc here
5096 * paragraph.C: removed outdated comments
5099 2003-07-10 André Pönitz <poenitz@gmx.net>
5101 * BufferView_pimpl.C:
5105 * text2.C: remove InsetText::InnerCache, clean up consequences
5107 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5109 * ispell.C: fix two typos in error messages
5111 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5113 * Extend Note inset to other forms of annotation like Comment
5114 and Greyedout. Right button click gives dialog.
5116 Files modified or added (+):
5120 * ControlNote.[Ch] +
5122 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5123 frontends/controllers
5127 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5129 * aspell.C: add missing namespace lyx::support
5131 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5133 * BufferView.[Ch] (newFile): Add
5134 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5135 * LaTeX.[Ch] (message): added this signal and use it
5136 * buffer.[Ch] (busy, message): added these signals and use them
5137 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5141 * importer.C: use buffer signals instead of direct bv calling
5142 * lyx_cb.[Ch] (ShowMessage): removed
5145 * paragraph_funcs.C:
5146 * text2.C: use buffer signals
5148 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5150 * introduce namespace lyx::graphics
5152 2003-07-02 André Pönitz <poenitz@gmx.net>
5154 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5156 2003-07-01 André Pönitz <poenitz@gmx.net>
5163 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5164 text*.C to text_func.C
5166 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5168 * introduce namespace lyx::support
5170 2003-06-30 André Pönitz <poenitz@gmx.net>
5175 * text.C: re-enable --with-included-string
5177 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5179 * textcursor.C: add <config.h>
5181 * text.C (getWord): remove const from word_location arg
5183 * lyxvc.C (getLogFile): fix const type order
5185 * lyxtext.h: remove const from word_location arg, add arg name
5187 * lyxlayout.h: currect type on labeltype.
5189 * importer.C: correct \file
5191 * converter.C (intToFormat): use std:: on ret val, ws changes
5193 * bufferlist.h: correct \file
5195 * buffer.C (makeLinuxDocFile): fix const type order
5196 (makeDocBookFile): ditto
5197 (fillWithBibKeys): use std:: on stdlib args.
5199 * CutAndPaste.C: fix authors.
5200 (availableSelections): use std:: on return vector
5202 2003-06-27 André Pönitz <poenitz@gmx.net>
5204 * BufferView_pimpl.C:
5205 * bufferview_funcs.C:
5213 * text3.C: remove LyXCursor::row_ member
5216 * text.C: rename fullRebreak() to partialRebreak() and implement
5217 a fullRebreak() that really bereks fully
5219 * textcursor.h: new struct for cursor-related data
5221 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5223 * lyx_main.C (LyX): get full path of document loaded on the
5226 2003-06-26 André Pönitz <poenitz@gmx.net>
5228 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5229 remove unused/broken operator>,<,>=.
5231 * text.C: remove only use of broken operator<= in an Assert().
5233 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5235 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5236 moved errorlist_.clear to showErrorList
5238 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5240 * converter.C (scanLog, runLaTeX):
5241 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5242 move the bv->showErrorList call to the callers
5243 * lyxfunc.C: i.e. here...
5245 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5246 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5247 namespace, the second to...
5248 * buffer_funcs (BufferFormat, parseErrors): added
5249 * errorlist.C (ErrorList(TeXErrors const &)): removed
5251 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5253 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5255 2003-06-24 "Garst R. Reese" <reese@isn.net>
5259 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5261 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5263 * version.C.in: change docversion to 1.4
5265 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5267 * buffer.C: fix a bug just introduced
5269 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5271 * buffer.[Ch]: added the parseError signal and use it, removed
5273 * BufferView.[Ch] (addError): moved to ...
5274 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5275 to the Buffer::parseError signal to catch (guess what) parse errors
5276 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5278 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5280 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5281 ability to create a buffer and to return an existing one from
5282 the list. Moved these functions to...
5283 * buffer_funcs.[Ch]: added
5284 * BufferView.[Ch] (loadLyXFile): added
5285 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5286 job removed from bufferlist::loadLyXFile.
5287 * buffer.C (setReadOnly): make it work without view
5288 (i.e added an if (users))
5290 2003-06-19 Angus Leeming <leeming@lyx.org>
5293 * LyXAction.C (init):
5294 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5295 with LFUN_DIALOG_SHOW <name> <data>.
5297 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5299 * CutAndPaste.C (availableSelections): small compilation fix for
5300 ancient (gcc 2.9x) compilers
5302 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5304 * text3.C (cursorNext): add tmp var
5306 * text2.C (updateCounters): for function calling out of for clause
5307 (replaceSelectionWithString): ditto
5308 (insertStringAsParagraphs): ditto
5309 (getColumnNearX): add tmp var
5310 (setCursorFromCoordinates): add tmp var
5311 (cursorDownParagraph): add tmp var
5312 (deleteEmptyParagraphMechanism): add tmp var
5314 * text.C (insertChar): add tmp var
5316 * rowpainter.C (paintDepthBar): add tmp var
5318 * CutAndPaste.C (availableSelections): potentially check all
5319 paragraphs in a cut to fill the shown strings.
5321 2003-06-18 André Pönitz <poenitz@gmx.net>
5323 * kbmap.[Ch]: use vector<> instead of list<>
5325 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5327 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5328 pasteSelection with index
5330 * text2.C (pasteSelection): modify, call pasteSelection with index
5332 * paragraph.C (asString): reimplement version with no interval to
5333 call the one with interval.
5335 * lyxtext.h: add index arg to pasteSelection
5337 * MenuBackend.C (MenuItem): handle PasteRecent
5338 (Menu::read::Menutags): add md_pasterecent
5340 (expandPasteRecent): new function
5343 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5345 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5347 (availableSelections): new function
5349 2003-06-17 Angus Leeming <leeming@lyx.org>
5351 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5353 2003-06-17 Angus Leeming <leeming@lyx.org>
5356 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5358 * lyxfunc.C (dispatch): invoke it.
5360 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5362 * iterators.C (operator++, ParPosition): reintroduce some
5363 const_cast for the benefit of older compilers.
5365 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5367 * text3.C (dispatch): do not modify clipboard when doing
5368 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5369 LFUN_DELETE_SKIP on a selection selection
5371 2003-06-16 André Pönitz <poenitz@gmx.net>
5377 * tabular.[Ch]: IU of clone() and getLabelList();
5379 2003-06-13 André Pönitz <poenitz@gmx.net>
5381 * tabular.h: compactification
5383 2003-06-12 André Pönitz <poenitz@gmx.net>
5387 * tabular_funcs.h: some renaming plus whitespace
5389 2003-06-12 André Pönitz <poenitz@gmx.net>
5392 * BufferView_pimpl.C:
5398 * toc.C: Return a Paragraph & for ParIterator::operator*()
5400 2003-06-11 John Levon <levon@movementarian.org>
5404 * ToolbarBackend.C: add "Toolbars" section and
5407 2003-06-10 Angus Leeming <leeming@lyx.org>
5410 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5412 * lyxfunc.C (dispatch): invoke it.
5414 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5416 * main.C: protect <ios> with HAVE_IOS
5417 (main): protect sync_with_stdio with HAVE_IOS
5419 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5421 * text2.C (cutSelection): adjust
5422 (pasteSelection): adjust
5424 * messages.C: handle get of empty string
5426 * main.C (main): use sync_with_stdio(false)
5428 * lyxfunc.C (dispatch): adjust
5430 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5431 (WriteAs): remove unneeded BufferView arg.
5433 * bufferparams.h: use correct types on papersize, papersize2 and
5436 * bufferparams.C (readToken): adjust for type
5437 (writeLaTeX): add missing cases to switch.
5439 * bufferlist.C (quitWriteBuffer): adjust
5442 * buffer.C (asciiParagraph): remove some commented code.
5444 * CutAndPaste.C: remove current_view extern variable.
5445 (cutSelection): add BufferParams arg.
5446 (eraseSelection): add BufferParams arg.
5447 (pasteSelection): add Buffer const & arg
5449 2003-06-07 John Levon <levon@movementarian.org>
5452 * paragraph_funcs.C:
5453 * paragraph_pimpl.C:
5457 * paragraph.C: allow InsetERT to freely space lines,
5458 and some consolidation of code
5460 2003-06-06 José Matos <jamatos@fep.up.pt>
5462 * buffer.C (makeDocBookFile): fix bug #821
5464 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5466 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5468 2003-06-04 Angus Leeming <leeming@lyx.org>
5470 * buffer.C: bump format to 224.
5472 2003-06-05 André Pönitz <poenitz@gmx.net>
5474 * text2.C (redoParagraphs): remove two const_cast<>
5476 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5478 * ParagraphList.h: remove last remnants of NO_STD_LIST
5480 2003-06-03 Angus Leeming <leeming@lyx.org>
5482 * factory.C (createInset): small change to the way InsetExternal's params
5485 2003-06-04 André Pönitz <poenitz@gmx.net>
5487 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5489 * paragraph_pimpl.h:
5490 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5492 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5494 * undo_funcs.C: make some simple cases of undo work again
5496 2003-06-03 John Levon <levon@movementarian.org>
5498 * ispell.C: HPUX doesn't have sys/select.h
5501 2003-06-03 John Levon <levon@movementarian.org>
5503 * CutAndPaste.C: update tabular and include inset
5508 * paragraph.C: remove owningBuffer(), don't pass Buffer
5511 * factory.C: insetGraphicsParams changed
5513 2003-06-02 John Levon <levon@movementarian.org>
5519 * text3.C: remove insetparent
5521 2003-06-02 John Levon <levon@movementarian.org>
5524 * buffer.C: fix inset_iterator.end(), move out of line
5527 2003-06-01 John Levon <levon@movementarian.org>
5529 * text3.C: use a proper cut/paste when doing inset
5530 insert (from Jürgen Spitzmüller)
5532 2003-06-01 John Levon <levon@movementarian.org>
5534 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5536 2003-05-30 André Pönitz <poenitz@gmx.net>
5538 * rowpainter.C: unify second drawing phase
5540 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5542 * trans_mgr.C: remove one case of current_view
5544 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5546 * paragraph_funcs.h: remove paragraph.h include
5548 * paragraph.h: delete NO_STD_LIST stuff
5550 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5552 * buffer.h: remove paragraph.h include
5554 * ParagraphList.C: delete file
5556 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5558 * toc.C (getTocList): adjust
5560 * paragraph_pimpl.C (validate): adjust
5562 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5564 * paragraph.C (Paragraph): adjust
5565 (getPositionOfInset): use const_iterator, adjust
5566 (bibitem): use const_iterator, adjust
5567 (setInsetOwner): adjust
5569 * iterators.C (operator++): adjust
5571 * InsetList.[Ch]: Replace selfmade iterator with standard
5572 vector::iterator also introduce const_iterator. Remove getPos,
5573 getInset and setInset from InsetTable. Adjust accordingly.
5575 * BufferView.C (lockInset): adjust
5576 (ChangeInsets): adjust
5578 * tabular.[Ch]: delete commented same_id functions
5580 2003-05-28 John Levon <levon@movementarian.org>
5582 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5584 2003-05-28 André Pönitz <poenitz@gmx.net>
5586 * metricsinfo.[Ch]: remove 'fullredraw' member
5588 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5590 * lyxtextclass.C (operator): remove caching.
5592 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5596 * text2.C (cursorBottom): adjust
5597 (setCounter): use ParagraphList::find, adjust
5599 * text.C (workWidth): use ParagraphList::find, adjust
5601 * lyxcursor.C (LyXCursor): adjust
5603 * buffer.C (inset_iterator): adjust
5605 * ParagraphList.h: make iterator(value_type) private, make
5606 ParagraphList a friend of iterator.
5608 * ParagraphList.C (find): new function
5610 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5612 2003-05-27 André Pönitz <poenitz@gmx.net>
5614 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5616 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5618 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5620 2003-05-26 John Levon <levon@movementarian.org>
5622 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5624 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5626 * remove same_id from function signatures, adjust.
5628 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5630 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5632 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5634 * paragraph.C (Paragraph): get rid of same_ids parameter
5636 * ParagraphList.C (insert): adjust
5639 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5641 * paragraph_funcs.C (breakParagraph): adjust
5642 (breakParagraphConservative): adjust
5644 * buffer.C (readParagraph): adjust
5646 * ParagraphList.C (insert): take a reference instead of a pointer
5649 * paragraph.[Ch] (id): new function
5651 * bufferlist.C (newFile): adjust
5653 * ParagraphList.C (ParagraphList): adjust
5655 (push_back): take a reference instead of a pointer.
5657 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5659 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5662 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5663 set else use old code.
5665 * ParagraphList.C: remove all NO_NEXT code and only compile this
5666 code of NO_STD_LIST is set.
5668 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5670 * BufferView_pimpl.C:
5680 * graphics/GraphicsConverter.C:
5681 * graphics/PreviewLoader.C: header adjustment
5683 2003-05-23 Angus Leeming <leeming@lyx.org>
5685 * LaTeXFeatures.[Ch] (useBabel): new method.
5686 * bufferparams.C (writeLaTeX): use it.
5688 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5690 * ParagraphList.h (set): remove unused function.
5692 2003-05-23 André Pönitz <poenitz@gmx.net>
5695 * BufferView_pimpl.C:
5699 * undo_funcs.C: setUndo reworked
5701 * iterators.[Ch]: add access to topmost ParagraphList
5703 * lyxtext.[Ch] (workWidth): add a const
5705 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5707 * texrow.[Ch] (increasePos): remove function
5708 * exporter.C (export): removed unused var and outdated comment
5710 2003-05-23 Angus Leeming <leeming@lyx.org>
5712 * latexrunparams.h: rename fragile as moving_arg.
5713 * paragraph.C (simpleTeXOnePar): ditto.
5714 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5716 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5718 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5720 (textUndoOrRedo): comment out a currently unused var.
5722 * paragraph.h (NO_NEXT): enable NO_NEXT
5724 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5726 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5728 * exporter.C (Export): adjust for removeAutoInsets removal.
5730 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5732 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5734 * BufferView.[Ch] (removeAutoInsets): delete function
5736 2003-05-22 Angus Leeming <leeming@lyx.org>
5738 * latexrunparams.h: add a free_spacing variable.
5740 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5741 to pass moving_arg, as the data is stored in runparams.fragile.
5743 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5744 to Inset::latexOptional or to simpleTeXOnePar.
5746 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5747 free_spacing arg to Inset::latexOptional.
5749 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5752 2003-05-22 Angus Leeming <leeming@lyx.org>
5754 * latexrunparams.h: add fragile and use_babel variables.
5756 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5757 * buffer.C (makeLaTeXFile): store this returned value in
5758 runparams.use_babel, thus passing it to the inset::latex methods.
5760 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5761 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5763 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5764 longer has a fragile arg, as it is stored in runparams.fragile.
5766 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5767 moving_arg parameter as the data is stored in runparams.fragile.
5769 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5770 a fragile parameter as the data is stored in runparams.fragile.
5772 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5774 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5776 2003-05-22 Angus Leeming <leeming@lyx.org>
5778 * latexrunparams.h: add a 'bool nice' which defaults to false.
5780 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5781 now encapsulated within runparams.
5783 * bufferlist.C (updateIncludedTeXfiles):
5784 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5786 2003-05-22 Angus Leeming <leeming@lyx.org>
5788 * latexrunparams.h: new file containing struct LatexRunParams.
5789 * Makefile.am: add new file.
5791 * LaTeX.[Ch] (c-tor, run):
5792 * buffer.[Ch] (makeLaTeXFile):
5793 * bufferlist.[Ch] (updateIncludedTeXfiles):
5794 * converter.C (convert, scanLog):
5795 * converter.[Ch] (runLaTeX):
5796 * exporter.C (Export):
5797 * paragraph.[Ch] (simpleTeXOnePar):
5798 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5799 * paragraph_funcs.[Ch] (latexParagraphs):
5800 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5801 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5802 pass around a LatexRunParams parameter.
5804 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5806 * paragraph.[Ch]: remove unused constructor
5808 * ParagraphList.C (erase): new function, taking two iterators
5810 2003-05-22 André Pönitz <poenitz@gmx.net>
5812 * undo_funcs.C: remove duplicated code
5814 * iterator.[Ch]: operator=
5816 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5818 * tabular.C (SetMultiColumn): ws changes
5820 * rowpainter.C (paintFirst): get rid of a ->previous
5822 * lyx_cb.C (getPossibleLabel): parlist simplification
5824 * BufferView.C (ChangeInsets): simplify slightly.
5826 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5828 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5829 * lfuns.h: new LFUN_SPACE
5830 * lyxfunc.C: protected space has a new lfun
5831 * paragraph_funcs.C: read new space insets
5833 * factory.C: handle new space insets
5835 2003-05-22 André Pönitz <poenitz@gmx.net>
5838 * BufferView_pimpl.C:
5841 * undo_funcs.C: return a ParIterator from getParFromID.
5843 * iterators.[Ch]: add two const's
5845 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5847 * toc.C (getTocList): adjust
5849 * iterators.[Ch]: rework for parlist
5851 * buffer.C (par_iterator_begin): adjust
5852 (par_iterator_end): adjust
5854 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5856 * BufferView.C (removeAutoInsets): adjust
5857 (ChangeInsets): adjust
5859 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5861 * text.C (top_y): fix bug 1110
5863 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5865 * errorlist.[Ch]: added
5868 * BufferView_pimpl.C:
5869 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5872 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5874 * Makefile.am: ensure that lyx is relinked upon changes to the
5875 various "convenience" libs.
5877 2003-05-20 Angus Leeming <leeming@lyx.org>
5879 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5880 files are compiled in alphabetical order again.
5882 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5884 2003-05-19 Angus Leeming <leeming@lyx.org>
5886 * gettext.[Ch]: remove "char const * _(char const *)".
5888 2003-05-19 André Pönitz <poenitz@gmx.net>
5890 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5899 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5901 2003-05-19 André Pönitz <poenitz@gmx.net>
5905 * lyxtextclass.[Ch]:
5907 * paragraph_funcs.[Ch]:
5909 * text3.C: more insetenv work
5911 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5913 * ParagraphParameters.C (params2string): small bug fixed
5915 2003-05-16 André Pönitz <poenitz@gmx.net>
5918 * bufferview_funcs.C: patch from Kornel Benko to prevent
5919 crash when _(...) is called twice in a statement
5921 2003-05-16 André Pönitz <poenitz@gmx.net>
5928 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5930 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5932 * lyx_main.C (init): remove spurious static_cast
5934 2003-05-14 André Pönitz <poenitz@gmx.net>
5936 * BufferView.C: fix format string
5938 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5940 * BufferView.[Ch] (insertErrors): removed
5941 * BufferView.[Ch] (showErrorList): added
5942 * buffer.C (runChkTeX):
5943 * converter.C (scanLog): call showErrorList instead of inserterrors
5945 2003-05-13 André Pönitz <poenitz@gmx.net>
5947 * BufferView_pimpl.C:
5949 * bufferview_func.C:
5956 * tabular_funcs.h: tostr() from its own header
5958 * ParagraphParameters.C:
5963 * text3.C: STRCONV()
5965 2003-05-12 André Pönitz <poenitz@gmx.net>
5968 * BufferView_pimpl.C:
5972 * ParagraphParameters.C:
5976 * bufferview_funcs.C:
5989 * paragraph_funcs.C:
5993 * text3.C: boost::format -> bformat all over the place
5996 2003-05-09 André Pönitz <poenitz@gmx.net>
5998 * LColor.[Ch]: Pimpl the #include <map> away
6000 2003-05-09 John Levon <levon@movementarian.org>
6002 * bufferlist.C: never remove emergency saves
6004 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6006 * Makefile.am: better lib building
6008 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6010 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6012 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6013 (simpleTeXSpecialChars): adjust
6014 (simpleTeXSpecialChars): adjust
6015 * paragraph.C (simpleTeXOnePar): adjust
6016 * buffer.C (makeLaTeXFile): adjust
6018 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6020 * text2.C (changeDepth): parlist cleanup
6021 (getColumnNearX): ditto
6023 * rowpainter.C (getLabelFont): parlist cleanup
6025 * bufferlist.C (newFile): parlist cleanup
6027 * CutAndPaste.C (eraseSelection): parlist cleanup
6029 * BufferView_pimpl.C (trackChanges): parlist cleanup
6032 * BufferView.C (lockInset): parlist cleanup.
6033 (ChangeInsets): ditto
6035 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6037 * CutAndPaste.h: Update file header.
6039 * CutAndPaste.C: Update file header.
6040 Store the parts cut out of the Document in a limited_stack.
6041 (copySelection): adjust
6042 (pasteSelection): new function, takes the index in the limited stack.
6043 (nrOfParagraphs): adjust
6044 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6045 simplify error inset insertion.
6046 (checkPastePossible): adjust
6048 2003-05-06 John Levon <levon@movementarian.org>
6050 * text2.C: don't cast wrap inset to float
6052 2003-05-05 André Pönitz <poenitz@gmx.net>
6055 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6057 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6058 few naked Paragraph *.
6060 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6062 * bufferparams.C: Output warning if a document with missing
6063 TeX document class is loaded
6064 * exporter.C: Disable TeX exports if the document class is missing
6067 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6068 isTeXClassAvailable()
6070 2003-05-03 John Levon <levon@movementarian.org>
6073 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6074 explicit cursor show/hide
6076 * BufferView_pimpl.h:
6077 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6078 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6080 * lyxfunc.C: hide cursor before dispatching.
6085 * text3.C: remove explicit cursor hides
6087 2003-05-02 André Pönitz <poenitz@gmx.net>
6089 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6092 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6095 * text2.C: tiny whitespace
6097 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6099 * undo_funcs.C: almost only ws changes.
6101 * ParagraphList.C (splice): just return if pl is empty.
6103 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6105 * ParagraphList.C (splice): new function.
6107 * CutAndPaste.C (pasteSelection): use it
6109 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6111 * CutAndPaste.C (pasteSelection): remove the last next and
6112 previous from this file.
6114 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6116 * CutAndPaste.C (pasteSelection): more clean up, user proper
6117 ParagraphList functions for pasteing.
6119 * ParagraphList.C (insert): new function, three arg insert
6121 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6123 * ParagraphList.C (insert): new function, three arg insert
6125 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6128 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6130 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6132 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6134 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6136 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6138 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6139 (copySelection): clean up a bit.
6140 (pasteSelection): use make_pair
6142 * ParagraphList.C (ParagraphList): implement copy constructor
6143 (operator=): implement, base on copy constructor.
6146 * paragraph.C (erase): return a bool
6148 * paragraph_pimpl.C (erasePos): remove function, move contents...
6149 (erase): ... here. Return a bool.
6150 (erase): call erase instead of erasePos.
6152 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6154 * ParagraphList.h: define PitPosPair
6155 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6156 ParagraphList, fix a bug on pasting multiple pars
6157 * text2.C: change interface to C&P
6159 2003-04-30 André Pönitz <poenitz@gmx.net>
6161 * undo_func.C: revert part of yesterday's patch 2
6163 2003-04-30 John Levon <levon@movementarian.org>
6165 * LColor.C: s/tabular/table/
6167 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6169 * text3.C (dispatch): do not convert iterator -> pointer
6170 * undo_funcs.C (setCursorParUndo): ditto
6171 * text_funcs.C (transposeChars): ditto
6173 * text2.C (setLayout): ws changes only
6175 * text.C (breakParagraph): do not convert iterator -> pointer
6177 (acceptChange): ditto
6178 (rejectChange): ditto
6183 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6186 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6188 * text3.C (gotoInset): YABG (yet another bad getChar)
6190 2003-04-29 André Pönitz <poenitz@gmx.net>
6192 * paragraph.h: make operator= private unimplemented as long as
6195 * ParagraphList.C: whitespace
6198 * paragraph_pimpl.[Ch]:
6199 * paragraph_funcs.C:
6201 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6204 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6206 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6208 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6209 * paragraph.[Ch] (erase):
6210 * paragraph_pimpl.[Ch] (erase): change return type and value
6211 * text2.C (cutSelection): some rework
6213 2003-04-28 John Levon <levon@movementarian.org>
6215 * bufferlist.C: changes for unsaved changes dialog
6217 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6219 * bufferlist.C (newFile): set language (messages_) for new
6222 * buffer.C (readFile): ws changes only.
6224 2003-04-28 André Pönitz <poenitz@gmx.net>
6229 * BufferView_pimpl.C:
6230 * BufferView.C: getParFromID related ParagraphList::iterator changes
6232 2003-04-28 André Pönitz <poenitz@gmx.net>
6234 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6237 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6239 * messages.C: remove one more localedir class variable.
6241 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6243 * messages.C (getLocaleDir): singleton generation function
6245 (Messages): add a default constructor.
6247 * main.C (main): do not setup localedir here, do not call
6250 * gettext.C (_): use it.
6251 (gettext_init): delete funciton
6253 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6255 * gettext.C (getLyXMessages): new singleton generating function.
6257 * buffer.C (updateDocLang): adjust
6259 * Makefile.am (messages.o): add target
6260 (main.o): remove target
6262 2003-04-27 John Levon <levon@movementarian.org>
6267 * lyxvc.C: specify cancel button in Alert::prompt
6269 2003-04-26 John Levon <levon@movementarian.org>
6274 * LyXAction.C: add LFUN_INSET_SETTINGS
6276 * lyxfunc.C: don't enable tabular-feature when there's
6277 just any locking inset
6279 2003-04-26 John Levon <levon@movementarian.org>
6281 * bufferlist.C: re-add Cancel to buffer close question
6283 * lyxfunc.C: fix import UI a bit
6285 2003-04-25 John Levon <levon@movementarian.org>
6287 * gettext.C: remove the broken asserts for now
6289 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6291 * messages.C: make case where setlocale cannot comply work better.
6293 * buffer.C (updateDocLang): new function
6294 (changeLanguage): use it
6297 * text2.C (setCounter): use B_ a bit.
6299 * lyxlayout.C (Read): be sure to trim the label strings.
6301 * messages.C (Messages): fix typo in comment
6303 * buffer.C (readFile): set message_ after file is loaded.
6304 (makeDocBookFile): remove double return
6305 (changeLanguage): reset message_ upon language change.
6306 (B_): new func, use this to get translated buffer strings.
6308 * main.C: add myself and Jean Marc as authors.
6310 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6312 * messages.[hC]: pimplify Messages, and three different pimpls to be
6313 used in different circumstances.
6315 * gettext.[Ch]: change for use with new message code.
6317 2003-04-24 André Pönitz <poenitz@gmx.net>
6319 * factory.C: support for eqref
6321 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6323 * messages.[Ch]: add missing char
6325 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6327 * messages.[Ch]: New files
6329 2003-04-18 John Levon <levon@movementarian.org>
6333 * BufferView_pimpl.C:
6337 * text2.C: remove layout-copy/paste (bug 778)
6339 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6341 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6343 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6345 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6346 if they succeed. Act accordingly.
6348 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6350 * text2.C (setCharFont): adjust
6351 (setCounter): adjust
6352 (insertStringAsLines): adjust
6354 * text.C (leftMargin): adjust
6355 (setHeightOfRow): adjust
6357 * rowpainter.C (paintFirst): adjust
6360 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6362 (isFirstInSequence): ditto
6363 (getEndLabel): ditto
6366 * paragraph.C (getParLanguage): comment out some hard stuff.
6368 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6370 (simpleDocBookOnePar): ditto
6371 (makeDocBookFile): use ParagraphList::iterator
6373 * CutAndPaste.C (pasteSelection): adjust
6375 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6377 * text2.C (getFont): adjust
6378 (getLayoutFont): adjust
6379 (getLabelFont): adjust
6381 * paragraph_funcs.C (TeXOnePar): adjust
6383 * buffer.C (simpleLinuxDocOnePar): adjust
6384 (simpleDocBookOnePar): adjust
6386 * CutAndPaste.C (pasteSelection): adjust
6388 * BufferView.C (getEncoding): adjust
6390 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6392 2003-04-16 John Levon <levon@movementarian.org>
6394 * lyxfind.C: use parlist stuff for search/changes
6396 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6398 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6400 * text2.C (deleteEmptyParagraphMechanism): adjust
6402 * text2.[Ch] (ownerParagraph): delete func (both of them
6404 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6406 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6408 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6410 * ParagraphList.C: prepare for NO_NEXT
6412 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6414 * text2.C (getFont): adjust
6415 (getLayoutFont): adjust
6416 (getLabelFont): adjust
6418 * paragraph.C (getFont): adjust
6419 (getLabelFont): adjust
6420 (getLayoutFont): adjust
6422 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6424 2003-04-15 John Levon <levon@movementarian.org>
6428 * lyx_main.C: handle Include in .ui files
6430 2003-04-15 John Levon <levon@movementarian.org>
6432 * MenuBackend.C: make the doc files length shorter
6435 * ToolbarBackend.C: handle toolbar placement flags,
6438 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6440 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6443 * paragraph_funcs.C (TeXOnePar): adjust
6445 * paragraph.C (getLabelFont): add outerfont arg, adjust
6446 (getLayoutFont): ditto
6447 (simpleTeXOnePar): adjust
6449 * paragraph_pimpl.C (realizeFont): delete func
6451 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6453 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6454 row argument, constify cur argument.
6456 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6458 * text2.C (getFont): adjust
6459 (getLayoutFont): adjust
6460 (getLabelFont): adjust
6462 * paragraph_funcs.C (TeXOnePar): adjust
6463 (outerFont): new func...
6464 (realizeFont): ...moved out from here, changed this to facilitate
6467 * paragraph.C (getFont): take outerfont as arg, adjust
6468 (simpleTeXOnePar): add outerfont arg, adjust
6470 * buffer.C (simpleLinuxDocOnePar): adjust
6471 (simpleDocBookOnePar): adjust
6473 * CutAndPaste.C (pasteSelection): adjust
6475 * BufferView.C (getEncoding): adjust
6477 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6479 * text2.C (setCharFont): adjust
6480 (setCounter): adjust
6482 * text.C (leftMargin): adjust
6483 (setHeightOfRow): adjust
6485 * rowpainter.C (paintFirst): adjust
6488 * paragraph_pimpl.C (realizeFont): adjust
6490 * paragraph.C (isFirstInSequence): move from here...
6491 * paragraph_funcs.C (isFirstInSequence): ...to here
6493 * paragraph.C (outerHook): move from here...
6494 * paragraph_funcs.C (outerHook): ...to here
6496 * paragraph.C (depthHook): move from here...
6497 * paragraph_funcs.C (depthHook): ...to here
6499 * paragraph.C (getEndLabel): move from here...
6500 * paragraph_funcs.C (getEndLabel): ...to here
6502 * text2.C (realizeFont): move from here...
6503 * paragraph_funcs.C (realizeFont): ...to here
6505 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6507 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6509 2003-04-14 Angus Leeming <leeming@lyx.org>
6511 * LColor.[Ch]: scrap LColor mathcursor.
6513 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6515 * lyxlex.[Ch] (text): delete function
6516 * trans.C (Load): adjust
6517 * paragraph_funcs.C (readParToken): adjust
6519 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6521 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6522 vector<char> instead of a char[].
6524 * lyxlex_pimpl.C (getString): adjust
6526 (lex): use getString
6530 * lyxlex.C (text): use pimpl_->getString()
6534 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6536 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6537 (makeFontEntriesLayoutSpecific): temp var for par.size()
6538 (setLayout): temp var for ownerParagraphs().end()
6539 (fullRebreak): temp var for rows().end()
6540 (selectionAsString): temp var for boost::next(startpit), realize
6541 that the while really is a regular for loop.
6542 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6543 setCursor in one place.
6544 (setParagraph): temp vr for ownerParagraphs().end()
6545 (updateCounters): make the while loop a for loop
6546 (cutSelection): temp var for ownerParagraphs().end()
6547 (updateInset): make the do {} while() a regular for loop
6548 (getCursorX): use temp vars
6549 (setCurrentFont): use temp vars
6550 (getColumnNearX): use temp vars
6552 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6554 * text.C (transformChar): use temp var for getChar
6555 (computeBidiTables): use temp var for row->par()
6556 (fill): move temp vars for row->par() and pit->layout() earlier in
6558 (labelFill): use temp var for row->par()
6559 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6560 asc and desc, realize that pit never changes and that firstpit is
6561 just a duplicate and not needed. Exchange rit->par() with pit in a
6563 (breakAgain): use a temp var for boost::next(rit)
6564 (breakAgainOneRow): ditto
6565 (breakParagraph): use a temp var for rows().begin()
6566 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6567 (cursorRightOneWord): use temp var for cursor.par() and
6568 cursor.pos(), remove usage of tmpcursor.
6569 (cursorLeftOneWord): use temp var for cursor.par() and
6570 cursor.pos() only set cur at end of function.
6572 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6574 * text.C, text2.C: exchange all usage of Paragraph::next with
6575 boost::next(ParagraphList::iterator)
6577 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6579 * text2.C (cursorTop): simplify implementation
6580 (cursorBottom): ditto
6581 (setParagraph): use ParagraphList::iterator
6582 (setCurrentFont): adjust
6583 (getColumnNearX): adjust
6584 (cursorRight): adjust
6585 (cursorLeft): remove usage of Paragraph::previous
6586 (cursorUpParagraph): ditto
6587 (deleteEmptyParagraphMechanism): slight cleanup
6589 * text.C (isBoundary): take a Paragraph const & instead of a
6591 (addressBreakPoint): ditto
6592 (leftMargin): remove usage of Paragraph::previous.
6593 (setHeightOfRow): ditto
6594 (cursorLeftOneWord): ditto
6595 (selectNextWordToSpellcheck): ditto
6598 (breakParagraph): remove one usage of Paragraph::next
6599 (redoParagraph): ditto
6600 (acceptChange): ditto
6601 (insertChar): adjust
6602 (rowBreakPoint): adjust
6604 * bufferview_funcs.C (toggleAndShow): adjust
6606 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6608 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6609 methods to access it.
6611 * text.C: Added updateRowPositions to compute all row positions.
6612 Make top_y and getRowNearY() to use the cached y position
6614 2003-04-11 John Levon <levon@movementarian.org>
6616 * text.C (rowBreakPoint): reintroduce the labelEnd
6617 checks, code copied from the row fill stuff. Deep voodoo.
6619 * text.C (fill): add a comment and debugging for the
6622 2003-04-11 John Levon <levon@movementarian.org>
6624 * text.C: make sure fullrow insets get wrapped to the next line,
6625 even when they're in a manual label
6627 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6629 * text2.C (insertParagraph): make it take ParagraphList::iterator
6631 (setLayout): make it return ParagraphList::iterator
6632 (redoParagraphs): ditto
6634 (checkParagraph): ditto
6636 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6638 * text2.C: adjust several funcs.
6639 (realizeFont): take a ParagraphList::iterator as arg.
6640 (getLayoutFont): ditto
6641 (getLabelFont): ditto
6642 (setCharFont): ditto
6644 * text.C: adjust several funcs.
6646 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6648 * text.C (selectNextWordToSpellcheck): don't accidentally
6651 2003-04-10 John Levon <levon@movementarian.org>
6653 * ToolbarBackend.C (getIcon): special handling for
6656 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6658 * text2.C (cursorRight): a getChar assert fixed
6660 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6662 * text2.C (getFont): change to take a ParagraphList::iterator
6663 instead of Paragraph*
6664 Adjust several functions.
6666 * text.C (transformChar): change to take a ParagraphList::iterator
6667 instead of Paragraph*
6668 (singleWidth): ditto
6669 Adjust several functions.
6671 * rowpainter.C: adjust several functions
6672 * rowpainter.h:store a ParagraphList::iterator and not a
6676 2003-04-09 John Levon <levon@movementarian.org>
6681 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6682 and the "help" bits as well
6684 2003-04-09 John Levon <levon@movementarian.org>
6687 * ToolbarBackend.C: allow multiple toolbars
6689 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6691 * undo_funcs.C (setCursorParUndo): adjust
6693 * text_funcs.C (transposeChars): adjust
6695 * text3.C (gotoNextInset): adjust
6698 * text2.C (setLayout): adjust
6699 (changeDepth): adjust
6701 (redoParagraphs): adjust
6702 (selectionAsString): adjust
6703 (setParagraph): adjust
6704 (insertInset): adjust
6705 (cutSelection): adjust
6706 (copySelection): adjust
6707 (pasteSelection): adjust
6708 (insertStringAsLines): adjust
6709 (updateInset): adjust
6710 (setCursor): change to take a ParagraphList::iterator parameter
6711 (setCursorIntern): change to take a ParagraphList::iterator parameter
6712 (setCurrentFont): adjust
6713 (cursorLeft): adjust
6714 (cursorRight): adjust
6715 (deleteEmptyParagraphMechanism): adjust
6717 * text.C (breakParagraph): adjust
6718 (insertChar): adjust
6719 (acceptChange): adjust
6720 (rejectChange): adjust
6721 (selectNextWordToSpellcheck): adjust
6722 (changeCase): adjust
6726 * lyxfind.C (SearchForward): adjust
6727 (SearchBackward): adjust
6728 (nextChange): adjust
6730 * lyxcursor.C (par): adjust
6732 * lyxcursor.h: store a ParagraphList::iterator instead of a
6735 * lyx_cb.C (getPossibleLabel): adjust
6737 * bufferview_funcs.C (toggleAndShow): adjust
6739 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6742 * BufferView.C (removeAutoInsets): adjust
6743 (lockedInsetStoreUndo): adjust
6745 2003-04-09 John Levon <levon@movementarian.org>
6747 * ToolbarBackend.C: try icon without argument
6748 if with argument fails
6750 2003-04-08 John Levon <levon@movementarian.org>
6753 * ToolbarBackend.C: add getIcon(), handle tooltip,
6754 and change from "Icon" to "Item".
6756 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6758 * BufferView.C (lockInset): another bad getchar crunched
6760 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6762 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6765 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6767 * lyxfind.C (searchForward, searchBackwards): bug 782
6769 2003-04-07 John Levon <levon@movementarian.org>
6771 * paragraph.C: remove dead comment
6773 * text.C: remove troublesome depth-fiddling code
6774 in leftMargin() and rightMargin() (bug 1017)
6776 * text.C: fix breaking of rows in nested lists
6779 * text2.C (updateCounters): fix up depth values
6782 2003-04-07 John Levon <levon@movementarian.org>
6784 * BufferView_pimpl.C: clear message when doc finishes resizing,
6785 and after a mouse event
6787 * lyxfunc.C: clear message after exiting inset
6789 2003-04-07 John Levon <levon@movementarian.org>
6791 * bufferview_funcs.C: show math status not outside
6792 status in the statusbar
6794 2003-04-07 John Levon <levon@movementarian.org>
6796 * lyxfunc.C: note status changed after a depth change
6798 2003-04-04 Angus Leeming <leeming@lyx.org>
6800 * LaTeX.h: move AuxInfo operator==, != out of line.
6801 Remove LaTeX virtual destructor; nothing derives from it.
6802 Move operator()() out of public area and rename it startscript().
6803 Change protected for private.
6805 2003-04-04 Angus Leeming <leeming@lyx.org>
6808 * text2.C: remove unneeded #includes.
6810 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6812 * text2.C (dEPM): fix the heigth of the next row
6814 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6816 * text.C: squashed an invalid getChar requester + some ws changes
6818 2003-04-03 John Levon <levon@movementarian.org>
6820 * bufferview_funcs.h:
6821 * bufferview_funcs.C:
6824 * text2.C: make getStatus work for the env depth lfuns
6826 2003-04-03 John Levon <levon@movementarian.org>
6828 * bufferview_funcs.h:
6829 * bufferview_funcs.C:
6832 * text2.C: parlistize decDepth(), by merging it with incDepth()
6834 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6836 * lyxrow.h: store a ParagraphList::iterator instead of a
6837 Paragraph* and adjust other class functions to suit.
6839 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6842 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6844 * text2.C (setCursor): do not anchor to cursor row for the time being
6846 2003-04-02 John Levon <levon@movementarian.org>
6853 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6855 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6857 * paragraph.h: make ParagraphList and ParagraphList::iterator
6858 friends of Paragraph.
6860 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6862 * ParagraphList.C: Use the private next_ and previous_ from
6865 2003-04-01 John Levon <levon@movementarian.org>
6869 * Makefile.am: rename, remove defaults gunk
6872 * MenuBackend.C: remove defaults gunk
6875 * Languages.C: remove defaults gunk
6878 * lyx_main.C: error out if files couldn't be found.
6880 2003-04-02 John Levon <levon@movementarian.org>
6882 * text2.C: make incDepth() use parlist
6884 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6886 * undo_funcs.C (firstUndoParagraph): adjust
6888 * text3.C (gotoInset): adjust
6889 (dispatch): adjust, and rewrite loop.
6891 * text2.C (init): adjust, and rewrite loop.
6892 (redoParagraphs): adjust
6893 (updateInset): adjust, and rewrite loop.
6894 (deleteEmptyParagraphMechanism): adjust
6896 * tabular.C (LyXTabular): adjust
6897 (SetMultiColumn): adjust
6900 * lyxtext.[Ch] (ownerParagraph): delete function
6901 (ownerParagraphs): new function returns a ParagraphList.
6903 * BufferView.C (removeAutoInsets): adjust
6904 (insertErrors): adjust
6905 (setCursorFromRow): adjust
6907 2003-04-01 Angus Leeming <leeming@lyx.org>
6909 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6912 2003-04-02 John Levon <levon@movementarian.org>
6918 * text_funcs.C: make transposeChars a free function
6920 * lyxrow_funcs.C: remove wrong comment
6922 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6925 * rowpainter.C: adjust
6930 * lyxrow_funcs. [Ch]: new files
6932 * lyxrow.[Ch]: remove next and previous pointers
6933 (next,previous): remove accessor functions
6934 (isParEnd): move to lyxrow_funcs
6935 (lastPos): move to lyxrow_funcs
6936 (nextRowIsAllInset): move to lyxrow_funcs
6937 (lastPrintablePos): move to lyxrow_funcs
6938 (numberOfSeparators): move to lyxrow_funcs
6939 (numberOfHfills): move to lyxrow_funcs
6940 (numberOfLabelHfills): move to lyxrow_funcs
6941 (hfillExpansion): move to lyxrow_funcs
6945 * bufferview_funcs.C (toggleAndShow): adjust
6947 * RowList.h: Remove class RowList from file leave just a
6950 * RowList.C: delete file
6952 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6955 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6957 * text3.C (cursorPrevious): adjust
6958 (cursorNext): adjust
6961 * text2.C (redoHeightOfParagraph): adjust
6962 (redoDrawingOfParagraph): adjust
6965 * text.C (breakParagraph): adjust
6966 (insertChar): adjust
6969 * rowpainter.C (RowPainter): adjust
6970 (leftMargin): simplify and adjust
6971 (most rowpainter functions): adjust.
6973 * rowpainter.h: store the row as RowList::iterator not as Row*
6975 * lyxcursor.C (row): taka RowList::iterator as arg
6978 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6981 2003-04-01 Angus Leeming <leeming@lyx.org>
6983 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6984 stuff like bool Bool.
6986 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6988 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6991 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6993 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6996 * lyxtext.h (rows): drop one version and leve a const variant that
6997 returns a RowList::iterator.
6999 2003-03-31 Angus Leeming <leeming@lyx.org>
7001 * text.C (fill): ensure that the signature is the same as that in the
7004 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7006 * text2.C (redoParagraphs): adjust
7007 (updateCounters): adjust
7008 (checkParagraph): adjust
7009 (getColumnNearX): adjust and reformat a bit.
7011 * text.C (top_y): adjust
7013 (leftMargin): adjust
7014 (prepareToPrint): adjust
7016 (getRowNearY): adjust
7018 * lyxtext.h: make rowlist_ mutable.
7020 * RowList.h: add const_iterator
7021 * RowList.C: adjust for RowList::const_iterator.
7023 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7026 2003-03-31 John Levon <levon@movementarian.org>
7029 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7031 * lyx_main.C: set default fonts from using lyx_gui funcs
7033 * exporter.C: pdf_mode moved from lyxrc
7036 * lyxfunc.C: changes from above
7038 2003-03-31 John Levon <levon@movementarian.org>
7040 * lyx_main.C: fix to the last fix
7042 2003-03-31 John Levon <levon@movementarian.org>
7044 * bufferlist.C: "Load original" -> "Load Original"
7050 * format.C: more Alert cleanups
7052 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7054 * text2.C (removeParagraph): make it take a RowList::iterator as
7056 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7057 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7059 * text.C (anchor_row): make it take a RowList::iterator as arg,
7061 (computeBidiTables): make it take a const reference to Row instead
7062 of Row pointer, adjust.
7063 (leftMargin): make it take a RowList::iterator as arg, adjust.
7064 (rowBreakPoint): adjust
7065 (breakAgainOneRow): make it take a RowList::iterator as arg,
7067 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7069 * bufferview_funcs.C (toggleAndShow): adjust
7071 2003-03-30 John Levon <levon@movementarian.org>
7075 * boost-inst.C: moved to support
7077 * several files: changes as a result
7079 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7081 * text2.C (LyXText): adjust.
7083 (removeRow): make it take a RowList::iterator as arg, adjust.
7084 (fullRebreak): adjust
7085 (deleteEmptyParagraphMechanism): adjust
7086 (clearPaint): adjust
7089 * text.C (top_y): adjust
7090 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7091 (breakAgain): make it take a RowList::iterator as arg, adjust.
7092 (breakParagraph): adjust
7093 (insertChar): adjust
7096 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7097 need_break_row, and refresh_row.
7099 * text3.C (dispatch): adjust
7101 * text2.C (checkParagraph): adjust
7103 (setCursorFromCoordinates): adjust
7105 * text.C (top_y): adjust
7107 (getRow): make it return a RowList::iterator, adjust
7108 (getRowNearY): make it return a RowList::iterator, adjust
7110 * text2.C (init): adjust
7111 (insertRow): remove function
7112 (insertParagraph): adjust
7113 (redoParagraphs): adjust
7114 (fullRebreak): adjust
7115 (updateCounters): adjust
7117 * text.C (top_y): rewrite to use RowList iterators.
7119 (setHeightOfRow): rewrite to sue RowList iterators.
7120 (appendParagraph): adjust
7121 (breakAgain): adjust
7122 (breakAgainOneRow): adjust
7123 (breakParagraph): adjust
7125 (getRowNearY): adjust, and remove commented code.
7127 * lyxtext.h (firstRow): delete function
7128 (lastRow): delete function
7129 (rows): new function (const and non-const versions.)
7130 (insertRow): delete function
7132 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7134 2003-03-29 John Levon <levon@movementarian.org>
7136 * BufferView_pimpl.C: always update scrollbar top
7137 because pasting text when we're anchored could mean we
7138 miss an update altogether
7140 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7142 * text2.C (init): use rowlist_.end() and not 0.
7143 (insertRow): change to take a RowList::iterator as arg, adjust
7145 (insertParagraph): change to take a RowList::iterator as arg,
7147 (redoParagraphs): remove some debug msgs.
7149 * text.C (appendParagraph): change to take a RowList::iterator
7150 arg, adjust for this.
7151 (breakAgain): add an assert
7152 (breakAgainOneRow): ditto
7154 2003-03-29 John Levon <levon@movementarian.org>
7156 * text2.C: do not clear selection after inc/decDepth
7159 2003-03-29 John Levon <levon@movementarian.org>
7162 * buffer.C: fix broken strerrors according to Lars
7164 2003-03-29 John Levon <levon@movementarian.org>
7166 * converters.C: more Alert cleanups
7168 2003-03-29 John Levon <levon@movementarian.org>
7170 * bufferview_funcs.C: remove pointless Alert
7172 * buffer.C: fix confusing error message when
7173 a template is chmoded 000
7175 2003-03-29 John Levon <levon@movementarian.org>
7179 * BufferView_pimpl.C: Alert fixes
7183 * tabular-old.C: remove unused table compat reading
7185 2003-03-29 John Levon <levon@movementarian.org>
7190 * lyx_cb.C: more Alert cleanups
7192 * lyxfunc.C: don't allow chktex if not latex document
7194 2003-03-29 John Levon <levon@movementarian.org>
7198 * buffer.C: warnings pushed down from support/,
7201 2003-03-29 John Levon <levon@movementarian.org>
7203 * lyxfunc.C: safety check for C-r (revert)
7205 2003-03-29 John Levon <levon@movementarian.org>
7208 * bufferlist.C: several UI fixes using Alert::prompt.
7209 Fix the pointless looping quit code. Fix stupid revert
7214 * lyx_cb.C: use Alert::prompt
7216 * lyx_main.C: remove a silly question
7218 * lyxfunc.C: remove a couple of silly questions,
7221 2003-03-28 John Levon <levon@movementarian.org>
7223 * text2.C: fix bug 974 (End on empty par)
7225 2003-03-28 John Levon <levon@movementarian.org>
7227 * BufferView_pimpl.C:
7229 * lfuns.h: remove do-nothing math greek lfuns
7231 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7233 * lyxgluelength.h (isValidGlueLength): add default arg on
7234 parameter 2. Remove default arg from friend in class.
7236 * lyxlength.h (isValidLength): add default arg on parameter 2.
7237 Remove default arg from friend in class.
7239 * text2.C (LyXText): adjust, initialize refresh_row.
7243 (insertParagraph): adjst
7244 (redoParagraphs): adjust
7245 (fullRebreak): adjust
7246 (updateCounters): adjust
7247 (deleteEmptyParagraphMechanism): first attempt at fixing a
7250 * text.C (top_y): adjust
7251 (setHeightOfRow): adjust
7253 (getRowNearY): adjust
7255 * lyxtext.h: include RowList.h
7256 (~LyXText): not needed anymore, deleted.
7257 (firstRow): modify for RowList
7258 (lastRow): new function
7259 Delete firstrow and lastrow class variables, add a Rowlist
7260 rowlist_ class variable.
7262 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7265 * RowList.C (insert): fix case where it == begin().
7267 2003-03-26 Angus Leeming <leeming@lyx.org>
7269 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7270 the thesaurus dialog.
7272 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7274 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7276 * RowList.[Ch]: new files
7278 * ParagraphList.C (erase): handle the case where it == begin
7281 2003-03-25 John Levon <levon@movementarian.org>
7285 * aspell.C: add new aspell support
7288 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7291 2003-03-25 Angus Leeming <leeming@lyx.org>
7294 * LyXAction.C (init): new LFUN_INSET_INSERT.
7296 * BufferView_pimpl.C (dispatch): split out part of the
7297 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7299 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7302 2003-03-25 Angus Leeming <leeming@lyx.org>
7304 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7306 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7309 * text3.C: remove useless row->height(0)
7311 2003-03-25 John Levon <levon@movementarian.org>
7315 * text3.C: rename the refreshing stuff to better names
7317 2003-03-24 John Levon <levon@movementarian.org>
7319 * BufferView_pimpl.h:
7320 * BufferView_pimpl.C: update layout choice on a mouse
7323 2003-03-23 John Levon <levon@movementarian.org>
7325 * Makefile.am: fix commandtags.h reference
7327 2003-03-22 John Levon <levon@movementarian.org>
7329 * BufferView_pimpl.C:
7334 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7336 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7339 * text.C: take the rtl methods out of line
7341 2003-03-21 André Pönitz <poenitz@gmx.net>
7343 * metricsinfo.[Ch]: new files containing structures to be passed around
7344 during the two-phase-drawing...
7346 2003-03-21 André Pönitz <poenitz@gmx.net>
7348 * lyxtextclass.C: read 'environment' tag.
7350 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7352 * text2.C (removeRow): fix bug 964
7354 2003-03-20 John Levon <levon@movementarian.org>
7358 * text2.C: paint cleanups. Inset::update() dropped font
7361 2003-03-19 John Levon <levon@movementarian.org>
7363 * lyxfunc.C: only fitcursor/markDirty if available()
7365 2003-03-19 John Levon <levon@movementarian.org>
7367 * commandtags.h: rename to ...
7369 * lfuns.h: ... this, and renumber / cleanup
7371 2003-03-19 John Levon <levon@movementarian.org>
7373 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7374 fit the cursor after an lfun
7378 * BufferView_pimpl.h:
7379 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7381 * LyXAction.C: layout-character should have ReadOnly
7383 * ParagraphParameters.C:
7385 * bufferview_funcs.C:
7392 * undo_funcs.C: changes from above
7394 2003-03-18 John Levon <levon@movementarian.org>
7396 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7397 remove it from update()
7399 * lyxfunc.C: update layout choice after an lfun
7401 * text3.C: remove extra updateLayoutChoice()s
7403 2003-03-18 John Levon <levon@movementarian.org>
7405 * text.C: top_y change means full repaint, fix
7406 a drawing bug with cursor movement
7408 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7412 * text2.C: anchor row on setCursor
7414 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7416 * lyxtext.h: remove almost all mutable keywords
7419 * text3.C: remove const keywords accordingly
7421 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7423 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7425 (TeXEnvironment): ditto
7428 2003-03-17 John Levon <levon@movementarian.org>
7430 * text.C (rowBreakPoint): remove attempt to fix displayed
7431 math insets inside a manual label
7433 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7435 * lyxtext.h: remove BufferView* as first arg from almost all class
7437 * other files: adjust.
7439 2003-03-17 John Levon <levon@movementarian.org>
7443 * text2.C: more paint cleanups
7445 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7448 * rowpainter.C: remove "smart" background painting code
7450 2003-03-16 John Levon <levon@movementarian.org>
7455 * text3.C: add helper functions for setting refresh_row/y
7457 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7459 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7460 newline inset which *can* get inserted in the pass_thru layouts.
7461 This is primarily for literate documents.
7463 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7465 * buffer.C: increment LYX_FORMAT to 223
7467 2003-03-14 André Pönitz <poenitz@gmx.net>
7469 * textclass.h: prepare for environment handling, ws changes
7470 * lyxlayout.C: read latexheader and latexfooter tags
7472 2003-03-14 John Levon <levon@movementarian.org>
7474 * text2.C: rewrite ::status() a bit
7476 2003-03-13 John Levon <levon@movementarian.org>
7478 * lyxtext.h: add some docs
7480 2003-03-13 John Levon <levon@movementarian.org>
7485 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7487 2003-03-13 John Levon <levon@movementarian.org>
7489 * text3.C: fix appendix redrawing
7491 2003-03-13 John Levon <levon@movementarian.org>
7493 * text.C (setHeightOfRow):
7495 * rowpainter.C: make appendix mark have the text
7496 "Appendix" so the user knows what it is
7499 * LColor.C: s/appendixline/appendix/ from above
7501 2003-03-13 John Levon <levon@movementarian.org>
7503 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7505 * text.C: fix a getChar(pos) bug properly
7507 2003-03-13 Angus Leeming <leeming@lyx.org>
7510 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7511 Probably only temporary. Let's see how things pan out.
7513 * BufferView.C (unlockInset):
7514 * BufferView_pimpl.C (fitCursor):
7515 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7517 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7518 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7520 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7521 new functions that convert ParagraphParameters to and from a string.
7523 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7524 BufferView::Pimpl's dispatch.
7525 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7527 2003-03-13 André Pönitz <poenitz@gmx.net>
7531 * factory.C: make it aware of InsetEnv
7533 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7535 * text2.C (setCursor): never ask for one past last
7536 (setCursor): add some debugging messages.
7538 * text.C (singleWidth): never ask for one past last
7539 (singleWidth): ditto
7541 (rightMargin): ditto
7542 (rowBreakPoint): ditto
7543 (setHeightOfRow): ditto
7544 (prepareToPrint): ditto
7546 * rowpainter.C (paintBackground): never ask for one past last
7547 (paintText): never ask for one past last
7549 * paragraph_pimpl.C (getChar): make the assert stricter, never
7550 allow the one past last pos to be taken
7552 * paragraph.C (getChar): ws changes only
7554 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7555 (numberOfSeparators): ditto
7556 (numberOfHfills): ditto
7558 2003-03-12 John Levon <levon@movementarian.org>
7564 * paragraph_funcs.C: fix per-buffer authorlists
7566 2003-03-12 John Levon <levon@movementarian.org>
7568 * text.C: fix newline in right address
7570 2003-03-12 Angus Leeming <leeming@lyx.org>
7572 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7573 duplicate those in LyXFunc::dispatch.
7577 * ToolbarDefaults.C:
7578 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7579 Add LFUN_FONTFREE_UPDATE.
7581 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7582 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7584 * bufferview_func.[Ch]: several new functions to facilliate
7585 transfer of data to and from the character dialog.
7587 2003-03-12 John Levon <levon@movementarian.org>
7592 * paragraph_funcs.C:
7593 * paragraph_pimpl.C:
7597 * text3.C: remove META_NEWLINE in favour of an inset
7600 * rowpainter.C: remove paintNewline (done by inset)
7602 2003-03-12 John Levon <levon@movementarian.org>
7604 * paragraph_pimpl.C: complain about bad getChar()s
7605 for a while at least
7607 2003-03-12 John Levon <levon@movementarian.org>
7610 * buffer.C: move paragraph read into a separate function,
7611 a little renaming to reflect that.
7614 * bufferparams.C: remove the author_ids map, not necessary now
7617 * factory.C: moved Buffer::readInset to here
7619 * paragraph_funcs.h:
7620 * paragraph_funcs.C: readParagraph free function moved from
7623 * tabular.C: name change
7625 2003-03-12 John Levon <levon@movementarian.org>
7628 * ParagraphParameters.C: move par params input to
7631 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7632 behave like a normal read from the stream wrt reading
7633 a line vs. a \\token
7635 2003-03-12 John Levon <levon@movementarian.org>
7638 * ParagraphParameters.h:
7639 * ParagraphParameters.C: move output code to a
7642 2003-03-12 John Levon <levon@movementarian.org>
7644 * BufferView.C (insertLyXFile):
7647 * tabular.C: use a parlist iterator for creating the
7650 2003-03-12 John Levon <levon@movementarian.org>
7652 * buffer.C: make current_change static local not
7655 2003-03-12 John Levon <levon@movementarian.org>
7657 * buffer.C: fix insertStringAsLines for change tracking
7659 2003-03-12 John Levon <levon@movementarian.org>
7666 * bufferparams.C: move author list into params. Rename some
7667 functions. Move the header reading into a separate token
7668 loop. Move the header token reading into BufferParams.
7670 2003-03-12 John Levon <levon@movementarian.org>
7672 * changes.C: put debug inside lyxerr.debugging() checks
7674 2003-03-11 André Pönitz <poenitz@gmx.net>
7676 * factory.C: make it aware of InsetHFill
7678 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7680 * buffer.C (latexParagraphs): move function from here...
7681 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7684 2003-03-10 Angus Leeming <leeming@lyx.org>
7686 * LyXAction.C (init): fix bug in poplating array with multiple entries
7687 with the same LFUN (spotted by JMarc).
7689 2003-03-10 John Levon <levon@movementarian.org>
7692 * text2.C: move getColumnNearX() near its
7695 2003-03-10 John Levon <levon@movementarian.org>
7697 * text.C: fix break before a minipage
7699 2003-03-10 John Levon <levon@movementarian.org>
7701 * text.C: fix the last commit
7703 2003-03-09 John Levon <levon@movementarian.org>
7707 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7708 bug 365 (don't break before insets unless needed). Don't
7709 return a value > last under any circumstances.
7711 2003-03-09 Angus Leeming <leeming@lyx.org>
7713 * BufferView_pimpl.C (trackChanges, dispatch): call
7714 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7716 2003-03-09 Angus Leeming <leeming@lyx.org>
7718 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7719 than Dialogs::showAboutlyx().
7721 2003-03-09 Angus Leeming <leeming@lyx.org>
7723 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7724 than Dialogs::showTabularCreate().
7726 2003-03-09 John Levon <levon@movementarian.org>
7730 * text2.C: 3rd arg to nextBreakPoint was always the same.
7733 2003-03-08 John Levon <levon@movementarian.org>
7740 * text2.C: Remove the "main" bit from the "main body"
7743 2003-03-08 John Levon <levon@movementarian.org>
7745 * text.C (leftMargin): The left margin of an empty
7746 manual label paragraph should not include the label width
7749 * text.C (prepareToPrint): don't attempt to measure hfills
7750 for empty manual label paragraphs - the answer should be 0
7752 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7754 * CutAndPaste.C: remove commented code and reindent.
7756 2003-03-08 John Levon <levon@movementarian.org>
7759 * lyxfunc.C: move reloadBuffer()
7762 * BufferView.C: to here
7764 * lyxvc.C: add comment
7767 * vc-backend.C: call bv->reload() to avoid
7768 getStatus() check on MENURELOAD
7770 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7772 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7773 to an old format .dep file.
7775 2003-03-07 Angus Leeming <leeming@lyx.org>
7777 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7778 when the LFUN_MOUSE_RELEASE should have been handled by
7779 inset->localDispatch.
7781 2003-03-07 Angus Leeming <leeming@lyx.org>
7783 * BufferView_pimpl.C (dispatch):
7784 * LyXAction.C (init):
7785 * ToolbarDefaults.C (init):
7787 * lyxfunc.C (getStatus):
7788 remove LFUN_INSET_GRAPHICS.
7790 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7792 2003-03-07 Angus Leeming <leeming@lyx.org>
7795 * LyXAction.C (init):
7796 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7798 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7801 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7803 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7804 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7806 2003-03-07 Angus Leeming <leeming@lyx.org>
7808 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7811 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7813 * ParagraphList.C (front): new function
7816 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7818 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7819 and top_row_offset_. removed var first_y.
7821 * text2.C (LyXText, removeRow):
7823 * BufferView_pimpl.C:
7824 use these methods instead of using first_y
7826 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7828 * text2.C (pasteSelection): adjust for checkPastePossible
7830 * CutAndPaste.C: remove Paragraph * buf and replace with
7831 ParagraphList paragraphs.
7832 (DeleteBuffer): delete
7833 (cutSelection): change the tc type to textclass_type
7834 (copySelection): change the tc type to textclass_type
7835 (copySelection): adjust for ParagraphList
7836 (pasteSelection): change the tc type to textclass_type
7837 (pasteSelection): adjust for Paragraphlist
7838 (nrOfParagraphs): simplify for ParagraphList
7839 (checkPastePossible): simplify for ParagraphList
7840 (checkPastePossible): remove unused arg
7842 * ParagraphList.C (insert): handle the case where there are no
7845 * CutAndPaste.h: make CutAndPaste a namespace.
7847 * text3.C (dispatch): adjust
7849 * text.C (breakParagraph): add a ParagraphList as arg
7851 * paragraph_funcs.C (breakParagraph): change to take a
7852 BufferParams and a ParagraphList as args.
7853 (breakParagraphConservative): ditto
7854 (mergeParagraph): ditto
7855 (TeXDeeper): add a ParagraphList arg
7856 (TeXEnvironment): ditto
7859 * buffer.C (readLyXformat2): adjust
7860 (insertStringAsLines): adjust
7861 (latexParagraphs): adjust
7863 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7864 (cutSelection): adjust
7865 (pasteSelection): adjust
7867 * BufferView_pimpl.C (insertInset): adjust
7869 2003-03-05 Angus Leeming <leeming@lyx.org>
7872 * LyXAction.C (init):
7873 * BufferView_pimpl.C (dispatch):
7874 * lyxfunc.C (getStatus):
7875 remove LFUN_CHILD_INSERT.
7877 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7879 2003-03-05 Angus Leeming <leeming@lyx.org>
7882 * LyXAction.C (init):
7883 * src/factory.C (createInset):
7884 * lyxfunc.C (getStatus):
7885 * text3.C (dispatch):
7886 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7888 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7890 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7892 * ParagraphList.C (insert): handle insert right before end()
7893 (erase): fix cases where it can be first or last paragraph.
7895 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7897 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7898 Paragraph::next and Paragraph::previous
7901 * text.C (breakParagraph): adjust
7903 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7904 BufferParams& as arg.
7905 (breakParagraph): use ParagraphList::insert
7906 (breakParagraphConservative): take a Buffer* instead of a
7907 BufferParams& as arg.
7908 (breakParagraphConservative): use ParagraphList::insert.
7910 * buffer.C (insertStringAsLines): un-const it
7911 (insertStringAsLines): adjust
7913 * ParagraphList.C (insert): new function
7915 * CutAndPaste.C (pasteSelection): adjust
7917 * text.C (backspace): adjust
7919 * tabular.C (SetMultiColumn): adjust
7921 * CutAndPaste.C (cutSelection): adjust
7922 (pasteSelection): adjust
7924 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7925 Buffer const * as arg
7927 * ParagraphList.C (erase): new function
7928 * paragraph_funcs.C (mergeParagraph): use it
7929 (mergeParagraph): make it take a Buffer* instead of a
7930 BufferParams* as arg
7932 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7934 (breakParagraphConservative): ditto
7936 * paragraph.h: remove the breakParagraph friend
7938 * paragraph.C (eraseIntern): new function
7939 (setChange): new function
7941 * paragraph_funcs.C (mergeParagraph): make it take a
7942 ParagraphList::iterator instead of a Paragraph *, adjust
7945 * paragraph.h: move an #endif so that the change tracking stuff
7946 also works in the NO_NEXT case.
7948 2003-03-04 Angus Leeming <leeming@lyx.org>
7951 * LyXAction.C: new LFUN_INSET_MODIFY.
7953 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7954 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7956 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7958 * several files: ws changes only
7960 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7961 (TeXEnvironment): ditto
7964 * buffer.C (makeLaTeXFile): adjust
7965 (latexParagraphs): make it take ParagraphList::iterator as args
7967 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7969 * buffer.C (latexParagraphs): adjust
7971 * paragraph.C (TeXOnePar): move function...
7972 (optArgInset): move function...
7973 (TeXEnvironment): move function...
7974 * paragraph_pimpl.C (TeXDeeper): move function...
7975 * paragraph_funcs.C: ...here
7977 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7979 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7981 * buffer.C (readInset): remove compability code for old Figure and
7984 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7986 * buffer.C: ws changes
7989 * BufferView_pimpl.C: ditto
7992 * bufferlist.h: ditto
7996 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7998 * converter.[Ch]: split into itself +
8001 * Makefile.am: += graph.[Ch] + format.[Ch]
8008 * lyxrc.C: added #include "format.h"
8010 2003-02-27 Angus Leeming <leeming@lyx.org>
8012 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8015 * factory.C (createInset): add "label" to the factory.
8017 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8018 string and do no more.
8020 2003-02-27 Angus Leeming <leeming@lyx.org>
8023 * LyXAction.C (init):
8024 * factory.C (createInset):
8025 * BufferView_pimpl.C (dispatch):
8026 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8028 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8030 * lyxfunc.C (dispatch):
8031 * text3.C (dispatch): pass name to params2string.
8033 2003-02-26 Angus Leeming <leeming@lyx.org>
8035 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8037 Rearrange the ~includes. Strip out the unnecessary ones.
8039 * factory.C (createInset): reformat.
8040 create new insets for the various LFUN_XYZ_APPLY lfuns.
8042 2003-02-26 John Levon <levon@movementarian.org>
8045 * lyxrow.C: add isParStart,isParEnd helpers
8047 * paragraph.h: make isInserted/DeletedText take refs
8049 * paragraph_funcs.h:
8050 * paragraph_funcs.C: remove #if 0'd code
8055 * text.C: use lyxrow helpers above.
8056 Move draw and paint routines to RowPainter.
8057 Make several methods use refs not pointers.
8058 Make backgroundColor() const.
8059 Add markChangeInDraw(), isInInset().
8060 Merge changeRegionCase into changeCase.
8061 Make workWidth() shouldn't-happen code into an Assert.
8064 * rowpainter.C: new class for painting a row.
8067 * vspace.C: make inPixels take a ref
8069 2003-02-26 Angus Leeming <leeming@lyx.org>
8071 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8074 2003-02-25 John Levon <levon@movementarian.org>
8076 * ispell.C: give the forked command a more accurate name
8078 2003-02-22 John Levon <levon@movementarian.org>
8081 * toc.C: make TocItem store an id not a Paragraph *
8084 2003-02-21 Angus Leeming <leeming@lyx.org>
8086 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8087 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8088 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8089 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8090 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8091 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8093 * BufferView_pimpl.C (dispatch):
8094 * LyXAction.C (init):
8095 * factory.C (createInset):
8096 * lyxfunc.C (getStatus, dispatch):
8097 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8099 2003-02-21 Angus Leeming <leeming@lyx.org>
8101 * BufferView_pimpl.C (MenuInsertLyXFile):
8102 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8103 * lyxfunc.C (menuNew, open, doImport):
8104 no longer pass a LyXView & to fileDlg.
8106 2003-02-21 Angus Leeming <leeming@lyx.org>
8108 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8109 * LyXAction.C: change, BIBKEY to BIBITEM.
8110 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8111 Change InsetBibKey to InsetBibitem.
8112 Change BIBKEY_CODE to BIBITEM_CODE.
8113 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8114 * factory.C: replace insetbib.h with insetbibitem.h.
8115 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8116 * paragraph.C: replace insetbib.h with insetbibitem.h.
8117 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8118 Change bibkey() to bibitem().
8119 * text.C: remove insetbib.h.
8120 * text2.C: replace insetbib.h with insetbibitem.h.
8121 change bibkey() to bibitem().
8122 * text3.C: remove insetbib.h.
8123 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8125 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8127 * lyxrc.C (output): enclose user email in quotes (in case there are
8130 2003-02-18 John Levon <levon@movementarian.org>
8132 * buffer.h: add std::
8134 2003-02-17 John Levon <levon@movementarian.org>
8140 * pspell.C: reworking. Especially in ispell, a large
8141 number of clean ups and bug fixes.
8143 * lyxfunc.C: fix revert to behave sensibly
8145 2003-02-17 André Pönitz <poenitz@gmx.net>
8148 * commandtags.h: new LFUN_INSERT_BIBKEY
8158 * paragraph_func.C: remove special bibkey handling
8160 2003-02-17 John Levon <levon@movementarian.org>
8162 * text.C (Delete): fix case where delete at the end of
8163 the very first paragraph would not merge the pars
8165 2003-02-17 John Levon <levon@movementarian.org>
8167 * lyxrow.C: fix lastPrintablePos()
8169 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8171 * bufferparams.C (writeLaTeX): add a std:here
8173 * buffer.C: and remove a using directive there
8175 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8177 * buffer.C (makeLaTeXFile): move the code that generates the
8180 * bufferparams.C (writeLaTeX): ... in this new method
8182 * LaTeXFeatures.C (getEncodingSet): make const
8183 (getLanguages): make const
8185 * MenuBackend.C (binding): returns the binding associated to this
8187 (add): sets the status of each item by calling getStatus. Adds
8189 (read): add support for OptSubMenu
8190 (expand): remove extra separator at the end of expanded menu
8192 2003-02-15 John Levon <levon@movementarian.org>
8195 * BufferView_pimpl.C:
8197 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8198 inset code that had no actual effect. Remove unneeded status
8201 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8203 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8206 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8208 * text.C (drawLengthMarker): also draw an arrow marker for
8209 symbolic lengths (medskip...)
8211 2003-02-14 John Levon <levon@movementarian.org>
8214 * tabular.C: better method names
8216 2003-02-14 John Levon <levon@movementarian.org>
8218 * BufferView_pimpl.C:
8223 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8224 it's a more accurate name. Remove some pointless uses.
8226 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8228 * text2.C (LyXText): change order of initilizers to shut off
8231 2003-02-14 John Levon <levon@movementarian.org>
8233 * buffer.C: use ParIterator for getParFromID()
8237 * paragraph_pimpl.h:
8238 * paragraph_pimpl.C: remove unused getParFromID()
8240 2003-02-14 John Levon <levon@movementarian.org>
8242 * buffer.C: remove some very old #if 0'd parse code
8244 2003-02-13 John Levon <levon@movementarian.org>
8248 * text2.C: move hfillExpansion(), numberOfSeparators(),
8249 rowLast(), rowLastPrintable(), numberofHfills(),
8250 numberOfLabelHfills() ...
8253 * lyxrow.C: ... to member functions here.
8258 * text.C: remove LyXText::beginningOfMainBody(), and call
8259 p->beginningOfMainBody() directly. Move the check for
8260 LABEL_MANUAL into the latter.
8267 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8273 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8274 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8276 2003-02-13 John Levon <levon@movementarian.org>
8278 * CutAndPaste.C: remove debug
8280 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8282 * paragraph.C (asString): remove two unused variables
8284 * lyxtextclass.C (readTitleType):
8286 (LyXTextClass): handle new members titletype_ and titlename_
8288 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8290 2003-02-09 John Levon <levon@movementarian.org>
8293 * buffer.C: replace hand-coded list with a map for the dep clean
8295 2003-02-08 John Levon <levon@movementarian.org>
8297 * LaTeX.C: consolidate code into showRunMessage() helper
8299 2003-02-08 John Levon <levon@movementarian.org>
8304 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8305 and pass the size in explicitly
8307 * BufferView_pimpl.h:
8308 * BufferView_pimpl.C:
8310 * BufferView.C: add getCurrentChange()
8312 * BufferView_pimpl.h:
8313 * BufferView_pimpl.C: handle change lfuns
8315 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8316 for changes. Mark pasted paragraphs as new.
8318 * support/lyxtime.h:
8319 * support/lyxtime.C:
8320 * DepTable.C: abstract time_t as lyx::time_type
8323 * LColor.C: add colours for new text, deleted text, changebars
8325 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8326 package use "usenames" option.
8330 * LyXAction.C: add change lfuns
8334 * author.C: author handling
8337 * buffer.C: add a per-buffer author list, with first entry as
8338 current author. Handle new .lyx tokens for change tracking. Output
8339 author list to .lyx file. Output dvipost stuff to .tex preamble.
8340 Bump lyx format to 222.
8343 * bufferlist.C: add setCurrentAuthor() to reset current author details
8347 * bufferparams.C: add param for tracking
8349 * bufferview_funcs.C: output change info in minibuffer
8353 * changes.C: add change-tracking structure
8356 * debug.C: add CHANGES debug flag
8359 * lyxfind.C: add code for finding the next change piece
8362 * lyxrc.C: add user_name and user_email
8365 * lyxrow.C: add a metric for the top of the text line
8368 * text.C: implement accept/rejectChange()
8371 * text.C: paint changebars. Paint new/deleted text in the chosen
8372 colours. Strike through deleted text.
8376 * paragraph_pimpl.h:
8377 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8378 in the current change to the insert functions. Rework erase to
8379 mark text as deleted, adding an eraseIntern() and a range-based
8380 erase(). Implement per-paragraph change lookup and
8383 * paragraph_funcs.C: Fixup paste for change tracking.
8385 * tabular.C: mark added row/columns as new.
8387 * text.C: fix rowLast() to never return -1. Don't allow
8388 spellchecking of deleted text. Track transpose changes. Don't
8389 allow paragraph break or merge where appropriate.
8391 * text2.C: leave cursor at end of selection after a cut.
8393 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8395 * text.C (getLengthMarkerHeight):
8396 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8397 visible on screen too.
8399 2003-02-07 John Levon <levon@movementarian.org>
8401 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8403 2003-02-05 Angus Leeming <leeming@lyx.org>
8405 * lyxserver.C (read_ready): revert my patch of 11 September last year
8406 as it sends PC cpu through the roof. Presumably this means that
8407 the lyxserver will no longer run on an Alpha...
8409 2003-01-30 Angus Leeming <leeming@lyx.org>
8411 * factory.C (createInset): create an InsetCommandParam of type "index"
8412 and use it to 'do the right thing'.
8414 * text2.C (getStringToIndex): ensure that cursor position is always
8415 reset to the reset_cursor position.
8417 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8419 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8422 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8426 * lyxfunc.C: Output messages with identical spelling, punctuation,
8429 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8431 * MenuBackend.C (expandFormats): List only viewable export formats
8434 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8437 * lyxfunc.C (getStatus): Make sure that formats other than
8438 "fax" can also be disabled
8440 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8442 * text3.C (dispatch): put the lfuns that insert insets in 3
8443 groups, and call doInsertInset with appropriate arguments.
8444 (doInsertInset): new function, that creates an inset and inserts
8445 it according to some boolean parameters.
8447 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8449 * buffer.C (readFile): remember to pass on 'par' when calling
8450 readFile recursively.
8452 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8454 * MenuBackend.C (expandFormats): add "..." to import formats.
8456 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8458 * paragraph.C (asString): Remove XForms RTL hacks.
8460 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8461 * buffer.C: fix typo
8463 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8465 * Makefile.am (LIBS): delete var
8466 (lyx_LDADD): add @LIBS@ here instead.
8468 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8470 * Clarify the meaning of "wheel mouse jump"
8472 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8474 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8477 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8479 * importer.C (Loaders): do not preallocate 3 elements in the
8480 vector, since one ends up with 6 elements otherwise
8482 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8484 * DepTable.C (write): write the file name as last element of the
8485 .dep file (because it may contain spaces)
8486 (read): read info in the right order
8488 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8490 * paragraph_pimpl.C (simpleTeXBlanks):
8491 (simpleTeXSpecialChars):
8492 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8494 * tabular.C (latex): add some missing case statements. Reindent.
8496 * MenuBackend.C (expandToc): remove unused variable.
8498 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8507 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8510 2003-01-05 John Levon <levon@movementarian.org>
8513 * BufferView.C: add getEncoding()
8516 * kbsequence.C: do not store last keypress
8519 * lyxfunc.C: store last keypress here instead. Pass encoding
8522 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8524 * lyx_main.C (init): remove annoying error message when following
8525 symbolic links (bug #780)
8527 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8529 * text.C (insertChar):
8530 * lyxrc.C (getDescription): remove extra spaces
8532 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8534 * lyxrc.C (getDescription): remove extra spaces
8536 2002-12-20 John Levon <levon@movementarian.org>
8538 * text3.C: hack fix for page up/down across tall rows
8540 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8542 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8545 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8547 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8548 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8549 thesaurus is not compiled in
8551 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8553 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8555 2002-12-16 Angus Leeming <leeming@lyx.org>
8558 * lyx_main.C (init): remove override_x_deadkeys stuff.
8560 2002-12-12 John Levon <levon@movementarian.org>
8562 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8563 insert. Only remove shift modifier under strict
8566 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8568 * MenuBackend.C (expandToc): fix crash.
8570 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8572 * MenuBackend.C (expandToc): gettext on float names.
8574 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8576 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8577 implement bool empty() [bug 490]
8579 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8581 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8583 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8585 * several files: ws changes
8587 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8589 * text2.C (setCounter): clean up a bit, use boost.format.
8590 (updateCounters): initialize par upon declaration.
8592 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8593 if the layout exists. We do not just store the layout any more.
8594 (SwitchLayoutsBetweenClasses): use boost.format
8596 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8598 * converter.C (convert): if from and to files are the same, use a
8599 temporary files as intermediary
8601 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8604 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8606 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8608 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8610 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8612 * tabular.C (asciiPrintCell): use string(size, char) instead of
8615 * sgml.C (openTag): fix order of arguments to string constructor
8618 * lyxfunc.C (dispatch): use boost.format
8620 * lots of files: change "c" -> 'c'
8622 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8624 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8626 2002-11-25 Angus Leeming <leeming@lyx.org>
8628 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8630 * lyx_main.C (init): compile fix.
8632 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8634 * lyx_cb.C (start): boost.formatify
8635 do not include <iostream>
8637 * lengthcommon.C: ws only
8639 * boost-inst.C,BoostFormat.h: add more explict instantations
8641 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8643 * lots of files: handle USE_BOOST_FORMAT
8645 2002-11-21 John Levon <levon@movementarian.org>
8647 * pspell.C: fix compile
8649 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8651 * lyxfunc.C (dispatch): use boost::format
8655 * lyxfont.C (stateText): use boost::format
8657 * lyx_main.C (LyX): use boost::format
8659 (queryUserLyXDir): ditto
8662 (typedef boost::function): use the recommened syntax.
8664 * importer.C (Import): use boost::format
8666 * debug.C (showLevel): use boost::format
8668 * converter.C (view): use boost::format
8673 * bufferview_funcs.C (currentState): use boost::format
8675 * bufferlist.C (emergencyWrite): use boost::format
8677 * buffer.C (readLyXformat2): use boost::format
8678 (parseSingleLyXformat2Token): ditto
8680 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8682 * LaTeX.C (run): use boost::format
8684 * Chktex.C (scanLogFile): use boost::format
8686 * BufferView_pimpl.C (savePosition): use boost::format
8687 (restorePosition): ditto
8688 (MenuInsertLyXFile): ditto
8690 * BoostFormat.h: help file for explicit instation.
8692 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8694 * tabular.C (latex): Support for block alignment in fixed width
8697 2002-11-17 John Levon <levon@movementarian.org>
8699 * BufferView_pimpl.C:
8701 * lyxfunc.C: split filedialog into open/save
8703 2002-11-08 Juergen Vigna <jug@sad.it>
8705 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8706 by my last patch (hopefully).
8708 2002-11-08 John Levon <levon@movementarian.org>
8717 * toc.C: ParConstIterator, and use it (from Lars)
8719 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8721 * lyxtextclass.[Ch]: revise and add doxygen comments
8723 2002-11-07 John Levon <levon@movementarian.org>
8725 * text.C: fix progress value for spellchecker
8727 * toc.C: fix navigate menu for insetwrap inside minipage
8729 * paragraph_funcs.C: added FIXME for suspect code
8731 2002-11-07 John Levon <levon@movementarian.org>
8733 * BufferView_pimpl.C: fix redrawing of insets
8736 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8738 * text2.C (updateCounters): fix bug 668
8740 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8742 * text3.C (dispatch): Do not make the buffer dirty when moving the
8745 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8747 * vc-backend.C: STRCONV
8750 * text2.C (setCounter): STRCONV
8752 * paragraph.C (asString): STRCONV
8754 * lyxlength.C (asString): STRCONV
8755 (asLatexString): ditto
8757 * lyxgluelength.C (asString): STRCONV
8758 (asLatexString): ditto
8760 * lyxfunc.C (dispatch): STRCONV
8763 * lyxfont.C (stateText): STRCONV
8765 * importer.C (Import): STRCONV
8767 * counters.C (labelItem): STRCONV
8768 (numberLabel): ditto
8769 (numberLabel): remove unused ostringstream o
8774 * bufferview_funcs.C (currentState): STRCONV
8776 * buffer.C (readFile): STRCONV
8777 (asciiParagraph): ditto
8778 (makeLaTeXFile): ditto
8780 * Spacing.C (writeEnvirBegin): STRCONV
8782 * LaTeXFeatures.C (getLanguages): STRCONV
8783 (getPackages): ditto
8785 (getBabelOptions): ditto
8786 (getTClassPreamble): ditto
8787 (getLyXSGMLEntities): ditto
8788 (getIncludedFiles): ditto
8792 (scanAuxFile): ditto
8795 * LString.h: add the STRCONV macros
8797 * BufferView_pimpl.C (savePosition): STRCONV
8798 (restorePosition): ditto
8799 (MenuInsertLyXFile): ditto
8801 * vc-backend.C (scanMaster): change from submatch[...] to
8804 * funcrequest.C: include config.h
8806 * factory.C: include config.h
8808 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8810 * box.C: include config.h
8812 * LaTeX.C (scanAuxFile): change from submatch[...] to
8816 2002-10-25 Angus Leeming <leeming@lyx.org>
8818 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8820 * ispell.[Ch] (setError): new method.
8821 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8822 Use setError() insetead of goto END.
8824 * lyx_cb.C (AutoSave): move out child process into new class
8827 2002-10-30 John Levon <levon@movementarian.org>
8829 * text3.C: make start appendix undoable
8831 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8833 * lyxlength.C (inPixels): Fix returned value.
8835 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8838 2002-10-24 Angus Leeming <leeming@lyx.org>
8840 * lyxgluelength.h: no need to forward declare BufferParams
8841 or BufferView, so don't.
8843 2002-10-21 John Levon <levon@movementarian.org>
8845 * BufferView.C: menuUndo ->undo, redo
8847 * BufferView.h: document, remove dead, make some methods private
8849 * paragraph_funcs.h:
8850 * paragraph_funcs.C:
8851 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8856 * sgml.C: move sgml open/close tag into sgml.C
8858 * bufferview_funcs.h: unused prototype
8861 * lyxfunc.C: remove unused
8864 * text.C: remove unused
8866 2002-10-21 John Levon <levon@movementarian.org>
8870 * BufferView_pimpl.h:
8871 * BufferView_pimpl.C: fix mouse wheel handling based on
8872 patch from Darren Freeman
8874 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8876 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8878 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8880 * lyxlength.C (inPixels): Fix hanfling of negative length.
8881 Fix LyXLength::MU case.
8883 2002-10-16 John Levon <levon@movementarian.org>
8885 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8887 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8889 * converter.C (view): add support for $$i (file name) and $$p
8890 (file path) for the viewer command. If $$i is not specified, then
8891 it is appended to the command (for compatibility with old syntax)
8893 2002-10-14 Juergen Vigna <jug@sad.it>
8895 * undo_funcs.C (textHandleUndo): alter the order in which the
8896 new undopar is added to the LyXText, as we have to set first
8897 the right prev/next and then add it as otherwise the rebuild of
8898 LyXText is not correct. Also reset the cursor to the right paragraph,
8899 with this IMO we could remove the hack in "redoParagraphs()".
8901 2002-10-09 Angus Leeming <leeming@lyx.org>
8903 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8904 to turn off an optimisation if a new inset is to be inserted.
8906 2002-10-11 André Pönitz <poenitz@gmx.net>
8908 * lyxtext.h: make some functions public to allow access
8909 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8911 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8913 * text3.C (dispatch): when changing layout, avoid an infinite loop
8916 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8918 * lyxrc.C (read): treat a viewer or converter command of "none" as
8921 * MenuBackend.C (expandFormats): for an update, also allow the
8922 formats that are not viewable
8924 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8925 script if it is newer than the lyxrc.defaults in user directory
8927 2002-10-07 André Pönitz <poenitz@gmx.net>
8929 * text.C: Vitaly Lipatov's small i18n fix
8931 2002-09-25 Angus Leeming <leeming@lyx.org>
8933 * ispell.h: doxygen fix.
8935 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8937 * buffer.h (readFile): Add a new argument to the method, to allow
8938 reading of old-format templates.
8940 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8942 * toc.C (getTocList): Get TOC from InsetWrap.
8944 2002-09-16 John Levon <levon@movementarian.org>
8946 * lyxfunc.C: check tabular for cut/copy too
8948 2002-09-12 John Levon <levon@movementarian.org>
8953 * factory.C: add header
8955 * paragraph_funcs.h:
8956 * paragraph_funcs.C: cleanup
8958 2002-09-11 John Levon <levon@movementarian.org>
8960 * PrinterParams.h: odd/even default to true
8962 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8964 * PrinterParams.h: update printer parameters for new xforms dialog
8966 2002-09-11 Angus Leeming <leeming@lyx.org>
8968 * lyxserver.C (read_ready): re-write to make it more transparent
8969 and to make it work in coherent fashion under Tru64 Unix.
8971 2002-09-11 André Pönitz <poenitz@gmx.net>
8975 * text3.C: implement LFUN_WORDSEL
8977 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8979 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8980 make floatlist_ a boost::shared_ptr<FloatList>
8982 * lyxtextclass.C: include FloatList.h
8983 (LyXTextClass): initialize floatlist_
8984 (TextClassTags): add TC_NOFLOAT
8985 (Read): match "nofloat" to TC_NOFLOAT and use it.
8986 (readFloat): modify call to floatlist_
8990 * FloatList.[Ch] (FloatList): remove commented out float
8992 (erase): new function
8994 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8996 * MenuBackend.C (expandToc): fix crash when there is no document
8999 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9001 * many files: Add insetwrap.
9003 2002-09-09 John Levon <levon@movementarian.org>
9005 * text2.C: remove confusing and awkward depth wraparound
9007 2002-09-09 John Levon <levon@movementarian.org>
9009 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9012 * buffer.C: remove getIncludeonlyList()
9015 * lyxfunc.C: remove headers
9017 2002-09-09 Juergen Vigna <jug@sad.it>
9019 * text.C (getColumnNearX): fix form Michael this is most
9020 probably a cut&paste bug.
9022 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9024 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9026 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9027 references, ws changes.
9029 * text2.C (init): update counters after init
9030 (insertParagraph): no need to set counter on idividual paragraphs.
9031 (setCounter): access the counters object in the textclass object
9032 on in the buffer object.
9033 (updateCounters): ditto
9035 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9036 shared_ptr<Counters> to avoid loading counters.h in all
9038 (LyXTextClass): initialize ctrs_
9039 (TextClassTags): add TC_COUNTER, and ...
9040 (Read): use it here.
9041 (CounterTags): new tags
9042 (readCounter): new function
9043 (counters): new funtion
9044 (defaultLayoutName): return a const reference
9046 * counters.C (Counters): remove contructor
9047 (newCounter): remove a couple of unneeded statements.
9048 (newCounter): simplify a bit.
9049 (numberLabel): some small formatting changes.
9051 * buffer.[Ch]: remove all traces of counters, move the Counters
9052 object to the LyXTextClass.
9054 2002-09-06 Alain Castera <castera@in2p3.fr>
9056 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9057 package to set the horizontal alignment on fixed width columns.
9060 * lyx_sty.h: added tabularnewline macro def.
9062 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9064 2002-09-06 John Levon <levon@movementarian.org>
9066 * LyXAction.C: tooltips for sub/superscript
9068 * MenuBackend.C: a bit more verbose
9070 * lyxfunc.C: tiny clean
9072 * undo_funcs.C: document undo_frozen
9074 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9076 * counters.C (Counters): add missing algorithm counter.
9078 * text2.C (setCounter): lookup the counter with layouts latexname
9079 instead of by section number.
9080 (setCounter): use a hackish way to lookup the correct enum
9082 a float name->type change
9083 reset enum couners with counter name directly instead of depth value.
9085 * counters.C (Counters): remove the push_backs, change to use the
9086 float type not the float name.
9087 (labelItem): remove unused string, float name->type change
9089 * counters.h: don't include vector, loose the enums and sects vectors
9091 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9093 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9094 (Read): add float->TC_FLOAT to textclassTags
9095 (Read): and handle it in the switch
9096 (readFloat): new function
9098 * FloatList.C (FloatList): comment out the hardcoded float
9101 * lyxlayout.h: ws change.
9103 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9105 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9107 2002-09-03 Angus Leeming <leeming@lyx.org>
9109 * BufferView_pimpl.h: qualified name is not allowed in member
9110 declaration: WorkArea & Pimpl::workarea() const;
9112 * factory.C: added using std::endl directive.
9114 * text3.C: added using std::find and std::vector directives.
9116 2002-08-29 André Pönitz <poenitz@gmx.net>
9119 * text2.C: remove unused member number_of_rows
9122 * BufferView2.C: remove file, move contents to...
9123 * BufferView.C: ... here
9125 * BufferView_pimpl.C:
9126 * factory.C: move more inset creation to factory
9128 * vspace.C: avoid direct usage of LyXText, ws changes
9131 don't provide direct access to WorkArea, use two simple
9132 acessors haveSelction() and workHeight() instead
9135 2002-08-29 John Levon <levon@movementarian.org>
9137 * BufferView_pimpl.C (dispatch): do not continue when
9140 2002-08-28 André Pönitz <poenitz@gmx.net>
9142 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9145 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9147 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9149 * buffer.C: increment LYX_FORMAT to 221
9151 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9152 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9154 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9156 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9158 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9160 * factory.C (createInset): use LyXTextClass::floats
9162 * MenuBackend.C (expandFloatListInsert):
9163 (expandFloatInsert):
9166 * text2.C (setCounter):
9168 * LaTeXFeatures.C (useFloat):
9169 (getFloatDefinitions):
9171 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9173 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9174 floatlist_, with accessor floats().
9176 * FloatList.h: remove global FloatList
9178 2002-08-26 André Pönitz <poenitz@gmx.net>
9180 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9184 * BufferView_pimpl.C:
9185 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9187 2002-08-25 John Levon <levon@movementarian.org>
9189 * LyXAction.C: fix margin note description
9191 2002-08-24 John Levon <levon@movementarian.org>
9195 * bufferview_funcs.C:
9197 * undo_funcs.C: cleanups
9199 * lyxfunc.C: disable CUT/COPY when no selection
9201 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9203 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9204 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9206 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9207 Add backward compatibility to "mono", "gray" and "no".
9209 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9211 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9212 (and file_format >= 200).
9214 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9216 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9218 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9220 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9222 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9224 * BufferView_pimpl.C:
9231 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9232 inset and code to make it work with the paragraph code. The inset
9233 can be anywhere in the paragraph, but will only do the expected
9234 thing in LaTeX if the layout file contains the parameter line
9236 (or more generally, a nonzero value) for that layout.
9238 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9240 * paragraph.h: remove the declaration of undefined counters class
9243 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9245 * text2.C (setCounter): fixed enumeration mis-count as reported by
9246 Dr. Richard Hawkins.
9248 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9250 * paragraph_funcs.h: remove some unneeded includes
9252 * text.C (backspace): pasteParagraph now in global scipe
9254 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9255 (pasteSelection): ditto
9257 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9258 * paragraph_funcs.C (pasteParagraph): ... here
9260 2002-08-20 André Pönitz <poenitz@gmx.net>
9262 * commandtags.h: new LFUNs for swapping/copying table row/colums
9265 * lyxfunc.C: support for new lfuns
9267 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9270 * buffer.[Ch]: remove NO_COMPABILITY stuff
9272 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9274 * boost.C (throw_exception): new file, with helper function for
9275 boost compiled without exceptions.
9280 * ParameterStruct.h:
9281 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9283 * bufferlist.C (emergencyWriteAll): use boost bind
9285 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9287 * text.C: include paragraph_funcs.h
9288 (breakParagraph): breakParagraph is now in global scope
9290 * paragraph_funcs.[Ch]: new files
9292 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9295 * buffer.C: include paragraph_funcs.h
9296 (insertStringAsLines): breakParagraph is now in global scope
9298 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9301 * CutAndPaste.C: include paragraph_funcs.h
9302 (cutSelection): breakParagraphConservative is now in global scope
9303 (pasteSelection): ditto
9305 * buffer.h: declare oprator== and operator!= for
9306 Buffer::inset_iterator
9308 * bufferlist.C (emergencyWrite): don't use fmt(...)
9310 * text3.C: add using std::endl
9312 * BufferView.C (moveCursorUpdate): remove default arg
9314 2002-08-20 André Pönitz <poenitz@gmx.net>
9316 * buffer.[Ch]: move inline functions to .C
9319 * BufferView_pimpl.C:
9321 * buffer.[Ch]: use improved inset_iterator
9324 * paragraph.[Ch]: write one paragraph at a time
9326 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9328 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9329 style if style is not specified.
9331 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9333 * text2.C (setCounter): when searching for right label for a
9334 caption, make sure to recurse to parent insets (so that a caption
9335 in a minipage in a figure float works) (bug #568)
9337 2002-08-20 André Pönitz <poenitz@gmx.net>
9339 * text3.C: new file for LyXText::dispatch() and helpers
9341 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9343 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9345 2002-08-19 André Pönitz <poenitz@gmx.net>
9348 * text.C: new LyXText::dispatch()
9350 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9352 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9354 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9356 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9359 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9361 * Makefile.am: use $(variables) instead of @substitutions@
9363 2002-08-15 André Pönitz <poenitz@gmx.net>
9366 * BufferView_pimpl.C: streamlining mathed <-> outer world
9370 * LyXAction.C: remove unused LFUN_MATH
9372 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9374 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9376 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9378 * paragraph.C (Paragraph): reformat a bit
9379 (cutIntoMinibuffer): use builtin InsetList function instad of
9383 * buffer.C: include boost/bind.hpp, add using std::for_each
9384 (writeFileAscii): use ParagraphList iterators
9385 (validate): use for_each for validate traversal of paragraphs
9386 (getBibkeyList): use ParagraphList iterators
9387 (resizeInsets): use for_each to resizeInsetsLyXText for all
9389 (getParFromID): use ParagraphList iterators
9391 * BufferView2.C (lockInset): use paragraph list and iterators
9393 2002-08-14 John Levon <levon@movementarian.org>
9395 * lyxserver.C: remove spurious xforms include
9397 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9399 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9401 2002-08-13 André Pönitz <poenitz@gmx.net>
9404 * lyxfunc.C: further cleaning
9406 2002-08-13 André Pönitz <poenitz@gmx.net>
9408 * funcrequest.h: new constructor
9410 * funcrequest.C: move stuff here from .h
9413 * BufferView_pimpl.C:
9416 * lyxfunc.C: subsequent changes
9418 * lyxfunc.h: new view() member function
9420 * lyxfunc.C: subsequent changes
9422 2002-08-13 Angus Leeming <leeming@lyx.org>
9425 * BufferView_pimpl.C:
9433 changes due to the changed LyXView interface that now returns references
9434 to member variables not pointers.
9436 2002-08-13 Angus Leeming <leeming@lyx.org>
9438 * WordLangTuple (word, lang_code): return references to strings,
9443 * lyxtext.h: forward-declare WordLangTuple.
9448 * text.C: #include "WordLangTuple.h".
9451 * text.C: (selectNextWordToSpellcheck): constify return type.
9453 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9459 * paragraph_pimpl.h:
9462 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9464 Made updateCounter always count from start of buffer, and removed
9465 second argument (par).
9466 Reverted floats number display to '#'. Perhaps I'll try again when the
9467 code base is sanitized a bit.
9469 2002-08-12 Angus Leeming <leeming@lyx.org>
9471 * buffer.[Ch] (getLabelList): constify.
9473 2002-08-07 André Pönitz <poenitz@gmx.net>
9475 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9477 * funcrequest.h: extension to keep mouse (x,y) position
9479 2002-08-12 Juergen Vigna <jug@sad.it>
9481 * BufferView2.C (insertErrors): forbid undo when inserting error
9484 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9486 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9488 * ParagraphList.[Ch]: new files
9490 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9492 * BufferView2.C (lockInset): ParagraphList changes
9495 * bufferlist.C: ditto
9499 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9501 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9502 unused class variable counter_,
9504 * paragraph.[Ch] (getFirstCounter): delete unused function
9506 * counters.C: include LAssert.h
9507 (reset): add a new function with no arg, change other version to
9508 not have def. arg and to not allow empty arg.
9510 * text2.C (setCounter): remove empty arg from call to Counters::reset
9512 2002-08-11 John Levon <levon@movementarian.org>
9514 * Makefile.am: add WordLangTuple.h
9516 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9518 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9519 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9521 * insets/insettext.C: InsetList changes
9523 * graphics/GraphicsSupport.C (operator()): InsetList changes
9525 * toc.C (getTocList): InsetList changes
9527 * paragraph_pimpl.[Ch]: InsetList changes
9529 * paragraph.[Ch]: InsetList changes
9531 * buffer.C (inset_iterator): InsetList changes
9532 (setParagraph): ditto
9533 * buffer.h (inset_iterator): ditto
9534 * iterators.C (operator++): ditto
9535 * iterators.h: ditto
9537 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9539 * InsetList.[Ch]: new files, most InsetList handling moved out of
9542 * BufferView2.C (removeAutoInsets): InsetList changes
9544 (ChangeInsets): ditto
9546 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9548 * paragraph_pimpl.h (empty): new function
9550 * paragraph.[Ch] (empty): new function
9552 * other files: use the new Paragraph::empty function
9554 2002-08-09 John Levon <levon@movementarian.org>
9556 * lyxtext.h: remove unused refresh_height
9558 2002-08-09 John Levon <levon@movementarian.org>
9565 * paragraph.C: move sgml char escaping out of paragraph
9568 * paragraph.C: remove id setter
9572 * paragraph_pimpl.C: remove dead tex_code_break_column
9574 * bufferview_funcs.C: small cleanup
9576 * lyxfunc.C: remove dead proto
9578 * lyxtext.h: make some stuff private. Remove some dead stuff.
9580 * lyxgluelength.C: make as[LyX]String() readable
9582 2002-08-08 John Levon <levon@movementarian.org>
9587 * ToolbarDefaults.C:
9590 * toc.C: lyxaction cleanup
9592 2002-08-08 John Levon <levon@movementarian.org>
9594 * BufferView2.C: small cleanup
9597 * lyxfind.C: move unnecessary header into the .C
9599 2002-08-08 John Levon <levon@movementarian.org>
9601 * funcrequest.h: just tedious nonsense
9604 * lyx_main.C: cleanups
9607 * vspace.C: remove dead header lyx_main.h
9609 2002-08-07 Angus Leeming <leeming@lyx.org>
9612 * paragraph_pimpl.h:
9613 Forward declare class Counters in paragraph.h by moving the ctrs member
9614 variable into Paragraph::Pimpl.
9615 (counters): new method, returning a reference to pimpl_->ctrs.
9617 * text2.C: ensuing changes.
9619 2002-08-07 John Levon <levon@movementarian.org>
9621 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9623 * BufferView_pimpl.C: announce X selection on double/triple
9626 * lyx_main.C: use correct bool in batch dispatch
9628 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9630 2002-08-07 André Pönitz <poenitz@gmx.net>
9632 * funcrequest.h: new class to wrap a kb_action and its argument
9635 * BufferView_pimpl[Ch]:
9639 * lyxrc.C: subsequent changes
9642 2002-08-07 John Levon <levon@movementarian.org>
9644 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9645 document options change.
9647 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9652 * makefile.am: move counters functionality over from
9653 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9655 2002-08-06 John Levon <levon@movementarian.org>
9657 * WordLangTuple.h: new file for word + language code tuple
9668 * BufferView2.C: use WordLangTuple
9671 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9673 2002-08-06 John Levon <levon@movementarian.org>
9675 * lyx_main.C: fix cmdline batch handling
9677 2002-08-06 André Pönitz <poenitz@gmx.net>
9679 * lyxrc.C: set default for show_banner to true
9681 2002-08-06 John Levon <levon@movementarian.org>
9683 * pspell.C: fix a crash, and allow new aspell to work
9685 2002-08-06 John Levon <levon@movementarian.org>
9688 * kbmap.C: small cleanup
9691 * vspace.C: add const
9693 2002-08-05 John Levon <levon@movementarian.org>
9695 * LyXAction.C: back to tabular-insert
9697 2002-08-04 John Levon <levon@movementarian.org>
9700 * BufferView.C: cosmetic change
9702 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9712 * BufferView2.C: purge all "Lyx" not "LyX" strings
9715 * lyxcursor.C: attempt to add some documentation
9720 * ToolbarDefaults.C:
9721 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9722 merge with LFUN_TABULAR_INSERT
9729 * pspell.C: split up i/pspell implementations into separate
9730 files, many cleanups
9732 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9734 * text2.C: some cleanup
9736 * lyxfunc.C: don't check for isp_command == "none" any more, it
9737 didn't make any sense
9739 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9744 * makefile.am: move counters functionality over
9745 from text2.C/paragraph.[Ch] to counters.[Ch], and
9747 2002-08-02 John Levon <levon@movementarian.org>
9749 * buffer.C: s/lyxconvert/lyx2lyx/
9751 2002-08-02 Angus Leeming <leeming@lyx.org>
9753 * lyxlex.C: revert John's change as it breaks reading of the user
9756 2002-08-02 Angus Leeming <leeming@lyx.org>
9758 * importer.C (Import):
9759 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9760 changes due to LyXView::view() now returning a boost::shared_ptr.
9762 2002-08-02 John Levon <levon@movementarian.org>
9764 * lyxlex.C: small cleanup
9766 2002-08-02 John Levon <levon@movementarian.org>
9768 * text2.C (status): small cleanup, no logic change
9770 2002-08-01 John Levon <levon@movementarian.org>
9773 * buffer.C (writeFile): don't output alerts, caller
9777 * lyx_cb.C: from above
9779 * lyxfunc.C: allow to open non-existent files
9781 2002-07-31 John Levon <levon@movementarian.org>
9783 * lyxserver.C: don't let incidental errors get
9786 2002-07-30 John Levon <levon@movementarian.org>
9788 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9790 2002-07-30 John Levon <levon@movementarian.org>
9793 * lyxserver.C: remove I/O callback too
9795 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9797 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9800 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9802 * many files: strip,frontStrip -> trim,ltrim,rtrim
9804 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9806 * PrinterParams.h: remove extern containsOnly, and include
9807 support/lstrings.h instead.
9809 * LaTeX.C (scanAuxFile): modify because of strip changes
9811 * buffer.C (makeLaTeXFile): ditto
9812 * bufferparams.C (writeFile): ditt
9813 * lyxfont.C (stateText): ditto
9814 * lyxserver.C (read_ready): ditto
9815 * vc-backend.C (scanMaster): ditto
9817 * BufferView_pimpl.h: ws changes
9819 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9821 2002-07-26 André Pönitz <poenitz@gmx.net>
9823 * kb_sequence.C: remove unnedred usings
9825 2002-07-26 Juergen Vigna <jug@sad.it>
9827 * lyxfind.C (LyXReplace): we have to check better if the returned
9828 text is not of theLockingInset()->getLockingInset().
9830 2002-07-25 Juergen Vigna <jug@sad.it>
9832 * lyxfind.C (LyXReplace): don't replace if we don't get the
9835 * undo_funcs.C (createUndo): remove debugging code.
9837 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9839 * buffer.C (parseSingleLyXformat2Token): Use default placement
9840 when reading old floats.
9842 * FloatList.C (FloatList): Change the default placement of figure
9843 and tables to "tbp".
9845 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9847 * MenuBackend.C: using std::max
9849 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9851 * MenuBackend.C (expandToc):
9852 (expandToc2): code moved from xforms menu frontend. It is now
9853 generic and TOCs are transparent to menu frontends.
9855 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9857 * toc.C (getTocList): protect against buf=0
9859 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9860 Menu as first parameter. Now, this calls itself recursively to
9861 expand a whole tree (this will be useful for TOC handling)
9862 (expandFloatInsert): remove 'wide' version of floats
9864 * MenuBackend.h (submenuname): returns the name of the submenu.
9865 (submenu): returns the submenu itself, provided it has been
9866 created by MenuBackend::expand
9868 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9870 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9871 insets which have noFontChange == true. (bug #172)
9873 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9875 * BufferView_pimpl.C: add connection objects and use them...
9878 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9880 * MenuBackend.C (expandLastfiles):
9883 (expandFloatListInsert):
9884 (expandFloatInsert):
9885 (expand): split expand in parts
9887 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9889 * lyx_gui.C: use lyx_gui::exit()
9891 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9893 * LyXAction.C: show the failing pseudo action
9895 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9897 * buffer.C (readFile): Run the lyxconvert script in order to read
9900 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9904 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9906 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9910 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9912 2002-07-22 Herbert Voss <voss@lyx.org>
9915 * lyxlength.[Ch]: add support for the vertical lengths
9917 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9919 * toc.[Ch]: std:: fixes
9921 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9923 * lyxrc.C: do not include lyx_main.h
9925 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9931 * BufferView2.C: include "lyxlex.h"
9934 * bufferparams.h: do not #include "lyxlex.h"
9936 * lyxtextclasslist.C (Add): remove method
9937 (classlist): renamed to classlist_
9939 * paragraph_pimpl.C:
9943 * bufferview_funcs.C:
9948 * toc.C (getTocList): use BufferParams::getLyXTextClass
9950 * toc.C (getTocList): use InsetFloat::addToToc
9952 * toc.[Ch]: new files, containing helper functions to handle table
9955 * lyxfunc.C (dispatch): no need to remove spaces around command
9957 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9958 first command of the sequence; it is not very clever, but I do not
9959 have a better idea, actually
9961 * LyXAction.C (LookupFunc): make sure to remove space at the
9962 beginning and end of the command
9964 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9966 * MenuBackend.C (getMenubar): new method: return the menubar of
9968 (read): treat differently reading of menu and menubar (in
9969 particular, the menubar has no name now)
9970 (Menu::menubar): remove
9972 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9975 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9977 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9978 a bibitem inset in a RTL paragraph.
9980 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9982 * paragraph_pimpl.C: constify
9984 * BufferView_pimpl.C:
9986 * lyxfunc.C: fix dispatch in a nicer way
9988 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9990 * lyxfunc.C (dispatch):
9991 * BufferView_pimpl.C:
9992 * BufferView_pimpl.h:
9994 * BufferView.h: rename Dispatch() to dispatch()
9996 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9998 * lyxlayout.C (Read): honor DependsOn tag
10000 * lyxlayout.[Ch] (depends_on): new method
10002 * version.C.in: update lyx_docversion
10004 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10006 * paragraph.C (validate): remove from here...
10007 * paragraph_pimpl.C (validate): ... and move here
10008 (isTextAt): make it const
10010 * buffer.C (getLists): ws cleanup
10012 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10014 * language.C (read): Use iso8859-1 encoding in latex_lang
10015 (this prevents LyX from crashing when using iso10646-1 encoding).
10017 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10019 * text2.C (toggleInset): if cursor is inside an inset, close the
10020 inset and leave cursor _after_ it
10022 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10024 * lyxfunc.C: move minibuffer completion handling out of here
10026 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10028 * BufferView_pimpl.C:
10029 * LaTeX.C: fix dispatch calls
10031 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10033 * text.C (drawChars): Fix Arabic text rendering.
10035 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10039 * lyxfunc.C: remove message-push/pop
10043 * lyxfunc.C: rationalise some code by removing verboseDispatch
10044 in favour of a bool argument to dispatch()
10046 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10048 * lyx_main.C (init): make sure to read symlinks as absolute paths
10050 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10053 * lyxfunc.C: no need for commandshortcut to be a member
10055 2002-07-15 André Pönitz <poenitz@gmx.net>
10057 * converter.C: add support for $$s (scripts from lib/scripts dir)
10058 * lyx_main.C: white space
10060 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10064 * lyxrc.C: remove second exit confirmation
10066 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10071 * BufferView_pimpl.h:
10072 * BufferView_pimpl.C:
10073 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10075 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10077 * MenuBackend.C (expand): add numeric shortcuts to document menu
10079 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10081 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10083 * lyxfont.C (setLyXFamily):
10090 * buffer.C (asciiParagraph): use ascii_lowercase
10092 2002-07-15 Mike Fabian <mfabian@suse.de>
10094 * lyxlex_pimpl.C (search_kw):
10095 * lyxlex.C (getLongString):
10096 * converter.h (operator<):
10097 * converter.C (operator<):
10098 * buffer.C (parseSingleLyXformat2Token):
10100 * ToolbarDefaults.C (read):
10101 * MenuBackend.C (checkShortcuts):
10103 * LColor.C (getFromGUIName):
10104 (getFromLyXName): use the compare_ascii_no_case instead of
10105 compare_no_case, because in turkish, 'i' is not the lowercase
10106 version of 'I', and thus turkish locale breaks parsing of tags.
10108 2002-07-16 Angus Leeming <leeming@lyx.org>
10110 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10111 now takes a Buffer const & argument.
10113 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10115 * BufferView.C (resize): check there's a buffer to resize
10117 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10119 * lyxfunc.C: remove dead code
10122 * lyxserver.C: use lyx_guii::set_read_callback
10124 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10126 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10127 an inset in a RTL paragraph.
10129 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10131 * lyxfunc.C: repaint after a font size update
10133 2002-07-15 André Pönitz <poenitz@gmx.net>
10135 * lyxlength.C: inBP should be able to return negative values
10137 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10139 * lyxfunc.C: use lyx_gui::update_fonts()
10141 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10143 * lyxfunc.C: use lyx_gui::update_color()
10145 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10151 * lyxrc.C: remove file->new asks for name option, and let
10152 buffer-new take an argument
10154 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10156 * BufferView_pimpl.C: remove unneeded extra repaint()
10158 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10160 * LyXAction.C: allow command-sequence with NoBuffer
10162 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10164 2002-07-10 Angus Leeming <leeming@lyx.org>
10166 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10168 2002-07-09 Angus Leeming <leeming@lyx.org>
10170 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10172 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10174 * lengthcommon.h: whitespace
10176 * lyxfunc.C: update scrollbar after goto paragraph
10178 * lyxtext.h: factor out page break drawing, and fix it so
10179 page break/added space paints as selected nicely
10181 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10183 * BufferView_pimpl.C: add FIXMEs, clean up a little
10185 2002-07-09 André Pönitz <poenitz@gmx.net>
10187 * lyxfont.[Ch]: support for wasy symbols
10189 2002-07-08 André Pönitz <poenitz@gmx.net>
10191 * BufferView_pimpl.C: apply John's patch for #93.
10193 2002-07-05 Angus Leeming <leeming@lyx.org>
10195 * BufferView_pimpl.C (buffer): generate previews if desired.
10197 * LColor.h: add "preview" to the color enum.
10199 * LColor.C (LColor): add a corresponding entry to the items array.
10201 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10204 2002-07-05 Angus Leeming <leeming@lyx.org>
10206 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10207 The body of the code is now in the method that is passed an ostream &
10208 rather than a file name.
10209 Pass an additional only_preamble parameter, useful for the forthcoming
10212 2002-07-03 André Pönitz <poenitz@gmx.net>
10214 * lyxfunc.C: simplify getStatus() a bit for math stuff
10216 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10218 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10220 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10222 * text.C (changeRegionCase): do not change case of all the
10223 document when region ends at paragraph end (bug #461)
10225 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10227 * paragraph.C (startTeXParParams):
10228 (endTeXParParams): add \protect when necessary
10230 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10232 * BufferView_pimpl.C (workAreaExpose): remove warning
10234 2002-06-27 Angus Leeming <leeming@lyx.org>
10236 * Makefile.am: add lyxlayout_ptr_fwd.h.
10238 2002-06-26 André Pönitz <poenitz@gmx.net>
10240 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10242 2002-06-25 Angus Leeming <leeming@lyx.org>
10244 * lyxfunc.C (dispatch): Comment out the call to
10245 grfx::GCache::changeDisplay. The method no longer exists now that the
10246 pixmap generation part of the graphics loader has been moved into
10249 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10251 * text2.C: layout as layout
10253 * text.C: layout as layout
10255 * tabular.C (OldFormatRead): layout as layout
10257 * paragraph_pimpl.C (TeXDeeper): layout as layout
10258 (realizeFont): layout as layout
10260 * paragraph.C (writeFile): layout as layout
10261 (validate): layout as layout
10262 (getFont): layout as layout
10263 (getLabelFont): layout as layout
10264 (getLayoutFont): layout as layout
10265 (breakParagraph): layout as layout
10266 (stripLeadingSpaces): layout as layout
10267 (getEndLabel): layout as layout
10268 (getMaxDepthAfter): layout as layout
10269 (applyLayout): layout as layout
10270 (TeXOnePar): layout as layout
10271 (simpleTeXOnePar): layout as layout
10272 (TeXEnvironment): layout as layout
10273 (layout): layout as layout
10274 (layout): layout as layout
10276 * lyxtextclass.C (compare_name): new functor to work with
10277 shared_ptr, layout as layout
10278 (Read): layout as layout
10279 (hasLayout): layout as layout
10280 (operator): layout as layout
10281 (delete_layout): layout as layout
10282 (defaultLayout): layout as layout
10284 * lyxlayout_ptr_fwd.h: new file
10286 * lyxlayout.C (Read): layout as layout
10288 * lyx_cb.C (MenuInsertLabel): layout as layout
10290 * bufferlist.C (newFile): layout as layout
10292 * buffer.C (readLyXformat2): layout as layout
10293 (parseSingleLyXformat2Token): layout as layout
10294 (insertStringAsLines): layout as layout
10295 (asciiParagraph): layout as layout
10296 (latexParagraphs): layout as layout
10297 (makeLinuxDocFile): layout as layout
10298 (simpleLinuxDocOnePar): layout as layout
10299 (makeDocBookFile): layout as layout
10300 (simpleDocBookOnePar): layout as layout
10301 (getLists): layout as layout
10303 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10305 * CutAndPaste.C (cutSelection): layout as layout
10306 (pasteSelection): layout as layout
10307 (SwitchLayoutsBetweenClasses): layout as layout
10309 * BufferView_pimpl.C (Dispatch): layout as layout
10310 (smartQuote): layout as layout
10312 * BufferView2.C (unlockInset): layout as layout
10314 2002-06-24 André Pönitz <poenitz@gmx.net>
10316 * lyxfunc.C: fix #487
10318 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10322 * lyxfunc.C: remove display_shortcuts, show_banner
10324 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10326 * Buffer_pimpl.C: oops, update on resize
10328 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10335 * BufferView.C: use repaint()
10337 * BufferView_pimpl.h:
10338 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10339 as it's a clearer description. Remove superfluous
10342 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10344 * text.C: fix bug 488. Not ideal, but getting
10345 getWord() to work properly for the insets that
10346 matter is more difficult ...
10348 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10350 * BufferView_pimpl.C:
10353 * lyxfunc.C: remove the six million index lyxfuncs to just
10354 one, and DTRT (bug 458)
10356 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10360 * BufferView_pimpl.h:
10361 * BufferView_pimpl.C: clean up resize() stuff,
10362 and unnecessary updateScreen()s
10364 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10368 * BufferView_pimpl.h:
10369 * BufferView_pimpl.C:
10372 * minibuffer.C: remove focus management of workarea,
10373 not needed. Use screen's greyOut()
10375 2002-06-17 Herbert Voss <voss@lyx.org>
10377 * converter.C: (convert) do not post a message, when converting
10378 fails, let the calling function decide what to do in this case
10380 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10382 * lyxfunc.C: tidy up a little
10384 2002-06-16 <alstrup@diku.dk>
10386 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10387 Got rid of FORMS_H_LOCATION include. Now we are
10390 2002-06-15 LyX Development team <lyx@rilke>
10392 * buffer.[Ch] (sgmlOpenTag):
10393 (sgmlCloseTag): Added support for avoiding pernicious mixed
10394 content. Return number of lines written.
10396 (makeLinuxDocFile):
10397 (makeDocBookFile): Fixed calls to sgml*Tag.
10398 Simple white space clean.
10400 (simpleDocBookOnePar): Simple white space clean.
10402 * tabular.[Ch] (docBook): Renamed to docbook and got another
10403 argument to related with the pernicious mixed content.
10405 (docbookRow): Fixed calls for docbook inset method.
10407 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10409 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10410 so it's X11 independent.
10414 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10416 2002-06-15 Lyx Development team <lyx@electronia>
10418 * intl.h: Renamed getTrans to getTransManager.
10420 2002-06-14 Angus Leeming <leeming@lyx.org>
10422 * Makefile.am: nuke forgotten stl_string_fwd.h.
10424 2002-06-12 Angus Leeming <leeming@lyx.org>
10426 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10428 2002-06-13 Angus Leeming <leeming@lyx.org>
10431 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10433 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10435 * kbmap.C (getiso): add support for cyrillic and greek
10437 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10441 * BufferView_pimpl.h:
10442 * BufferView_pimpl.C: move bogus scrolling logic
10445 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10448 * BufferView_pimpl.C: view->resize() change
10450 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10452 * BufferView_pimpl.C: topCursorVisible
10455 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10459 * lyx_gui.C: move to frontends/
10463 * lyx_main.C: changes from above
10465 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10472 * lyx_main.C: minor tidy
10474 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10476 * BufferView_pimpl.h:
10477 * BufferView_pimpl.C:
10479 * BufferView.C: make painter() const,
10482 * BufferView2.C: use screen() accessor
10485 * lyx_main.C: some minor cleanup
10487 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10489 * BufferView_pimpl.h:
10490 * BufferView_pimpl.C: remove enter/leaveView,
10493 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10498 * BufferView_pimpl.h:
10499 * BufferView_pimpl.C: only construct screen once,
10502 * lyxrc.C: remove pointless comment
10504 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10507 * BufferView.C: remove active() and belowMouse()
10509 * BufferView_pimpl.h:
10510 * BufferView_pimpl.C: use workarea() not workarea_,
10511 and make it use a scoped_ptr instead
10513 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10515 * lyx_gui.C: add debug message on BadWindow
10517 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10519 * sp_spell.C: fdopen is not part of the C++ standard.
10521 * paragraph.C (InsetIterator): use >= instead of ==
10523 2002-06-07 Angus Leeming <leeming@lyx.org>
10525 Fixes needed to compile with Compaq cxx 6.5.
10526 * BufferView_pimpl.C:
10533 * lyxtextclasslist.C:
10538 all c-library variables have been moved into namespace std. Wrap
10539 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10544 Add a using std::abs declaration.
10546 * kbmap.h (modifier_pair):
10547 * paragraph.h (InsetTable, InsetList):
10548 * lyxfont.h (FontBits):
10549 type definition made public.
10551 * bufferlist.C (emergencyWriteAll): the compiler complains that
10552 there is more than one possible lyx::class_fun template to choose from.
10553 I re-named the void specialisation as lyx::void_class_fun.
10555 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10557 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10558 the compiler is is unable to find tostr in write_attribute.
10560 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10562 * buffer.C (sgmlError): hide #warning
10564 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10566 * xtl/*: get rid of xtl, which is not in use anyway
10568 * LyXAction.C (init):
10569 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10570 were unimplemented xtl experimentation
10572 2002-06-04 André Pönitz <poenitz@gmx.net>
10574 * lyxfunc.C: disable array operation on simple formulae
10576 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10578 * converter.C: constify a bit
10580 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10582 * lyx_gui.C: check xforms version correctly
10584 2002-04-30 Herbert Voss <voss@lyx.org>
10586 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10589 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10591 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10592 attempt to register it with a VCS)
10594 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10596 * lyx_main.C (init): honor variables LYX_DIR_13x and
10599 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10603 * lyx_main.C: fix a crash on bad command line,
10604 and give a useful exit status on error
10606 * lyxfunc.C (doImport): allow -i lyx to work
10608 2002-03-30 André Pönitz <poenitz@gmx.net>
10610 * lyxfunc.C: mathed font changes
10612 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10627 * trans_mgr.h: srcdocs, and some minor cleanups
10629 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10631 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10632 call getFont all the time)
10634 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10636 * switch from SigC signals to boost::signals
10638 2002-05-29 André Pönitz <poenitz@gmx.net>
10640 * paragraph_pimpl.C (getChar): don't call size() too often...
10642 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10644 * paragraph_pimpl.C (insertChar): do not try to update tables when
10645 appending (pos == size())
10647 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10648 in order to reduce drastically the number of comparisons needed to
10649 parse a large document
10651 2002-05-29 André Pönitz <poenitz@gmx.net>
10657 * textclasslist.[Ch]:
10658 * sp_ispell.h: whitespace change
10660 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10662 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10663 lyxaction directly now.
10665 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10669 * lyxvc.C: remove unused headers
10671 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10678 * undo_funcs.C: some cleanups. Use shared_ptr
10679 and a template for the undo stacks.
10681 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10683 * BufferView_pimpl.h:
10684 * BufferView_pimpl.C:
10691 * text2.C: use key_state/mouse_state
10693 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10695 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10698 * chset.C: change include order
10699 (loadFile): use boost regex and get rid of LRegex and LSubstring
10701 * Makefile.am (BOOST_LIBS): new variable
10702 (lyx_LDADD): use it
10704 * LaTeX.C: change include order.
10705 (scanAuxFile): use boost regex and get rid of LRegex and
10709 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10714 * FontInfo.C: moved to frontends/xforms/
10717 * FontLoader.C: moved into frontends for GUIIzation
10722 * lyxfunc.C: changes from above
10724 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10726 * LColor.C: remove spurious X include
10728 * BufferView_pimpl.C:
10733 * text2.C: move font metrics to frontends/
10735 2002-05-24 Juergen Vigna <jug@sad.it>
10737 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10738 setting the undo_cursor.
10740 * ParagraphParameters.h: include local includes first.
10742 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10744 * BufferView_pimpl.C:
10745 * BufferView_pimpl.h:
10749 * screen.C: move WorkArea into frontends/
10755 * BufferView2.C: move LyXScreen into frontends/
10759 * lyx_gui.C: move lyxlookup into frontends/xforms/
10761 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10764 * BufferView_pimpl.C:
10774 * bufferview_funcs.C:
10787 * vc-backend.C: move LyX/XFormsView into frontends/
10789 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10801 * text2.C: move Painter to frontends/
10803 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10805 * buffer.C: comment out some some code that depend upon lyx_format
10808 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10809 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10811 * buffer.h (NO_COMPABILITY): turn off compability
10813 * ColorHandler.C: include scoped_array.hpp
10815 * font.C: Use more specific smart_ptr header.
10818 * ShareContainer.h: ditto
10819 * lyx_main.h: ditto
10821 * FontInfo.h: ditto
10822 * BufferView_pimpl.h: ditto
10823 * ColorHandler.h: ditto
10825 * kbmap.C (defkey): change call to shared_ptr::reset
10827 2002-05-21 Juergen Vigna <jug@sad.it>
10829 * buffer.C (insertErtContents): fix to insert ert asis if it is
10830 non empty. Skip it completely if it contains only whitespaces.
10832 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10834 * BufferView_pimpl.C:
10835 * BufferView2.C: clear selection on paste (bug 393)
10837 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10839 * DepTable.C: include ctime
10841 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10843 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10845 2002-05-14 Juergen Vigna <jug@sad.it>
10847 * text.C (breakParagraph): fixed function to honor the keepempty
10848 layout in the right maner and also to permit the right breaking
10849 algorithm on empty or non empyt keepempty paragraphs.
10851 * paragraph.C (breakParagraph): we have to check also if the par
10852 is really empty (!size()) for isempty otherwise we do the wrong
10855 2002-05-10 Juergen Vigna <jug@sad.it>
10857 * buffer.[Ch] : The following are only changes to the ert
10858 compatibility read reading old LaTeX layout and font stuff and
10859 convert it to ERTInsets.
10861 * buffer.h: added isErtInset().
10863 * buffer.C (struct ErtComp): add a fromlayout bool to check
10864 if we're inside a LaTeX layout.
10865 (isErtInset): new helper function.
10866 (insertErtContents): look for other ert insets before this one
10867 and insert the contents there, so that we don't have subsequent
10868 ERT insets with nothing between them. This way we create only one
10869 inset with multiple paragraphs. Also check if we don't insert only
10870 spaces ' ' as they are ignored anyway afterwards in the .tex file
10871 so if we have only spaces we will ignore this latex part in the
10873 (parseSingleLyXformat2Token \\layout): better compatibility when
10874 reading layout-latex stuff.
10875 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10877 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10878 stuff after reading the inset only get the information back from
10881 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10883 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10885 * LaTeXFeatures.C (getBabelOptions): New method.
10887 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10889 * BufferView_pimpl.C (Dispatch): work around missing argument for
10892 2002-05-08 Juergen Vigna <jug@sad.it>
10894 * text.C (leftMargin): handle paragraph leftindent.
10896 * paragraph.C (writeFile): write the new \\leftindent tag.
10897 (validate): handle leftindent code.
10898 (TeXEnvironment): handle paragraphleftindent code again.
10900 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10902 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10903 for paragrap_extra indent code and new token \\leftindent.
10904 (latexParagraphs): handle the leftindent as environment.
10906 * ParameterStruct.h: added leftindent support.
10908 * ParagraphParameters.C (leftIndent): added support functions for
10909 the paragraph left indent.
10911 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10914 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10916 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10919 * text.C (computeBidiTables): No bidi in insetERT.
10921 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10924 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10926 * version.C.in: pre 5
10928 2002-05-02 José Matos <jamatos@fep.up.pt>
10929 * buffer.C (makeDocBookFile): white space changes, add newline to
10931 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10933 * tabular.C (docBook): fix typo.
10935 2002-05-03 Juergen Vigna <jug@sad.it>
10937 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10938 change in LyXText as we can not be sure it was not freed.
10939 (drawOneRow): remove unused code.
10941 * text.C (drawInset): redo the calculation of the need_break_row as
10942 it could have a row which was already freed.
10943 (draw): look at the return value of drawInset and return false if
10944 it also returned false.
10945 (paintRowText): look at the return value of draw and return false if
10946 it also returned false.
10948 * lyxtext.h: added bool return type to drawInset() and draw() so that
10949 if we have a change in the row so that the rowbreak has to be redone
10950 we abort drawing as it will be called again.
10952 2002-05-02 Juergen Vigna <jug@sad.it>
10954 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10955 a change in the maintext also if we're inside an inset.
10956 (Dispatch): set the cursor again after a break line and after the
10957 screen has been updated as it could be we're in a different row.
10959 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10960 to set the cursor behind the pargraph with > size().
10961 (setCursor): check also for the same paragraph when checking where
10962 to put the cursor if we have a NFR inset.
10964 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10965 parts of layout read further up as it still was in the wrong
10968 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10970 * screen.C (drawFromTo): change sine fullRebreak always return
10973 * buffer.C (parseSingleLyXformat2Token): reindent some
10975 * BufferView_pimpl.C (update): change since fullRebreak always
10977 (Dispatch): git rid of the last hardcoded "Standard"s.
10979 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10981 * text2.[Ch] (fullRebreak): make it return void now that we always
10984 2002-04-30 Juergen Vigna <jug@sad.it>
10986 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10987 ert compatibility check for "latex" layout.
10989 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10991 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10992 minipages: use col% instead of p%, and also use the current font.
10993 (makeLaTeXFile): Fix use babel condition.
10994 (parseSingleLyXformat2Token): Correct font when reading old floats.
10996 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10998 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10999 inserting list of floats.
11001 2002-04-25 Herbert Voss <voss@lyx.org>
11003 * MenuBackend.C (expand): don't add the graphics extensions to the
11006 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11008 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11009 non-existing layout, do not complain if it was the default layout
11010 of the original class (bug #342)
11012 2002-04-24 Juergen Vigna <jug@sad.it>
11014 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11015 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11017 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11019 * buffer.C (getBibkeyList): If using \bibliography, return the
11020 option field with the reference itself. Enables us to provide natbib
11021 support when using \bibliography.
11023 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11025 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11027 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11028 natbib is provided by the LaTeX class.
11030 2002-04-23 Juergen Vigna <jug@sad.it>
11032 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11035 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11037 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11039 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11041 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11042 ensuremath around textordmasculine, textordfeminine and
11045 2002-04-19 Juergen Vigna <jug@sad.it>
11047 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11048 reinitializing the buffer otherwise row-dimensions may be wrong.
11049 (update): reset also the selection cursors if they do exits otherwise
11050 their x/y positions may be wrong.
11052 * text2.C (cursorDown): don't enter the inset if we came from a row
11053 above and are one row over the inset.
11055 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11056 really leaving an inset.
11058 2002-04-18 Juergen Vigna <jug@sad.it>
11060 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11061 of the selected paragraph does not have the selected layout also if
11064 * text2.C (setLayout): fixed bug which did not change last selected
11067 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11068 changed the read and substituted \\end_float with \\end_inset!
11070 * BufferView_pimpl.C (cursorPrevious):
11071 (cursorNext): fixed to make it work with rows heigher than the work
11072 area without moving the cursor only the draw of the row.
11073 (workAreaMotionNotify): fix jumping over high rows.
11075 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11077 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11080 2002-04-16 Juergen Vigna <jug@sad.it>
11082 * text2.C (setCursor): set also the irow().
11083 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11085 (cursorDown): support for locking an inset if the x_fix value goes
11086 inside it. That way I can transverse insets too with cursor up/down.
11088 * lyxrow.h: added irow helper function same as other (i) functions.
11090 * BufferView_pimpl.C (cursorPrevious):
11091 (cursorNext): fixed for insets!
11093 2002-04-15 Juergen Vigna <jug@sad.it>
11095 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11096 position otherwise it is wrong in some cases.
11098 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11099 inside the inset before the call.
11101 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11103 * buffer.[Ch] (getBibkeyList): make it const.
11105 2002-04-12 Juergen Vigna <jug@sad.it>
11107 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11109 * text2.C (getCursorX): new helper function
11110 (setCursor): compute also ix_
11111 (setCursorFromCoordinates): set also ix.
11113 * lyxcursor.h: added ix_ and helper functions.
11115 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11117 * buffer.C (insertStringAsLines): dont break paragraph if the this
11118 paragraph is inside an inset which does not permit it!
11120 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11121 also with no chars on this paragraph.
11122 (paintRowText): only paint stuff if it's inside the workarea!
11124 * paragraph.C (breakParagraph): honor keepempty flag and break the
11125 paragraph always below not above.
11127 * BufferView2.C (unlockInset): update the paragraph layout on inset
11128 unlock as we changed paragraph in such a case.
11130 * lyxfind.C (LyXFind): clear the former selection if not found!
11132 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11133 again called in insertChar().
11135 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11136 an inset which uses the whole row!
11137 (rightMargin): ditto.
11138 (insertChar): force a rebreak if we inserted an inset!
11140 2002-03-28 Herbert Voss <voss@lyx.org>
11142 * lyxlength.[Ch]: add inBP() to get the right PS-point
11143 units (BigPoint). With inPixels we have rounding errors
11145 2002-04-11 Juergen Vigna <jug@sad.it>
11147 * text2.C (setCursorFromCoordinates): set iy to the right value.
11148 (setCursor): add check if row->previous exists!
11150 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11151 an old float_type as this was the case in the old code!
11153 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11155 * BufferView2.C (showLockedInsetCursor): use iy
11156 (fitLockedInsetCursor): ditto
11158 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11159 locked insets as there we have the right value now.
11161 * lyxcursor.C: added iy_ variable and iy functions to set to the
11162 baseline of cursor-y of the locked inset.
11164 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11165 (setCursor): fixed for insets which need a full row.
11167 * text.C (rowLastPrintable): don't ignore the last space when before
11168 an inset which needs a full row.
11169 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11170 as last character of a row when before a inset which needs a full row.
11172 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11174 * version.C.in: update date
11176 * text2.C (fullRebreak): try to always return true and see what
11179 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11181 * MenuBackend.C (expand): use Floating::listName
11183 * FloatList.C (FloatList): add listName argument to the built-in
11186 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11187 text associated with the float.
11189 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11191 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11193 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11195 * ShareContainer.h: add a couple of missing typenames.
11197 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11199 * lyxrc.C (getDescription): use _() correctly rather than N_().
11201 2002-03-28 Herbert Voss <voss@lyx.org>
11203 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11204 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11206 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11208 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11209 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11211 2002-03-29 Juergen Vigna <jug@sad.it>
11213 * lyxfunc.C (dispatch): add a missing fitCursor call.
11215 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11216 it was scrolled by a cursor move, so return the bool status.
11218 * BufferView.C (fitCursor): return the bool flag also to the outside
11219 world as this is needed.
11221 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11223 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11224 call the edit() as it is not needed (and wrong) IMO.
11225 (workAreaButtonPress): set the screen_first variable before evt.
11226 unlock the inset as this may change screen_first and then we have
11227 a wrong y position for the click!
11229 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11231 * MenuBackend.C (expand): another translation that I missed
11233 2002-03-28 Juergen Vigna <jug@sad.it>
11235 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11237 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11239 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11241 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11243 * MenuBackend.C (expand): fix export/view/update when there is no
11246 2002-03-27 Herbert Voss <voss@lyx.org>
11248 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11251 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11253 * bufferview_funcs.C (currentState): only show paragraph number
11254 for is DEVEL_VERSION is set.
11256 * lyxfunc.C (dispatch): put warning in INFO channel
11258 * MenuBackend.C (expand): translate the name of floats
11260 * FloatList.C (FloatList): mark the float names for translation
11262 * converter.C (convert): use LibScriptSearch
11264 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11266 * MenuBackend.C (defaults): fix default menu (we might as well get
11269 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11271 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11274 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11276 * lyxvc.C: reorder includes.
11278 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11280 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11283 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11285 * CutAndPaste.C: change layouts earlier on paste
11286 to avoid crashing when calling getFont()
11288 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11290 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11293 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11295 * WorkArea.C: remove 'Pending' debug message.
11297 * most files: ws cleanup
11299 * buffer.[Ch]: ws changes
11301 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11303 2002-03-21 Juergen Vigna <jug@sad.it>
11305 * tabular.C (SetMultiColumn): collapse also the contents of the
11306 cells and set the last border right. Added a Buffer const * param.
11308 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11310 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11313 2002-03-19 Juergen Vigna <jug@sad.it>
11315 * text2.C (clearSelection): reset also xsel_cache.
11317 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11318 where it needs to be called (John tells us to do so too :)
11319 (selectionLost): reset sel_cache.
11321 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11323 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11325 * text2.C (setCursorIntern): put debuging code in INSETS channel
11327 2002-03-19 André Pönitz <poenitz@gmx.net>
11329 * lyxfunc.C: tiny whitespace change
11331 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11333 * ToolbarDefaults.C (init):
11334 * LyXAction.C (init):
11336 * BufferView_pimpl.C (Dispatch):
11337 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11339 2002-03-19 Allan Rae <rae@lyx.org>
11341 * exporter.C (Export): removeAutoInsets before doing anything else.
11342 While I've just introduced a dependency on BufferView this really is
11343 the best place to clean the buffer otherwise you need to cleanup in
11344 a dozen places before calling export or cleanup in a dozen functions
11347 * converter.C (runLaTeX):
11348 (scanLog): Better handling of removeAutoInsets and screen updates.
11350 * lyxfunc.C (dispatch): small whitespace changes
11352 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11354 * WorkArea.C (C_WorkAreaEvent): return a value.
11355 (event_cb): return 1 if we handled the event, 0 otherwise.
11357 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11359 2002-03-18 Juergen Vigna <jug@sad.it>
11361 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11362 (GetAdditionalWidth): ditto.
11363 (RightLine): ditto.
11366 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11367 inset if we're there actually (probably not used right now but this
11368 is the direction to go for unifying code).
11369 (paste): disable code to clear the selection.
11371 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11372 inside an InsetText and move the check further up as it is in the
11375 * text2.C (pasteSelection): set a selection over the pasted text.
11377 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11379 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11380 and libgraphics to build on Cygwin.
11382 2002-03-15 Juergen Vigna <jug@sad.it>
11384 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11385 inserting an Inset into the paragraph. I know this is not the best
11386 fix but we already use current_view in CutAndPaste so we will remove
11387 all of it's using at the same time.
11389 * buffer.C (sgmlError): deactivated function till it is rewritten in
11390 the right mode, now it can create problems.
11392 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11393 before accessing it.
11395 2002-03-14 Juergen Vigna <jug@sad.it>
11397 * undo_funcs.C (textHandleUndo): do the right thing when updating
11398 the inset after the undo/redo.
11400 * text2.C (setCursor): just some testcode for #44 not ready yet.
11402 * undo_funcs.C (textHandleUndo): set the next() and previous()
11403 pointers of the paragraph to 0 before deleting otherwise we have
11404 problems with the Paragraph::[destructor].
11406 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11407 on a paragraph insertion.
11409 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11411 * buffer.C (asciiParagraph): use += operator for char append to
11414 * paragraph.C (getFontSettings): compare >= not just >
11415 (highestFontInRange): ditto
11418 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11420 * paragraph.C: change several algorithm to be more appripriate for
11421 the problem domain. This is lookip in FontList and in the InsetList.
11423 2002-03-13 André Pönitz <poenitz@gmx.net>
11426 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11428 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11433 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11435 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11437 * Painter.C (display): anon helper function, adjust code for this
11439 (pixmap): remove function.
11441 * Painter.h: remove private display variable.
11443 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11445 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11447 * WorkArea.[Ch]: remove figinset_canvas cruft.
11449 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11451 * lyxtextclass.C (operator): add one item cache optimization.
11453 * bufferlist.h: doxy changes
11455 * bufferlist.C: ws changes
11457 * DepTable.[Ch] (ext_exist): place const in the right spot.
11459 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11461 (workAreaExpose): call resizeInsets when the with BufferView changes.
11462 (Dispatch): adjust for protectedBlank removal
11463 (specialChar): call updateInset if the insert went ok.
11465 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11466 specialChar instead.
11468 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11470 * BufferView.h: doxy change
11472 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11474 * lyxtextclass.C (operator[]): remove non-const version
11475 (defaultLayout): remove non-const version
11477 2002-03-12 Juergen Vigna <jug@sad.it>
11479 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11480 did resize the LyXText too.
11482 * buffer.C (readLyXformat2): set layout information on newly allocated
11485 * tabular.C (OldFormatRead): set layout information on the paragraph.
11487 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11489 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11491 2002-03-11 Juergen Vigna <jug@sad.it>
11493 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11495 (resizeCurrentBuffer): force also the insets to resize themselfes.
11496 (moveCursorUpdate): fixed up for InsetText.
11498 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11501 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11502 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11503 value of Dialogs::tooltipsEnabled().
11504 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11506 2002-03-08 Juergen Vigna <jug@sad.it>
11508 * BufferView_pimpl.C (updateInset): update inset inside inset also
11509 if it isn't inside theLockingInset().
11511 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11513 * buffer.C (asciiParagraph): redo some of the word and line length
11515 (getLists): look for Caption instead of caption.
11517 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11519 * buffer.C (Buffer): initialize niceFile to true
11521 (makeLinuxDocFile):
11522 (makeDocBookFile): make sure niceFile is true on exit
11524 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11526 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11528 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11530 * LyXSendto.C: remove.
11531 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11532 * lyx_gui.C: remove now-redundant comment.
11533 * ColorHandler.h: remove forward declaration of class WorkArea.
11534 * lyxfunc.C: remove #include "WorkArea.h".
11536 2002-03-07 Juergen Vigna <jug@sad.it>
11538 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11539 got moved away with the DEPM and also set the inset_owner always
11540 right which before could have been omitted.
11542 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11544 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11545 wanted layout is not found.
11547 2002-03-07 Juergen Vigna <jug@sad.it>
11549 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11551 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11553 * paragraph.C (breakParagraph): use default layout not layout of
11555 (Paragraph): clear ParagraphParameters.
11557 2002-03-06 Juergen Vigna <jug@sad.it>
11559 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11560 otherwise it would not be a valid lenght. Fixed a special case in
11561 the minipage compatibility read where we end the document with a
11564 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11565 was set as it could be 0 for InsetTexts first entry.
11567 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11569 * paragraph.C (writeFile): if layout is empty write out
11570 defaultLayoutName().
11572 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11573 file without named layout we set layout to defaultLayoutName().
11575 2002-03-06 Juergen Vigna <jug@sad.it>
11577 * CutAndPaste.C (copySelection): set layout for new paragraph.
11579 * text.C (prepareToPrint): leave ERT inset left aligned
11580 (leftMargin): don't indent paragraphs inside ERT insets
11582 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11584 * paragraph.C (breakParagraph): dont call clear do the work manually
11586 * paragraph.[Ch] (clear): remove function
11588 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11590 * paragraph.C (Paragraph): dont call clear, the work has already
11593 * lyxtextclass.C (operator): assert if n is empty
11595 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11596 work manually instead.
11598 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11600 * BufferView_pimpl.C: protect selectionLost against text == 0
11602 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11604 * text.C (breakParagraph): fix a setting layout to '0' problem.
11606 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11608 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11609 final location of file, for the included files, and graphics.
11611 2002-03-05 Juergen Vigna <jug@sad.it>
11613 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11615 2002-03-04 Juergen Vigna <jug@sad.it>
11617 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11619 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11620 last column of multicolumn cells.
11621 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11623 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11625 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11626 file if it doesn't go to a temporary file.
11628 * buffer.C (sgmlOpenTag):
11629 (sgmlCloseTag): remove extra newline insertion.
11631 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11633 * text.C (getRowNearY): comment out debug msg
11635 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11637 * text2.C: first -> first_y
11639 * text.C (getRowNearY): add some attemts at a possible
11640 optimization, not working.
11642 * tabular.[Ch]: add BufferParams to several function so that newly
11643 created paragraph can be initialized to he default layotu for the
11646 * tabular-old.C (ReadOld): add buf->params to call of Init
11648 * screen.C: rename text->first to text->first_y
11650 * paragraph.C (breakParagraph): always set layout in the broken
11653 * lyxtextclass.C (Read): remove lowercase
11656 (delete_layout): ditto
11658 * lyxtext.h: rename first -> first_y
11660 * lyxlayout.C (Read): remove lowercase
11663 (obsoleted_by): ditto
11665 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11667 * buffer.C (insertErtContents): add params are to InsetERT
11668 (parseSingleLyXformat2Token): add code to check if a paragraphs
11669 layout really exist.
11670 (parseSingleLyXformat2Token): add params to several inset
11672 (asciiParagraph): remove lowercase, do the layout comparisons with
11675 * BufferView_pimpl.C (cursorNext): first -> first_y
11676 (resizeCurrentBuffer): first -> first_y
11677 (updateScrollbar): first -> first_y
11678 (scrollCB): first -> first_y
11679 (workAreaMotionNotify): first -> first_y
11680 (workAreaButtonPress): first -> first_y
11681 (checkInsetHit): first -> first_y
11682 (cursorPrevious): first -> first_y
11683 (cursorNext): first -> first_y
11684 (Dispatch): add buffer_->params to severl inset contructors
11686 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11688 * lyxlayout.C (Read): remove some debug info that I forgot.
11690 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11691 clean up the code slightly.
11692 (makeLinuxDocFile): ditto
11693 (makeDocBookFile): ditto
11695 * text2.C: layout as string
11697 * text.C: layout as string
11699 * paragraph_pimpl.C: layout as string
11701 * paragraph.[Ch]: layout as string
11703 * lyxtextclasslist.[Ch]: layout as string
11705 * lyxtextclass.[Ch]: layout as string
11707 * lyxtext.h: layout as string
11709 * lyxlayout.[Ch]: layout as string
11711 * lyx_cb.C: layout as string
11713 * bufferview_funcs.C: layout as string
11715 * bufferparams.C: layout as string
11717 * buffer.C: layout as string
11719 * LyXView.[Ch]: layout as string
11721 * LaTeXFeatures.[Ch]: layout as string
11723 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11725 * BufferView_pimpl.C: change current_layout to string, remove
11730 (workAreaButtonRelease): layout as string
11732 * BufferView2.C (unlockInset): adjust
11734 * vspace.C (asLatexCommand): use an explict temp variable.
11736 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11738 * Makefile.am: use FRONTEND_*
11740 2002-03-01 Juergen Vigna <jug@sad.it>
11742 * tabular.C (SetWidthOfMulticolCell): changed to something better
11743 I hope but still work in progress.
11744 (recalculateMulticolumnsOfColumn): renamed function from
11745 recalculateMulticolCells as it is more appropriate now.
11746 (SetWidthOfCell): calculate multicols better.
11748 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11750 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11752 * lyxfunc.C (processKeySym): print sequence also if it is
11753 `deleted' (complete)
11755 * kbsequence.C (print): print sequence even if it is deleted
11756 (complete would be a better word, actually).
11758 * lyxfunc.C (dispatch): print complete options after a prefix key
11760 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11762 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11764 * text2.C (setCharFont): eliminate setCharFont code duplication.
11766 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11768 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11769 LFUN_TABULAR_FEATURE (bug #177)
11771 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11773 * Makefile.am: remove figure.h
11775 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11777 * Bufferview_pimpl.C:
11789 * text2.C: remove #include "lyx_gui_misc.h".
11791 * LaTeX.C: added #include <cstdio>
11793 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11795 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11796 that the paragraph following this one can have.
11798 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11800 * vspace.C (asLatexCommand): fix bogus gcc warning
11802 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11804 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11806 * text2.C (setLayout): get rid of redundant code
11808 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11810 * text2.C (incDepth): make sure depth cannot be increased beyond
11813 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11815 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11816 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11818 * PainterBase.h (image):
11819 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11820 a LyXImage const *.
11822 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11826 * BufferView_pimpl.C:
11827 * BufferView_pimpl.h:
11847 * sp_spell.C: remove fig inset, and the crap house of
11848 cards that follows it
11850 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11855 * os2_errortable.h:
11856 * nt_defines.h: move .h into support/
11858 * vms_defines.h: remove
11860 * WorkArea.C: add space in debug output
11864 * buffer.C: add WITH_WARNINGS
11868 * bufferlist.C: s/retrive/retrieve/, add docs
11877 * chset.C: add docs
11879 * lyxgui.C: add ID to X error handler
11881 * lyxtestclass.c: fix typo
11883 2002-02-26 Juergen Vigna <jug@sad.it>
11885 * tabular_funcs.C (write_attribute): changed so that some default
11886 attributes are not written at all.
11887 (getTokenValue): set default values before trying to read the
11888 value so we have the return value always set as default if we don't
11889 find the token we search for.
11891 * tabular.C (Write): write bools as bools not as strings!
11893 2002-02-22 Juergen Vigna <jug@sad.it>
11895 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11896 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11898 * text.C (leftMargin): don't add an indent for paragraphs inside
11899 tabular cells (fix #208).
11901 2002-02-21 José Matos <jamatos@fep.up.pt>
11903 * tabular.C (docBook): fixed support for long tables.
11905 2002-02-20 Juergen Vigna <jug@sad.it>
11907 * text2.C (getFont): get the drawing font of the Inset if this
11908 paragraph is inside an inset (only important for InsetERT for now).
11910 * buffer.C (insertErtContents): use new lanugage params in ERT
11913 * CutAndPaste.C: commenting out seemingly uneeded code.
11915 2002-02-19 Allan Rae <rae@lyx.org>
11917 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11918 Iterators might be simple to use but they also get invalidated.
11919 (removeAutoInsets): renamed saved cursor tracking variables and added
11920 some comments to clarify what everything does.
11922 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11929 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11930 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11933 * vc-backend.h: remove #include "support/syscall.h"
11937 * converter.C: rearrange #includes in Lars' approved fashion.
11939 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11940 forward declare class Timeout in the header file.
11942 * XFormsView.C: changes due to the above.
11944 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11945 similar to LyXView.
11947 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11948 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11950 2002-02-18 José Matos <jamatos@fep.up.pt>
11952 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11955 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11957 * a lot of small ws changes
11958 * add a lot of using std::XXX
11959 * use std construcs some places where approp.
11960 * use some exisint stuff from lyxfunctional where approp.
11961 * Make file changes to use partial linking (lets test this now...)
11963 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11967 remove #include "support/syscontr.h" as it's redundant. Always has been.
11975 change Systemcalls::System to Systemcalls::Wait and
11976 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11977 No change of functionality, just reflects the stripped down Systemcalls
11980 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11982 * debug.[Ch]: add a GRAPHICS type to the enum.
11984 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11986 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11988 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11991 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11993 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11994 match the changes below.
11996 * text2.C (toggleInset): if there is not editable inset at cursor
11997 position, try to see if cursor is _inside_ a collapsable inset
12000 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12002 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12003 document menu has a nice checkbox
12005 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12007 * lyxlength.C (asLatexString): change PW to output as percent of
12010 * lengthcommon.C: change '%' to 't%'
12012 * lyxfunc.C (dispatch): a few comments from Martin
12014 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12018 * BufferView_pimpl.h:
12019 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12022 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12024 * vspace.C (inPixels): fix compiler warning
12026 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12028 * lyxfunc.C (getStatus): fix status message for disabled commands.
12030 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12032 * BufferView_pimpl.C: fix crash on close buffer
12033 during selection (#227)
12035 2002-01-27 Herbert Voss <voss@lyx.org>
12037 * buffer.C: link old Figure to new graphic inset
12039 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12041 * FontLoader.C (getFontinfo): Change the latex font names in order
12042 to match the names of type1inst.
12044 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12046 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12048 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12049 (extchanged): ditto
12051 (remove_files_with_extension): ditto
12052 (remove_file): ditto
12055 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12056 document is smaller than the work area height. Do not initialize
12057 static variables to 0.
12059 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12061 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12063 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12064 LFUN_LAYOUT_PARAGRAPHS.
12066 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12067 tabular. It is possible to provide a possible cell, which will
12068 typically be the actcell from the corresponding insettabular
12070 * lyxfunc.C (getStatus): small cleanup; disable
12071 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12074 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12076 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12078 * paragraph.C (startTeXParParams):
12079 (endTeXParParams): new methods. The LaTeX code to
12080 start/end paragraph formatting
12081 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12082 empty (fixes bug #200)
12084 * vspace.C (inPixels): adapt to the change below
12085 (inPixels): [later] more cleanups (remove unused variables)
12087 * lyxlength.C (inPixels): change to use a width and a height as
12090 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12092 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12093 Replaced with \paperwidth
12095 * DepTable.C (insert): add std:: qualifier
12097 2002-01-18 Allan Rae <rae@lyx.org>
12099 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12102 * text.C (drawInset): Turned out I didn't know enough about how
12103 rebreaking worked. This fixes most of the redraw problems. I see
12104 an occasional cursor trail when a line is broken now and the cursor
12105 placement can seem out by a few pixels also after a rebreak.
12107 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12109 * buffer.C (parseSingleLyXformat2Token): update because minipage
12110 width is now a LyXLength
12112 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12114 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12117 2002-01-17 Juergen Vigna <jug@sad.it>
12119 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12121 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12122 is set correctly and the inset is updated correctly.
12124 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12126 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12127 the beginning of the loop.
12129 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12131 * lyxrc.C: improve help for use_scalable_fonts
12133 2002-01-17 Allan Rae <rae@lyx.org>
12135 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12137 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12139 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12140 make sure to set their inset_owner to the right value (bug #171)
12142 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12145 * DepTable.C: Implement mtime checking to reduce time spent doing
12148 2002-01-16 Juergen Vigna <jug@sad.it>
12150 * tabular.C (GetAdditionalHeight): one of error fixed.
12152 * lyxrc.C (output): small fix in writing use_pspell.
12154 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12156 * sp_base.h: #include LString.h
12158 2002-01-16 Allan Rae <rae@lyx.org>
12160 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12161 Can someone check this please?
12163 * text.C (drawInset): It was possible that p.row would be removed by
12164 breakAgainOneRow upsetting a few other settings. There may be another
12165 small tweak possible by setting need_break_row = 0 when p.row has been
12166 removed but I don't know enough about the logic here.
12168 2002-01-15 Allan Rae <rae@lyx.org>
12170 * text.C (insertChar): removed conditional truism.
12172 * BufferView2.C (removeAutoInsets): More tweaks.
12173 cur_par_prev could be a stray pointer. Check for trailing empty line
12174 in case last line was cur_par and only had an error inset on it.
12176 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12178 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12181 * vc-backend.C (most methods):
12182 * exporter.C (Export):
12183 * converter.C (convert):
12185 * LyXSendto.C (SendtoApplyCB):
12186 * lyxfunc.C (dispatch):
12190 * lyx_cb.C (AutoSave):
12192 * BufferView_pimpl.C (MenuInsertLyXFile):
12193 * buffer.C (runChktex): use Buffer::filePath().
12195 * buffer.h: rename filename to filename_; rename filepath to
12196 filepath_ and make it private
12197 (filePath): new method
12199 * buffer.C (writeFile): use fileName()
12202 * lyx_main.C (init): fix starting of LyX when the binary is a
12203 link from so,ewhere else.
12205 * minibuffer.C: include <cctype> for isprint
12207 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12209 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12210 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12211 name clash with InsetCollapsable's width function.
12213 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12215 * lastfiles.C: include <iterator>
12217 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12219 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12222 * buffer.C (makeLaTeXFile): ditto.
12223 Also make loop operation more transparent.
12225 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12227 * ToolbarDefaults.C: remove trailing comma closing namespace.
12229 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12231 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12234 * trans.C (Load): comment out unused variable, allowed.
12236 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12238 * minibuffer.[Ch] (append_char): new method to recieve input from the
12239 drop-down completion browser. If a key was pressed, then recieve this
12240 char and append it to the existing string.
12241 (peek_event): modify the positioning data passed to the completion
12242 browser so that it can be placed above the minibuffer rather than below.
12243 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12245 * LyXAction.C (init): alloe error-next for readonly documents.
12247 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12250 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12252 * bufferlist.C (readFile): create the buffer _after_ checking that
12255 * lyxfunc.C (verboseDispatch): fix handling of arguments
12257 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12259 * lyxrc.C: use string::erase() instead of initializing to "".
12262 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12264 * BufferView_pimpl.h:
12265 * BufferView_pimpl.C:
12268 * text2.C: tell X when we have made a selection for copying
12270 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12272 * BufferView_pimpl.C (MenuInsertLyXFile):
12273 * lyxfunc.C (menuNew):
12275 (doImport): add shortcuts to directory buttons
12277 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12280 * lyxfunc.C (setStatusMessage):
12281 (getStatusMessage): new methods
12282 (getStatus):use setStatusMessage instead of setErrorMessage
12283 (dispatch): when function is disabled, set error message here
12284 [instead of in getStatus previously]
12286 * BufferView_pimpl.C (workAreaButtonRelease): update
12287 toolbar/menubar here too.
12289 2002-01-13 Allan Rae <rae@lyx.org>
12291 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12292 Now seems indestructible. Remaining task is to audit all other
12293 code affected by deleteEmptyParagraphMechanism. One small quirk
12294 left is that an empty document with an error in the preamble can
12295 be made to report an error but no error box appears. I don't know
12297 (removeAutoInsets): Improved comments.
12299 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12302 * Thesaurus.C: update for Aiksaurus 0.14
12304 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12306 * text2.C (firstParagraph): removed member function, all uses
12307 replaces with ownerParagraph
12308 (redoParagraphs): here
12309 (updateInset): here
12310 (toggleAppendix): here
12311 * BufferView2.C (insertErrors): here
12312 (setCursorFromRow): here
12314 2002-01-13 Allan Rae <rae@lyx.org>
12316 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12317 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12318 There is still a way to segfault this although you may have to do this
12319 multiple times: Have an InsetERT with an unknown command in it.
12320 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12321 <down-arrow>, <Enter> again, View->DVI, BANG!
12323 * text2.C (setCursor):
12324 (deleteEmptyParagraphMechanism):
12325 * lyxtext.h (setCursor):
12326 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12327 Making use of the return value may help fix other bugs.
12329 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12331 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12333 * LyXView.C (updateMenubar): call MenuBar::update here
12334 (updateToolbar): but not here
12335 (showState): do not update toolbar/menubar
12337 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12338 should need to care about that.
12340 * lyxfunc.C (verboseDispatch): simplify a bit
12341 (getStatus): have a version which takes a pseudoaction, and
12342 another which requires a (kb_action,string).
12344 * LyXAction.C (retrieveActionArg): make it work also when action
12345 is not a pseudo-action.
12346 (getActionName): simplify a bit
12349 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12351 * lyxfunc.C (verboseDispatch): new families of methods with
12352 several ways to specify a command and a bool to indicate whether
12353 the command name and shortcut should be displayed in minibuffer
12354 (eventually, we could extend that to a finer bitmask like
12355 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12356 (dispatch): the pristine dispatch command which just, well,
12357 dispatchs! Note it still sets its result to minibuffer; I'm not
12360 * lyxfunc.h: remove setHintMessage
12362 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12364 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12366 * BufferView_pimpl.C (specialChar): delete new inset if we have
12367 not been able to insert it.
12369 * kbmap.C: revert to using int instead of kb_action, since all we
12370 are dealing with is pseudo-actions.
12372 * LyXAction.C (searchActionArg): change to return int instead of
12373 kb_action, since the result is a pseudoaction.
12375 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12377 * buffer.C (insertErtContents): Fix (partially) the font bug.
12379 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12381 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12382 as the other one is broken on my machine!
12384 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12387 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12389 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12391 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12392 reflect their actual use. Provide compatibility code for older lyxrc
12395 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12397 change names of popup font variables in line with the changes to lyxrc.C
12399 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12401 * buffer.C (asciiParagraph): avoid outputing a word twice after
12404 * lyxrc.C (getDescription): document that document_path and
12405 template_path can be empty.
12407 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12409 * LaTeXFeatures.C (getMacros):
12410 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12412 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12414 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12416 (getPackages): rename feature "floats" to "float". Use an array to
12417 iterate over 'simple' features (i.e. just a \usepackage). Add
12418 handling of "amsmath" (renamed from "amsstyle").
12420 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12422 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12425 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12427 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12428 FuncStaus::FuncStatus & FuncStaus::some_method().
12430 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12432 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12433 of the func_satus stuff. Edited and massaged in various ways by
12436 * lyxfunc.C (getStatus): use FuncStatus
12438 2002-01-08 Juergen Vigna <jug@sad.it>
12440 * text.C (nextBreakPoint): use function Inset::isChar().
12442 * paragraph.C (TeXOnePar): use function
12443 Inset::forceDefaultParagraphs.
12445 * buffer.C (latexParagraphs): use function
12446 Inset::forceDefaultParagraphs.
12448 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12450 * lyx_gui.C (init): set the style of the menu popups to
12451 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12453 2002-01-07 Juergen Vigna <jug@sad.it>
12455 * text.C (setHeightOfRow): small fix
12456 (prepareToPrint): don't look at alignment if we don't have the place
12459 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12461 * box.C: New file. Move the Box methods and functions out of box.h,
12462 following Lars' suggestion.
12464 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12466 * box.h: #include "support/LOstream.h", needed for inlined function.
12469 * lyxtextclasslist.C: added some using std declarations.
12471 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12473 * box.h: make signed dimensions to allow insets wider than
12474 the screen (bug #162)
12476 * BufferView_pimpl.C: add some insetHit debug
12478 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12480 * vc-backend.C: add FIXME
12482 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12484 * lyxfunc.C (getStatus): enable code for showing math font status
12487 2002-01-07 Juergen Vigna <jug@sad.it>
12489 * text.C (nextBreakPoint): removed debug output not needed anymore.
12491 2002-01-06 Juergen Vigna <jug@sad.it>
12493 * text.C (nextBreakPoint): fixed up this function we had this bug
12494 since ever but now hopefully we break row better.
12495 (insertChar): we have to check if an inset is the next char as it
12496 could now happen that a large inset is causing a break.
12498 2002-01-05 Juergen Vigna <jug@sad.it>
12500 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12501 if it doesn't like to be drawed.
12503 2002-01-04 Juergen Vigna <jug@sad.it>
12505 * BufferView2.C (lockInset): forgot to set a cursor.
12507 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12509 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12511 * FormMathsPanel.C:
12514 * form_maths_panel.C:
12515 * form_maths_panel.h:
12516 * form_maths_panel.fd: implemented sub- and super- buttons in math
12519 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12520 (or ^ space) to be used as in TeX (req'd by André).
12522 * lyxfunc.C: Allow ^ and _ again to be used both as
12523 super/subscript (mathed) and as themselves (in text).
12525 2002-01-03 Allan Rae <rae@lyx.org>
12527 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12528 "LyX" or the filename of the current buffer if it has one. This is a
12529 modified form of John Levon's patch.
12531 * XFormsView.C (setWindowTitle): also set icon title.
12533 * LyXView.h (setWindowTitle): signature changed.
12534 * XFormsView.h (setWindowTitle): ditto.
12536 2002-01-02 Juergen Vigna <jug@sad.it>
12538 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12540 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12542 * screen.C (topCursorVisible): introduce a temp var for
12543 text->cursor.row(), handle the case where this row is null. (kindo
12546 * text2.C (setCursor): add a couple of asserts.
12548 * paragraph.h (inset_iterator): add -> operator
12550 * paragraph.[Ch] (autoDeleteInsets): remove member function
12552 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12553 cursor pos correctly and handle inset deletion by itself.
12554 (insertErrors): move iterator declaration out of for expression
12556 * lyxtextclass.C: add <algorithm>
12558 * Makefile.am: added the new files to sources, removed layout.C
12560 * layout.C: removed file
12562 * layout.h: remove LYX_DUMMY_LAYOUT
12564 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12568 * lyxtextclass.[Ch]:
12569 * lyxtextclasslist.[Ch]: new files
12571 * include order changes to a lot of files, also changes because of
12574 2001-12-27 Juergen Vigna <jug@sad.it>
12576 * buffer.C (asciiParagraph): more fixes.
12578 * tabular.C (ascii): make ascii export support export of only the
12579 data separated by a column-delimiter.
12580 (ascii): better support for ascii export.
12582 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12584 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12586 * tabular_funcs.C: use a "using std::getline" instead of the
12587 previous fix from Angus (necessary for cxx + lyxstring)
12589 2001-12-24 Juergen Vigna <jug@sad.it>
12591 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12593 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12594 problems. First check a minipage also if we have some ert-contents
12595 (not only on par->size(), second set the right depth of the paragraph
12596 on the relink to the root-paragraph-list!
12598 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12599 which then did not anymore update the main paragraphs on undo/redo!
12601 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12603 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12604 code. Support all font-changing funcs (even those which are not in
12605 menu currently). Support for reporting font settings in
12606 mathed (disabled until Andre provides a function on mathed's side).
12608 * func_status.h (toggle): small helper function to set toggle
12611 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12613 * tabular_funcs.C: getline -> std::getline
12615 2001-12-21 Juergen Vigna <jug@sad.it>
12617 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12618 accessed and could be 0 (I couldn't generate this but it seems
12621 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12623 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12624 * tabular_funcs.h: here and include iosfwd
12626 2001-12-20 Juergen Vigna <jug@sad.it>
12628 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12629 inside inset but undo_par was.
12631 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12633 * Thesaurus.C: always include <config.h> in sources.
12637 * box.h: do not include <config.h> in header files
12639 * text.C (paintLastRow): remove unused variable
12641 * text.C (transformChar):
12643 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12645 * Painter.C (text):
12646 * font.C (width): rewrite to use uppercase() instead of
12649 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12651 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12653 * lyxfind.C: clean up of find failure position change
12655 2001-12-20 Juergen Vigna <jug@sad.it>
12657 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12659 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12660 (TeXRow): added to LaTeX a single tabular row.
12661 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12662 (Latex): simplified and finally good LT-h/f support.
12663 (various_functions): just small adaptions for LT-h/f support.
12665 * tabular_funcs.[hC]: added and moved here all not classfunctions
12668 2001-12-19 Juergen Vigna <jug@sad.it>
12670 * tabular.[Ch]: better support for longtabular options (not finished
12673 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12675 * text.C (paintLastRow): use the label font instead of the font of
12676 the last character to compute the size of *_BOX. This makes more
12677 sense and avoids a crash with empty paragraphs.
12678 Use Painter::rectangle to draw EMPTY_BOX.
12680 2001-12-19 Juergen Vigna <jug@sad.it>
12682 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12683 the paragraphs if the replaced paragraph is not the first one!
12684 Tried to delete not used paragraphs but does not work yet so for
12685 now it's inside #ifdef's and by default off!
12687 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12689 * MenuBackend.C: include "lyx_main.h" instead of declaring
12690 lastfiles (actually was declared as LastFiles* instead of a
12693 2001-12-17 Juergen Vigna <jug@sad.it>
12695 * tabular.C (AppendColumn): applied John's fix
12697 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12701 * BufferView_pimpl.h:
12702 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12705 * box.h: new start of class for above
12707 * lyxfunc.C: ignore space-only minibuffer dispatches.
12708 Show the command name when it doesn't exist
12710 * minibuffer.C: don't add empty lines to the history
12712 * minibuffer.C: add a space on dropdown completion
12714 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12716 * text.C: fix line above/below drawing in insets
12718 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12720 * lyxlength.C (LyXLength): Initialize private variables.
12722 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12724 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12725 when inserting error insets.
12727 2001-12-13 Juergen Vigna <jug@sad.it>
12729 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12730 actually sometimes the before-paragraph.
12731 (setUndo): don't clear the redostack if we're not actually undoing!
12733 2001-12-06 Juergen Vigna <jug@sad.it>
12735 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12736 and fixed redoing of main paragraph, so we can use it now ;)
12738 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12740 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12742 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12745 2001-12-13 André Pönitz <poenitz@gmx.net>
12748 * undo_func.C: minor cleanup
12750 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12752 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12753 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12754 font in urw-fonts package which is marked as -urw-fontspecific and
12755 does not work (incidentally, changing the encoding in the
12756 fonts.dir of this package to -adobe-fontspecific fixes the
12759 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12760 is a crash when undoing first paragraph (Juergen, please take a
12761 look). THis does not mean the undo fix is wrong, just that it
12764 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12765 the (Paragraph*) version when needed instead of duplicating the
12768 * text.C (workWidth): use Inset::parOwner to find out where the
12769 inset has been inserted. This is a huge performance gain for large
12770 documents with lots of insets. If Inset::parOwner is not set, fall
12771 back on the brute force method
12773 * paragraph_pimpl.C (insertInset):
12774 * paragraph.C (Paragraph):
12775 (cutIntoMinibuffer): set parOwner of insets when
12776 inserting/removing them
12778 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12780 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12786 * mathed/formulabase.C:
12787 * mathed/math_cursor.[Ch]:
12788 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12791 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12793 * lyxlength.[Ch] (operator!=): new function
12795 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12797 * text.C (workWidth): use Inset::parOwner to find out where the
12798 inset has been inserted. This is a huge performance gain for large
12799 documents with lots of insets. If Inset::parOwner is not set, fall
12800 back on the brute force method
12802 * paragraph_pimpl.C (insertInset):
12803 * paragraph.C (Paragraph):
12804 (cutIntoMinibuffer): set parOwner of insets when
12805 inserting/removing them
12807 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12809 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12811 * tabular-old.C (getTokenValue):
12812 * tabular.C (getTokenValue):
12813 (write_attribute): new versions for LyXLength
12814 (everywhere): adjust the use of widths
12816 * tabular.h: change the type of widths from string to LyXLength
12818 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12820 * paragraph.C: fixed missing line number count when exporting
12821 Environments to LaTeX file
12823 * buffer.C: added informational message for checking line numbers.
12825 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12827 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12828 paragraph, do the 'double space' part, but not the 'empty
12831 * text.C (workWidth): small optimization
12832 (getLengthMarkerHeight): use minimal size for negative lengths.
12834 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12836 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12838 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12840 2001-12-11 André Pönitz <poenitz@gmx.net>
12843 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12845 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12847 * text2.C: keep selection on a setFont()
12849 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12851 * lyx_cb.C: another bv->text misuse, from insert label
12853 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12856 * kbsequence.C: re-instate nmodifier mask
12858 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12860 * lyx_main.h: make lyxGUI private.
12862 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12864 * lyxfind.C: place the cursor correctly on failed search
12866 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12868 * text.C (getLengthMarkerHeight): for small heights, the arrows
12869 are not always on top/bottom of the text
12870 (drawLengthMarker): smaller arrows; take the left margin in
12871 account; draw also vfills.
12873 (paintLastRow): remove special code for vfill and standard spaces,
12874 since everything is handled in drawLengthMarker now.
12876 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12878 * buffer.C (insertErtContents): try to handle font and language
12879 interaction a bit better.g
12881 * ColorHandler.C (updateColor): change the hash to cover the whole
12882 LColor enum, ws cleanup
12883 (getGCLinepars): ditto
12884 (getGCLinepars): only lookup in the linecache once.
12886 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12888 * iterators.C (operator++): Make the iterator more robust
12890 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12892 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12894 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12897 * text.C: better added space drawing
12899 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12902 * BufferView2.C: fix layout combo update on inset unlock
12904 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12906 * Makefile.am: don't compile unused files
12908 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12912 * LyXAction.C: remove old LFUN_LAYOUTNO
12914 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12916 * paragraph_pimpl.h:
12917 * paragraph_pimpl.C: isTextAt() doesn't need font param
12919 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12922 * lyxlex.C: little cleanup
12924 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12926 * BufferView_pimpl.C: fix insertAscii for insets
12928 2001-12-05 Juergen Vigna <jug@sad.it>
12930 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12931 set the right font on the "multi" paragraph paste!
12933 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12939 * lyxlength.C: remove out-commented code.
12941 * BufferView_pimpl:
12955 * vc-backend.C: change "while(" to "while ("
12957 * lyxlength.[Ch]: add zero function to check if length is zero or
12959 * lyxgluelength.C: use it
12961 2001-12-05 Allan Rae <rae@lyx.org>
12963 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12964 Works for 2.95.3, from what I understand of Garst's reports this should
12965 work for other g++ versions. We're screwed if the abs(int) definition
12966 changed between bugfix releases of gcc.
12968 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12970 * text.C: fix chapter label offset !
12972 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12975 * text.C: fix hfill at end of line, clean up
12977 2001-12-04 Juergen Vigna <jug@sad.it>
12979 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12980 that we force an update of the inset and it's owners if neccessary.
12982 2001-12-03 Juergen Vigna <jug@sad.it>
12984 * text.C (rowLast): simplified code
12986 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12988 * lyxfunc.C: fix show options on timeout
12990 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12992 * screen.C (topCursorVisible): scroll half a page when the cursor
12993 reached top of bottom of screen
12995 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12997 * minibuffer.C: deactivate on loss of focus
12999 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13001 * vspace.[Ch] (operator!=): add operator.
13003 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13005 * BufferView_pimpl.C: refuse to open an inset when
13006 there's a selection.
13008 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13010 * BufferView_pimpl.C: allow to click on RHS of full row insets
13012 2001-11-30 Juergen Vigna <jug@sad.it>
13014 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13015 insets for undo reasons.
13017 2001-11-28 André Pönitz <poenitz@gmx.net>
13019 * vspace.[Ch]: cosmetical changes
13021 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13031 * kbsequence.C: part re-write of old kb code
13034 * WorkArea.C: remove Lgb_bug_find_hack
13036 2001-11-30 José Matos <jamatos@fep.up.pt>
13038 * buffer.C (makeDocBookFile): add a comment to point a hack.
13039 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13040 Fixed a double write of labels.
13042 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13045 * LaTeX.h Fixed bug in LaTeX class where it would not
13046 re-run latex if no depfiles were changed, but the .dvi was removed.
13048 2001-11-28 André Pönitz <poenitz@gmx.net>
13050 * all the files from the change on 2001/11/26:
13051 use lyx::layout_type instead of LyXTextClass::size_type
13052 use lyx::textclass_type instead of LyXTextClassList::size_type
13054 2001-11-29 Juergen Vigna <jug@sad.it>
13056 * text.C: added support for paragraph::isFreeSpacing()
13058 * buffer.C: same as above
13060 * paragraph.h: inserted isFreeSpacing() function to enable
13061 FreeSpacing inside InsetERT.
13063 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13064 of the paragraph's in the cut/copy buffer to 0!
13066 * text2.C (removeRow): remove the assert as it can!
13068 * lyxtext.h: added helper function firstRow returning firstrow and
13069 made firstrow private again.
13071 * BufferView2.C (lockInset): don't relock if we're already locked!
13073 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13074 the only paragraph.
13075 (removeRow): added Assert::(firstrow)
13077 * debug.C: forgot to add INSETTEXT here.
13079 2001-11-28 Juergen Vigna <jug@sad.it>
13081 * sp_spell.C (initialize): changed error text to more general
13082 spellchecker command use (not only ispell!)
13084 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13086 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13088 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13090 * vspace.C: initialise lyxgluelength on failure
13092 2001-11-28 Allan Rae <rae@lyx.org>
13094 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13095 declaration & definition that looks like a function declaration.
13097 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13099 * BufferView2.C (copy):
13100 (copyEnvironment): do not clear the selection when doing a copy.
13102 * text.C (paintFirstRow): compilation fix
13104 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13106 * tabular.C (Latex): correct line count when writing latex.
13108 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13110 * paragraph_pimpl.h:
13111 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13114 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13118 * LColor.C: change vfillline->added_space
13120 * text.C: add markers and text for added space
13122 * vspace.C: fix comment
13124 2001-11-28 André Pönitz <poenitz@gmx.net>
13126 * paragraph.C: whitespace changes
13127 * all the other files from the change on 2001/11/26:
13128 change *::pos_type into lyx::pos_type
13130 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13132 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13133 language of the document when inserting error insets.
13135 2001-11-26 André Pönitz <poenitz@gmx.net>
13137 * BufferView_pimpl.[Ch]:
13145 * paragraph_pimpl.[Ch]:
13148 * text2.C: reduce header dependencies, introduce type for positions
13150 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13152 * <various>: change to use Alert.h
13154 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13156 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13157 when encountering an unknown token.
13158 (readLyXformat2): Show an error message if there were unknown tokens.
13160 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13163 * BufferView_pimpl.C:
13167 * text2.C: use par->isInset()
13169 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13171 * paragraph_pimpl.h:
13172 * paragraph_pimpl.C: cleanup
13174 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13176 * text2.C (removeRow):
13177 * text.C (setHeightOfRow): remove useless (and costly) call to
13180 2001-11-20 Allan Rae <rae@lyx.org>
13182 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13183 Now need Inset*::checkInsertChar() to return true for appropriate
13184 cases so that the characters in the minibuffer will actually be
13187 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13189 * text.C: change the order of the includes.
13190 (workWidth): initialize it at once.
13191 (workWidth): make maxw unsigned
13192 (setHeightOfRow): remove unused variable (inset)
13193 (selectSelectedWord): remove unused variable (inset)
13194 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13196 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13198 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13199 server is not running.
13201 (closeConnection): add debug info when server is disabled.
13203 * ColorHandler.C (getGCForeground): send debug message to GUI
13206 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13208 * kbmap.C (bind): modify because return conventions of
13209 kb_sequence::parse have changed.
13211 * kbsequence.C (parse): only ignore spaces and not any stupid
13212 control character. This avoids tests like s[i] <= ' ', which are
13213 guaranteed to fail with 8bit characters and signed chars.
13214 Change return code to string::npos when there have been no error
13215 (0 was a bad idea when error is at first character)
13217 2001-11-14 José Matos <jamatos@fep.up.pt>
13220 * buffer.C (simpleDocBookOnePar): removed unused argument.
13222 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13224 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13225 insets which are part of a word. Paragraph::isLetter takes care of
13226 that now. Use Paragraph::isInset to identify insets.
13227 (selectSelectedWord): do not test for hyphenation break.
13229 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13230 that protected spaces are considered as spaces.
13232 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13235 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13238 * lyxserver.C: fix it. and small cleanup.
13240 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13242 * BufferView_pimpl.C: use inline helpers
13245 * LaTeXFeatures.C: fix typos
13248 * Spacing.C: move spacing_string into class
13250 * ToolbarDefaults.C: move stuff into namespace anon
13252 * layout.h: update enum
13254 * lyxfunc.C: use better debug
13256 * minibuffer.h: fix typo
13260 * WorkArea.C: add and use Debug::WORKAREA
13264 * text2.C: code re-organisation, inline helpers
13266 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13268 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13269 std::vector.empty().
13271 2001-11-09 Allan Rae <rae@lyx.org>
13273 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13274 '\n's after tables. Tabular and ERT inset work now makes this no
13277 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13280 * minibuffer.C: fix crash, improve drop-down completion
13282 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13285 * lyxserver.C: invalidate fd's when doing endPipe()
13287 2001-11-08 José Matos <jamatos@fep.up.pt>
13289 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13290 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13293 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13295 2001-11-07 José Matos <jamatos@fep.up.pt>
13298 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13301 * buffer.C (sgmlOpenTag):
13302 * buffer.C (sgmlCloseTag): removed debug info.
13304 * buffer.h (sgmlOpenTag):
13305 * buffer.h (sgmlCloseTag): made public.
13307 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13309 * buffer.C (saveParamsAsDefaults):
13310 * lyx_cb.C (MenuLayoutSave): remove
13312 * LyXAction.C (init):
13314 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13316 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13318 * buffer.C (setPaperStuff): removed from here...
13320 * bufferparams.C (setPaperStuff): ... and moved there.
13322 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13326 * XFormsView.C: add support for drop-down completion
13328 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13330 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13333 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13335 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13338 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13340 * lyx_main.C: change ref to known bugs
13342 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13344 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13345 to work around older babel problems.
13347 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13349 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13351 2001-10-24 Juergen Vigna <jug@sad.it>
13353 * tabular-old.C (ReadOld): below variable changes reflected.
13355 * tabular.[Ch]: added ltType struct for longtable header/footer
13356 defines and changed all instances where they are used. Added
13357 future support for double top/bottom rows.
13359 2001-10-24 José Matos <jamatos@fep.up.pt>
13361 * buffer.h (docbookHandleCaption):
13362 * buffer.C (docbookHandleCaption): removed unused function.
13363 (makeDocBookFile): moved docbook supported version to v4.1.
13365 2001-10-24 José Matos <jamatos@fep.up.pt>
13368 * tabular.C (docbookRow): new function to export docbook code of a row.
13369 (DocBook): now honors the longtable flags.
13371 2001-10-23 José Matos <jamatos@fep.up.pt>
13374 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13375 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13377 * buffer.C (makeLinuxDocFile):
13378 (makeDocBookFile): reworked the preamble, more clean, and with
13379 support for lyx defined entities. Changed the document declaration
13380 to be more XML friendly.
13382 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13383 if we need to output XML that should be done with a filter.
13385 2001-10-22 Juergen Vigna <jug@sad.it>
13387 * sp_pspell.h (class PSpell): add alive function needed in the
13388 controller to see if the spellchecker could be started.
13390 2001-10-22 Juergen Vigna <jug@sad.it>
13392 * buffer.C (insertStringAsLines): modify the font for inserting
13393 chars in certain conditions by calling checkInsertChar(font).
13395 2001-10-19 Juergen Vigna <jug@sad.it>
13397 * text.C (workWidth): use getRow instead of wrong algorithm.
13398 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13400 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13405 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13407 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13409 * text.C (workWidth): do not search for the exact row when
13410 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13411 optimization for big documents.
13413 2001-10-18 Juergen Vigna <jug@sad.it>
13415 * text.C (workWidth): new function with added Inset * parameter.
13417 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13419 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13421 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13422 change return type of getColumnNearX.
13425 * text.C (changeRegionCase): use uppercase/lowercase instead of
13428 (rightMargin): simplify code by factoring out the uses of
13433 (appendParagraph): use Paragraph::size_type
13435 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13437 * vspace.C (asLatexString): add a missing break
13439 2001-10-15 Herbert Voss <voss@perce.de>
13441 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13443 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13445 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13448 2001-10-10 André Pönitz <poenitz@gmx.net>
13450 * lyxfunc.C: removed greek_kb_flag.
13452 2001-10-10 Herbert Voss <voss@perce.de>
13454 * lyx_main.C: delete global string help_lyxdir.
13456 2001-10-09 Herbert Voss <voss@perce.de>
13458 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13460 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13462 * lyx_main.C: added global string help_lyxdir.
13464 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13466 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13468 * lyxrc.C (set_font_norm_type): support iso8859-4
13470 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13472 * LaTeX.C (deplog): add another regex for MikTeX
13474 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13476 * lyxrc.C (set_font_norm_type): support iso8859-3
13478 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13480 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13482 * LaTeXFeatures.C: remove special case of french and index
13484 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13485 before \begin{document}). This solves several incompatibilities.
13487 2001-10-03 Garst Reese <reese@isn.net>
13489 * lyx_cb.C: change CheckTex error msg.
13491 2001-10-03 José Matos <jamatos@fep.up.pt>
13493 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13495 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13497 * .cvsignore: update
13499 * lyx_main.C (commandLineVersionInfo): use new style version info.
13501 * buffer.C (writeFile):
13503 (makeLinuxDocFile):
13504 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13506 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13508 * version.h: update to use stuff in version.C
13510 * version.C.in: new file. Contains version information determined
13511 at compile time. This is a merging of version.h and
13514 2001-10-03 Juergen Vigna <jug@sad.it>
13516 * BufferView_pimpl.C (update): don't change "dirty" status in
13519 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13521 * WorkArea.C (c-tor): re-position version string slightly.
13523 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13525 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13526 revert to previous code.
13528 WorkArea.[Ch]: (show, destroySplash): methods removed.
13530 WorkArea.C: rework code so that it's an amalgam of the codes before and
13531 after the splash screen was moved to WorkArea.
13533 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13536 * vspace.C (inPixels):
13539 * buffer.C (insertStringAsLines):
13540 (asciiParagraph): fix types to be large enough
13542 * lyxlex_pimpl.h: change member status from short to int
13544 * layout.h: fix type of endlabeltype
13547 * kbsequence.C (parse): change return type to string::size_type
13549 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13552 * Bullet.C (bulletSize):
13553 (bulletEntry): do not use short ints as parameters
13555 * BufferView2.C (insertLyXFile): change a char to an int.
13557 * WorkArea.C (WorkArea): remove unneeded floats in computation
13559 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13561 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13563 * paragraph.C (asString): Do not ignore newline/hfill chars when
13564 copying to the clipboard.
13566 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13568 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13569 after a multi-line inset.
13571 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13573 * paragraph.C (validate): Set NeedLyXFootnoteCode
13575 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13577 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13578 and decrease-error to decrease.
13580 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13582 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13583 it more readable (should be equivalent)
13585 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13587 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13589 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13591 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13592 of a cursor (row, etc.) after a character has been deleted
13593 (deleteEmptyParagraphMechanism): call the method above on _all_
13594 cursors held by the LyXText when a double space has been
13597 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13599 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13601 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13603 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13604 background. Use greyOut() and the new show() methods to toggle between
13605 the foreground and background. Add code to remove the splash after
13606 its initial showing.
13608 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13609 (create_forms): no longer call Dialogs::showSplash.
13611 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13613 * .cvsignore: add version_info.h
13615 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13617 * version_info.h.in: new file
13619 * Makefile.am: add version_info.h.in
13621 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13622 version_info.h instead of VERSION_INFO
13624 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13626 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13627 The ERT inset now returns string().
13629 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13631 * lyxtext.h, text.C (selectNextWord): renamed as
13632 selectNextWordToSpellcheck.
13634 * text.C (selectNextWordToSpellcheck): Modified to not select
13635 words inside an ERT inset.
13637 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13639 * lyx_cb.C (MenuLayoutSave): change a bit the question
13641 * sp_base.h: include <sys/types.h>
13643 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13645 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13647 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13649 * several files: fix typos in user-visible strings
13651 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13653 * text2.C (pasteSelection): do not set the selection, since it
13654 will be cleared later. Actually, the intent was to fix the way the
13655 selection was set, but I figured rmoving the code was just as good.
13657 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13659 * FontLoader.C (available): Check if font is available without
13662 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13664 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13666 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13668 * lyxrc.[Ch]: added display_graphics variable and associated code.
13670 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13672 * bufferparams.C (hasClassDefaults): new method. Returns true if
13673 the buffer parameters correspond to known class defaults
13675 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13677 * XFormsView.C (show): set minimum size to the main window.
13679 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13681 * text2.C (copySelection):
13683 * lyxfind.C (LyXReplace):
13684 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13685 LyXText::selectionAsString.
13687 * paragraph.C (asString): add "label" argument to the second form
13689 * text2.C (selectionAsString): add "label" argument and pass it to
13690 Paragraph::asString.
13692 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13694 * lyx_main.C (commandLineHelp): remove version information
13696 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13698 * lyx_main.C: add -version commandline option
13700 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13702 * paragraph.h: make the optional constructor arg required instead.
13703 some modifications to other files because of this.
13705 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13707 * lyxserver.C (C_LyXComm_callback): make it static
13709 * lyx_main.C (error_handler): make it static
13711 * lyx_gui.C (LyX_XErrHandler): make it static
13713 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13715 * WorkArea.C: make the extern "C" methods static.
13717 * Makefile.am (lyx_LDADD): simplify
13719 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13721 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13722 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13724 * LyXAction.C (init):
13725 * lyxfunc.C (dispatch): associated code removal.
13727 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13729 * lyxfont.h (isSymbolFont): shut off warning
13731 * text.C (setHeightOfRow):
13732 (getVisibleRow): fix crash with empty paragraphs which have a
13735 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13737 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13740 2001-09-04 José Matos <jamatos@fep.up.pt>
13743 * tabular.C (docbook): rename docBook method to docbook.
13745 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13747 * Makefile.am: add dependencies to main.o.
13749 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13751 * FontLoader.C (available): Return false if !lyxrc.use_gui
13753 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13755 * FontInfo.C (query):
13756 * converter.C (view):
13757 * importer.C (Import):
13758 * exporter.C (Export): Can not -> cannot.
13760 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13762 * BufferView_pimpl.C: allow to create index inset even if
13765 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13767 * buffer.C (getLists): replace boost::tie code with an explicit pair
13768 as boost::tie can break some compilers.
13770 * iterators.h: Added a std:: declaration to the return type of
13773 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13775 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13778 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13780 * iterators.[Ch]: New files. Provide paragraph iterators.
13782 * buffer.C (changeLanguage): Use paragraph iterators.
13783 (isMultiLingual): ditto
13785 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13787 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13789 * FontLoader.C: Support for cmr font.
13791 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13793 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13794 (available): New method.
13796 * FontInfo.C (getFontname): Use scalable fonts even when
13797 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13800 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13802 * converter.C (Formats::view): reverted! Incorrect fix.
13804 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13806 * converter.C (Formats::view): only output the -paper option
13807 if the dvi viewer is xdvi, thereby fixing bug #233429.
13809 2001-08-23 Herbert Voss <voss@perce>
13811 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13813 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13815 * Spacing.h (Spacing): Set space to Default on in the default
13818 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13820 * vc-backend.h (RCS::versionString): add RCS to version
13821 (CVS::versionString): add CVS to version
13823 * vc-backend.C (scanMaster): do not add CVS to version.
13824 (scanMaster): do not add RCS to version
13826 * lyxvc.C (versionString): new method
13828 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13830 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13832 * Spacing.C (set): initialize fval
13834 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13836 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13839 2001-08-16 Juergen Vigna <jug@sad.it>
13841 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13843 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13845 * BufferView_pimpl.C:
13848 * text2.C: setParagraph takes linespacing now
13850 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13852 * LyxAction.C: add internal LFUN_CITATION_INSERT
13854 * LyXView.C: actually apply fix
13856 * bufferlist.C: fix open non-existent file
13858 * lyxfind.C: fix indentation
13860 * lyxfunc.C: remove unneeded assert, fix typo
13862 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13864 * MenuBackend.C: use "Floatname List"
13866 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13868 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13869 when converting LaTeX layout to insetERT.
13870 Generate a non-collapsed float when reading old float
13872 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13874 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13877 2001-08-13 Juergen Vigna <jug@sad.it>
13879 * text.C (fill): return 0 instead of 20 as this seems to be the more
13882 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13884 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13887 2001-08-13 Juergen Vigna <jug@sad.it>
13889 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13891 (SearchBackward): comment out the unlocking of the inset_owner this
13892 should not be needed!
13894 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13896 * Many files: Remove inherit_language, and add latex_language
13898 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13899 collapsible insets.
13901 2001-08-10 Juergen Vigna <jug@sad.it>
13903 * text.C (prepareToPrint): fixed hfill-width in draw!
13905 * BufferView2.C (selectLastWord): save the selection cursor as this
13906 now is cleared in the function LyXText::clearSelection!
13908 2001-08-08 Juergen Vigna <jug@sad.it>
13910 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13911 BACKSPACE type functions.
13913 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13914 is only cutted from the document but not put in the cut-buffer, where
13915 still the old stuff should be.
13917 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13919 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13921 * tabular.C (SetWidthOfCell): fixed special case where the width
13923 (LeftLine): handle '|' in align_special.
13925 (LeftAlreadyDrawed): ditto
13926 (SetWidthOfCell): ditto
13928 2001-08-07 Juergen Vigna <jug@sad.it>
13930 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13932 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13934 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13935 * lyxlex.[hC]: ditto
13937 2001-08-06 Juergen Vigna <jug@sad.it>
13939 * text.C (getVisibleRow): fix up row clearing a bit.
13941 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13943 * minibuffer.C: make sure the X server sees the changes in the input.
13945 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13947 * paragraph.C (getFont): split into...
13948 (getLabelFont): this
13949 (getLayoutFont): and this
13950 * paragraph_pimpl.C (realizeFont): calling this
13952 * text2.C (getFont): split into...
13953 (getLayoutFont): this
13954 (getLabelFont): and this
13955 (realizeFont): all three calling this
13957 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13960 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13962 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13964 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13966 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13967 layouts from the Quote inset insertion.
13969 2001-08-03 Juergen Vigna <jug@sad.it>
13971 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13973 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13974 only if status not is already CHANGED_IN_DRAW (second level).
13976 * text.C (draw): don't set the need_break_row when inside an
13979 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13981 * buffer.C (parseSingleLyXformat2Token): handle more latex
13984 * bufferview_funcs.[hC]: change function names to
13985 begin with small char, adjust other files.
13987 2001-08-02 André Pönitz <poenitz@gmx.net>
13990 BufferView_pimpl.C: remove broken special code for math-greek
13992 2001-08-02 Juergen Vigna <jug@sad.it>
13994 * BufferView_pimpl.C (update): redone this function so that we
13995 update the text again if there was a CHANGE_IN_DRAW.
13997 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13998 (drawFromTo): added a new internal bool which is used by draw() and
14000 (general): some cursor drawing problems fixed.
14002 2001-08-01 Juergen Vigna <jug@sad.it>
14004 * lyxfind.C (LyXFind): fixed
14005 (SearchForward): ditto
14006 (SearchBackward): ditto
14008 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14009 spurius drawing of the cursor in the main area.
14011 * text2.C (status): small fix which could lead to a segfault!
14012 (clearSelection): remove unneeded BufferView param.
14014 2001-08-01 André Pönitz <poenitz@gmx.net>
14016 * lyxfunc.C: small change due to changed mathed interface
14018 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14020 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14022 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14024 * lyxfunc.c: fail gracefully if file doesn't exist
14029 * BufferView_pimpl.C: IsDirWriteable() proto changed
14031 * LyXView.C: fix updateWindowTitle() to store the last title
14033 2001-07-31 Juergen Vigna <jug@sad.it>
14035 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14036 the font (wrong since using of Paragraph::highestFontInRange).
14038 * paragraph.C (highestFontInRange): added a default_size parameter.
14040 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14041 (setHeightOfRow): reformat
14043 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14045 * converter.[hC] + affected files: move to (inital-char)lowercase
14048 * ParagraphParameters.C (ParagraphParameters): remove commented code
14050 * PainterBase.[Ch]: remove commented code
14052 * LaTeXFeatures.h: add "bool floats" for float.sty
14054 * LaTeXFeatures.C (LaTeXFeatures): init floats
14055 (require): handle float
14056 (getPackages): do it with floats
14058 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14060 * BufferView_pimpl.C (Dispatch): improve handling of
14061 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14063 * commandtags.h: #include lyxfont.h here temporarily to avoid
14066 * bufferlist.h: include LString.h here.
14068 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14070 * text2.C (getStringToIndex): new method.
14072 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14074 * *: Reduced header file dependencies all over.
14076 2001-07-30 Baruch Even <baruch@lyx.org>
14078 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14080 2001-07-29 Baruch Even <baruch@lyx.org>
14082 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14084 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14086 * ParameterStruct.h (endif): add a default constructor to make
14087 sure that all variables is initialized.
14089 * ParagraphParameters.C (ParagraphParameters): adjust
14091 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14093 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14094 index; also, check that there is something to index, and that it
14095 does not span over several paragraphs.
14096 (doubleClick): use WHOLE_WORD_STRICT for double click.
14098 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14100 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14103 2001-07-26 Baruch Even <baruch@lyx.org>
14105 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14106 an InsetFig figure, backwards compatible reading of old figure code.
14108 2001-07-27 Juergen Vigna <jug@sad.it>
14110 * text2.C: font.realize function adaption.
14112 * text.C (draw): add a warnings lyxerr text if needed.
14114 * layout.C: font.realize function adaption.
14116 * language.C: add inherit_language and implement it's handlings
14118 * bufferview_funcs.C (StyleReset): remove language parameter from
14119 font creation (should be language_inherit now).
14121 * bufferparams.C (writeFile): handle ignore_language.
14123 * paragraph.C (getFontSettings): the language has to be resolved
14124 otherwise we have problems in LyXFont!
14126 * lyxfont.C (lyxWriteChanges): added document_language parameter
14127 (update): removed unneeded language parameter
14129 * paragraph.C (validate): fixed wrong output of color-package when
14130 using interface colors for certain fonts in certain environments,
14131 which should not seen as that on the final output.
14133 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14135 * BufferView_pimpl.C:
14140 * LyXAction.C: add thesaurus support
14143 * lyxfind.C: add "once" parameter, for thesaurus, to not
14144 move to the next match
14146 2001-07-26 Juergen Vigna <jug@sad.it>
14148 * lyxfont.C (realize): honor ignore_language too!
14151 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14153 * text.C (draw): one place more for ignore_language to not draw
14156 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14158 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14160 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14162 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14163 the minipage conversion problem.
14165 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14167 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14170 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14172 * BufferView.h: don't forward declare WorkArea
14174 * BufferView.C: don't include WorkArea.h
14176 2001-07-25 André Pönitz <poenitz@gmx.net>
14180 * lyxfunc.C: new LFUN 'math-space'
14182 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14184 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14186 * text2.C (toggleInset): call open/close
14188 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14190 * lyxfunc.C (dispatch): add debug for the disabled case
14192 * font.C (buttonText): make similar to rectText
14194 * buffer.C (readInset): comment out parsing of insetlist and
14197 * PainterBase.C (rectText): small correction
14199 * BufferView_pimpl.C: comment out insettheorem and insetlist
14200 * LyXAction.C: ditto
14201 * commandtags.h: ditto
14203 2001-07-24 Juergen Vigna <jug@sad.it>
14205 * text.C (draw): honor the ignore_language.
14207 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14209 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14211 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14214 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14216 * lyxtext.h: remove unused (and unimplemented) methods
14218 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14220 * text.C (getVisibleRow): honor background color
14223 * Painter.h: remove default color argument for fillRectangle
14225 * text.C (backgroundColor): new method
14227 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14229 * text.C (getVisibleRow): adjust
14231 * font.[Ch] (rectText): new method, metrics
14232 (buttonText): new method, metrics
14234 * PainterBase.[hC]: make rectText and buttonText always draw and take
14237 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14239 * ToolbarDefaults.C (read):
14240 * MenuBackend.C (read): allow escaping in all strings
14242 * BufferView_pimpl.C (insertAndEditInset): new method.
14243 (Dispatch): use insertAndEditInset whenever appropriate.
14245 * BufferView_pimpl.C (insertNote): removed
14247 * BufferView_pimpl.C (smartQuote): new method, moved from
14248 BufferView; if an insetquote cannot be inserted, insert a '"'
14251 * BufferView2.C: remove insertCorrectQuote();
14253 * lyxfunc.C (getStatus): Add support for all remaingin
14254 inset-insert lfuns.
14256 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14258 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14259 command (necessary to pass " as parameter of self-insert.
14261 * text.C (selectWordWhenUnderCursor):
14262 (selectWord): add word_location parameter
14263 (selectWordWhenUnderCursor): same + remove special code for word
14265 (selectNextWord): use kind() to guess type of insetspecialchar,
14268 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14269 (insertErtContents): create ert insets as collapsed.
14270 (readInset): better compatibility code for Info inset.
14272 2001-07-20 Juergen Vigna <jug@sad.it>
14274 * lyxfunc.C (dispatch): use always LyXFind now!
14276 * text2.C (init): add a reinit flag so that the LyXText can be
14277 reinited instead of deleted and reallocated (used in InsetText).
14279 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14285 2001-07-18 Juergen Vigna <jug@sad.it>
14287 * text.C (selectNextWord): handle insets inside inset by calling
14288 always the bv->text functions so that we can go up the_locking_inset!
14290 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14291 in strange locations when inside an inset!
14293 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14294 handling to include insets.
14296 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14298 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14300 * LyXAction.C (init):
14302 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14303 LIGATURE_BREAK, since the name is so stupid.
14305 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14307 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14310 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14312 * sp_form.[Ch]: remove.
14314 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14316 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14319 * src/buffer.C (readInset): ditto.
14321 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14323 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14324 menuSeparator(), endOfSentenceDot(), ldots() and
14325 hyphenationPoint(), which are therefore removed.
14326 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14328 * LyXAction.C (init):
14329 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14331 * paragraph.C (getWord): removed.
14333 * BufferView_pimpl.C (Dispatch): use last word or selection for
14334 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14336 * lyx_main.C (queryUserLyXDir): do not ask before creating
14337 user_dir, except if it has been named explicitely.
14339 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14341 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14342 a document of zero size.
14344 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14346 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14347 approriately in the c-tor and in require().
14348 (getPackages): output the appropriate LaTeX for natbib support.
14350 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14351 variables "use_natbib" and "use_numerical_citations" when reading the
14353 (readInset): read the various natbib cite commands.
14354 (validate): white-space change.
14356 * bufferparams.[Ch]: new variables "bool use_natbib" and
14357 "bool use_numerical_citations".
14358 (writeFile): output them in the LyX file.
14360 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14362 * lyxfunc.C (getStatus): add support for all the inset insertion
14365 * text2.C (insertInset):
14366 * paragraph.C (insetAllowed):
14367 * BufferView_pimpl.C (insertInset): update to take in account the
14368 renaming of insertInsetAllowed
14370 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14372 * text2.C (getInset): new method. returns inset at cursor position.
14374 * BufferView_pimpl.C (Dispatch): changes because of this.
14376 * LyXAction.C (init): rename open-stuff to inset-toggle.
14378 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14380 * text2.C (toggleInset): renamed from openStuff; use
14383 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14385 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14387 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14389 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14391 * buffer.C (readLyXformat2): Add filename to the error dialog
14393 2001-07-18 Juergen Vigna <jug@sad.it>
14395 * tabular.C (GetCellNumber): put an assert here instead of the check!
14397 2001-07-17 Juergen Vigna <jug@sad.it>
14399 * BufferView_pimpl.C (toggleSelection): adapted too.
14401 * text.C (selectNextWord): adapted for use with insets.
14402 (selectSelectedWord): ditto
14404 2001-07-17 Juergen Vigna <jug@sad.it>
14406 * sp_spell.C (PSpell): fix initialitation order.
14408 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14410 * paragraph.C: spacing
14412 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14414 * sp_spell.C: repair language selection for pspell
14416 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14418 * lyxfunc.h: change more methods to begin with lower char.
14420 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14422 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14423 for unknown layouts.
14425 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14427 * buffer.C (readLyXformat2): Generate an error dialog if there are
14430 2001-07-16 Juergen Vigna <jug@sad.it>
14432 * sp_spell.C: always compile ISpell part.
14434 * lyxrc.C: added use_pspell entry and it's handling.
14436 2001-07-13 Juergen Vigna <jug@sad.it>
14438 * sp_spell.C: removed double includes.
14440 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14442 Consistent use of Lsstream.h:
14443 * Lsstream.h: added using std::stringstream for consistencies sake.
14445 * buffer.C: removed using std::stringstream
14447 * lyxfont.C (stateText):
14448 * paragraph.C (asString):
14449 * text.C (selectNextWord, selectSelectedWord):
14450 * text2.C (setCounter):
14451 * vspace.C (asString, asLatexString):
14452 std::ostringstream -> ostringstream.
14454 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14456 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14457 * commandtags.h: add LFUN_HELP_ABOUTLYX
14458 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14460 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14462 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14464 * lyx_gui_misc.C: remove spellchecker
14465 * lyxfunc.C: showSpellchecker
14467 * sp_ispell.h: added
14468 * sp_pspell.h: added
14469 * sp_spell.C: added
14470 * sp_form.[Ch]: removed
14471 * spellchecker.[Ch]: removed
14473 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14475 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14477 (simpleTeXSpecialChars): Simply print the input character without
14478 any special translation if pass_thru is set.
14480 * layout.h: Added bool pass_thru to layout class for being able to
14481 implement pass through of a paragraph for Literate Programming.
14483 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14484 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14485 * layout.C (Read): add "passthru" to list of layout tags and add
14486 code to set the pass_thru boolean when it is read.
14488 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14490 * trans_decl.h: remove allowed from KmodInfo
14492 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14493 remove allowed code
14496 * paragraph_pimpl.C (erase): use boost::prior
14498 * Painter.C (text): use data() instead of c_str() when length is
14500 * WorkArea.C (putClipboard): ditto
14501 * font.h (width): ditto
14503 * BufferView2.C: use it-> instead of (*it). for iterators
14505 * paragraph_pimpl.C: ditto
14506 * paragraph.C: ditto
14507 * minibuffer.C: ditto
14508 * language.C: ditto
14510 * encoding.C: ditto
14511 * counters.C: ditto
14512 * converter.C: ditto
14514 * Variables.C: ditto
14515 * TextCache.C: ditto
14516 * MenuBackend.C: ditto
14517 * LyXAction.C: ditto
14519 * FloatList.C: ditto
14520 * DepTable.C: ditto
14521 * ColorHandler.C (LyXColorHandler): ditto
14523 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14525 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14527 * text2.C (openStuff): reintroduce this method (which had been
14528 nuked in NEW_INSETS frenzy).
14530 * lyxfunc.C (Dispatch): when an action has not been handled, use
14531 its name in the error message, not its number.
14533 * paragraph.C (inInset): change method name to begin with lowercase.
14536 * text2.C: updates because of this.
14538 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14540 * ToolbarDefaults.C (add): add spaces in error message
14542 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14544 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14545 (readLyXformat2): rename return_par to first_par, use lyxlex's
14546 pushToken and remove the manual push handling.
14547 (parseSingleLyXformat2Token): add another ert comp. variable:
14548 in_tabular, rename return_par to first_par. handle newlines better
14550 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14552 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14554 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14556 * text2.C (getParFromID): removed
14558 * buffer.C (getParFromID): new method moved form lyxtext.
14559 * BufferView2.C (insertErrors): adjust
14560 (setCursorFromRow): adjust
14561 * BufferView_pimpl.C (restorePosition): adjust
14562 * lyxfunc.C (Dispatch): adjust
14563 * undo_funcs.C (textUndo): adjust
14565 (textHandleUndo): adjust
14566 (textHandleUndo): adjust
14568 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14570 * buffer.C: up' the LYX_FORMAT
14572 * lyxfont.h: turn NO_LATEX on as default
14574 * buffer.C (insertErtContents): new methods of tex style compability.
14575 (parseSingleLyXformat2Token): use it several places.
14576 * tabular.C (OldFormatRead): and here
14578 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14580 * text2.C: remove some commented code.
14583 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14584 * trans.C: changes because of the above.
14586 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14588 * text2.C (setCounter): Fix counters bug with bibliography layout.
14590 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14592 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14593 own member functions
14594 (simpleTeXSpecialChars): ditto
14596 2001-07-06 Juergen Vigna <jug@sad.it>
14598 * a lot of files: changed the access to LyXText::status and the
14599 call of undo-functions.
14601 * undo.[Ch]: added a inset_id to the undo informations.
14603 * undo_funcs.[Ch]: added and moved here all undo functions.
14605 * lyxtext.h: give the status enum a weight, made status_ a private
14606 variable and made accessor functions for it, removed the whole bunch
14607 of undo-functions as they are now in their own file, make some
14608 functions publically available. Added function ownerParagraph with
14611 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14612 made InInset() a const function, added getParFromID() function.
14614 * buffer.[Ch]: added const version for inset_iterator functions,
14615 added getInsetFromID() function.
14617 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14618 changed undo functions for new version.
14620 2001-07-05 Juergen Vigna <jug@sad.it>
14622 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14623 unknow mechanism does not call the proper constructor but only this
14624 one also if I request the other!?
14626 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14628 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14630 * text2.C (LyXText): use initialization lists.
14632 * lyxtext.h (Selection): initialize set_ and mark_
14633 (init): remove method
14635 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14637 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14639 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14641 * screen.[Ch]: change method names to begin with lowercase
14643 * BufferView_pimpl.C (updateScrollbar): simplify further and
14644 hopefully make it a bit faster.
14646 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14648 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14649 calling directly xforms functions.
14651 * Painter.C (Painter):
14652 * lyx_cb.C (MenuWrite):
14653 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14656 * lyx_gui.C: remove bogus guiruntime extern declaration.
14658 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14660 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14662 (redoDrawingOfParagraph): ditto
14663 (redoParagraphs): ditto
14664 (cutSelection): don't create a object for CutAndPaste use the
14665 static method directly
14666 (pasteSelection): ditto
14668 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14671 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14673 * modifications to some other files because of this.
14675 * Makefile.am (lyx_SOURCES): add XFormsView
14677 * XFormsView.[Ch]: new files
14679 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14680 the main window. Move the gui dependent stuff to XFormsView
14682 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14684 * tabular.C (GetCellInset): update cur_cell also in the row/col
14685 version of this function.
14687 * lyxfunc.C: no need to include figure_form.h here.
14693 * lyxvc.C: no need to include forms.h here.
14695 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14697 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14699 * lyxfunc.C (Dispatch):
14701 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14702 constructor argument.
14704 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14706 * paragraph.C (Paragraph): dont't clear, and just set layout.
14707 (makeSameLayout): use params's copy contructor.
14709 * ParagraphParameters.[Ch] (makeSame): delete method
14711 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14713 * Variables.[Ch]: fix indentation, rename set to isSet
14715 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14717 * lyxfunc.C (Dispatch): fix typo
14719 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14721 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14724 * bufferlist.C: include assert.h for emergencyWrite().
14726 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14728 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14729 give up at last (bug #425202) !
14731 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14737 * spellchecker.C: strip spellchecker options and bring up
14738 preferences tab instead
14740 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14742 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14743 the istringstream constructor
14745 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14747 * paragraph.C (getLayout): fix return value
14749 * paragraph.h: do not declare getLayout as inline.
14751 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14753 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14755 * lyxcursor.h (operator<): new func
14756 (operator>): new func
14757 (operator>=): new func
14758 (operator<=): new func
14760 * text.C (changeCase): use selection.start and selection.end
14761 (changeRegionCase): require from to be <= to. Require par to be a
14764 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14766 2001-06-27 Juergen Vigna <jug@sad.it>
14768 * text.C (cursorLeftOneWord): changed to return the cursor and added
14769 overlay with BufferView * parameter which calls this one.
14771 (selectWord): use new getWord function.
14772 (changeCase): renamed from changeWordCase as and extended to work
14773 also on selections.
14775 * lyxtext.h: added enum word_location
14777 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14778 changeCase as this operates now also on selections.
14780 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14782 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14784 * many files: send debug output to Debug::INFO instead of
14787 * converter.C (View):
14789 (Move): send debug output to Debug::FILES instead of console.
14791 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14793 * lyxfunc.C (getStatus): use func_status
14795 * func_status.h: new header, describing the results of
14796 LyXFunc::getStatus;
14798 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14801 2001-06-25 The LyX Project <jug@sad.it>
14803 * buffer.C (sgmlOpenTag):
14805 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14807 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14809 * text2.C: remove some dead code
14811 * tabular.C (GetCellInset): store the last cell checked (gotten)
14813 * tabular.h: add the helper for the speedup
14815 * lyxtext.h: remove some dead code
14817 2001-06-26 The LyX Project <Asger>
14819 * paragraph.C: Change export to LaTeX of alignment to
14820 \begin{center} and family for better roundtrip work with reLyX.
14822 * Tune the math drawing a bit.
14824 2001-06-25 The LyX Project <Asger>
14826 * LColor.C (LColor): New color for math background. New color
14829 2001-06-25 The LyX Project <jug@sad.it>
14831 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14833 * lyxfunc.C (Open):
14834 * bufferlist.C (newFile): do not restrict to files ending with
14837 * BufferView_pimpl.C (MenuInsertLyXFile):
14839 2001-06-24 The LyX Project <jug@sad.it>
14841 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14844 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14846 * lyxtext.h: rename most methods to begin with a small char.
14847 Lots of changes because of this.
14849 * paragraph.C (Paragraph): do not call fitToSize
14850 (erase): call Pimpl::erase
14851 (insertChar): call Pimpl::insertChar
14852 (insertInset): call Pipl::insertInset
14853 (breakParagraph): do not call fitToSize
14854 (breakParagraphConservative): do not call fitToSize
14855 (fitToSize): remove method
14857 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14859 2001-06-24 The LyX Project <Asger>
14861 * Fix Qt compilation^2
14863 2001-06-24 The LyX Project <jug@sad.it>
14865 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14866 depthHook(getDepth()-1).
14869 * ParagraphParameters.h:
14870 * ParameterStruct.h: change type of depth to unsigned int ==
14871 depth_type. Many adaptations to other files before of that.
14873 2001-06-24 The LyX Project <Asger>
14875 * Fix Qt compilation.
14877 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14879 * paragraph.h: renamed several methods to begin with small letter.
14880 several changes to many parts of the code because of this.
14882 2001-06-23 The LyX Project <jug@sad.it>
14884 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14885 rewritten to discard all double spaces when KeepEmpty is off
14886 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14887 to only handle newlines but not fiddle with spaces and friends.
14889 * lyxfunc.C (MenuNew): when doing 'new from template', use
14890 template_path as default directory
14892 2001-06-23 The LyX Project <Asger>
14894 * Clean-up of header file includes all over
14895 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14897 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14899 * paragraph.h: renamed from lyxparagraph.h
14901 2001-06-23 Asger <lyx@violet.home.sad.it>
14903 * Buffer.h: Removed Buffer::resize
14904 * BufferList.h: Removed BufferList::resize
14905 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14906 the document lazily when we change the width, or the font settings.
14908 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14910 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14912 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14914 * buffer.h: remove out of date comment
14916 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14919 * screen.C: fix "theoretical" GC leak
14921 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14923 * LaTeX.C (scanAuxFile):
14924 (deplog): remove trailing \r when reading stream (useful under
14927 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14929 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14930 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14931 and BufferView::theLockingInset(Inset*), so should use them and not
14932 access bv_->text->the_locking_inset directly.
14934 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14936 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14939 * tex-defs.h: remove old unused file
14941 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14943 * BufferView_pimpl.C: fix typo, remove minibuffer message
14944 when buffer has loaded
14946 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14948 * lyxfunc.C (Dispatch): use stringstream
14949 (MenuNew): use stringstream
14950 (Open): use stringstream
14952 * importer.C (Import): use stringstream
14954 * bufferview_funcs.C (CurrentState): use stringstream
14956 * LaTeX.C (run): use stringstream
14958 * BufferView_pimpl.C (savePosition): use stringstream
14959 (restorePosition): use stringstream
14960 (MenuInsertLyXFile): use stringstream
14962 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14975 * vspace.C: removed // -*- C++ -*- as first line.
14978 * version.h: added // -*- C++ -*- as first line.
14980 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14982 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14984 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14987 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14989 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14992 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14994 * gettext.C: include LString.h even when --disable-nls is on.
14996 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14998 * converter.h (Get): changed argument type from int to
14999 FormatList::size_type to avoid unnecessary conversion.
15001 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15004 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15006 * gettext.h: include LString.h even when --disable-nls is on.
15008 2001-06-07 Juergen Vigna <jug@sad.it>
15010 * text.C (BreakAgain): subst spaces with tabs.
15012 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15013 (resizeInsetsLyXText): set force on resizeLyXText.
15015 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15017 * gettext.h (gettext_init):
15018 (locale_init): use a real definition instead of a macro
15020 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15022 * Bufferview_pimpl.C:
15024 * LColor.C: further lcolor tidies
15026 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15028 * BufferView_pimpl.C (updateScrollbar): simplify.
15030 * BufferView2.C: don't include insets/insetinfo.h, change
15031 prototype for insertInset and call the Pimpl version. let
15032 updateInset call Pimpl version.
15034 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15035 gotoInset to BufferView::Pimpl
15037 2001-06-01 Juergen Vigna <jug@sad.it>
15039 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15040 inside a LockingInset (is the update needed at all?).
15042 2001-05-31 Juergen Vigna <jug@sad.it>
15044 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15045 here not the old one otherwise how should we compare it afterwards
15048 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15053 * FontInfo.C: bring C functions into global namespace when
15056 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15058 * LString.h: make sure config.h has been loaded before LString.h.
15060 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15061 (one for each char read by EatLine!).
15063 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15066 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15068 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15069 to the same as the par we break from
15071 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15073 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15075 * MenuBackend.C (expand): also create menu entries for wide
15076 versions of the floats.
15078 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15080 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15082 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15083 frontends/Makefile.am
15089 * tabular.C (getTokenValue): add std::
15091 * tabular-old.C (getTokenValue): add std::
15092 (getTokenValue): ditto
15093 (getTokenValue): ditto
15095 * screen.C (ToggleSelection): adjust
15097 * lyxtext.h: put selection cursors inside a Selection struct.
15099 * lyxfunc.C (moveCursorUpdate): adjust
15101 * lyxfont.C (latexWriteStartChanges): add std::
15103 * lyxfind.C: adjust
15105 * font.h: delete with(char const *, LyXFont const &)
15107 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15109 * FontInfo.C (getFontname): add std::
15111 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15112 (workAreaButtonPress): adjust
15113 (tripleClick): adjust
15115 (moveCursorUpdate): adjust
15118 * BufferView2.C (gotoInset): adjust
15120 2001-05-30 Juergen Vigna <jug@sad.it>
15122 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15123 to check pspell I add this as default as I now have new pspell
15124 libraries and they seem to use this.
15126 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15128 * text2.C (CutSelection): make the cursor valid before the call to
15131 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15133 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15134 relied on 0 terminated strings and other horrors. Bug found due to
15135 the new assert in lyxstring!
15137 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15140 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15142 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15145 * lyxfunc.C (processKeySym): change method of getting to the
15148 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15149 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15150 * BufferView_pimpl.[Ch]: here as private methods.
15152 2001-05-28 Juergen Vigna <jug@sad.it>
15154 * text.C (SetHeightOfRow): added the update() call again as it is
15155 needed to initialize inset dimensions!
15157 2001-05-16 Juergen Vigna <jug@sad.it>
15159 * text2.C (SetCharFont): Add new function with BufferView * and
15160 bool toggleall parameters for setting insets internal fonts.
15161 (SetFont): Freeze the undo as we may change fonts in Insets and
15162 all this change should be inside only one Undo!
15164 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15165 setting font's in insets as for them we have the SetFont function!
15167 2001-05-15 Juergen Vigna <jug@sad.it>
15169 * text2.C (ClearSelection): to be sure we REALLY don't have any
15172 * tabular.C (TeXCellPreamble): fixed the left border problem for
15175 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15177 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15180 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15182 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15183 LFUN_BREAKPARAGRAPH.
15185 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15186 help test to "internal only", similar for LFUN_INSERT_URL
15188 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15189 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15190 auto_region_delete and deadkeys.
15192 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15195 * LColor.C: remove some dead entries, tidy a little
15197 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15199 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15201 (Dispatch): implement LFUN_ESCAPE
15203 * commandtags.h: add LFUN_ESCAPE
15205 * LyXAction.C (init): add entry for LFUN_ESCAPE
15207 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15208 Remove commented code.
15209 (insertNote): moved here
15210 (open_new_inset): moved here
15212 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15215 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15217 * kbmap.C (findbinding): clean it up and make it work correctly.
15219 * lyx_main.C (init): do not pass argc and argv as parameters
15221 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15223 * buffer.C: fix path for OS/2 & Win32
15227 * lyx_main.C: Added os:: class.
15229 * os2_defines.h: update
15231 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15233 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15234 better by trying again with reduced state.
15236 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15238 * lyxrc.C (read): print error about invalid key sequence only when
15239 debugging (because not all latinX keysyms are known to some X
15242 * kbsequence.C (getiso): add a few std:: qualifiers
15243 (getiso): comment out extra return statement.
15245 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15247 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15249 (Dispatch): enhance the accent inset a bit. (not perfect)
15251 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15253 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15255 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15257 * bufferlist.C (emergencyWrite): fix assert() call
15259 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15261 * text.C (InsertChar): Added trivial patch to only send the "you
15262 can not do multiple spaces this way" message once during a
15265 2001-05-08 Baruch Even <baruch@lyx.org>
15267 * Makefile.am: Changed order of libraries to get LyX to link properly
15268 with the gnome frontend.
15270 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15272 * LaTeXFeatures.h: add a std:: qualifier
15274 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15276 * paragraph.C (String): use stringstream
15278 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15280 * paragraph.C (writeFile): remove footflag arg
15282 * buffer.C (makeLaTeXFile): use stringstream
15283 (latexParagraphs): remove footnot gurba
15285 * LaTeXFeatures.C (getPackages): use stringstream
15286 (getMacros): likewise
15287 (getTClassPreamble): likewise
15288 (getFloatDefinitions): new method
15290 * paragraph.C (writeFile): reindent
15293 * WorkArea.h: revert the xpos + etc changes.
15295 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15297 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15299 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15300 (pasteSelection): likewise
15301 * text2.C (CreateUndo): likewise
15303 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15305 * minibuffer.C (peek_event): temporarily reduce the functionality
15306 of the minibuffer (to allow args on lfuns)
15308 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15309 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15311 * buffer.C (readInset): add compability reading of old float
15312 lists, add reading of new style float list.
15313 (readInset): avoid reevaluation of inscmd.getCmdName()
15314 (getLists): reindent
15316 * MenuBackend.C (MenuItem): implement parsing of
15317 md_floatlistinsert and md_floatinsert.
15318 (expand::LastFiles): move initalizaton of iterators out of loop,
15319 avoid reevaluation.
15320 (expand::Documents): introduce typdedef vector<string> Strings,
15322 (expand::ExportFormats): introduce typedef vector<Format const *>
15323 Formats, and use it.
15324 (expand): implement FloatListInsert and FloatInsert.
15326 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15327 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15328 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15330 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15332 (Dispatch::LFUN_FLOAT_LIST): implement
15334 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15336 * LaTeX.C (run): Fix problem with --export code.
15338 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15340 * BufferView.[Ch] (workarea): removed.
15341 (getClipboard) new method; wrapper for workarea()->getClipboard()
15343 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15346 * WorkArea.h (width, height, xpos, ypos): These methods all
15347 returned the dimensions of the work_area sub-area of WorkArea,
15348 resulting in a position error if the WorkArea were resized. Now
15349 return the dimensions of the entire WorkArea.
15351 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15353 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15355 * LaTeX.C (deplog): correct the syntax of regex reg1
15357 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15359 * undo.C: remove !NEW_INSETS cruft
15361 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15363 * text2.C: remove !NEW_INSETS cruft
15365 * text.C: remove !NEW_INSETS cruft
15367 * tabular.C: remove !NEW_INSETS cruft
15369 * spellchecker.C: remove !NEW_INSETS cruft
15371 * lyxtext.h: remove !NEW_INSETS cruft
15373 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15375 * lyxfunc.C: remove !NEW_INSETS cruft
15377 * lyxfind.C: remove !NEW_INSETS cruft
15379 * lyx_cb.C: remove !NEW_INSETS cruft
15381 * figureForm.C: remove !NEW_INSETS cruft
15383 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15385 * buffer.[Ch]: remove !NEW_INSETS cruft
15387 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15389 * CutAndPaste.C: remove !NEW_INSETS cruft
15391 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15393 * BufferView2.C: remove !NEW_INSETS cruft
15395 * BufferView.h: remove !NEW_INSETS cruft
15397 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15399 * Lsstream.h: include LString.h before the sstream headers to
15400 fix problem with gcc 2.95.3 and lyxstring
15402 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15404 * lyx_main.C: add using directives when needed for C functions
15405 declared in std:: namespace.
15407 2001-04-27 Juergen Vigna <jug@sad.it>
15409 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15410 (SetHeightOfRow): comment out the update call should not be needed!
15412 2001-04-13 Juergen Vigna <jug@sad.it>
15414 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15415 (LyXTabular): tried to minimize operator= operations (and realized
15416 hopfully Lars wish).
15418 2001-04-27 Juergen Vigna <jug@sad.it>
15420 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15422 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15424 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15426 * buffer.C (readInset): hack to make listof algorithm work
15428 * BufferView_pimpl.C: hack to make listof algorithm work
15430 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15432 * LyXAction.C: removed all !NEW_INSETS cruft
15433 (init): moved lfun_item in method
15435 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15437 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15439 * BufferView2.C (theLockingInset): white space.
15441 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15443 * minibuffer.C: include <iostream>
15445 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15447 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15449 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15451 * text.[Ch] (TransposeChars): new method
15453 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15455 * call message directly through LyXView instead of through LyXFunc
15456 * BufferView2.C: adjust
15457 * BufferView_pimpl.C: adjust
15458 * FontLoader.C: adjust
15460 * bufferview_funcs.C: adjust
15461 * converter.C: adjust
15462 * figureForm.C: adjust
15463 * importer.C: adjust
15465 * lyx_gui_misc.C: adjust
15466 * lyxfunc.C: adjust
15469 + more files in subdirs
15471 * lyxparagraph.h (size): move up int file
15474 * adjust all uses of Assert to lyx::Assert.
15476 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15477 lyxfunctional in namespace lyx
15478 * layout.C (hasLayout): ditto
15481 (delete_layout): ditto
15482 (NumberOfClass): ditto
15483 * converter.C (GetFormat): ditto
15488 * bufferlist.C (getFileNames): ditto
15489 (emergencyWriteAll): ditto
15492 * MenuBackend.C (hasSubmenu): ditto
15495 * BufferView_pimpl.C (getInsetByCode): ditto
15497 2001-04-18 Juergen Vigna <jug@sad.it>
15499 * vspace.C (asLatexString): fixed the 100% problem.
15501 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15503 * lyxfunc.C (Dispatch):
15505 * minibuffer.h: add a few std:: qualifiers
15507 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15509 * minibuffer.[Ch]: reimplement so that commands is initiated and
15510 run from lyxfunc, simplified som handling, and made the completion
15511 and history code for complete. wip.
15513 * lyxfunc.C (processKeySym): call message
15514 (miniDispatch): new temporary method
15515 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15516 (LFUN_MESSAGE): implement
15517 (LFUN_MESSAGE_PUSH): implement
15518 (LFUN_MESSAGE_POP): implement
15519 (initMiniBuffer): the initial/defualt minibuffer message.
15521 * lyxfont.[Ch]: inline some more getters
15523 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15525 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15527 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15528 (AutoSave): use LFUN_MESSAGE
15529 (Reconfigure): ditto
15531 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15533 * figureForm.C: use LFUN_MESSAGE
15535 * converter.C (runLaTeX): use LFUN_MESSAGE
15537 * bufferview_funcs.C: use LFUN_MESSAGE
15539 (changeDepth): ditto
15541 * bufferparams.h: use boost::
15543 * bufferlist.h: inherit privately from noncopyable
15545 * bufferlist.C (loadLyXFile): remove some commented code.
15547 * buffer.C (runChktex): use LFUN_MESSAGE
15549 * ShareContainer.h: inherit privately from noncopyable
15551 * ParagraphParameters.[hC] (depth): inline it.
15553 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15555 (message): new method
15556 (messagePush): ditto
15557 (messagePop): ditto
15558 (show): init minibuffer
15559 (showState): direct call
15561 * LaTeX.[Ch]: inherit privately from noncopyable
15562 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15563 instead of WriteStatus.
15565 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15567 * BufferView_pimpl.C (buffer): don't init minibuffer
15568 (workAreaButtonPress): use LFUN_MESSAGE
15569 (workAreaButtonRelease): ditto
15570 (savePosition): ditto
15571 (restorePosition): ditto
15572 (MenuInsertLyXFile): ditto
15573 (workAreaExpose): don't init minibuffer
15574 (update): remove commented code, simplify
15576 * BufferView2.C (openStuff): use LFUN_MESSAGE
15577 (toggleFloat): ditto
15580 (copyEnvironment): ditto
15581 (pasteEnvironment): ditto
15586 (updateInset): remove some commented code
15588 * lastfiles.h: inherit privately from noncopyable
15591 * lyx_main.h: ditto
15593 * lyxlex_pimpl.h: ditto
15595 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15596 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15597 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15599 * LyXAction.h: inherit privately from noncopyable, add methods
15600 func_begin, func_end, returning iterators to the func map.
15602 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15603 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15604 (func_begin): new method
15605 (func_end): new method
15607 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15609 (copySelection): ditto
15610 (pasteSelection): ditto
15612 * BufferView.C: whitespace change
15613 * BufferView.h: inherit privately from noncopyable
15615 2001-04-16 Allan Rae <rae@lyx.org>
15617 * tabular-old.C (l_getline):
15618 * spellchecker.C (sc_check_word):
15619 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15620 an unrecognised preprocessor directive. So ensure they're wrapped.
15622 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15624 * src/exporter.C (Export): Give an error message when path to file
15627 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15629 * LaTeX.C (deplog): Always check that foundfile exists.
15631 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15634 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15636 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15638 * tabular.[Ch] (getLabelList): implement new method
15640 * minibuffer.h: comment ouf setTiimer
15642 * minibuffer.C (ExecutingCB): constify res
15643 (peek_event): constify s
15644 (Set): constify ntext
15645 (Init): constify nicename
15647 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15649 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15650 (savePosition): use two params to Minibuffer::Set
15651 (restorePosition): ditto
15653 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15655 * lyx_main.C: include language.h
15657 * Makefile.am (lyx_main.o): add language.h
15659 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15665 * CutAndPaste.C: include gettext.h
15667 * lyxfont.h: remove old hack with ON and OFF.
15670 * lyxfont.h: do not include language.h...
15675 * bufferview_funcs.C:
15681 * paragraph.C: ... but do it here instead
15683 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15685 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15687 * tabular.C: small reformat
15689 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15692 (BreakParagraph): ditto
15693 (SetOnlyLayout): ditto
15696 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15699 * lastfiles.C: removed most using decl, add std:: where needed
15701 * buffer.C: ws changes
15703 * MenuBackend.C (class compare_format): put into anon namespace
15704 (expand): constify label, names, action, action2
15707 * text.C (SingleWidth): constify font
15708 (IsBoundary): constify rtl2
15709 (GetVisibleRow): constify ww
15711 * LaTeX.C (deplog): constify logfile
15713 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15715 (workAreaExpose): constify widthChange, heightChange
15717 * lyxrow.C (par): moved
15720 * lyxrow.h: as inlines here
15722 * lyxfont.h (shape): moved from lyxfont.C
15723 (emph): moved from lyxfont.C
15725 * lyxfont.C (LyXFont): use initialization list for all
15727 (shape): move to lyxfont.h as inline
15728 (emph): move to lyxfont.h as inline
15731 2001-04-04 Juergen Vigna <jug@sad.it>
15733 * vspace.C: had to include stdio.h for use of sscanf
15735 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15738 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15739 independent of xforms.
15741 2001-04-02 Juergen Vigna <jug@sad.it>
15743 * spellchecker.C: fixed namespace placing!
15745 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15747 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15748 the LyXParagraph * is 0.
15750 2001-03-29 Juergen Vigna <jug@sad.it>
15752 * vspace.C: added support for %, c%, p%, l%.
15753 (stringFromUnit): added helper function.
15754 (asLatexString): changed to give right results for the %-values.
15756 * buffer.C: convert the widthp in a width%.
15758 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15760 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15763 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15764 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15766 * lyx_cb.[Ch]: see above.
15768 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15772 * lyx.[Ch]: replaced by figure_form.[Ch].
15776 * lyxfunc.C: changed headers associated with above changes.
15778 2001-03-27 Juergen Vigna <jug@sad.it>
15780 * BufferView_pimpl.C: set the temporary cursor right!
15782 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15784 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15786 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15788 * LString.h: removed "using std::getline"!
15790 * BufferView_pimpl.C (Dispatch): changes due to changes in
15791 InsetInclude::Params.
15793 * buffer.C (tag_name): removed redundant break statements as they were
15794 producing lots of warnings with my compiler.
15796 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15798 * LString.h: add "using std::getline" when using the real <string>.
15800 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15802 * buffer.C: removed bitset usage.
15803 PAR_TAG moved to an anonymous name space.
15804 (tag_name): new funtion, also in the anonymous namespace.
15805 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15806 (makeDocBookFile): clean code. Completed transition from string arrays
15808 (SimpleDocBookOnePar): code clean.
15810 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15812 * tabular.C: add some comments.
15814 2001-03-22 Juergen Vigna <jug@sad.it>
15816 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15817 compatibility read a bit and fixed bug with minipage in different
15820 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15822 * buffer.C (pop_tag): removed.
15823 (push_tag): removed.
15824 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15825 array replaced with vector. Added support for CDATA sections.
15826 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15828 (makeDocBookFile): XML conformant declaration of CDATA section,
15829 fixed bug related to <emphasis> in the first paragraph char.
15830 (sgmlOpenTag): exclude empty tags.
15831 (sgmlCloseTag): ditto.
15833 * buffer.h (pop_tag): removed.
15834 (push_tag): removed.
15836 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15838 * language.h (Languages): added size_type and size().
15840 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15842 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15843 response on compability reading of minipages. One probliem is that
15844 the old usage of minipages was «flertydig»
15846 * several files here and in subdirs: don't use static at file
15847 scope use anon namespaces instead.
15849 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15851 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15852 LaTeX output. This is necessary for Literate document
15855 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15857 * buffer.C: insert hfill when needed.
15859 * tabular.C (l_getline): use string::erase, small whitespace change.
15861 * BufferView_pimpl.C: try the anon namespace.
15862 * WorkArea.C: ditto
15864 2001-03-16 Juergen Vigna <jug@sad.it>
15866 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15867 otherwise it won't open options-dialogs.
15869 * buffer.C: honor pextraWidth(p) on converting minipages.
15871 * tabular.C (l_getline): changed the functions to strip trailing \r.
15873 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15875 * BufferView_pimpl.C:
15876 * minibuffer..C: added "using SigC::slot" declaration.
15878 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15880 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15886 * paragraph.C: ditto
15888 * lyxtext.h: NO_PEXTRA
15890 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15892 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15893 * ParameterStruct.h: ditto
15894 * ParagraphParameters.h: ditto
15895 * lyxparagraph.h: ditto
15897 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15899 * buffer.C: add compability for minipage alignment.
15900 (latexParagraphs): remove unwanted pextra check.
15902 * several files: remove CXX_WORKING_NAMESPACES
15904 * buffer.C (pop_tag): tie is in namespace boost
15906 * BufferView.h: noncopyable is in namespace boost
15908 * lyx_main.h: ditto
15911 * lastfiles.h: ditto
15912 * bufferlist.h: ditto
15913 * ShareContainer.h: ditto
15915 * LyXAction.h: ditto
15918 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15920 * Merging changes from BRANCH_MVC back into HEAD.
15922 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15924 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15926 * BufferView_pimpl.C: change from intl.C
15930 * Makefile.am: move combox.*
15936 * intl.C: remove dialog (covered by prefs)
15938 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15940 * lyxfunc.C (Dispatch): removed redundant break statement.
15942 2001-03-14 Juergen Vigna <jug@sad.it>
15944 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15946 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15948 * buffer.C: add hack to fix compability reading of minipages.
15950 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15952 * buffer.C (getLists): Cleanup.
15954 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15956 * lyxfont.C (update): don't honor toggleall on font size.
15958 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15962 * Makefile.am: moved to frontends/xforms/
15966 * BufferView_pimpl.C: changes for moved mathpanel
15968 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15970 * gettext.h: fix gettext_init() in --disable-nls
15972 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15974 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15976 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15979 * lyx.h: strip external form
15981 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15983 * BufferView_pimpl.C: add comment, destroySplash()
15985 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15987 * BufferView_pimpl.C:
15991 * lyxfunc.C: use re-worked insetinclude
15993 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15995 * buffer.C: add using std::stringstream.
15997 * lyx_cb.C: readd using std::ios.
15999 * buffer.C: add using std::map.
16001 * BufferView_pimpl.C: add using std::vector.
16003 * ShareContainer.h: add std:: to swap.
16005 * buffer.h: add some typedefs
16006 * buffer.C (getLists): use them
16007 (getLists): renamed from getTocList.
16008 add a counter for the different float types and use it in the
16010 (getLists): use the same counter for the NEW_INSETS and the "non"
16013 * lyx_cb.h: remove unused items, includes, using etc.
16015 * ShareContainer.h: remove some commented code, add more comments
16016 and "documentation".
16018 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16020 * buffer.C (getTocList): make the list also when NEW_INSETS is
16023 * buffer.h: remove TocType
16025 * buffer.C (getTocList): change to return a map<string,
16026 vector<TocItem> >, implement for dynamic number of list.
16028 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16029 * text2.C (PasteSelection): adjust
16030 * CutAndPaste.C (pasteSelection): adjust
16032 * FloatList.C (FloatList): update from the new_insets branch.
16033 * Floating.[Ch]: ditto
16034 * LaTeXFeatures.C: ditto
16036 * lyxlex_pimpl.C: ditto
16038 * paragraph.C (Last): remove when NEW_INSETS is defined.
16040 * other file: changes because of the above.
16042 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16044 * lyxparagraph.h: rename next to next_, previous to previous_,
16045 make them private for NEW_INSETS. Rename Next() to next(),
16046 Previous() to previous().
16048 * other files: changes because of the above.
16050 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16053 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16056 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16058 * main.C (main): pass lyx_localedir to gettext_init().
16060 * gettext.h: remove locale_init and gettext_init macros
16062 * gettext.C (locale_init): new function
16063 (gettext_init): new function
16065 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16068 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16070 * Moved credits to frontends:
16071 * credits.[Ch]: removed
16072 * credits_form.[Ch]: removed
16073 * lyx_gui_misc.C: remove credits stuff
16076 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16078 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16080 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16081 unneeded destructor.
16083 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16084 a standalone pointer again.
16086 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16088 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16094 * ToolbarDefaults.C:
16103 * BufferView_pimpl.C: use new file dialog in GUII
16106 * lyx_cb.C: remove LayoutsCB to Toolbar
16108 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16110 * ShareContainer.h (get): add std:: qualifier
16112 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16114 * ShareContainer.h: define a proper ShareContainer::value_type
16115 type (and use typename to please compaq cxx)
16117 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16119 * lyxparagraph.h: move serveral local vars to
16120 ParameterStruct/ParagraphParameters., use ShareContainer in
16121 FontTable., make vars in FontTable private and add getter and
16124 * paragraph.C: changes because of the above.
16126 * lyxfont.h: remove copy constructor and copy assignment. (the
16127 default ones is ok), move number inside FontBits. move inlines to
16130 * lyxfont.C: add number to initializaton of statics, move several
16131 inlines here. constify several local vars. some whitespace
16132 cleanup. Dont hide outerscope variables.
16134 * Spacing.h: add two new constructors to match the set methods.
16136 * ShareContainer.h: new file, will perhaps be moved to support
16138 * ParameterStruct.h: new file
16140 * ParagraphParameters.h: new file
16142 * ParagraphParameters.C: new file
16144 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16145 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16147 * BufferView_pimpl.C: ParagraphParameter changes.
16148 * buffer.C: Likewise.
16149 * bufferview_funcs.C: Likewise.
16150 * text.C: Likewise.
16151 * text2.C: Likewise.
16153 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16155 * lyxfind.C (LyXReplace): do not redefine default argument in
16157 (IsStringInText): ditto
16158 (SearchForward): ditto
16159 (SearchBackward): ditto
16161 2001-03-06 Juergen Vigna <jug@sad.it>
16163 * lyxfind.C (IsStringInText): put parentes around expressions.
16165 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16167 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16169 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16171 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16173 * stl_string_fwd.h: add comment
16175 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16178 * tabular.C: remove unused DocBook methods
16184 killed DO_USE_DEFAULT_LANGUAGE
16186 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16188 * lyx_gui.C: do not include language.h.
16190 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16191 arguments in function implementation.
16193 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16195 * BufferView_pimpl.C: add <ctime>
16197 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16199 * BufferView_pimpl.C: add using std::find_if
16201 2001-02-27 José Matos <jamatos@fep.up.pt>
16203 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16206 2001-02-11 José Matos <jamatos@fep.up.pt>
16208 * buffer.C (makeDocBookFile): command styles now have a parameter as
16209 "title" by default.
16211 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16213 * layout_forms.[Ch]: removed
16214 * lyx_cb.[Ch]: out character
16215 * lyx_gui.C: out character
16216 * lyx_gui_misc.C: out character
16217 * bufferview_funcs.C: : out character,
16218 added toggleall as parameter in ToggleAndShow
16220 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16222 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16224 * text2.C (SetCurrentFont): Disable number property at boundary.
16226 2001-02-26 Juergen Vigna <jug@sad.it>
16228 * lyxfunc.C (getStatus): added a string argument override function so
16229 that this is correctly called from LyXFunc::Dispatch if it contains a
16230 do_not_use_argument which is used!
16231 (Dispatch): added check for "custom" export and call appropriate func.
16233 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16235 * lyxrc.C: Add language_command_local, language_use_babel and
16236 language_global_options.
16238 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16240 * buffer.C (makeLaTeXFile): Use language_use_babel and
16241 language_global_options.
16243 2001-02-23 Juergen Vigna <jug@sad.it>
16245 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16246 which works with LyXText and putted it inside BufferView. Here now we
16247 only call for that part the BufferView::Dispatch() function.
16249 * BufferView.C (Dispatch): added.
16251 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16252 functions which needs to use a LyXText over from LyXFunc.
16253 (MenuInsertLyXFile): added
16254 (getInsetByCode): added
16255 (moveCursorUpdate): added
16256 (static TEXT): added
16258 2001-02-22 Juergen Vigna <jug@sad.it>
16260 * BufferView_pimpl.C (update): call a status update to see if LyXText
16263 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16265 * vc-backend.C (revert): implement for CVS
16266 (getLog): implement for CVS
16268 2001-02-20 Juergen Vigna <jug@sad.it>
16270 * text2.C (ClearSelection): added BufferView param for inset_owner call
16272 * lyxfunc.C (TEXT): added this function and use it instead of
16273 directly owner->view()-text of getLyXText().
16275 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16277 * src/layout_forms.C: out preamble
16278 * src/layout_forms.h: out preamble
16279 * src/lyx_cb.C: out preamble
16280 * src/lyx_cb.h: out preamble
16281 * src/lyx_gui.C: out preamble
16282 * src/lyx_gui_misc.C: out preamble
16283 * src/lyxfunc.C: connect with guii preamble
16285 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16287 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16289 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16291 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16292 whether to run bibtex.
16294 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16296 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16298 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16300 * Makefile.am (lyx_SOURCES): removed bibforms.h
16302 * vspace.h: doxygen
16304 * text.C (GetVisibleRow): make several local vars const
16306 * tabular.C: small cleanup.
16308 * lyxserver.C (callback): use compare instead of strncmp
16310 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16311 inlines to after class or to paragraph.C
16313 * lyxfont.h: remove friend operator!=
16315 * converter.h: move friend bool operator< to non friend and after
16318 * combox.h: small cleanup
16320 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16321 to inlines after class def.
16323 * buffer.C (pop_tag): use string operations instead of strcmp
16325 * bmtable.c: doxygen, small cleanup
16327 * LaTeX.h: remove friend operator==
16329 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16341 * BufferView_pimpl.C:
16342 * BufferView.[Ch]: remove cruft
16344 2001-02-14 Juergen Vigna <jug@sad.it>
16346 * lyxfunc.C: removed #if 0 unused code
16348 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16350 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16352 * text2.C (SetSelection): added a BufferView * parameter
16354 2001-02-13 Juergen Vigna <jug@sad.it>
16356 * lyxfunc.C (Dispatch): fixed protected blank problem.
16357 * BufferView2.C (protectedBlank): added LyxText * parameter.
16359 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16360 (AppendColumn): same as above for column_info.
16362 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16363 (moveCursorUpdate): use a LyXText param for support of InsetText.
16365 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16366 (tripleClick): ditto
16368 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16370 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16372 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16374 * text2.C (SetSelection): set correct update status if inset_owner
16375 (ToggleFree): ditto
16377 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16379 * tabular.C: remove some commented code.
16381 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16383 * BufferView_pimpl.C: call hideSplash()
16385 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16388 * bibforms.h: remove
16391 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16392 add LFUN_CHILD_CREATE
16394 * counters.h: fix tiny typo
16399 * lyx.C: move splash to frontends/xforms/
16401 * lyx_gui_misc.C: move Include and Bibform to frontends
16403 * lyxvc.h: clarify comment
16405 * vspace.C: tiny housekeeping
16407 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16409 * text.C (PrepareToPrint): RTL Fix.
16411 * paragraph.C (GetUChar): New method.
16412 (String): Use GetUChar.
16414 * buffer.C (asciiParagraph): Use GetUChar.
16416 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16418 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16420 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16423 * buffer.C: rename to getLogName(), handle
16424 build log / latex log nicely
16426 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16429 * MenuBackend.h: remove support for reference menuitem type.
16431 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16433 * BufferView_pimpl.C: housekeeping
16434 * BufferView_pimpl.h:
16439 * minibuffer.h: move Timeout GUI-I
16441 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16443 * lyxrc.C (read): Update converters data-structures.
16445 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16447 * LaTeX.h (operator!=): add operator != for Aux_Info
16449 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16451 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16453 * LaTeXLog.C: deleted, useful code moved to Buffer
16456 * buffer.C: new function getLatexLogName()
16462 * lyxfunc.C: use frontends for LaTeX and VC logs
16464 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16466 * LaTeX.h: yet another std:: that Allan forgot.
16468 * Variables.C (set): renamed from isset(), because this clashes
16469 with some HP-UX macros (grr).
16471 2001-02-06 Allan Rae <rae@lyx.org>
16473 * LaTeX.h: Another bug fix. Missing std:: this time.
16475 2001-02-04 Allan Rae <rae@lyx.org>
16477 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16478 floats problem. I've left it commented out because it's not quite
16479 correct. It should also test that the current object is a table or
16480 figure inset. But I haven't gotten around to figuring out how to do
16481 that. I *think* it'll be something like: "table" == inset.type()
16483 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16486 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16488 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16489 all the citation/databases/styles in the auxilary file.
16490 (run): Rerun latex if there was a babel language error.
16492 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16494 * text.C (Backspace): Preserve the font when changing newline char
16496 (BreakParagraph): If the cursor is before a space, delete the space.
16498 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16500 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16502 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16503 new argument (code).
16504 (ChangeCitationsIfUnique): New method.
16506 * paragraph.C (GetPositionOfInset): Handle bibkey.
16508 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16510 * BufferView_pimpl.h: change type of Position::par_pos to
16511 LyXParagraph::size_type.
16513 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16515 * BufferView_pimpl.C (savePosition, restorePosition): Write
16516 messages to minibuffer.
16518 2001-01-28 José Matos <jamatos@fep.up.pt>
16520 * buffer.C (makeDocBookFile): adds support for document language.
16521 A silly restriction on the name of LatexCommand types where removed.
16522 Added support for CDATA sections, allows to chars unescaped, used
16523 among others in code, to avoid escape < and >.
16525 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16527 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16528 saved positions instrad of a stack. Furthermore, a position is
16529 stored using paragraph id/paragraph position.
16531 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16532 Remove LFUN_REF_BACK.
16534 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16536 * converter.C (dvipdfm_options): New method.
16538 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16540 * vspace.C (isValidLength): Fix for empty input string.
16542 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16544 * LyXAction.C (init): change description of LFUN_FIGURE to
16547 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16549 * LaTeX.C: add using directive
16551 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16553 * MenuBackend.C (expand): Fix the sorting of the formats.
16555 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16557 * lyx_main.C: tiny error message fix
16559 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16561 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16562 calling fl_initialize(). This fixes the problem with ',' as
16563 decimal separator in text files.
16565 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16567 * trans.C (process): Fix the keymap bug.
16569 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16571 * LaTeX.C (scanAuxFiles): New method. Provides support for
16572 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16573 (scanLogFile) Scan for "run BibTeX" messages.
16575 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16576 OT1 font encoding. Also, load the aecompl package if the ae
16579 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16581 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16583 * texrow.C (increasePos): turn two error messages into debug
16586 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16588 * LaTeX.C (scanAux): Handle the \@input macro.
16589 (runBibTeX): Use scanAux().
16591 * language.C (latex_options_): New field.
16593 * LaTeXFeatures.C (getMacros): Add language macros.
16595 * buffer.C (makeLaTeXFile): Small fix.
16597 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16599 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16601 * text2.C: add a using directive.
16603 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16608 * lyxfunc.C: kill LyXBell.
16610 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16612 * text.C (IsBoundary): Remove the error message
16614 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16616 * lyxrc.C (setDefaults): Correct initialization value for
16619 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16621 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16624 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16625 and GotoNextNote().
16627 * src/LyXAction.C: Added reference-next.
16629 * text.C (InsertChar): Use contains instead of strchr.
16631 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16633 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16635 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16636 alignment commands (when needed).
16638 * text.C (InsertChar): Add ':' to number separator chars.