1 2004-12-03 José Matos <jamatos@lyx.org>
3 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
5 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
7 * cursor.C (goUpDown): remove call to idxUpDown2
9 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
11 * tabular.[Ch]: use size_t-like types for cell, row and column
14 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
16 * lyxfunc.C (getStatus): do not lose previous information when
17 calling BufferView::getStatus; do not set a default "Command
18 disabled" message at the beginning, but just before returning.
20 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
22 * cursor.h (getStatus): add better comment from src/cursor.C
24 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
26 * text3.C (getStatus): return false when the lfun is not handled
28 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
30 * broken_headers.h: remove
32 * Makefile.am (lyx_SOURCES): remove broken_headers.h
34 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
36 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
39 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
40 top_y_, merge fitcursor with update
41 (updateScrollbar, scrollDocView, fitCursor, center, update): new
44 (workAreaDispatch): adapt to new coord scheme
45 (redoCurrentBuffer): remove
47 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
49 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
52 * coordcache.[Ch]: add paragraph cache and helpers
54 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
57 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
58 (targetX, setTargetX): introduce
60 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
61 baseline -> ascent, as the rest of lyx
63 * lyxtext.h: remove redoParagraphs, updateParPositions,
64 fullRebreak, redoParagraphInternal. move dist to anon namespace in
65 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
66 have ascent/descent (ascent is ascent of first par)
68 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
71 * paragraph.[Ch]: unify dimension handling with the rest of lyx
73 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
75 * pariterator.C: fix infinite loop introduced in par->pit renaming
77 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
78 in insets and LyXText, draw two off-screen paragraphs using
79 NullPainter, and adapt to new coord scheme
83 * text3.C: adapt lfun handlers to the new coord scheme, which
84 means: there's only guaranteed coord information for onscreen pars
85 plus one above and one below. This implies that one can do search
86 from y coordinates in the range [-1,workHeight]
88 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
90 * rename a lot of InsetOld to InsetBase
92 2004-11-25 Angus Leeming <leeming@lyx.org>
96 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
98 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
100 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
101 call BufferView::getStatus if LCursor::getStatus did nothing
102 (setStatusMessage, getStatusMessage): removed.
104 * FuncStatus.C (message): new methods. Used to provide an error
105 message indicating why a command is disabled.
106 (clear, |=, FuncStatus): update for message.
108 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
110 * lyxfunc.C (dispatch): always call sendDispatchMessage
112 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
115 * BufferView_pimpl.C:
129 * undo.C: par->pit renaming
131 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
133 * tabular.C (cellstruct): use initialization, store a shared_ptr
134 to insettext instead of the insettext directly, adjust to fit.
135 (operator=): new function
137 (rowstruct): use initialization
138 (columnstruct): use initialization
139 (ltType): use initialization
142 * lyxlength.h (swap): new function
144 * LColor.[Ch] (operator=): use the common semantics
146 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
148 * lyxfind.C (findNextChange): update the bufferview after setting
151 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
153 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
154 number of InsetOptArgs has already been inserted.
156 * output_latex.C (latexOptArgInsets): new method. This outputs all
157 the optarg insets, up to the limit defined in the layout file.
158 (optArgInset): removed
159 (TeXOnePar): call latexOptArgInsets; correctly update texrow
161 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
163 * paragraph.C (isLetter): remove special spellchecker-related
164 code; return true also for digits
165 (isWord, isKomma): remove
167 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
168 * lyxfind.C (MatchString()): use isLetter instead of isWord
170 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
172 * pariterator.h (operatir=): comment out un-implemented member
175 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
178 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
180 * lyxfont.h: include LColor.h to satisfy concept checks.
182 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
184 * pariterator.h: add typdefs for value_type, difference_type,
185 pointer and reference to satisfy concept checks. Also add default
186 constructor for same reason.
188 * pariterator.C (operator++): add post-increment operator to
189 satisfy concept checks.
191 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
194 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
196 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
197 checks. Also rename base_type to BaseType to follow naming
200 * FloatList.h: include Floating.h to satisfy concept checks.
202 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
204 * lyxfunc.C (getStatus): when the origin of the request is menu or
205 toolbar, and the LyXView does not have focus, do as if there was
208 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
209 FuncRequest to individual entries of LFUN_SEQUENCE
211 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
213 * output_latex.C (TeXOnePar): override runparams.moving_arg
214 according to the needprotect value of the current paragraph (bug
217 * paragraph.C (simpleTeXOnePar): no need to override
218 runparams.moving_args here
220 2004-11-14 John Spray <spray_john@users.sourceforge.net>
222 * vspace.C: fix off-by-one-error, related to fix #1682
224 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
226 * lengthcommon.C: a more general fix for bug 1682
228 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
230 * text.C (backspace): fix crash
232 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
234 * format.[Ch] (getFormatFromFile): new method
235 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
237 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
239 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
241 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
243 * lyxfunc.C (dispatch): remove the verbose argument
244 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
247 * kbmap.C (defkey): set the origin of func to KEYBOARD
249 * MenuBackend.C (MenuItem):
250 * ToolbarBackend.C (add): set the origin of func to UI
252 * funcrequest.[Ch]: add origin member, which indicates which part
253 of LyX requests an action
255 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
257 * converter.C (move): don't lie in the error message
258 * converter.h (isReachable, move): document
260 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
262 * buffer.C: remove unused using lyx::support::atoi
263 * paragraph_funcs.C: ditto
265 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
267 * bufferlist.C (exists): use bind and equal_to instead of
270 * lyxtextclasslist.C (NumberOfClass): ditto
272 * cursor.C (insert): use for_each instead of explicit for loop
274 * bufferlist.C (getFileNames): use std::transform and
275 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
277 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
280 * buffer.C (changeLanguage): use for_each instead of explicit for
282 (hasParWithID): implement using getParFromID
284 * LaTeXFeatures.C: ws change only
286 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
289 * BufferView_pimpl.C (trackChanges): use for_each instead of
292 2004-11-04 André Pönitz <poenitz@gmx.net>
295 * undo.C (textUndoOrRedo): fix crash when creating undo information.
297 * dociterator.C (asDocIterator): use hard assert again.
299 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
301 * lyxlength.C (asLatexString): rewrite so that it does not use
304 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
306 * text3.C (specialChar, dispatch): make sure cursor moves to the
307 right after inserting an inset
309 2004-11-02 José Matos <jamatos@lyx.org>
311 * output_docbook.C (docbook):
312 * paragraph.C (getID):
313 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
314 garantee that the output is always legal.
316 * tabular.C (docbook):
317 * outputprams.[Ch]: remove mixed contents.
319 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
321 * text2.C (setCounter): prevent endless loop
323 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
325 * exporter.C (copyFile): use the mover instead of support::copy()
326 * exporter.C (Export): pass format and latex name to copyFile()
327 * exporter.h (addExternalFile): document
328 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
330 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
332 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
334 2004-10-30 José Matos <jamatos@lyx.org>
336 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
337 text and no inset or font change. This allows to use CDATA
338 sections just for the whole paragraph.
340 2004-10-30 José Matos <jamatos@lyx.org>
342 * paragraph.C (getFirstWord): remove unused variable.
344 2004-10-30 José Matos <jamatos@lyx.org>
346 * paragraph.C (getFirstWord): the content should always be escaped
348 (simpleDocBookOnePar):
349 * output_docbook.C (makeEnvironment): replace reference to CDATA
352 2004-10-30 José Matos <jamatos@lyx.org>
354 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
356 2004-10-30 José Matos <jamatos@lyx.org>
358 * output_docbook.C (makeParagraphs):
359 * paragraph.[Ch] (emptyTag): for docbook and company, if the
360 standard paragraph has only a given type of content drop the wrapper.
362 2004-10-29 José Matos <jamatos@lyx.org>
364 * output_docbook.C (makeEnvironment):
366 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
368 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
370 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
371 (cleanID): sanitize any id.
373 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
375 * buffer.C, lyxlex_pimpl.C:
376 * lyxlex_pimpl.C (setFile):
377 s/getExtFromContents/getFormatFromContents/
379 2004-10-28 José Matos <jamatos@lyx.org>
381 * output_docbook.C (makeEnvironment): move id to broadest possible
384 * sgml.C (openTag): apply substitution of <> for all attributes.
386 2004-10-28 José Matos <jamatos@lyx.org>
388 * buffer.C (makeLinuxDocFile, makeDocBookFile):
389 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
390 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
392 * sgml.[Ch]: new version for open and closeTag for paragraph and
393 for strings. Now they handle the ids of paragraphs.
395 2004-10-26 Angus Leeming <leeming@lyx.org>
397 * Makefile.am: add mover.[Ch].
399 * converter.C (convert, move): use the new Movers to move external
400 files to the temp directory.
402 * lyx_main.C (init): ensure that the global system_movers data
405 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
408 * mover.[Ch]: new files, defining a Mover as a utility to move an
409 external file between directories and, if necessary, manipulate this
410 file using a helper script.
412 2004-10-25 José Matos <jamatos@lyx.org>
414 * output_docbook.C (makeCommand): merge two if's that tested the
417 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
419 * sgml.C (escapeString): fix warning in a better way
421 2004-10-25 José Matos <jamatos@lyx.org>
423 * sgml.C (escapeString): import the require boosts header file for
424 tie, and avoid a signed unsigned comparison.
426 2004-10-25 José Matos <jamatos@lyx.org>
428 * sgml.h: add #include <string>
430 2004-10-25 José Matos <jamatos@lyx.org>
432 * sgml.[Ch] (escapeString): new function to escape all the string.
434 2004-10-24 José Matos <jamatos@lyx.org>
436 * paragraph.[Ch] (getFirstWord): new function to get the first
437 word. Useful for description.
438 (simpleDocBookOnePar): remove depth argument, add another that
439 says where to start the paragraph.
441 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
442 use the new functions to fix cleanly the support for descriptions.
444 2004-10-24 José Matos <jamatos@lyx.org>
446 * buffer.C (makeLinuxDocFile, makeDocBookFile):
447 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
448 * output_linuxdoc.C (linuxdocParagraphs):
449 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
450 add buffer as argument.
452 2004-10-24 José Matos <jamatos@lyx.org>
454 * output_docbook.C (makeEnvironment, searchEnvironment): place
455 CDATA inside paragraphs and fix scope for listitems.
457 2004-10-24 José Matos <jamatos@lyx.org>
459 * output_docbook.C: remove using statement for stack.
461 2004-10-23 José Matos <jamatos@lyx.org>
463 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
464 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
465 docbook. The new scheme is recursive and makes use of iterators, the
466 same as latex export works.
467 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
468 directly with the paragraph contents. This code was moved up to
469 output_docbook.C (docbookParagraphs).
470 * sgml.C (openTag, closeTag): removed unneeded newlines.
471 (closeEnvTags) removed.
473 2004-10-23 André Pönitz <poenitz@gmx.net>
475 * undo.C (textUndoOrRedo):
476 * dociterator.C (asDocIterator): work around crash
478 * cursor.C (getStatus): replace ASSERT by more verbose error message
479 and manual correction of the problem. Should increase stability
480 while providing more sensible information.
482 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
484 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
486 * bufferlist.C (previous, next): new methods
489 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
491 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
493 * buffer.C (makeDocBookFile): add dsssl stylesheet control
494 entities to preamble.
496 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
498 * messages.C (Pimpl): strip off translation context information
500 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
502 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
503 the cursor is correct (bug 1694)
505 2004-10-13 José Matos <jamatos@lyx.org>
507 * output_docbook.C (docbookParagraphs): fix closing tags in the
510 2004-10-09 José Matos <jamatos@lyx.org>
512 * buffer.C: format up to 237.
513 * bufferparams.C (write): use tostr to convert booleans to strings.
515 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
517 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
519 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
521 * LaTeX.C: implement use of babel language in xindy.
523 2004-10-05 José Matos <jamatos@lyx.org>
525 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
526 Add new translators to help reading and writing the lyx file.
528 2004-10-05 José Matos <jamatos@lyx.org>
530 * ParagraphParameters.C (read):
531 * text.C (readParToken): replace nexToken by more appropriate lex
534 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
536 * LaTeX.C (runMakeIndex):
537 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
538 (usually 'makeindex') configurable.
540 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
541 with a variable rather than with a number.
543 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
545 * output_latex.C (TeXOnePar): make sure font setting is the first
546 thing that gets output (and the last at the end). Should fix bug
549 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
551 * pch.h: use proper signal include
553 * LaTeX.h: Use preferred calling of Boost.Signal
556 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
558 * pch.h: dont include <boost/function/function0.hpp>
560 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
562 * paragraph_pimpl.h: remove usage of ShareContainer
564 * paragraph_pimpl.C: remove initialization of ShareContainer.
566 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
570 * BufferView.C (putSelectionAt): change the semantics when
571 backwards == true: now, this just swaps cursor and anchor wrt the
574 * BufferView.h (putSelectionAt): add some documentation
576 * lyxfind.C (findBackwards): rewrite using while(). In particular,
577 make sure backwardChar is done at least once (to avoid getting
579 (findNextChange): use putSelectionAt in the forward direction
580 (operator()): use Paragraph::isWord
582 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
584 * Spacing.C (set): c_str fix
586 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
588 * lyx_cb.C (Reconfigure): quote the name of configure script in
589 case it contains spaces
591 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
595 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
596 (BOOST_LIBS): use top_buildir when looking for the file
598 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
600 * pch.h: do not use include boost/format.hpp, multiple symbols
601 will result (gcc bug)
604 2004-08-23 José Matos <jamatos@lyx.org>
606 * bufferparams.C (readToken): fix reading of the author field.
608 2004-08-20 José Matos <jamatos@lyx.org>
610 * lyxrc.C: remove support/translator.h inclusion since it is not used.
612 2004-08-20 José Matos <jamatos@lyx.org>
614 * lyxlex.[Ch] (findToken): remove function.
616 * ParagraphParameters.C (findToken):
617 * bufferparams.C (findToken): replace call for previous function
618 with local copy. This local function has one more argument, the
619 read string argument.
621 2004-08-16 José Matos <jamatos@lyx.org>
623 * ParagraphParameters.C (write):
624 * Spacing.C (writeFile):
625 * bufferparams.C (writeLaTeX):
626 * lyx_cb.C (Reconfigure):
627 * paragraph.C (write):
628 * tabular.C (write): remove unnecessary space at end of line.
631 2004-08-16 José Matos <jamatos@lyx.org>
633 * text.C (readParagraph): remove debug message.
635 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
637 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
640 * output_plaintext.C (asciiParagraph): set depth correctly
642 * outputparams.h: add member depth
644 * paragraph_funcs.C (ownerPar): remove.
646 * text2.C (setCounter): remove first_pit; comment out some
647 non-working code that uses ownerPar
649 * BufferView.C (getParentLanguage): remove. Not used anymore, and
652 2004-08-16 José Matos <jamatos@lyx.org>
654 * text.C (readParToken, readParagraph, read): report all unknown tokens.
655 For the same level of importance use the same chanel to report problems.
656 (read): add code to deal with \begin_body and \end_body.
659 2004-08-15 José Matos <jamatos@lyx.org>
661 * lyxlex.C (getString): fix comment, buffer::readBody is now
664 * tex-strings.C (string_papersize): Default -> default,
665 Custom -> custom, for consistency with other options.
667 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
671 * Makefile.am: support pch
673 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
675 * text.C (readParToken): remove the static LyXFont variable and
676 pass it as a parameter instead. This fixes a nasty bug where an
677 inset will be inserted with a bad font in some situations
678 (readParagraph): adapt
680 * text2.C (setCounter): reduce number of calls to pars_[pit]
682 * text.C (singleWidth): add an assert, fix a test
684 * rowpainter.C (paintText): reduce number of calls to singleWidth
686 * paragraph.C (isHfill):
689 2004-08-14 André Pönitz <poenitz@gmx.net>
694 * lyxtext.h (several functions): use a Paragraph & argument
697 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
699 * metricsinfo.h: add a new field ltr_pos to PainterInfo
701 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
703 * text.C (singleWidth): remove useless test
705 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
707 * tabular.h: remove bogus comments
709 * tabular.C (getDescentOfRow):
710 (isPartOfMultiColumn): add assertions
712 * lyxlength.C (inPixels): remove #warning
714 2004-08-14 André Pönitz <poenitz@gmx.net>
716 * paragraph.h: inline getChar()
718 * BufferView.h: remove unused declarations
720 2004-08-14 José Matos <jamatos@lyx.org>
722 * Buffer.[Ch] (readDocument): new name for old readBody.
723 * Buffer.C: new file format, new keywords: \begin_document,
724 \begin_header, \begin_body, \end_body.
726 * bufferparams.C (readToken): replace all calls to lex.nextToken
727 by lex.next(). Do the same to eatLine except where really needed.
729 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
730 line when writing to the lyx file.
732 * output_plaintext.C (asciiParagraph): fix Bibliography style
735 * text.C (read): fix end of file handling.
737 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
739 * MenuBackend.C (Menu::operator[]): new method to access
740 individual menu items
741 (Menu::hasFunc): new method. search for an item that corresponds
743 (MenuBackend::specialMenu): new method
744 (MenuBackend::expand): if a special menu has been set, skip
745 entries whose func() appears in this menu
747 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
749 * text3.C: use Debug::DEBUG a bit more
751 * text.C (leftMargin): try to simplify a tiny bit change var x to
752 l_margin. Dont output the wide margins always.
753 (rightMargin): no margin in inner texts
755 * rowpainter.h (nestMargin): new func
756 (changebarMargin): new func
757 (rightMargin): new func
759 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
763 * factory.C (createInset): modify setDrawFrame
765 * cursor.C: use Debug::DEBUG a bit more
767 2004-08-14 André Pönitz <poenitz@gmx.net>
770 * Makefile.am: new files to accomodate an 'external' (x,y)-position
771 cache for all insets in (at least partially) visible (top-level)
774 * BufferView_pimpl.C: reset external coord cache before every update.
775 This means the coord cache only contains valid entries.
777 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
780 * BufferView_pimpl.C (getInsetByCode): move function out of class
781 and change in to a template in anon namespace. Also fix to do what
784 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
787 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
789 (breakParagraph): rename par to par_offset and use a local
790 reference. Add code to keep the language over a rebreak.
791 (breakParagraphConservative): rename par to par_offset, use a
793 (mergeParagraph): ditto
795 (isFirstInSequence): ditto
796 (outerFont): rename pit to par_offset
798 * paragraph.C: ws change
803 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
805 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
808 * paragraph.C (simpleTeXOnePar): when we have a \item with
809 optional argument, enclose the argument with curly brackets (in
810 case it contains a closing square bracket)
814 * text3.C (checkInsetHit): constify
816 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
818 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
821 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
823 Fix toggling of collapsable insets with the mouse (bug 1558)
825 * lyxfunc.C (dispatch): adapt to LCursor changes
827 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
828 make sure that dispatch is not invoked twice
830 * cursor.C (needsUpdate): new method
831 (dispatch): return void
832 (result): new method, to access the DispatchResult of the cursor.
834 2004-08-13 José Matos <jamatos@lyx.org>
836 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
838 2004-08-13 André Pönitz <poenitz@gmx.net>
840 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
842 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
845 2004-08-12 André Pönitz <poenitz@gmx.net>
847 * text3.C: take out the 'cursor right' form insertInset and only
848 do it in those places when it is really needed. Fixes crash on
851 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
853 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
855 * BufferView_pimpl.C (setBuffer): initialize the current font of
856 the underlying LyXText
858 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
860 * kbsequence.C (print): use UI native formatting for menu
863 * text.C (insertChar): call Paragraph::insertChar with a font
866 * paragraph.C (insertInset, insertChar): the version that takes a
867 LyXFont argument is now a wrapper around the other one (the
868 opposite used to be true).
870 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
871 argument. Font setting is done in Paragraph now.
873 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
875 * outputparams.h: add new members intitle and lang.
877 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
878 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
880 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
882 * text3.C (dispatch): remove special handling of button 4 and 5,
883 it is now taken care of in the frontend code.
885 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
887 * Spacing.h: add <string> (STLPort compile fix)
889 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
891 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
893 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
895 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
898 * converter.C (showMessage): inherit from unary_function, make
901 * buffer.C (writeFile): initialize retval
903 * InsetList.h: rename private variable list to list_
904 * InsetList.[Ch]: adjust accordingly.
906 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
908 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
909 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
910 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
911 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
912 * ParagraphParameters.C, LaTeXFeatures.C: replace
913 "support/std_sstream.h" with <sstream>
915 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
917 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
918 * lyxsocket.C (LyXServerSocket): ditto
919 (serverCallback): ditto
921 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
923 * LaTeXFeatures.C: check release date when loading jurabib.
925 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
927 * lyxserver.C (startPipe): call register_socket_callback
928 (endPipe): call unregister_socket_callback
930 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
932 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
933 (LyXServerSocket): register the callback
934 (LyXServerSocket): unregister the callback
935 (fd): delete function
936 (serverCallback): improve error checking and setup the callbacks.
937 (dataCallback): change arg to fd.
938 (writeln): new func (copied fro the client socket) used for server
940 (LyXDataSocket): simplify
941 (~LyXDataSocket): close ann unregiser callback
942 (server): delete function
943 (fd): delete function
944 (readln): small changes, improve some std::string usage
945 (writeln): constify a bit
947 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
949 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
952 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
954 * BufferView_pimpl.C (setBuffer): set the layout combox value only
955 after it has been populated
957 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
959 * text2.C (insertInset): move cursor when inserting inset.
961 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
963 * kbmap.C (findbindings): a couple of new methods. returns a
964 container of kb_sequence objects. The real work is done by the
965 private recursive version
966 (printbindings): uses findbindings to print out a bracketed list
967 of bindings (renamed from findbinding).
969 * MenuBackend.C (binding): use kb_keymap::findbindings
971 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
973 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
975 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
977 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
979 * paragraph.C (isWord): return true on insets that report
982 * text.C (getWord): use Paragraph::isWord to decide what is in a
983 word and what is not; fix bug 1609.
985 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
987 * tex-strings.C: add "none" to string_paperpackages[], fixes
988 off-by-one-error in the paperpackage selection.
991 * tex-strings.[Ch]: char const * string[n]
992 -> char const * const string[]
994 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
996 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
997 command, return early.
999 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1001 * debug.h: add DEBUG to enum and fix size of ANY.
1003 * debug.C: add support for Debug::DEBUG
1004 (showTags): cast errorTags.level to unsigned int
1006 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1007 (redoCurrentBuffer): ditto
1008 (updateScrollbar): ditto
1009 * cursor.C (dispatch): ditto
1010 * text2.C (setLayout): ditto
1012 (updateCounters): ditto
1014 (deleteEmptyParagraphMechanism): ditto
1016 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1018 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1019 annotations to cleanup the Makefile slightly.
1021 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1023 * lyxrc.C: do not set user_email to a default value but use empty
1024 instead. The entry used to be translated, which does not work
1025 since at the point where lyxrc is constructed there is no
1026 translation service available
1028 * messages.C (getLocaleDir): remove and use directly
1029 lyx_localedir() instead
1031 2004-06-02 Angus Leeming <leeming@lyx.org>
1033 Fix crash caused by dereferencing null pointer 'exportdata' in
1034 OutputParams by creating a new ExportData variable on the heap,
1035 storing it in a boost::shared_ptr.
1036 The crash was triggered when generating an Instant Preview
1037 of an external inset.
1039 * Makefile.am: add outputparams.C
1041 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1042 (c-tor): allocate memory to it.
1044 * exporter.C (c-tor): associated changes.
1046 2004-06-01 Angus Leeming <leeming@lyx.org>
1048 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1049 contains data before calling isInset(0). (Bug 1513.)
1051 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1053 * exporter.C (checkOverwrite): new method
1054 * exporter.C (copyFile): new method
1055 * exporter.C (Export): copy referenced files to the document dir
1056 * exporter.[Ch]: new class ExportedFile
1057 * exporter.[Ch]: new class ExportData. Contains currently the
1058 names of referenced external files
1059 * outputparams.h: add exportdata member.
1061 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1063 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1066 2004-05-19 Angus Leeming <leeming@lyx.org>
1071 * lyxfunc.C: small changes due to the introduction of namespace
1072 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1074 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1076 * text3.C (dispatch): supress update when only moving the cursor
1077 * cursor.C (selHandle): remove commented code
1079 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1081 * paragraph.C (startTeXParParams): correct column count
1082 * CutAndPaste.C (pasteSelection): remove const_cast
1083 * output_docbook.C (docbookParagraphs): remove const_cast
1084 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1085 const_cast and return ParagraphList::const_iterator
1086 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1087 * output_plaintext.C (writeFileAscii): remove const_cast
1088 * paragraph.[Ch] (simpleTeXOnePar): make const
1089 * paragraph_funcs.C (outerPar): use const iterators
1090 * paragraph_pimpl.C (validate): use const iterators
1091 * text.C (setHeightOfRow): use const iterators
1093 2004-05-17 Angus Leeming <leeming@lyx.org>
1096 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1098 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1099 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1100 if the citation engine has changed.
1102 2004-05-14 José Matos <jamatos@lyx.org>
1104 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1105 if the textclass does not provide it. Have it different for sgml and
1107 support the language of document.
1108 * output_docbook.C (docbookParagraphs):
1109 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1110 first anchor as the id of the paragraph, remove special case code.
1111 * sgml.C (escapeChar): escape only < & >.
1113 2004-05-14 Angus Leeming <leeming@lyx.org>
1115 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1116 dependencies on src/frontends/controllers/biblio.h. Define a
1117 CiteEngine_enum wrapper class to enable the enum to be forward
1120 2004-05-12 Angus Leeming <leeming@lyx.org>
1122 * buffer.C: up LYX_FORMAT to 234.
1123 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1124 use_numerical_citations with a single biblio::CiteEngine cite_engine
1126 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1128 2004-05-13 José Matos <jamatos@lyx.org>
1131 * converter.C (Converter, readFlags): add xml member.
1132 * outputparams.h: add XML flavor.
1133 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1135 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1137 * lyxfunc.C (dispatch):
1138 (getStatus): fix handling of LFUN_SEQUENCE
1140 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1142 * debug.C (showLevel): do not forget the end-of-line marker
1144 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1146 * kbmap.C (read): do not stop parsing a bind file when an error
1149 2004-04-29 Angus Leeming <leeming@lyx.org>
1154 * text2.C: wrap a bunch of #warning statements
1155 inside #ifdef WITH_WARNINGS blocks.
1157 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1159 * buffer.C: increment format to 233.
1161 2004-04-28 Angus Leeming <leeming@lyx.org>
1163 * BufferView_pimpl.C:
1166 s/updateToolbar()/updateToolbars()/
1167 s/Toolbar.h/Toolbars.h/
1169 2004-04-28 Angus Leeming <leeming@lyx.org>
1171 * BufferView.[Ch] (c-tor):
1172 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1173 No longer passes these data to the WorkArea generator.
1175 2004-04-28 Angus Leeming <leeming@lyx.org>
1177 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1179 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1181 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1183 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1185 * output_latex.C (TeXEnvironment): make sure that there is a line
1186 break before \end{foo} for the last paragraph of a document
1187 (TeXOnePar): if the paragraph is at the end of the document (or
1188 inset) and the language has to be reset, then make sure that the
1189 line break is _before_ the language command, not after (fixes bug
1190 1225); also make sure that the language reset command is the first
1191 thing after the paragraph (to ensure proper nesting of
1192 environments and thus fix bug 1404)
1194 2004-04-21 John Levon <levon@movementarian.org>
1197 * ToolbarBackend.C: make "name" be a programmatic name
1198 and a gui_name field.
1200 * lyxfunc.C: display the minibuffer on M-x
1202 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1204 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1207 2004-04-19 Angus Leeming <leeming@lyx.org>
1209 * BufferView_pimpl.C (setBuffer): changed preview interface.
1211 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1214 2004-04-19 John Levon <levon@movementarian.org>
1216 * BufferView_pimpl.C:
1217 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1219 2004-04-05 Angus Leeming <leeming@lyx.org>
1221 * text.C (redoParagraphs): add call to updateCounters(), thereby
1222 fixing the missing "Figure #:" label from the caption of a
1225 2004-04-13 Angus Leeming <leeming@lyx.org>
1227 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1228 cursor is clicked out of an inset.
1230 2004-04-13 Angus Leeming <leeming@lyx.org>
1232 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1233 than an InsetOld one.
1235 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1237 * format.[Ch]: add editor to Format
1238 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1239 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1241 2004-04-08 André Pönitz <poenitz@gmx.net>
1243 * metricsinfo.h: remove PainterInfo::width member
1245 2004-04-08 Angus Leeming <leeming@lyx.org>
1247 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1248 "\providecommand" rather than "\newcommand", thereby preventing
1249 clashes with packages that define "\boldsymbol" themselves.
1252 2004-04-08 Angus Leeming <leeming@lyx.org>
1254 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1255 thereby squashing an unnecessary warning.
1257 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1259 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1262 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1264 * BufferView.C (setCursor): call redoParagraph (some insets could
1266 (putSelectionAt): remove the 'double update' trick
1268 * BufferView_pimpl.C (fitCursor): call refreshPar
1269 (workAreaDispatch): remove an uneeded update call
1270 (dispatch): remove some manual update calls
1272 * cursor.[Ch]: remove cached_y_, updatePos
1273 (selHandle): set noUpdate when appropriate
1275 * lyxfunc.C (dispatch): track if we need an update
1277 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1279 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1280 (paintSelection): cheap optimization, do not call cursorX when not
1282 (paintPars): change signature
1285 (paintTextInset): adjust
1289 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1291 * lengthcommon.C: compilation fix: remove explicit array size from
1292 unit_name[] and friends
1294 2004-04-05 Angus Leeming <leeming@lyx.org>
1296 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1298 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1299 present only for the preferences dialog.
1300 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1302 2004-04-05 Angus Leeming <leeming@lyx.org>
1304 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1305 to enable the frontends to export changes to lyxrc correctly.
1307 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1309 2004-04-07 André Pönitz <poenitz@gmx.net>
1311 * cursor.[Ch] (selClear, adjust): remove math
1313 * cursor_slice.C: more agressive assert
1316 * BufferView_pimpl.C: rework mouse event dispatch
1323 2004-04-05 André Pönitz <poenitz@gmx.net>
1325 * cursor.[Ch] (valign, halign...): remove unneeded functions
1327 2004-04-05 Angus Leeming <leeming@lyx.org>
1329 * lyxlength.[Ch] (unit_name et al.): const-correct.
1331 2004-04-05 Angus Leeming <leeming@lyx.org>
1333 * BufferView_pimpl.C:
1342 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1344 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1346 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1348 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1350 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1351 * BufferView_pimpl.[Ch] (getStatus)
1352 * BufferView.[Ch] (getStatus): add
1353 * lyxfunc.C (getStatus): move lfuns handled in
1354 BufferView::dispatch to te function above
1355 * Cursor.C (setSelection): set selection() = true
1357 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1359 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1361 2004-03-31 Angus Leeming <leeming@lyx.org>
1363 * lyxfunc.C (dispatch): Fall through to the generic
1364 Dialogs::show("preamble").
1366 2004-03-31 Angus Leeming <leeming@lyx.org>
1368 * lyxfunc.C (dispatch): Fall through to the generic
1369 Dialogs::show("spellchecker").
1371 2004-03-31 Angus Leeming <leeming@lyx.org>
1373 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1376 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1381 * insetiterator.[Ch]:
1386 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1388 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1390 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1391 insets where we are putting the cursor.
1393 2004-03-31 Angus Leeming <leeming@lyx.org>
1396 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1398 * lyxrc.[Ch] (read, write): overloaded member functions taking
1399 a std::[io]stream arguments.
1401 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1403 2004-03-31 Angus Leeming <leeming@lyx.org>
1405 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1406 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1408 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1409 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1411 2004-03-31 Angus Leeming <leeming@lyx.org>
1413 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1414 the LFUN_ALL_INSETS_TOGGLE code.
1416 2004-03-30 Angus Leeming <leeming@lyx.org>
1418 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1419 has died. Fall through to the generic Dialogs::show("document").
1421 2004-03-30 Angus Leeming <leeming@lyx.org>
1424 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1425 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1427 * lyxfunc.C (getStatus, dispatch): define the actions for these
1428 lfuns. Little more than a cut and pste job from ControlDocument.C
1430 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1432 2004-03-30 Angus Leeming <leeming@lyx.org>
1435 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1436 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1438 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1439 open/closed state of ollapsable insets. Usage:
1441 all-inset-toggle <state> <name>, where
1442 <state> == "open" || "closed" || "toggle" and
1443 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1445 * lyxtext.h, text2.C (toggleInset): removed.
1447 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1448 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1449 now passes LFUN_INSET_TOGGLE to the found inset.
1451 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1452 is now invoked as "all-insets-toggle toggle branch".
1454 2004-03-30 Angus Leeming <leeming@lyx.org>
1458 * pariterator.[Ch]: added/corrected header blurb.
1460 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1462 * dociterator.[Ch]: add an inset_ member
1463 (backwardPos): implemented
1464 (backwardPos, forwardPos): use inset_ when the stack is empty.
1465 (doc_iterator_begin, doc_iterator_end): implemented
1466 * pariterator.[Ch]: adjust, add begin, end
1467 * insetiterator.[Ch]: adjust, add begin, end
1471 * BufferView_pimpl.C:
1472 * CutAndPaste.C: adjust
1474 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1476 * buffer.C: increment file format to 232.
1477 * LaTeXFeatures.C: add bibtopic package.
1478 * bufferparams.[Ch]: param \use_bibtopic.
1480 * lyxrc.[Ch]: add lyxrc bibtex_command
1481 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1483 * buffer.C: increment file format to 231.
1485 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1487 * dociterator.C: implement forwardPar
1488 * iterators.[Ch]: remove, replaced by
1489 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1491 * BufferView_pimpl.C:
1494 * bufferview_funcs.C:
1500 * Makefile.am: adjust
1502 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1504 * CutAndPaste.C (pasteSelection): fix 2 crashes
1505 (eraseSelection): fix a crash
1506 * paragraph_funcs.C: remove a warning
1508 2004-03-28 Angus Leeming <leeming@lyx.org>
1511 * LyXAction.C (init): new LFUN_PRINT.
1513 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1515 2004-03-27 Angus Leeming <leeming@lyx.org>
1518 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1520 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1522 2004-03-27 Angus Leeming <leeming@lyx.org>
1524 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1525 insetlist always contains non-null pointers to insets.
1527 2004-03-26 Angus Leeming <leeming@lyx.org>
1529 * src/BufferView_pimpl.C:
1530 * src/CutAndPaste.C:
1533 * src/output_plaintext.C:
1534 * src/outputparams.h:
1535 * src/paragraph_funcs.C:
1539 * src/frontends/controllers/ControlErrorList.C:
1540 * src/frontends/gtk/FileDialogPrivate.C:
1541 * src/frontends/gtk/GPainter.C:
1542 * src/frontends/gtk/GToolbar.C:
1543 * src/frontends/qt2/QRef.C:
1544 * src/mathed/math_scriptinset.C: squash compiler warnings.
1546 2004-03-26 Angus Leeming <leeming@lyx.org>
1548 * ispell.C (LaunchIspell::start):
1549 * lyx_cb.C (AutoSaveBuffer::start):
1550 invoke run(DontWait) rather than runNonBlocking().
1552 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1554 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1556 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1558 * kbsequence.C (print): adjust
1560 * kbmap.C (printKeySym): rename and change signature
1561 (printKey): use LyXKeySym::print()
1563 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1565 * undo.C: add using std::advance to compile for stlport
1567 2004-03-24 Angus Leeming <leeming@lyx.org>
1569 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1570 it leads to a crash when no buffer is present.
1572 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1573 Martin Vermeer <martin.vermeer@hut.fi>
1575 * lyxfunc.C (dispatch):
1576 * bufferparams.C (readToken): use the new LColor::setColor
1578 * LColor.[Ch] (setColor): new version that takes two strings as
1579 argument and creates a new color entry if necessary
1581 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1583 * buffer.C (makeLaTeXFile): if the main latex file that is
1584 processed is usually a subdocument of some master, then pretend
1585 for a while that it is actually the master
1587 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1589 * buffer.C (getLabelList):
1590 (getBibkeyList): use getMasterBuffer()
1591 (getMasterBuffer): new method. Returns the main document in the
1592 case where one is using included documents.
1594 2004-03-25 André Pönitz <poenitz@gmx.net>
1598 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1600 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1602 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1603 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1605 * ParameterStruct.h: merge with ParagraphParameters
1607 * lyxtext.h: remove LyXText::parOffset() and getPar()
1609 * text3.C: Remove all 'manual' update calls. We do now one per user
1610 interaction which is completely sufficient.
1614 * BufferView_pimpl.C:
1615 * FontIterator.[Ch]:
1617 * ParagraphParameters.[Ch]:
1622 * cursor_slice.[Ch]:
1629 * output_docbook.[Ch]:
1630 * output_latex.[Ch]:
1631 * output_linuxdoc.[Ch]:
1632 * output_plaintext.[Ch]:
1634 * paragraph_funcs.[Ch]:
1635 * paragraph_pimpl.[Ch]:
1643 * frontends/controllers/ControlDocument.C:
1644 * frontends/controllers/ControlErrorList.C:
1645 * frontends/controllers/ControlSpellchecker.C:
1648 * insets/insetbase.h:
1649 * insets/insetbibitem.C:
1650 * insets/insetbox.C:
1651 * insets/insetbranch.C:
1652 * insets/insetcaption.C:
1653 * insets/insetcharstyle.C:
1654 * insets/insetcharstyle.h:
1655 * insets/insetcollapsable.C:
1656 * insets/insetcollapsable.h:
1657 * insets/insetert.C:
1658 * insets/insetfloat.C:
1659 * insets/insetfoot.C:
1660 * insets/insetmarginal.C:
1661 * insets/insetnote.C:
1662 * insets/insetoptarg.C:
1663 * insets/insettabular.C:
1664 * insets/insettext.C:
1665 * insets/insettext.h:
1666 * insets/insetwrap.C:
1667 * mathed/math_mboxinset.C:
1668 * mathed/math_nestinset.C:
1669 * mathed/math_scriptinset.C:
1670 * mathed/math_scriptinset.h:
1673 2004-03-24 Angus Leeming <leeming@lyx.org>
1675 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1676 deal with any child processes that have finished but are waiting to
1677 communicate this fact to the rest of LyX.
1679 2004-03-24 Angus Leeming <leeming@lyx.org>
1681 64-bit compile fixes.
1683 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1684 (c-tor): pass lyx::pos_types rather than ints.
1686 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1689 * text.C (Delete): compile fix.
1690 (getPar): ensure that function declaration is the same as that in
1693 2004-03-23 Angus Leeming <leeming@lyx.org>
1695 * ispell.C (LaunchIspell):
1696 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1697 a boost::shred_ptr rather than a std::auto_ptr.
1699 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1701 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1702 handle LFUN_FILE_INSERT_*
1704 * lyxrc.C (setDefaults, getDescription, output, read):
1705 * lyxrc.h: remove ps_command
1707 2004-03-22 Angus Leeming <leeming@lyx.org>
1709 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1710 Ensure that error_handler is processed once only and that all data
1711 is saved before attempting to output any warning messages.
1713 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1715 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1717 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1719 2004-03-19 André Pönitz <poenitz@gmx.net>
1721 * cursor.[Ch] (reset): take main text inset as argument
1723 * BufferView: adjust
1724 * BufferView_pimpl.C: adjust
1726 * paragraph.[Ch]: fix completely broken operator=()
1728 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1730 * LColor.C (getFromLyXName): make sure that the color name is used
1733 2004-03-17 Angus Leeming <leeming@lyx.org>
1736 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1738 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1739 dialog and to kill a forked process.
1741 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1743 * text2.C (setCursorFromCoordinates): fix font problem
1745 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1747 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1748 bogus "rebuild cursor" code
1750 2004-03-11 André Pönitz <poenitz@gmx.net>
1752 * buffer.[Ch]: use InsetText instead of LyXText as container for
1755 * dociterator.[Ch]: drop the BufferView * member which is not needed
1756 anymore after the change to buffer.C
1758 * paragraph_funcs.C:
1762 * BufferView_pimpl.[Ch]:
1764 * cursor_slice.[Ch]: adjust
1766 * text3.C: fix bug in mathDispatch
1768 2004-03-08 André Pönitz <poenitz@gmx.net>
1770 * undo.[Ch]: use 'StableDocumentIterator' as base for
1773 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1776 * bufferparams.[Ch]: add jurabib support and param.
1778 * LaTeX.C: add FIXME/comment.
1780 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1782 * buffer.C: increment file format to 230.
1784 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1786 * cursor.C (dispatch): avoid infinite loops
1788 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1790 * rowpainter.C (paintSelection): fix x coordinates
1792 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1794 * text.C (rowBreakPoint): fix breaking before displayed insets
1796 2004-03-01 André Pönitz <poenitz@gmx.net>
1798 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1800 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1804 * BufferView_pimpl.C:
1812 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1818 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1819 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1821 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1823 * Bidi.[Ch] (computeTables): const correctness
1824 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1825 fill_hfill, fill_label_hfill and x from Row
1826 * lyxtext.h: prepareToPrint returns a RowMetrics
1827 * rowPainter.C: adjust
1828 * text.C (prepareToPrint): use width, not textWidth. adjust
1829 (redoParagraphInternal, cursorX): adjust
1830 * text2.C (getColumnNearX): adjust
1831 (init): put a default value to the top LyXText::width
1833 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1835 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1837 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1839 * lyxtext.h: add FontIterator class
1841 * text.C (FontIterator, operator*, operator->, operator++): add
1842 (rowBreakPoint, setRowWidth): adjust (fixing a
1845 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1847 * BufferView_pimpl.C (workAreaDispatch): allow also
1848 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1850 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1852 * text.C (rowBreakPoint): fix a bug showing with very large insets
1854 2004-02-25 André Pönitz <poenitz@gmx.net>
1857 * cursor.[Ch]: move some mathed specific code to mathed
1859 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1861 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1862 use_tempdir in preferences
1863 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1865 * lyx_main.C: ensure that tempdir is valid
1866 * lyxlex.h: correct typo
1867 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1868 * paragraph.[Ch] (isMultiLingual): make const
1869 * cursor.[Ch] (openable): make const
1871 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1873 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1875 2004-02-20 André Pönitz <poenitz@gmx.net>
1877 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1879 * cursor.[Ch]: prepare for localized getStatus()
1885 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1887 2004-02-20 André Pönitz <poenitz@gmx.net>
1889 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1891 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1893 * text2.C (setCursorFromCoordinates): switch to absolute coords
1895 (cursorDown): adjust
1896 * text3.C (dispatch): adjust
1898 2004-02-16 André Pönitz <poenitz@gmx.net>
1900 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1903 * cursor_slice.[Ch]: remove unneeded acessor function
1905 * lyxtext.h: rename rtl() to isRTL()
1913 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1915 * rowpainter.C (paintSelection): coord fix
1917 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1919 * Spacing.C: compile fix
1921 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1923 * cursor.C (dispatch): restore current_ before returning
1925 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1927 * text2.C (cursorUp, cursorDown): fix coords
1930 2004-02-12 André Pönitz <poenitz@gmx.net>
1935 * text3.C: add LCursor & parameter to most cursor movement functions
1936 remove usage of LyXText::cursorRow() and cursorPar()
1938 * cursor.[Ch]: add textRow() needed members
1941 * BufferView_pimpl.C:
1944 * BufferView_pimpl.C: adjust
1946 2004-02-11 André Pönitz <poenitz@gmx.net>
1950 * BufferView_pimpl.C: shift undo/redo handling
1952 * cursor.[Ch]: fix mathed crash
1955 * lyxtext.h: move selectionAsText to LCursor
1963 * rowpainter.C: fix excessive drawing
1965 2004-02-06 André Pönitz <poenitz@gmx.net>
1968 * BufferView_pimpl.[Ch]:
1969 * text3.C: move some text specific LFUN handling
1971 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1973 * text3.C (checkInsetHit): adjust coords
1974 * text2.C (getColumnNearX): adjust coords
1975 (edit): adjust coords
1976 * text.C (getRowNearY): add two asserts
1978 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1981 * format.C: add using std::distance to compile on gcc 2.95/stlport
1983 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1985 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1987 2004-02-04 André Pönitz <poenitz@gmx.net>
1989 * BufferView.[Ch] (insertInset):
1990 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1995 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1997 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1998 on the default clause of the switch
1999 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2000 wasn't catched by LCursor::dispatch
2002 2004-02-03 André Pönitz <poenitz@gmx.net>
2005 * cursor.[Ch]: some additional asserts
2007 * undo.[Ch]: remove LyXText dependency in interface
2011 * lyxtext.h (firstPar, lastPar): remove dead functions
2016 * paragraph.[Ch]: adjust
2018 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2020 * lyxfind.C (find): fix argument order in call to ::find
2022 2004-02-02 André Pönitz <poenitz@gmx.net>
2024 * cursor.[Ch]: remove direct access to anchor
2026 * text.C: remove findText() hack
2028 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2030 * iterators.[Ch] (lockPath): remove in favour of...
2031 * BufferView.[Ch] (setCursor): this addition
2032 * BufferView.C (putSelectionAt): adjust
2033 * undo.C (performUndoOrRedo): adjust
2034 * lyxfunc.C (dispatch): adjust
2036 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2038 * iterators.C (lockPath): add a missing slice
2039 * undo.C (performUndoOrRedo): remove redundant positioning code
2041 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2043 * vc-backend.C (scanMaster): ";" -> ';'
2045 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2047 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2048 std::binary_function
2050 * lyxtextclass.C (compare_name): rename to...
2051 (LayoutNamesEqual): ...this
2053 * lyxlex_pimpl.C (compare_tags): inherit from
2054 std::binary_function, put back into anon namespace
2056 * lyxfind.C (MatchString): inherig from std::binary_function
2057 (findChange): use empty() istead of !size()
2059 * format.C (FormatNamesEqual): new functor
2066 * converter.C (compare_Converter): rename to...
2067 (ConverterEqual): ...this, and fixup a bit.
2068 (getConverter): use it, and make function const
2069 (getNumber): use it, and make function const
2073 * bufferlist.C: add using boost::bind
2075 * MenuBackend.C (MenuNamesEqual): new functor
2076 (hasMenu): use it, and make function const
2077 (hasSubmenu): use nested bind to get rid of compare_memfun.
2079 2004-01-30 André Pönitz <poenitz@gmx.net>
2081 * BufferView_pimpl.C:
2084 * cursor_slice.[Ch]:
2087 * paragraph_funcs.C:
2088 * paragraph_funcs.h:
2092 * text3.C: move some of the edit(x,y) handling to the insets
2093 some coordinate changes.
2095 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2097 * text.C: add using statements for std::advance and std::distance
2099 * paragraph.C: add using statement for std::distance
2101 * lyxfind.C: add using statement for std::advance
2103 * cursor.C (region): remove std:: from swap
2104 (openable): use nucleus in stead of operator->
2106 * BufferView.C: add using statements for std::distance and std::swap
2108 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2110 * iterators.C: Remove the pimple, move the needed structures to
2111 the header file. Create accessor for the positions stack.
2112 (asPosIterator): remove function
2114 * PosIterator.C (PosIterator): move constructors to top of file
2115 (PosIterator): reimplement the constructor taking a ParIterator in
2117 (setFrom): new function
2118 (operator!=): inline it
2120 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2122 * lyxfind.C (replaceAll): use std::advance
2124 * iterators.h: inherit from std::iterator.
2126 * PosIterator.C (advance, distance): remove
2127 * PosIterator.h: interit from std::iterator.
2129 2004-01-26 André Pönitz <poenitz@gmx.net>
2132 * BufferView_pimpl.[Ch]:
2136 * bufferview_funcs.C:
2146 * output_linuxdoc.C:
2147 * output_plaintext.C:
2149 * paragraph_funcs.[Ch]:
2150 * paragraph_pimpl.[Ch]:
2156 * text3.C: more IU: dumps most of the rest of the mathcursor
2157 implementation into cursor.[Ch]; "globalize" a bit of it.
2159 2004-01-25 Angus Leeming <leeming@lyx.org>
2161 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2163 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2165 * LaTeXFeatures.h: add nice_ and nice() const
2166 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2168 2004-01-20 André Pönitz <poenitz@gmx.net>
2171 * BufferView_pimpl.C:
2173 * bufferview_funcs.C:
2175 * cursor_slice.[Ch]:
2186 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2187 LCursor and mathcursor parts to LCursor and InsetBase.
2189 2004-01-15 André Pönitz <poenitz@gmx.net>
2191 * cursor_slice.[Ch]: add a few covienience functions
2193 * funcrequest.[Ch]: remove BufferView * member
2195 * BufferView_pimpl.C:
2202 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2204 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2206 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2207 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2209 2004-01-13 André Pönitz <poenitz@gmx.net>
2212 * lyxtext.h: hide cursor and selection anchor behind accessor function
2215 * BufferView_pimpl.[Ch]:
2217 * bufferview_funcs.C:
2227 * cursor_slice.[Ch]: some integer type changes for inset unification
2229 * lyxcursor.[hC]: remove, it's CursorSlice now.
2232 * BufferView_pimpl.[Ch]:
2233 * bufferview_funcs.C:
2239 * textcursor.[Ch]: adjust
2241 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2243 * text2.C (undoSpan): add and use
2244 * text.C (breakParagraph): use undoSpan (fix bug 578)
2247 2004-01-08 Angus Leeming <leeming@lyx.org>
2249 * BufferView_pimpl.C (MenuInsertLyXFile):
2250 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2251 * lyxfunc.C (menuNew, open, doImport):
2252 FileFilterList change to the FileDialog open and save functions.
2254 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2256 * ShareContainer.h: make isEqual and isUnique adaptable
2258 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2260 2004-01-07 Angus Leeming <leeming@lyx.org>
2263 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2265 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2267 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2268 functions replacing find, replace and replaceAll.
2270 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2271 LFUN_WORDFIND(FORWARD|BACKWARD).
2273 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2275 * text.C (breakParagraph): remove an outdated #warning
2277 2004-01-07 André Pönitz <poenitz@gmx.net>
2279 * lyxfind.C: somewhat clearer logic
2281 * text.C: prevent crash in cursorX on unitialized row cache
2283 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2285 * lyxcursor.[Ch] (operator>): add
2286 * textcursor.C (selStart, selEnd): use std::min and std::max
2288 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2290 * Chktex.C: include boost/format.hpp
2292 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2294 * InsetList.C: replace functor MathcIt with adaptable functor
2296 (insetIterator): modify accordingly
2298 * BranchList.h: move the BranchNamesEqual functor here from...
2299 * BranchList.C: ... to here
2301 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2303 (add): replace a finding loop with std::find_if.
2305 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2307 * output_docbook.C: moving LatexParam functionality into
2310 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2312 * buffer.C: increment format to 229.
2314 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2317 * lyx_sty.[Ch]: remove minipageindent_def
2323 * text3.C: remove LFUN_INSET_MINIPAGE
2325 2003-12-28 Angus Leeming <leeming@lyx.org>
2327 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2329 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2331 * text2.C (setParagraph): fix off-by-one crash
2333 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2335 * output_docbook.C: header stuff for AGU
2337 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2339 * text2.C (redoCursor): remove
2342 * BufferView_pimpl.C: remove calls to redoCursor and
2343 setCursor(cursor.par(), cursor.pos()) all around
2345 2003-12-15 Angus Leeming <leeming@lyx.org>
2347 * buffer.C: up the format to 228.
2349 2003-12-15 André Pönitz <poenitz@gmx.net>
2351 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2356 * BufferView_pimpl.C:
2365 2003-12-15 Angus Leeming <leeming@lyx.org>
2367 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2368 than getFromGUIName to manipulate the color.
2370 2003-12-14 Angus Leeming <leeming@lyx.org>
2372 * BranchList.[Ch]: minimize the API.
2373 (Branch::getBranch, getColor): now return a 'const &'.
2374 (Branch::setSelected) now returns a bool set to true if the
2375 selection status changes.
2376 (BranchList::clear, size, getColor, setColor, setSelected,
2377 allBranches, allSelected, separator): removed.
2378 (BranchList::find): new functions, returning the Branch with
2380 (BranchList::add, remove): return a bool indicating that
2381 the operation was successful.
2383 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2384 new InsetBranch::isBranchSlected member function.
2386 * LColor.[Ch]: mimimize the API.
2387 (fill): renamed as addColor and made private.
2388 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2389 versions of these functions taking a string arg have been removed.
2391 * bufferparams.C (readToken):
2392 * lyxfunc.C (dispatch):
2393 * lyxrc.C (read): changes due to the altered BranchList and
2396 * factory.C (createInset, readInset): changes due to altered
2399 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2402 * lyxfunc.C: remove insetminipage. "minipage-insert"
2403 now produces a frameless minipage box inset.
2405 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2407 * textcursor.[Ch] (selStart,selEnd): add new methods
2408 remove selection::start, end, use LyXCursor::operator<
2409 * lyxcursor.[Ch] (operator<): add
2410 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2411 * BufferView.[Ch] (unsetXSel): add
2412 * text2.C (clearSelection): use unsetXSel,adjust
2415 * rowpainter.C: adjust
2416 * bufferview_funcs.C (put_selection_at): adjust
2418 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2420 * BufferView_pimpl.C: small coord. correction
2422 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2424 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2425 dragging over the splash screen.
2427 2003-12-11 Angus Leeming <leeming@lyx.org>
2429 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2430 as it is now handled in LyXText::dispatch.
2432 * text3.C (doInsertInset): remove a level of nesting.
2434 2003-12-11 Angus Leeming <leeming@lyx.org>
2436 * factory.C (createInset): changes due to the changed interface to
2437 InsetCommandMailer::string2params.
2439 2003-12-10 Angus Leeming <leeming@lyx.org>
2441 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2442 'dialog-show-new-inset <inset name>'
2444 2003-12-10 Angus Leeming <leeming@lyx.org>
2446 * buffer.C: up the format to 227.
2448 * factory.C: the box inset is now identified simply by 'Box'.
2450 2003-12-10 Angus Leeming <leeming@lyx.org>
2452 * buffer.C: up the format to 226.
2454 * factory.C: the note inset is now identified simply by 'Note'.
2456 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2458 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2459 when a pit is enough. Standarize a couple of loops.
2461 2003-12-05 Angus Leeming <leeming@lyx.org>
2463 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2464 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2465 data to the re-worked "log" dialog.
2467 2003-12-03 André Pönitz <poenitz@gmx.net>
2473 * paragraph_funcs.C:
2475 * text2.C: use Inset::getText instead of Inset::getParagraph
2477 2003-12-03 André Pönitz <poenitz@gmx.net>
2481 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2482 InsetText::read() as LyXText::read()
2484 2003-12-02 Angus Leeming <leeming@lyx.org>
2486 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2487 type. Add a comment in the implementation that the function uses
2488 the stream's bad() function rather than fail() as the std::streams
2491 2003-12-02 André Pönitz <poenitz@gmx.net>
2493 * lyxlex.[Ch]: make interface more similar to std::stream
2495 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2497 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2499 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2501 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2503 * vspace.[Ch]: remove VSpace::NONE
2505 2003-12-01 André Pönitz <poenitz@gmx.net>
2508 * lyxtext.h: move ParagraphList member to LyXText
2509 rename LyXText::ownerParagraphs to LyXText::paragraph
2512 * bufferview_funcs.C:
2522 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2524 * undo.C: fix cursor positioning
2526 2003-12-01 John Levon <levon@movementarian.org>
2528 * BufferView_pimpl.C: fix a crash on exit with
2531 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2533 * BranchList.C: fix setSelected() method.
2535 2003-11-28 André Pönitz <poenitz@gmx.net>
2537 * ParagraphParameters.[Ch]:
2538 * ParameterStruct.h: remove space above/below from Paragraph to
2541 * BufferView_pimpl.C:
2547 * paragraph_funcs.C:
2553 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2555 * factory.C: Syntax change for CharStyles
2557 2003-11-28 André Pönitz <poenitz@gmx.net>
2562 * buffer.[Ch]: move LyXText member
2564 2003-11-28 André Pönitz <poenitz@gmx.net>
2566 * BufferView.[Ch]: make LyXText * text a private member
2568 * BufferView_pimpl.C:
2579 * output_plaintext.C: cleanup
2581 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2584 * lyxtextclass.[Ch]: parametrize SGML document header
2586 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2589 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2592 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2594 * text2.C (setFont): rework using PosIterator (no more recursive)
2595 (setCharFont): no more needed
2596 (setLayout): no more selection cursors fiddling (done by redoCursor)
2597 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2598 destroy remaining ones)
2600 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2602 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2604 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2607 * text3.C: adjust + re-allow multi par depth changes
2608 * textcursor.C: simplify a bit
2610 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2616 * src/output_docbook.C:
2617 * src/output_latex.C:
2622 * src/text2.C: Introducing a number of tags parametrizing various
2623 XML formats that we may want to support
2625 2003-11-25 André Pönitz <poenitz@gmx.net>
2627 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2629 * lyxtext.h (leftMargin/rightMargin): simplify interface
2636 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2638 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2639 master file to any child files. Fixes bug 546.
2641 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2643 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2645 2003-11-24 André Pönitz <poenitz@gmx.net>
2647 * rowpainter.C: simplification
2649 * text2.C (updateCounters): remove call to redoParagraph on
2650 changed labels as this is far too expensive.
2652 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2654 * converter.C (convert): fix a crash: this function gets
2655 called with buffer == 0 from importer code.
2657 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2659 * text3.C (cursorPrevious): make sure that we do not compare
2660 iterators form different containers.
2663 * rowpainter.C (paintSelection): make sure that we do not compare
2664 iterators from different containers.
2666 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2667 iterators from different ParagraphList containers.
2670 * text2.C (LyXText): change order of initialization slightly
2671 (operator=): new function. copy all variables except cache_par_
2672 (moveUp): make sure that we do not compare iterators from
2673 different ParagraphList constainers.
2676 * text.C (firstPar): new function
2677 (lastPar): new function
2678 (endPar): new function
2680 * lyxtext.h: move things around and group public functions, public
2681 variables, private functions, private variables
2683 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2685 * factory.C: change call to InsetERT constructor to avoid
2686 additional invocation of method status
2687 * text2.C (toggleInset): remove redundant update() call
2688 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2689 instead of a Bufferview pointer
2691 2003-11-21 André Pönitz <poenitz@gmx.net>
2693 * rowpainter.C: simplification
2695 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2697 * text3.C (dispatch): make possible to extend a word/row selection
2700 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2702 * lyxtext.h: x0_,y0_ -> xo_,yo_
2703 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2704 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2705 * rowpainter.C (paintRows): paint full paragraphs
2707 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2709 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2712 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2714 * lyxtext.h: add x0_, y0_
2715 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2716 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2718 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2720 * text2.C (setCursorIntern): move the x_target update here *
2721 * text3.C: change some bv() to true/false in calls to
2722 cursorUp/Down/Right/Left
2723 * cursor.C: use helper function.
2725 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2727 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2728 * paragraph_funcs.[Ch]: correct comment
2729 * rowpainter.C: do not paint selections away from bv->cursor()
2730 Fix a long standing selection painting bug.
2731 * text3.C: generalize mouse-selection code to LyXTexts other that
2733 * textcursor.C: do not use y coords if we can use par offsets
2735 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2737 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2738 cursor position after e.g. inset insert)
2740 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2742 * lyxfind.C (replace): adjust to locking removal + some
2745 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2747 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2750 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2753 * output_docbook.C: XML sanitation: new layout
2754 parameters InnerTag and CommandDepth
2756 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2758 * BufferView_pimpl.C:
2760 * text3.C: Fix the insertion and modification of button-style
2763 2003-11-13 André Pönitz <poenitz@gmx.net>
2765 * InsetList.[Ch]: remove deleteLyXText
2767 * paragraph.[Ch]: cache beginOfBody position
2772 * text3.C: remove superfluous update() calls
2776 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2778 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2779 * BufferView.C (fitLockedInsetCursor): remove
2780 * cursor.[Ch] (getDim): add
2781 * text.C (getRowNearY): add faster version
2782 * text3.C: remove some update calls
2784 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2796 * text3.C: The Character Style /XML short element patch.
2798 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2801 * factory.C: Small step to solving 'unable to insert some insets'
2804 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2806 * cursor.[Ch] (updatePos): new function for updating the y
2807 position of the tip inset
2808 * bufferview_funcs.C (put_selection_at):
2809 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2811 2003-11-11 André Pönitz <poenitz@gmx.net>
2813 * text.C: remove big comment on invalid Paragraph pointers as it is
2816 2003-11-11 André Pönitz <poenitz@gmx.net>
2818 * text_funcs.[Ch]: merge with ...
2826 * Makefile.am: remove text_funcs.[Ch]
2828 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2830 * cursor.C (getPos): return absolute cached y coord
2832 * BufferView_pimpl.C (fitCursor): new simplistic code
2833 (workAreaDispatch): add a fitCursor call
2835 2003-11-10 André Pönitz <poenitz@gmx.net>
2838 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2840 2003-11-10 André Pönitz <poenitz@gmx.net>
2842 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2843 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2844 indicate that the cursor needs to leave an inset
2846 * lyxtext.h: remove inset locking
2848 * cursor.[Ch]: re-implement functionality provided by inset locking
2851 * BufferView_pimpl.[Ch]:
2853 * bufferview_funcs.[Ch]:
2865 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2867 * PosIterator.[Ch]: replace the stack with a vector, add inset
2869 * iterators.[C]: adjust
2871 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2873 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2875 * paragraph_funcs.C (readParToken): put the correct id in the
2876 error item, not the id of the top paragraph
2878 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2880 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2881 * bufferview_funcs.C (put_selection_at): use the above
2883 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2885 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2887 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2889 * output_linuxdoc.h:
2890 * output_plaintext.h:
2892 * output_docbook.h: add #include statements
2894 2003-11-05 José Matos <jamatos@lyx.org>
2896 * output_docbook.[Ch]:
2897 * output_latex.[Ch]:
2898 * output_linuxdoc.[Ch]:
2899 * output_plaintext.[Ch]: New files for output formats.
2900 * output.[Ch]: New file for helper functions.
2903 * paragraph_funcs.[Ch]: output functions moved to new files.
2905 * outputparams.h: rename of latexrunparams.h
2913 * paragraph_funcs.[Ch]:
2914 * paragraph_pimpl.[Ch]:
2915 * tabular.[Ch]: rename ascii to plaintext
2916 and LatexRunParams to OutputParams.
2918 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2920 * iterators.[Ch] (text): require bv argument
2921 * undo.C (recordUndo):
2922 * lyxfunc.C (dispatch):
2923 * bufferview_funcs.C (put_selection_at): adjust
2925 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2927 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2929 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2931 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2934 2003-11-04 André Pönitz <poenitz@gmx.net>
2936 * cursor.[Ch]: restructure
2939 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2941 * iterators.[Ch] (asCursor): remove
2943 * lfuns.h: remove LFUN_INSET_EDIT
2949 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2951 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2953 * lyxfind.[Ch]: complete overhaul
2954 * BufferView_pimpl.C:
2956 * paragraph.[Ch] (insert): add
2958 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2962 * text.C: remove dead spellcheck code
2964 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2966 * dispatchresult.h: add a val setter
2968 * cursor.C (dispatch): use a tempvar for data_[i]
2970 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2972 * PosIterator.[Ch]: compile fix
2974 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2976 * text.C (cursorPar): deactivate the cursor cache
2978 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2980 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2982 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2984 * text3.C (dispatch): adjust for new DisptchResult semantics.
2986 * lyxfunc.C (dispatch): handle update when return from
2987 Cursor::dispatch, adjust for new DispatchResult semantics.
2989 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2990 DispatchResult(true) mean to not update. Add class functions for
2991 setting dispatched and update, as well as reading.
2993 * cursor.C (dispatch): don't handle update here
2995 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2997 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2998 * trans_mgr.C: adjust
3000 * paragraph_funcs.C (readParToken): exception safety
3002 * lyxvc.h: store the vcs pointer in a scoped_ptr
3005 * lyxsocket.C (serverCallback): exception safety
3007 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3009 * ispell.C (clone): make it return a auto_ptr
3011 * factory.C (createInset): exception safety
3012 (readInset): exception safety
3014 * bufferlist.C (newBuffer): exception safety
3016 * Thesaurus.C (Thesaurus): use initialization for aik_
3018 * MenuBackend.C (expandToc): exception safety.
3020 2003-11-03 André Pönitz <poenitz@gmx.net>
3024 * bufferview_funcs.C: remove getInsetFromId()
3027 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3033 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3035 * PosIterator.C (distance, advance): new
3036 * bufferview_funcs.[Ch] (put_selection_at): new
3037 * iterators.[Ch] (lockPath): new
3039 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3041 * iterators.[Ch] (asPosIterator): added
3042 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3043 * PosIterator.[Ch]: added
3045 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3049 * cursor.C (dispatch):
3050 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3052 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3053 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3054 contructor, add a class function dispatched. Remove operator>=
3056 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3058 * debug.C: only use the default constructor for debugstream
3061 * main.C (main): include debug.h and setup the lyxerr streambuf
3064 2003-10-31 José Matos <jamatos@lyx.org>
3066 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3068 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3069 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3070 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3071 * paragraph_pimpl.C (simpleTeXSpecialC):
3072 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3073 add LatexRunParams argument.
3075 * exporter.C (Export): change call accordingly.
3077 * latexrunparams.h: add new member to take care of the other backends.
3078 2003-10-30 José Matos <jamatos@lyx.org>
3080 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3081 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3082 factorise code for paragraph output.
3084 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3087 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3089 * text3.C (dispatch):
3090 * lyxfunc.C (dispatch):
3091 * cursor.C (dispatch):
3092 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3094 * dispatchresult.h: make the dispatch_result_t ctor explicit
3096 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3099 * buffer.C: small refactoring of docbook stuff
3101 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3103 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3106 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3108 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3109 operator dispatch_result_t, and operators for == != and >=
3111 * cursor.C (dispatch): adjust for operator dispatch_result_t
3112 removal. comment out call to update
3114 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3116 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3124 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3127 * dispatchresult.h: new file, DispatchResult broken out of
3130 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3132 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3134 * text.C (rowBreakPoint): put a hack inside #if 0
3136 2003-10-28 André Pönitz <poenitz@gmx.net>
3140 * paragraph_funcs.C:
3143 * text2.C: general cleanup (lots of small stuff)
3145 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3147 * text2.C (cursorEnd): simple fix to the "end key goes to one
3148 before the end on last row" bug
3150 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3152 * text.C (backspace): fix the "zombie characters"
3154 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3156 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3158 2003-10-27 André Pönitz <poenitz@gmx.net>
3160 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3162 * factory.C: handle new InsetPagebreak, InsetLine
3164 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3165 and move handling into new InsetPagebreak, InsetLine
3167 * BufferView_pimpl.C:
3169 * ParagraphParameters.C:
3170 * ParameterStruct.h:
3175 * paragraph_funcs.C:
3176 * paragraph_pimpl.C:
3182 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3185 * lyxrow_funcs.[Ch]:
3191 * text3.C: remove lastPos uses in favour of Row::endpos
3193 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3195 * undo.C (performUndoOrRedo): fix two crashes by setting a
3196 cursor by hand and reordering some calls. Use bv->lockInset instead
3197 of inset->edit because the latter loses cursor information
3199 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3201 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3203 (rowBreakPoint): fix width. change point to point + 1.
3204 Add a missing check.
3206 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3209 * lyxfunc.C: fix (at least partly) the problems
3210 with the Nav menu and headers inside branch insets
3213 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3215 * paragraph.C (getChar): add strong asserts
3217 * lyxrow_funcs.C (lastPos): remove hideous hack
3219 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3220 (fill): adjust to that (avoid an infinite loop)
3222 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3224 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3226 2003-10-23 André Pönitz <poenitz@gmx.net>
3228 * RowList_fwd.h: change list<> to vector<> to gain speed
3229 after suggestion from Alfredo
3231 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3233 * lyxtext.h: move the bidi stuff from here...
3236 * Bidi.[Ch]: ... to here
3238 2003-10-23 André Pönitz <poenitz@gmx.net>
3241 * text.C (isLastRow, isFirstRow): new functions
3243 * paragraph.h: new width cache member
3245 * rowpainter.C: replace RowList::iterator with Row & where possible
3247 * lyxfunc.C: replace several view()->text with a single call
3249 * toc.C: fix 'unused' warning
3251 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3253 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3254 when woring with stream::pos_type
3255 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3257 2003-10-22 André Pönitz <poenitz@gmx.net>
3260 * text.C: use Row & instead of RowList::iterator
3262 * lyxrow.h: rename end() to endpos()
3268 2003-10-22 Angus Leeming <leeming@lyx.org>
3270 * buffer.[Ch] (fully_loaded): new member function, returning true
3271 only when the file has been loaded fully.
3272 Used to prevent the premature generation of previews and by the
3273 citation inset to prevent computation of the natbib-style label.
3275 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3276 templates are all set up.
3278 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3280 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3282 * text.C: fixed an "oops" in the "is a bit silly"
3285 2003-10-21 André Pönitz <poenitz@gmx.net>
3287 * FuncStatus.[Ch]: small stuff, whitespace
3289 * lyxfont.[Ch]: operator<<() for debug reasons
3293 * lyxtext.h: whitespace, spelling
3295 * paragraph.C: naming of variables
3298 * text2.C: small stuff
3301 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3303 * text.C: (1) finish off the inset display() work;
3304 (2) fix the "is a bit silly" bug (accessing char
3307 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3309 * text.C: re-introduce display() for insets, fixing the
3310 various bugs (stretch of line above, math inset
3313 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3315 * text.C (rightMargin): remove spurious semicolon
3317 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3320 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3322 * text3.C: fix one crash due to wrong cursor def
3324 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3326 * vc-backend.C (scanMaster): make the regex static
3328 * LaTeX.C (scanAuxFile): make the regexs static
3330 * text3.C (doInsertInset, dispatch, dispatch):
3331 * text2.C (cursorUp, cursorDown):
3332 * text.C (selectNextWordToSpellcheck):
3333 * BufferView_pimpl.C (dispatch):
3334 * lyxfunc.C (dispatch): localDispatch -> dispatch
3336 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3338 * lyxsocket.C: include <cerrno>
3340 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3342 * lyxfunc.C (dispatch): remove textcache stuff
3344 * bufferlist.C (release): remove textcache stuff
3347 * TextCache.C: delete file
3348 * TextCache.h: delete file
3350 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3352 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3353 delete of the bv_->text.
3354 (resizeCurrentBuffer): remove texcache stuff
3355 (workAreaResize): ditto
3357 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3359 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3362 2003-10-16 André Pönitz <poenitz@gmx.net>
3369 * text3.C: speed up by storing y positions per paragraph plus per-row
3370 offset instead of having a 'full' y position in the row.
3372 2003-10-15 André Pönitz <poenitz@gmx.net>
3376 * undo.[Ch]: make undo aware of inner insets
3378 2003-10-14 Angus Leeming <leeming@lyx.org>
3380 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3381 static member functions LyX::ref() and LyX::cref.
3382 (lastfiles): new accessor functions for the new lastfiles_ member var.
3383 (addLyXView, views_): add a new LyXView to the list of views_.
3384 (updateInset): loop over all LyXViews to call their own updateInset
3385 member function, returning a pointer to the Buffer owning the inset.
3387 * BufferView_pimpl.C (loadLyXFile):
3388 * MenuBackend.C (expandLastfiles):
3389 * bufferlist.C (MenuWrite, QuitLyX):
3390 lastfiles is no longer a global variable.
3391 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3393 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3394 static function. Access through LyX::cref().emergencyCleanup().
3396 2003-10-14 André Pönitz <poenitz@gmx.net>
3398 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3400 * undo.[Ch]: restoring part of 'undo in insets'
3403 * undo_funcs.[Ch]: merge with undo.[Ch]
3405 * tabular.C: small cleansing stuff
3407 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3409 * paragraph_funcs.C (readParToken): report unknown insets as error
3410 boxes. Use the outer paragraph as location (also for unknown
3413 * factory.C (readInset): do not abort on reading an unknown inset.
3414 Eat it and return 0.
3416 2003-10-13 Angus Leeming <leeming@lyx.org>
3418 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3420 * lyxrc.C: displayTranslator is now a function,
3421 declared in GraphicsTypes.h.
3423 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3425 * format.C: new placeholder $$a to pass the socket address.
3427 * bufferlist.[Ch]: new function getBufferFromTmp.
3429 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3430 files in the temporary dir.
3432 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3434 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3436 * Makefile.am: add lyxsocket.[Ch].
3438 * lyx_main.C (error_handler): handle SIGPIPE.
3440 2003-10-13 André Pönitz <poenitz@gmx.net>
3442 * BufferView_pimpl.C:
3447 * undo_funcs.[Ch]: use paroffset_type instead of
3448 ParagraphList::iterators to prevent multiple conversion
3449 (and get a more robust interface)
3451 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3453 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3455 * text3.C (dispatch): ditto
3457 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3459 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3460 move the onlyfile, use onlyfile instead of foundfile in a couple
3463 * DepTable.C (update): flush the error stream a bit more
3465 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3467 * lyxserver.C (callback): adjust
3469 * lyxfunc.C (getStatus): add a missing brace in commented code
3470 (ensureBufferClean): reindent
3471 (dispatch): delete version taking a string
3473 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3475 * LaTeX.C (deplog): move found file handlig from here...
3476 (handleFoundFile): .. to new function here.
3477 (deplog): make sure to discover several files mentioned on the
3480 2003-10-10 André Pönitz <poenitz@gmx.net>
3487 * text3.C: fix some of the tabular crashes
3489 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3491 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3493 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3495 2003-10-09 André Pönitz <poenitz@gmx.net>
3497 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3500 * BufferView_pimpl.C:
3501 * bufferview_funcs.C:
3512 * undo_funcs.C: adjust
3514 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3516 * text2.C (incrementItemDepth): new function, use a backtracking
3517 algorithm to discover the correct item depth.
3518 (resetEnumCounterIfNeeded): new function, use a backtracking
3519 algorithm to discover if counter reset is needed.
3520 (setCounter): use them. Simplify a bit. Add different labels for
3521 different item depths for itemize.
3523 * paragraph.C (Paragraph): remove initialization of enumdepth
3526 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3527 enumerate and itemize. Change the type of itemdepth to signed char.
3529 2003-10-08 André Pönitz <poenitz@gmx.net>
3531 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3536 * tabular.[Ch]: fix crash after 'row-insert'
3538 2003-10-08 Angus Leeming <leeming@lyx.org>
3540 Fix doxygen warnings.
3542 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3543 Remove CutAndPaste:: prefix from header file declaration.
3545 * LColor.h (fill): remove LColor:: prefix from declaration.
3547 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3548 use lyx::depth_type rather than Paragraph::depth_type so that
3549 header file and .C file match.
3551 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3553 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3554 * aspell.C: \file aspell_local.C -> \file aspell.C
3555 * gettext.C: \file gettext.C -> \file src/gettext.C
3556 * gettext.h: \file gettext.h -> \file src/gettext.h
3557 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3558 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3559 * text.C: \file text.C -> \file src/text.C
3561 * toc.C: move comment so that doxygen is not confused.
3563 2003-10-07 Angus Leeming <leeming@lyx.org>
3565 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3567 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3570 * aspell_local.h: add forgotten std::string's.
3572 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3579 * text3.C: The Box patch. Fancybox support, minipage, parbox
3581 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3587 * ParagraphParameters.h:
3597 * lyxtextclasslist.h:
3600 * paragraph_pimpl.C:
3601 * textcursor.h: add <string> and other small fixes to make Lars'
3602 std::string patch compile with STLport.
3604 2003-10-06 Angus Leeming <leeming@lyx.org>
3606 * LColor.h: Add missing #include <string>.
3608 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3610 * All most all file in all subdirs: Make <string> be the prefered
3611 way of getting to std::string, add using declarations.
3613 2003-10-06 André Pönitz <poenitz@gmx.net>
3615 * metricsinfo.C: initialize LyXFont before changing attribute.
3616 (fixes the 'math in \emph is upright' bug)
3618 2003-10-06 André Pönitz <poenitz@gmx.net>
3620 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3622 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3625 * paragraph_pimpl.C: Small fixes to build using STLport
3627 2003-10-02 André Pönitz <poenitz@gmx.net>
3630 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3632 2003-10-01 André Pönitz <poenitz@gmx.net>
3634 * factory.C: assert early
3636 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3638 * lyx_main.C: remove the global debug object
3640 * debug.h: adjust for new debugstream
3642 * debug.C: adjust for new debugstream and keep the global debug
3645 2003-09-22 Angus Leeming <leeming@lyx.org>
3647 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3648 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3649 an incomplete class LyXFont.
3651 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3653 * factory.C: bug fix in branches
3655 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3657 * lyxfunc.C (processKeySym): adjust
3659 (dispatch): change arg name from ev to func, adjust
3660 (sendDispatchMessage): ditto
3662 * lyx_main.C (defaultKeyBindings): adjust keybindings
3663 (deadKeyBindings): ditto
3665 * kbsequence.C (addkey): return a FuncRequest
3667 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3669 * kbmap.C (bind): take a FuncRequest as arg, adjust
3672 (defkey): change to take a FuncRequest as arg, adjust
3673 (findbinding): take a FuncRequest as arg, adjust.
3675 * funcrequest.h (operator=): added
3677 * funcrequest.C (FuncRequest): default kb_action changed from
3678 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3680 * buffer.C (dispatch): simplify
3681 (dispatch): adjust to take a FuncRequest as arg, adjust
3683 * boost.C (assertion_failed): change assertion message slightly
3685 * ToolbarBackend.C (read): simplify
3687 * MenuBackend.C (binding): adjust call to findbinding, add a
3688 message if no binding is found.
3690 (expandToc): correct by adding a empty FuncRequest
3692 * LyXAction.C: include <boost/assert.hpp>
3693 (isPseudoAction): delete function
3694 (LookupFunc): change name to...
3695 (lookupFunc): this. change return type to FuncRequest.
3696 (getActionName): take kb_action as arg, simplify
3697 (funcHasFlag): add an assert, simplify.
3699 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3701 * toc.C (action): return a FuncRequest, simplify
3703 * lyxfunc.C (processKeySym): adjust
3704 (getStatus): delete version that takes an int.
3706 (dispatch): delete version that takes action as int
3708 (sendDispatchMessage): simplify and adjust
3710 * funcrequest.C (getArg): take unsigned int as arg
3712 * ToolbarBackend.C (read): adjust
3713 (add): delete version that takes func as a string.
3714 (getIton): take a FuncRequest as arg
3716 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3719 * MenuBackend.C (MenuItem): add a new construct that only takes a
3720 Kind, simplify the constructor use for submenus.
3722 (expandLastfiles): adjust
3723 (expandDocuments): adjust
3724 (expandFormats): adjust
3725 (expandFloatListInsert): adjust
3726 (expandFloatInsert): adjust
3727 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3729 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3730 Remove class variables lyx_pseudo_map and lyx_arg_map
3732 * LyXAction.C (searchActionArg): delete function
3733 (getPseudoAction): delete function
3734 (retrieveActionArg): delete function
3735 (LookupFunc): make it return kb_action, simplify.
3736 (getActionName): simplify
3738 * factory.C (createInset): fix new bug
3740 2003-09-19 Angus Leeming <leeming@lyx.org>
3742 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3743 masterFilename_ parameter in the include inset.
3745 * factory.C (createInset): changes due to the changes to InsetInclude.
3747 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3749 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3751 2003-09-18 Angus Leeming <leeming@lyx.org>
3754 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3755 Inset::fillWithBibKeys.
3756 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3758 2003-09-18 Angus Leeming <leeming@lyx.org>
3760 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3762 (ctor): pass and store a 'Buffer const &'
3763 (buffer): new member function.
3765 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3766 '*this' to the LaTeXFeatures ctor.
3768 2003-09-18 Angus Leeming <leeming@lyx.org>
3774 * text.C: rename EnumLColor as LColor_color.
3776 2003-09-18 Angus Leeming <leeming@lyx.org>
3778 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3779 remove #include "insets/insetbase.h" from cursor.h.
3781 2003-09-18 Angus Leeming <leeming@lyx.org>
3783 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3784 InsetOld_code to remove #include "inset.h".
3786 * iterators.C: add #include "insets/inset.h"
3788 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3790 * BufferView.C: remove more locking stuff that apparently doesn't
3791 do anything sensible.
3793 2003-09-16 André Pönitz <poenitz@gmx.net>
3796 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3799 2003-09-16 Angus Leeming <leeming@lyx.org>
3801 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3803 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3806 * paragraph.h: remove #include "lyxfont.h". Forward declare
3809 2003-09-16 Angus Leeming <leeming@lyx.org>
3811 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3812 of support/textutils.h.
3813 (isWord): move the contents of support/textutils.h's IsWordChar here.
3819 * text2.C: add #include "paragraph.h".
3822 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3824 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3830 * LaTeX.C: use namespace alias for lyx::support::os
3832 2003-09-16 Angus Leeming <leeming@lyx.org>
3835 * bufferview_funcs.C:
3838 * paragraph_pimpl.C:
3840 * text.C: add #include "LColor.h".
3842 2003-09-16 Angus Leeming <leeming@lyx.org>
3844 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3845 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3847 Store the FontBits::color variable as an int rather than as an
3848 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3851 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3852 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3853 string calls together.
3855 * lyxrc.C: add #include "LColor.h".
3857 2003-09-15 Angus Leeming <leeming@lyx.org>
3859 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3862 2003-09-15 Angus Leeming <leeming@lyx.org>
3864 * LColor.h: add an EnumLColor wrapper for LColor::color.
3866 * lyxfont.[Ch] (color, setColor, realColor):
3867 * lyxtext.h, text.C (backgroundColor):
3868 pass EnumLColor args to/from the functions, rather than LColor::color
3872 * lyxtext.h: forward declare EnumLColor.
3874 * lyx_main.C: add #include "LColor.h".
3876 2003-09-15 Angus Leeming <leeming@lyx.org>
3878 * .cvsignore: add lyx-gtk.
3880 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3885 * ParagraphParameters.C
3889 * bufferview_funcs.C
3899 * vc-backend.C: remove usage of STRCONV
3901 2003-09-15 Angus Leeming <leeming@lyx.org>
3903 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3904 explicitly define the color passed to the painter.
3906 2003-09-15 Angus Leeming <leeming@lyx.org>
3908 * bufferparams.C (BufferParams): reorder member initializers to avoid
3911 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3913 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3914 * text.C (updateRowPositions): remove an unusual nop
3916 2003-09-12 André Pönitz <poenitz@gmx.net>
3918 * BufferView_pimpl.C:
3927 * Counters.[Ch]: finish the 'automatic counters' job
3929 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3931 * aspell.C: include <boost/assert.cpp> (compile fix)
3933 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3935 * boost.C (assertion_failed): use lyx::support::abort instead of
3938 2003-09-10 Angus Leeming <leeming@lyx.org>
3940 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3941 with their _fwd progeny.
3943 2003-09-09 Angus Leeming <leeming@lyx.org>
3945 134 files throughtout the source tree: replace 'using namespace abc;'
3946 directives with the appropriate 'using abc::xyz;' declarations.
3948 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3950 * boost.C (emergencyCleanup): moved here from LAssert.c
3951 (assertion_failed): new function, called by BOOST_ASSERT
3953 * several files: change Assert to BOOST_ASSERT
3955 2003-09-09 Angus Leeming <leeming@lyx.org>
3957 * buffer.[Ch]: Add an Impl class and move Buffer's member
3958 variables into it. As a result move several header files out of
3961 Add header files to lots of .C files all over the tree as a result.
3963 2003-09-09 Angus Leeming <leeming@lyx.org>
3965 * buffer.[Ch]: make Buffer's member variables private. Add
3968 Lots of changes all over the tree as a result.
3970 2003-09-08 Angus Leeming <leeming@lyx.org>
3972 * graph.C: #include <config.h>.
3974 2003-09-08 Angus Leeming <leeming@lyx.org>
3978 * BufferView_pimpl.C:
4007 * toc.C: remove redundant using directives.
4009 2003-09-07 Angus Leeming <leeming@lyx.org>
4011 * LaTeXFeatures.h: remove #include "support/types.h".
4012 * ToolbarBackend.h: remove #include <algorithm>.
4013 * changes.h: remove #include <ctime>.
4014 * debug.h: remove #include <iosfwd>.
4015 * graph.h: remove #include "support/std_string.h".
4016 * lyx_main.h: remove #include <csignal>.
4017 * lyxlex_pimpl.h: remove #include <fstream>.
4018 * sgml.h: remove #include <algorithm>, <utility>.
4019 * toc.h: remove #include "support/std_ostream.h".
4020 Add #include <iosfwd>.
4022 2003-09-07 Angus Leeming <leeming@lyx.org>
4024 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4026 * converter.h: forward declare LatexRunParams.
4027 * encoding.h: remove #include "lyxrc.h".
4028 * lyxtext.h: remove #include "LColor.h".
4029 * lyxtextclass.h: remove #include "support/types.h".
4030 * trans.h: remove #include "tex-accent.h".
4031 * trans_mgr.h: remove #include "tex-accent.h".
4032 * insets/inset.h: remove #include "support/types.h", <vector>.
4033 * insets/insetcollapsable.h: remove #include "LColor.h".
4034 * insets/insetinclude.h: remove #include "dimension.h".
4035 * insets/insetlatexaccent.h: remove #include "dimension.h".
4036 * insets/insetoptarg.h:: remove #include "insettext.h".
4037 * insets/insettext.h: remove #include "dimension.h",
4038 <boost/shared_ptr.hpp>
4040 * insets/renderers.h: add #include "dimension.h".
4041 * insets/updatableinset.h: add #include "support/types.h".
4043 * many .C files: Associated changes.
4045 2003-09-06 Angus Leeming <leeming@lyx.org>
4047 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4048 one, inside testInvariant.
4050 * PrinterParams.C: new file.
4051 * PrinterParams.[Ch]: move the function bodies out of line.
4053 2003-09-06 Angus Leeming <leeming@lyx.org>
4055 * ParagraphParameters.h: forward declare ParameterStruct rather than
4056 including its header file.
4057 (depth): moved out-of-line.
4059 2003-09-06 Angus Leeming <leeming@lyx.org>
4061 * BufferView_pimpl.h:
4064 * lyxfunc.h: forward declare LyXKeySym rather than
4065 #include "frontends/LyXKeySym.h".
4067 * BufferView_pimpl.C:
4070 * lyxfunc.C: associated changes.
4072 2003-09-06 Angus Leeming <leeming@lyx.org>
4074 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4075 As a result, can remove the #include "insets/inset.h" from BufferView.h
4077 2003-09-06 Angus Leeming <leeming@lyx.org>
4079 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4080 As a result, can remove the #include "insets/inset.h" from BufferView.h
4082 2003-09-06 Angus Leeming <leeming@lyx.org>
4088 * bufferview_funcs.C:
4089 * BufferView_pimpl.C:
4094 * ParagraphParameters.C:
4099 * frontends/controllers/ControlDocument.C:
4100 * insets/insetcaption.C: rearrange the #includes into some sort of
4103 * buffer.h: remove #includes ErrorList.h, undo.h
4105 2003-09-06 Angus Leeming <leeming@lyx.org>
4107 * support/types.h: add a 'depth_type' typedef, used to store the
4108 nesting depth of a paragraph.
4111 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4112 defining explicitly.
4115 * paragraph_funcs.h:
4116 * ParagraphParameters.h:
4117 * sgml.h: use lyx::depth_type rather than Paragraph or
4118 ParameterStruct's depth_type.
4121 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4124 * BufferView_pimpl.C:
4126 * ParagraphParameters.C:
4129 * bufferview_funcs.C:
4136 * frontends/LyXView.C:
4137 * frontends/controllers/ControlDocument.C:
4138 * frontends/controllers/ControlErrorList.C:
4139 * insets/insetbibitem.C:
4140 * insets/insetbranch.C:
4141 * insets/insetcaption.C:
4142 * insets/insetcollapsable.C:
4143 * insets/insetenv.C:
4144 * insets/insetert.C:
4145 * insets/insetfloat.C:
4146 * insets/insetfoot.C:
4147 * insets/insetfootlike.C:
4148 * insets/insetnewline.C:
4149 * insets/insetquotes.C:
4150 * insets/insettabular.C:
4151 * insets/insettext.C:
4152 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4154 * frontends/controllers/ControlChanges.C: #include "changes.h".
4156 2003-09-06 Angus Leeming <leeming@lyx.org>
4158 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4159 than #including paragraph.h.
4162 * RowList.h: deleted. Superfluous.
4172 * insets/insettext.h: use ParagraphList_fwd.h rather than
4175 * paragraph.h: don't forward declare ParagraphList.
4178 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4179 rather than ParagraphList.h. paragraph.h is still needed for the
4180 Paragraph::depth_type parameters.
4182 * textcursor.h: enable it to compile stand-alone in light of the
4185 * bufferview_funcs.C:
4197 * frontends/controllers/ControlParagraph.C:
4198 * frontends/controllers/ControlTabular.C:
4199 * insets/insetmarginal.C:
4200 * insets/insetminipage.C:
4201 * insets/insetnote.C:
4202 * insets/insetoptarg.C: add header files needed to compile again.
4204 2003-09-06 Angus Leeming <leeming@lyx.org>
4206 * RowList_fwd.h: new file, forward-declaring Row rather than
4207 #including lyxrow.h.
4212 * insets/insettext.h: use it instead of RowList.h
4214 * bufferview_funcs.C:
4221 * text3.C: #include "RowList.h".
4223 2003-09-05 Angus Leeming <leeming@lyx.org>
4225 * factory.C (createInset):
4226 * vspace.C (c-tor): replace sscanf call with an istringstream.
4227 * ispell.C: re-add missing HP/UX headers.
4228 * lyxserver.C: re-add missing os2 headers.
4230 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4239 * text3.C: re-add missing system headers, needed for 2.95.2.
4241 2003-09-05 Angus Leeming <leeming@lyx.org>
4243 Changes most place everywhere due to the removal of using directives
4244 from support/std_sstream.h.
4246 2003-09-05 Angus Leeming <leeming@lyx.org>
4248 Replace LString.h with support/std_string.h,
4249 Lsstream.h with support/std_sstream.h,
4250 support/LIstream.h with support/std_istream.h,
4251 support/LOstream.h with support/std_ostream.h.
4253 Changes resulting throughout the tree.
4255 2003-09-05 Angus Leeming <leeming@lyx.org>
4257 * sgml.h: ensure that the header file can be compiled stand-alone.
4258 * *.C: strip out redundant #includes. (320 in total.)
4260 2003-09-04 Angus Leeming <leeming@lyx.org>
4262 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4263 here (from getPackages).
4265 * debug.[Ch]: add a new EXTERNAL tag.
4267 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4269 * text2.C (cursorEnd): simplify
4271 (getColumnNearX): adjust
4273 * text.C (computeBidiTables): adjust
4276 * rowpainter.C (paintChars): adjust
4277 (paintSelection): adjust
4278 (paintChangeBar): adjust
4281 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4283 (numberOfSeparators): adjust
4285 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4291 * text3.C: Restricts the mouse click functionality
4292 of insets like bibtex, include, toc and floatlist to the visible
4293 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4294 up the dialogs. Cursor has to be in front of the inset (i.e.
4295 start of row) for this to function.
4297 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4299 * bufferview_funcs.C (currentState): output row information
4301 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4303 * bufferview_funcs.C (currentState): output paragraph position
4305 2003-09-04 Angus Leeming <leeming@lyx.org>
4307 * FloatList.h: move out #include "Floating.h".
4308 * LaTeX.h: move out #include "DepTable.h".
4309 * LyXAction.h: move out #include "funcrequest.h".
4310 * buffer.h: move out #include "author.h", "iterators.h".
4311 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4312 * lyx_main.h: move out #include "errorlist.h".
4313 * lyxfunc.h: move out #include "FuncStatus.h".
4314 * lyxtext: move out #include "lyxcursor.h".
4315 * paragraph_pimpl.h: move out #include "counters.h".
4317 2003-09-03 Angus Leeming <leeming@lyx.org>
4319 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4320 preamble_snippets list, enabling us to add snippets to the preamble
4321 only if the snippet was not there already.
4323 2003-09-04 Angus Leeming <leeming@lyx.org>
4325 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4327 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4329 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4332 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4334 * BranchList.C: point fix, earlier forgotten
4336 2003-09-02 Angus Leeming <leeming@lyx.org>
4338 * box.C (contains): renamed from 'contained' after a fantastic
4341 2003-09-02 John Levon <levon@movementarian.org>
4347 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4349 2003-09-02 John Levon <levon@movementarian.org>
4351 * text2.C: simplification of cursorEnd(), including partial
4354 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4356 * buffer.C (readFile): add a space
4358 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4360 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4362 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4364 * buffer.C (readFile): new function, take a filename and a
4365 ParagraphList::iterator
4367 (readFile): adjust, make it private. don't use setStream, make
4368 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4369 always contain the filename.
4371 * BufferView.C (insertLyXFile): simplify and make it work for
4374 2003-08-30 John Levon <levon@movementarian.org>
4376 * Makefile.am: fix dist (from Kayvan)
4378 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4380 * most files: change to use const Buffer refs
4382 2003-08-27 André Pönitz <poenitz@gmx.net>
4384 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4385 on top of ownerPar().
4387 2003-08-27 John Levon <levon@movementarian.org>
4389 * funcrequest.C: properly initialise POD members
4391 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4393 * lyxtext.h (top_y): move top_y from here
4398 * BufferView_pimpl.[Ch]: to here
4399 * frontends/screen.C:
4400 * insets/insettabular.C:
4401 * insets/insettext.C: adjust
4402 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4404 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4407 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4409 2003-08-26 André Pönitz <poenitz@gmx.net>
4411 * paragraph_func.[Ch] (outerPar): new function
4414 * paragraph_funcs.C:
4415 * paragraph_funcs.h:
4416 * paragraph_pimpl.C:
4417 * text2.C: remove Inset::par_owner
4419 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4424 * text2.C: eliminates the needFullRow/display() stuff
4425 altogether, putting the logic in metrics/draw in the insets.
4427 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4429 * text2.C (redoParagraphInternal, redoParagraphs):
4430 * text.C (redoParagraph): add a call to updateRowPositions at the
4431 end of each 'metrics-like' call. Remove all others.
4432 (getRow): remove the 'y-computing' version.
4433 (getRowNearY): do not compute nor return the real y. Solve the
4434 'y < 0' problem and simplify.
4436 2003-08-22 Angus Leeming <leeming@lyx.org>
4438 * *.[Ch]: clean-up of licence and author blurbs.
4439 Also move config.h out of a few .h files and into a few .C files.
4441 2003-08-22 André Pönitz <poenitz@gmx.net>
4443 * lyxrow.[Ch]: add x_ and *fill_ members
4448 * text2.C: adjust/remove prepareToPrint() calls
4450 2003-08-22 André Pönitz <poenitz@gmx.net>
4452 * lyxrow.[Ch]: add end_ member
4454 * lyxrow_funcs.C: use LyXRow::end_
4456 * lyxtext.h (singleWidth): add LyXFont parameter
4459 * text2.C: adjust LyXText::singleWidth() calls
4461 * text.C (redoParagraph): simplify row breaking logic
4464 2003-08-19 André Pönitz <poenitz@gmx.net>
4466 * funcrequest.C: initialize button_ member
4469 * rowpainter.[Ch]: interface consolidation
4471 2003-08-18 André Pönitz <poenitz@gmx.net>
4474 * BufferView_pimpl.C:
4476 * paragraph_funcs.C:
4478 * text3.C: remove LyXScreen::draw() and fitCursor calls
4480 * BranchList.h: remove spurious semicolons
4482 * MenuBackend.C: fix branchlist related crash
4484 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4492 * bufferparams.[Ch]:
4496 * text3.C: implements the 'branch inset'
4497 idea. This allows the output of various versions of a document
4498 from a single source version, selectively outputing or suppressing
4499 output of parts of the text.
4500 This implementation contains a 'branch list editor' in a separate
4501 tab of the document settings dialog. Branches are user definable
4502 and have a "display colour" to distinguish them on-screen.
4504 ColorHandler was somewhat cleaned up.
4505 (1) make possible a dynamically growing LColor list by allowing
4506 the graphic context cache to grow along (vector);
4507 (2) eliminate an IMHO unnecessary step in colour allocation.
4509 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4511 * BufferView_pimpl.C: compile fix
4513 2003-08-15 André Pönitz <poenitz@gmx.net>
4515 * rowpainter.C: remove extra metrics calls
4517 * lyxtext.h: merge the two constructors into a single one,
4518 pass reference to owner's par list
4520 * BufferView_pimpl.C:
4524 2003-08-15 André Pönitz <poenitz@gmx.net>
4526 * lyxrow_funcs.[Ch]:
4529 * paragraph_funcs.C:
4534 * text_funcs.C: split LyXText::rowlist_ into individual
4535 Paragraph::rows_ chunks
4538 * BufferView_pimpl.[Ch]:
4541 * text3.C: remove toggleSelection()
4543 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4545 * bufferlist.C: beautify two alerts (shorter text of buttons)
4546 * buffer.C: Remove redundant ' ' from message
4548 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4549 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4550 rename VALIGN_CENTER to VALIGN_MIDDLE
4552 2003-08-11 André Pönitz <poenitz@gmx.net>
4554 * lyxtext.h (getPar):
4555 * text.C: new function
4557 2003-08-11 André Pönitz <poenitz@gmx.net>
4560 * tracer.[Ch]: remove unneeded files
4562 * InsetList.[Ch]: remove resizeInsetsLyXText()
4567 * text3.C: merge insertParagraphs() and appendParagraph()
4568 remove breakAgain(), update()
4570 * BufferView_pimpl.[Ch]:
4571 * bufferview_funcs.[Ch]:
4575 * tabular.C: adjust after text & InsetList changes.
4577 2003-08-08 André Pönitz <poenitz@gmx.net>
4579 * text.C (insertChar, backspace): replace rowlist fiddling
4580 with rebreak of full par
4583 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4584 checkParagraph, updateInset): removed
4586 2003-08-07 André Pönitz <poenitz@gmx.net>
4589 * text3.C: merge some LFUN handlers, remove dead code
4591 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4593 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4595 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4597 * text2.C (DEPM): fix part of bug 1255 and 1256
4599 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4601 * BufferView_pimpl.C (workAreaDispatch): change to use
4602 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4603 that are no mouse related.
4605 2003-08-05 André Pönitz <poenitz@gmx.net>
4608 * BufferView_pimpl.[Ch]:
4609 * bufferview_funcs.C:
4611 * text3.C: rip out "deep update"
4613 * textcursor.[Ch] (last_sel_cursor): remove unused member
4615 2003-08-04 André Pönitz <poenitz@gmx.net>
4618 * BufferView_pimpl.[Ch]:
4619 * ParagraphParameters.C:
4620 * bufferview_funcs.C:
4626 * text3.C: replace "complicated" BufferView::update(...) calls with
4629 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4631 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4633 * Makefile.am (lyx_SOURCES): add paper.h
4635 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4637 * Makefile.am: move things around so that both lyx-qt and
4638 lyx-xforms can be built (according to --with-frontend). Then lyx
4639 is a symbolic link to lyx-[firstfrontend]
4641 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4643 * Always use std::endl with lyxerr
4645 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4647 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4649 2003-08-01 André Pönitz <poenitz@gmx.net>
4652 * BufferView_pimpl.[Ch]:
4654 * text3.C: merge BufferView::repaint() and BufferView::update()
4656 2003-08-01 José Matos <jamatos@lyx.org>
4658 * buffer.[Ch]: file_format is no longer a buffer data element.
4660 2003-08-01 André Pönitz <poenitz@gmx.net>
4665 * text2.C: make redoParagraph more independent of current cursor
4667 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4669 * text2.C: remove unneeded members
4671 2003-07-30 André Pönitz <poenitz@gmx.net>
4673 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4675 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4676 create a single function...
4678 * paragraph_funcs.C (moveItem): ... here.
4681 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4683 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4685 * LColor.[Ch]: Add comment and greyedout logical colors.
4687 2003-07-30 André Pönitz <poenitz@gmx.net>
4689 * tabular.C: don't use Assert too heavily. This crashes where it
4692 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4694 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4695 is disabled (bug 1232)
4697 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4699 * factory.C: limited 'arg' scope
4701 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4703 * factory.C: fixed Note submenu issues
4705 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4707 * factory.C: submenu for Note/Comment/Greyedout
4709 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4712 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4714 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4717 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4718 greyedout. Patch provided by Jürgen Spitzmüller.
4720 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4722 * kbmap.C (read): fix error message when reading bind files
4724 2003-07-29 Angus Leeming <leeming@lyx.org>
4726 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4727 certainly does not do what it purports to do. I am doing it, and
4728 us, a favour by killing it.
4730 2003-07-28 José Matos <jamatos@lyx.org>
4732 * buffer.C (readBody, do_writeFile):
4733 * paragraph.C(readParagraph): \end_document replaces \the_end.
4735 2003-07-29 André Pönitz <poenitz@gmx.net>
4738 * BufferView_pimpl.[Ch]:
4742 * textcursor.[Ch]: remove toggleToggle & Co
4744 2003-07-28 José Matos <jamatos@fep.up.pt>
4746 * buffer.C (readParagraph):
4747 * params_func (readParToken, readParagraph):
4748 * paragraph.C (write): \layout -> \begin_layout.
4750 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4752 * lyxlex_pimpl.C (setFile): clean up slightly.
4754 * bufferparams.h: add compressed var
4756 * buffer_funcs.C (readFile): adjust for LyXLex change
4757 (newFile): ditto + simplify
4759 * buffer.C (writeFile): handle writing of compressed files
4761 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4762 Check if the file is compressed and set a bufferparm if so.
4764 * Makefile.am (lyx_LDADD): remove explicit -lz
4766 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4768 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4769 makeDocBookFile): put the real LyX version in the first line of
4773 * version.C.in: remove lyx_docversion
4775 * tabular.C (write_attribute): add a template-based version to
4776 write enums properly
4778 2003-07-28 André Pönitz <poenitz@gmx.net>
4783 * text3.C: use doubles again for x-coordinates. They are needed.
4785 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4787 * messages.C (getLocaleDir): use lyx_localedir()
4789 * lyxlex_pimpl.C (setFile): compress stuff
4791 * buffer.C (writeFile): add some compression stuff
4792 (do_writeFile): new func, dont call expliti close... will this
4795 * Makefile.am (lyx_LDADD): add -lz
4797 2003-07-28 José Matos <jamatos@fep.up.pt>
4799 * buffer.C: increment file format.
4800 * paragraph_funcs (readParagraph, readParToken):
4801 * paragraph.C (readParagraph): add \end_layout.
4803 2003-07-27 Angus Leeming <leeming@lyx.org>
4805 * Makefile.am: remove special casing for configure-time setting of
4806 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4808 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4809 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4811 2003-07-26 André Pönitz <poenitz@gmx.net>
4813 * paragraph_func.[Ch]:
4814 * paragraph.C (realizeFont): inline it whereever it is used
4819 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4822 2003-07-26 André Pönitz <poenitz@gmx.net>
4826 * text2.C: get rid of LyXText::need_break_row
4828 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4830 * toc.[Ch]: put namespace toc inside namespace lyx
4832 * MenuBackend.C (expandToc2): adjust for lyx::toc
4835 * lyxfunc.C (dispatch): adjust for lyx::find
4837 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4838 lyx::find instead. Reorganize a bit.
4839 (LyXReplace): rename to replace
4840 (LyXFind): rename to find
4842 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4845 2003-07-26 André Pönitz <poenitz@gmx.net>
4847 * text.C (setHeightOfRow): restrict scope of temporary variable
4849 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4850 code (never has been used?)
4852 2003-07-27 Asger Alstrup <alstrup@local>
4854 * text.C (fill): Optimise algorithm to exploit that we can reuse
4855 the LyXFont for many characters.
4856 (setHeightOfRow): Same thing.
4857 (rowBreakPoint): Same thing.
4859 2003-07-26 Asger Alstrup <alstrup@local>
4861 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4863 * text.C (singleWidth): Spurious font copying in hot-spot
4864 singleWidth avoided. Reorder tests for arabic for efficiency.
4866 * text.C (fill): handle empty paragraphs better.
4868 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4871 * encoding.h: add includes
4873 * lyxrc.C: remove reading of bind files
4875 * lyx_main.C (init): setup bindings and menus only if we have a
4878 * kbmap.C (read): new method. Do the actual reading of bind
4881 * converter.C (dvipdfm_options):
4884 (output): adapt PAPER_* enums.
4886 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4888 * bufferparams.h: remove paper-related enums from there
4890 * paper.h: New file. A trivial header file to hold paper-related
4891 enums. It should later expand to contain many paper-related
4894 * lyxrc.C: declare extern displayTranslator
4896 2003-07-27 José Matos <jamatos@fep.up.pt>
4898 * tabular.[Ch] (linuxdoc): add support for tables and figures
4901 2003-07-27 José Matos <jamatos@fep.up.pt>
4903 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4904 consistency in both functions.
4905 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4907 2003-07-26 Asger Alstrup <alstrup@local>
4909 * rowpainter.C (paintRows): Change algorithm to work directly on
4910 the insets rather than asking every character in the document
4911 whether its an inset.
4913 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4915 * buffer.C (openFileWrite): factorize some code
4917 2003-07-26 Angus Leeming <leeming@lyx.org>
4920 * lyx_main.[Ch]: replace occurances of system_tempdir with
4923 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4925 * rename Inset to InsetOld
4927 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4929 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4930 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4931 which I think is a bit clearer. EDIT is gone, since it was
4932 premature optimisation, and broken for mathed anyway.
4933 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4934 with cursor positioning in insets as well (math insets still do not
4935 work, but that's a different story anyway.) It mysteriously
4936 crashes sometimes with undo in the first paragraph, but I'm fairly
4937 confident that this is a compiler bug.
4939 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4941 * paragraph.C (Paragraph): adjust for new clone return type
4943 (copyIntoMinibuffer): ditto
4945 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4947 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4948 by not having a special case, and always doing a full rebreak of
4949 the document after undo.
4951 2003-07-23 Angus Leeming <leeming@lyx.org>
4953 * factory.C (createInset): InsetExternal::setParams now takes a
4956 2003-07-23 Angus Leeming <leeming@lyx.org>
4958 * factory.C (createInset): changed interface to the external and
4959 graphics mailers' string2params functions.
4961 2003-07-23 Angus Leeming <leeming@lyx.org>
4963 * factory.C (createInset): pass a
4964 Buffer const * parameter to InsetExternalMailer's string2params.
4966 2003-07-22 John Levon <levon@movementarian.org>
4968 * Thesaurus.h: include the right aiksaurus header
4970 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4972 * MenuBackend.C (expand): check menu shortcuts unconditionally
4974 2003-07-21 Angus Leeming <leeming@lyx.org>
4976 * factory.C (createInset): pass a
4977 buffer_path parameter to InsetGraphicsMailer's string2params.
4979 2003-07-21 Angus Leeming <leeming@lyx.org>
4981 * BufferView_pimpl.C (buffer):
4984 * lyxfunc.C (dispatch):
4985 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4986 rather than the grfx shortcut.
4988 2003-07-21 André Pönitz <poenitz@gmx.net>
4990 * rowpainter.C: remove unused variables
4993 * tabular_funcs.h: move to tabular.C
4994 * Makefile.am: adjust
4996 * tabular.[Ch]: basic optical cleaning
4998 * author.h: pass references, not values
5000 2003-07-18 André Pönitz <poenitz@gmx.net>
5008 * text3.C: two-phase drawing for InsetText and InsetTabular
5009 some float -> int changes.
5011 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5013 * lyx_main.C: fix the fix
5015 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5017 * lyx_main.C: fix a crash in batch mode if no files specified
5020 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5022 * format.[Ch] (papersize): moved to BufferParams
5023 * converter.[Ch] (dvips_options): moved to BufferParams
5024 (dvipdfm_options): moved to anon namespace
5025 * bufferparams.[Ch]: added above functions.
5027 2003-07-17 André Pönitz <poenitz@gmx.net>
5031 * text2.C: don't call inset->update() anymore
5033 * metricsinfo.[Ch]: add convenience constructor
5035 2003-07-16 André Pönitz <poenitz@gmx.net>
5040 * text2.C: replace the LyXCursor::irow_ member with
5041 on-demand computation of the value
5043 2003-07-16 John Levon <levon@movementarian.org>
5045 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5047 2003-07-15 André Pönitz <poenitz@gmx.net>
5050 * text2.C: remove no more needed refresh_row
5052 2003-07-15 André Pönitz <poenitz@gmx.net>
5057 * text3.C: refresh_status tristate -> need_update bool
5059 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5061 * lyxtext.h (init): remove reinit argument (act as if always true)
5062 * text2.C: adjust to that
5064 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5066 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5067 * text3.C: use it to delete selections in some cases
5068 (bugs 441, 673, 702, 954).
5070 2003-07-14 André Pönitz <poenitz@gmx.net>
5072 * rowpainter.[Ch]: reduce interface
5074 2003-07-14 André Pönitz <poenitz@gmx.net>
5076 * BufferView_pimpl.C:
5077 * text2.C: adjust after removing unused BufferView * argument
5079 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5081 * text2.C (init): fix a crash fired on resize
5083 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5085 * buffer.[Ch]: added new closing signal
5086 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5087 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5088 BufferView::Pimpl via the closing the signal
5090 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5092 * buffer.[Ch]: take out all bv-related from buffer
5094 * BufferView_pimpl.[Ch]: connect to new signals
5095 * CutAndPaste.C: removed useless asserts
5096 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5099 * lyxfunc.C: moved view-related funciontality from vc here
5100 * paragraph.C: removed outdated comments
5103 2003-07-10 André Pönitz <poenitz@gmx.net>
5105 * BufferView_pimpl.C:
5109 * text2.C: remove InsetText::InnerCache, clean up consequences
5111 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5113 * ispell.C: fix two typos in error messages
5115 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5117 * Extend Note inset to other forms of annotation like Comment
5118 and Greyedout. Right button click gives dialog.
5120 Files modified or added (+):
5124 * ControlNote.[Ch] +
5126 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5127 frontends/controllers
5131 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5133 * aspell.C: add missing namespace lyx::support
5135 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5137 * BufferView.[Ch] (newFile): Add
5138 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5139 * LaTeX.[Ch] (message): added this signal and use it
5140 * buffer.[Ch] (busy, message): added these signals and use them
5141 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5145 * importer.C: use buffer signals instead of direct bv calling
5146 * lyx_cb.[Ch] (ShowMessage): removed
5149 * paragraph_funcs.C:
5150 * text2.C: use buffer signals
5152 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5154 * introduce namespace lyx::graphics
5156 2003-07-02 André Pönitz <poenitz@gmx.net>
5158 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5160 2003-07-01 André Pönitz <poenitz@gmx.net>
5167 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5168 text*.C to text_func.C
5170 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5172 * introduce namespace lyx::support
5174 2003-06-30 André Pönitz <poenitz@gmx.net>
5179 * text.C: re-enable --with-included-string
5181 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5183 * textcursor.C: add <config.h>
5185 * text.C (getWord): remove const from word_location arg
5187 * lyxvc.C (getLogFile): fix const type order
5189 * lyxtext.h: remove const from word_location arg, add arg name
5191 * lyxlayout.h: currect type on labeltype.
5193 * importer.C: correct \file
5195 * converter.C (intToFormat): use std:: on ret val, ws changes
5197 * bufferlist.h: correct \file
5199 * buffer.C (makeLinuxDocFile): fix const type order
5200 (makeDocBookFile): ditto
5201 (fillWithBibKeys): use std:: on stdlib args.
5203 * CutAndPaste.C: fix authors.
5204 (availableSelections): use std:: on return vector
5206 2003-06-27 André Pönitz <poenitz@gmx.net>
5208 * BufferView_pimpl.C:
5209 * bufferview_funcs.C:
5217 * text3.C: remove LyXCursor::row_ member
5220 * text.C: rename fullRebreak() to partialRebreak() and implement
5221 a fullRebreak() that really bereks fully
5223 * textcursor.h: new struct for cursor-related data
5225 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5227 * lyx_main.C (LyX): get full path of document loaded on the
5230 2003-06-26 André Pönitz <poenitz@gmx.net>
5232 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5233 remove unused/broken operator>,<,>=.
5235 * text.C: remove only use of broken operator<= in an Assert().
5237 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5239 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5240 moved errorlist_.clear to showErrorList
5242 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5244 * converter.C (scanLog, runLaTeX):
5245 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5246 move the bv->showErrorList call to the callers
5247 * lyxfunc.C: i.e. here...
5249 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5250 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5251 namespace, the second to...
5252 * buffer_funcs (BufferFormat, parseErrors): added
5253 * errorlist.C (ErrorList(TeXErrors const &)): removed
5255 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5257 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5259 2003-06-24 "Garst R. Reese" <reese@isn.net>
5263 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5265 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5267 * version.C.in: change docversion to 1.4
5269 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5271 * buffer.C: fix a bug just introduced
5273 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5275 * buffer.[Ch]: added the parseError signal and use it, removed
5277 * BufferView.[Ch] (addError): moved to ...
5278 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5279 to the Buffer::parseError signal to catch (guess what) parse errors
5280 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5282 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5284 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5285 ability to create a buffer and to return an existing one from
5286 the list. Moved these functions to...
5287 * buffer_funcs.[Ch]: added
5288 * BufferView.[Ch] (loadLyXFile): added
5289 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5290 job removed from bufferlist::loadLyXFile.
5291 * buffer.C (setReadOnly): make it work without view
5292 (i.e added an if (users))
5294 2003-06-19 Angus Leeming <leeming@lyx.org>
5297 * LyXAction.C (init):
5298 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5299 with LFUN_DIALOG_SHOW <name> <data>.
5301 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5303 * CutAndPaste.C (availableSelections): small compilation fix for
5304 ancient (gcc 2.9x) compilers
5306 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5308 * text3.C (cursorNext): add tmp var
5310 * text2.C (updateCounters): for function calling out of for clause
5311 (replaceSelectionWithString): ditto
5312 (insertStringAsParagraphs): ditto
5313 (getColumnNearX): add tmp var
5314 (setCursorFromCoordinates): add tmp var
5315 (cursorDownParagraph): add tmp var
5316 (deleteEmptyParagraphMechanism): add tmp var
5318 * text.C (insertChar): add tmp var
5320 * rowpainter.C (paintDepthBar): add tmp var
5322 * CutAndPaste.C (availableSelections): potentially check all
5323 paragraphs in a cut to fill the shown strings.
5325 2003-06-18 André Pönitz <poenitz@gmx.net>
5327 * kbmap.[Ch]: use vector<> instead of list<>
5329 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5331 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5332 pasteSelection with index
5334 * text2.C (pasteSelection): modify, call pasteSelection with index
5336 * paragraph.C (asString): reimplement version with no interval to
5337 call the one with interval.
5339 * lyxtext.h: add index arg to pasteSelection
5341 * MenuBackend.C (MenuItem): handle PasteRecent
5342 (Menu::read::Menutags): add md_pasterecent
5344 (expandPasteRecent): new function
5347 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5349 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5351 (availableSelections): new function
5353 2003-06-17 Angus Leeming <leeming@lyx.org>
5355 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5357 2003-06-17 Angus Leeming <leeming@lyx.org>
5360 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5362 * lyxfunc.C (dispatch): invoke it.
5364 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5366 * iterators.C (operator++, ParPosition): reintroduce some
5367 const_cast for the benefit of older compilers.
5369 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5371 * text3.C (dispatch): do not modify clipboard when doing
5372 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5373 LFUN_DELETE_SKIP on a selection selection
5375 2003-06-16 André Pönitz <poenitz@gmx.net>
5381 * tabular.[Ch]: IU of clone() and getLabelList();
5383 2003-06-13 André Pönitz <poenitz@gmx.net>
5385 * tabular.h: compactification
5387 2003-06-12 André Pönitz <poenitz@gmx.net>
5391 * tabular_funcs.h: some renaming plus whitespace
5393 2003-06-12 André Pönitz <poenitz@gmx.net>
5396 * BufferView_pimpl.C:
5402 * toc.C: Return a Paragraph & for ParIterator::operator*()
5404 2003-06-11 John Levon <levon@movementarian.org>
5408 * ToolbarBackend.C: add "Toolbars" section and
5411 2003-06-10 Angus Leeming <leeming@lyx.org>
5414 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5416 * lyxfunc.C (dispatch): invoke it.
5418 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5420 * main.C: protect <ios> with HAVE_IOS
5421 (main): protect sync_with_stdio with HAVE_IOS
5423 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5425 * text2.C (cutSelection): adjust
5426 (pasteSelection): adjust
5428 * messages.C: handle get of empty string
5430 * main.C (main): use sync_with_stdio(false)
5432 * lyxfunc.C (dispatch): adjust
5434 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5435 (WriteAs): remove unneeded BufferView arg.
5437 * bufferparams.h: use correct types on papersize, papersize2 and
5440 * bufferparams.C (readToken): adjust for type
5441 (writeLaTeX): add missing cases to switch.
5443 * bufferlist.C (quitWriteBuffer): adjust
5446 * buffer.C (asciiParagraph): remove some commented code.
5448 * CutAndPaste.C: remove current_view extern variable.
5449 (cutSelection): add BufferParams arg.
5450 (eraseSelection): add BufferParams arg.
5451 (pasteSelection): add Buffer const & arg
5453 2003-06-07 John Levon <levon@movementarian.org>
5456 * paragraph_funcs.C:
5457 * paragraph_pimpl.C:
5461 * paragraph.C: allow InsetERT to freely space lines,
5462 and some consolidation of code
5464 2003-06-06 José Matos <jamatos@fep.up.pt>
5466 * buffer.C (makeDocBookFile): fix bug #821
5468 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5470 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5472 2003-06-04 Angus Leeming <leeming@lyx.org>
5474 * buffer.C: bump format to 224.
5476 2003-06-05 André Pönitz <poenitz@gmx.net>
5478 * text2.C (redoParagraphs): remove two const_cast<>
5480 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5482 * ParagraphList.h: remove last remnants of NO_STD_LIST
5484 2003-06-03 Angus Leeming <leeming@lyx.org>
5486 * factory.C (createInset): small change to the way InsetExternal's params
5489 2003-06-04 André Pönitz <poenitz@gmx.net>
5491 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5493 * paragraph_pimpl.h:
5494 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5496 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5498 * undo_funcs.C: make some simple cases of undo work again
5500 2003-06-03 John Levon <levon@movementarian.org>
5502 * ispell.C: HPUX doesn't have sys/select.h
5505 2003-06-03 John Levon <levon@movementarian.org>
5507 * CutAndPaste.C: update tabular and include inset
5512 * paragraph.C: remove owningBuffer(), don't pass Buffer
5515 * factory.C: insetGraphicsParams changed
5517 2003-06-02 John Levon <levon@movementarian.org>
5523 * text3.C: remove insetparent
5525 2003-06-02 John Levon <levon@movementarian.org>
5528 * buffer.C: fix inset_iterator.end(), move out of line
5531 2003-06-01 John Levon <levon@movementarian.org>
5533 * text3.C: use a proper cut/paste when doing inset
5534 insert (from Jürgen Spitzmüller)
5536 2003-06-01 John Levon <levon@movementarian.org>
5538 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5540 2003-05-30 André Pönitz <poenitz@gmx.net>
5542 * rowpainter.C: unify second drawing phase
5544 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5546 * trans_mgr.C: remove one case of current_view
5548 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5550 * paragraph_funcs.h: remove paragraph.h include
5552 * paragraph.h: delete NO_STD_LIST stuff
5554 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5556 * buffer.h: remove paragraph.h include
5558 * ParagraphList.C: delete file
5560 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5562 * toc.C (getTocList): adjust
5564 * paragraph_pimpl.C (validate): adjust
5566 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5568 * paragraph.C (Paragraph): adjust
5569 (getPositionOfInset): use const_iterator, adjust
5570 (bibitem): use const_iterator, adjust
5571 (setInsetOwner): adjust
5573 * iterators.C (operator++): adjust
5575 * InsetList.[Ch]: Replace selfmade iterator with standard
5576 vector::iterator also introduce const_iterator. Remove getPos,
5577 getInset and setInset from InsetTable. Adjust accordingly.
5579 * BufferView.C (lockInset): adjust
5580 (ChangeInsets): adjust
5582 * tabular.[Ch]: delete commented same_id functions
5584 2003-05-28 John Levon <levon@movementarian.org>
5586 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5588 2003-05-28 André Pönitz <poenitz@gmx.net>
5590 * metricsinfo.[Ch]: remove 'fullredraw' member
5592 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5594 * lyxtextclass.C (operator): remove caching.
5596 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5600 * text2.C (cursorBottom): adjust
5601 (setCounter): use ParagraphList::find, adjust
5603 * text.C (workWidth): use ParagraphList::find, adjust
5605 * lyxcursor.C (LyXCursor): adjust
5607 * buffer.C (inset_iterator): adjust
5609 * ParagraphList.h: make iterator(value_type) private, make
5610 ParagraphList a friend of iterator.
5612 * ParagraphList.C (find): new function
5614 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5616 2003-05-27 André Pönitz <poenitz@gmx.net>
5618 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5620 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5622 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5624 2003-05-26 John Levon <levon@movementarian.org>
5626 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5628 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5630 * remove same_id from function signatures, adjust.
5632 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5634 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5636 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5638 * paragraph.C (Paragraph): get rid of same_ids parameter
5640 * ParagraphList.C (insert): adjust
5643 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5645 * paragraph_funcs.C (breakParagraph): adjust
5646 (breakParagraphConservative): adjust
5648 * buffer.C (readParagraph): adjust
5650 * ParagraphList.C (insert): take a reference instead of a pointer
5653 * paragraph.[Ch] (id): new function
5655 * bufferlist.C (newFile): adjust
5657 * ParagraphList.C (ParagraphList): adjust
5659 (push_back): take a reference instead of a pointer.
5661 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5663 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5666 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5667 set else use old code.
5669 * ParagraphList.C: remove all NO_NEXT code and only compile this
5670 code of NO_STD_LIST is set.
5672 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5674 * BufferView_pimpl.C:
5684 * graphics/GraphicsConverter.C:
5685 * graphics/PreviewLoader.C: header adjustment
5687 2003-05-23 Angus Leeming <leeming@lyx.org>
5689 * LaTeXFeatures.[Ch] (useBabel): new method.
5690 * bufferparams.C (writeLaTeX): use it.
5692 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5694 * ParagraphList.h (set): remove unused function.
5696 2003-05-23 André Pönitz <poenitz@gmx.net>
5699 * BufferView_pimpl.C:
5703 * undo_funcs.C: setUndo reworked
5705 * iterators.[Ch]: add access to topmost ParagraphList
5707 * lyxtext.[Ch] (workWidth): add a const
5709 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5711 * texrow.[Ch] (increasePos): remove function
5712 * exporter.C (export): removed unused var and outdated comment
5714 2003-05-23 Angus Leeming <leeming@lyx.org>
5716 * latexrunparams.h: rename fragile as moving_arg.
5717 * paragraph.C (simpleTeXOnePar): ditto.
5718 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5720 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5722 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5724 (textUndoOrRedo): comment out a currently unused var.
5726 * paragraph.h (NO_NEXT): enable NO_NEXT
5728 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5730 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5732 * exporter.C (Export): adjust for removeAutoInsets removal.
5734 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5736 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5738 * BufferView.[Ch] (removeAutoInsets): delete function
5740 2003-05-22 Angus Leeming <leeming@lyx.org>
5742 * latexrunparams.h: add a free_spacing variable.
5744 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5745 to pass moving_arg, as the data is stored in runparams.fragile.
5747 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5748 to Inset::latexOptional or to simpleTeXOnePar.
5750 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5751 free_spacing arg to Inset::latexOptional.
5753 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5756 2003-05-22 Angus Leeming <leeming@lyx.org>
5758 * latexrunparams.h: add fragile and use_babel variables.
5760 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5761 * buffer.C (makeLaTeXFile): store this returned value in
5762 runparams.use_babel, thus passing it to the inset::latex methods.
5764 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5765 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5767 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5768 longer has a fragile arg, as it is stored in runparams.fragile.
5770 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5771 moving_arg parameter as the data is stored in runparams.fragile.
5773 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5774 a fragile parameter as the data is stored in runparams.fragile.
5776 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5778 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5780 2003-05-22 Angus Leeming <leeming@lyx.org>
5782 * latexrunparams.h: add a 'bool nice' which defaults to false.
5784 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5785 now encapsulated within runparams.
5787 * bufferlist.C (updateIncludedTeXfiles):
5788 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5790 2003-05-22 Angus Leeming <leeming@lyx.org>
5792 * latexrunparams.h: new file containing struct LatexRunParams.
5793 * Makefile.am: add new file.
5795 * LaTeX.[Ch] (c-tor, run):
5796 * buffer.[Ch] (makeLaTeXFile):
5797 * bufferlist.[Ch] (updateIncludedTeXfiles):
5798 * converter.C (convert, scanLog):
5799 * converter.[Ch] (runLaTeX):
5800 * exporter.C (Export):
5801 * paragraph.[Ch] (simpleTeXOnePar):
5802 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5803 * paragraph_funcs.[Ch] (latexParagraphs):
5804 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5805 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5806 pass around a LatexRunParams parameter.
5808 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5810 * paragraph.[Ch]: remove unused constructor
5812 * ParagraphList.C (erase): new function, taking two iterators
5814 2003-05-22 André Pönitz <poenitz@gmx.net>
5816 * undo_funcs.C: remove duplicated code
5818 * iterator.[Ch]: operator=
5820 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5822 * tabular.C (SetMultiColumn): ws changes
5824 * rowpainter.C (paintFirst): get rid of a ->previous
5826 * lyx_cb.C (getPossibleLabel): parlist simplification
5828 * BufferView.C (ChangeInsets): simplify slightly.
5830 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5832 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5833 * lfuns.h: new LFUN_SPACE
5834 * lyxfunc.C: protected space has a new lfun
5835 * paragraph_funcs.C: read new space insets
5837 * factory.C: handle new space insets
5839 2003-05-22 André Pönitz <poenitz@gmx.net>
5842 * BufferView_pimpl.C:
5845 * undo_funcs.C: return a ParIterator from getParFromID.
5847 * iterators.[Ch]: add two const's
5849 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5851 * toc.C (getTocList): adjust
5853 * iterators.[Ch]: rework for parlist
5855 * buffer.C (par_iterator_begin): adjust
5856 (par_iterator_end): adjust
5858 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5860 * BufferView.C (removeAutoInsets): adjust
5861 (ChangeInsets): adjust
5863 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5865 * text.C (top_y): fix bug 1110
5867 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5869 * errorlist.[Ch]: added
5872 * BufferView_pimpl.C:
5873 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5876 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5878 * Makefile.am: ensure that lyx is relinked upon changes to the
5879 various "convenience" libs.
5881 2003-05-20 Angus Leeming <leeming@lyx.org>
5883 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5884 files are compiled in alphabetical order again.
5886 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5888 2003-05-19 Angus Leeming <leeming@lyx.org>
5890 * gettext.[Ch]: remove "char const * _(char const *)".
5892 2003-05-19 André Pönitz <poenitz@gmx.net>
5894 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5903 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5905 2003-05-19 André Pönitz <poenitz@gmx.net>
5909 * lyxtextclass.[Ch]:
5911 * paragraph_funcs.[Ch]:
5913 * text3.C: more insetenv work
5915 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5917 * ParagraphParameters.C (params2string): small bug fixed
5919 2003-05-16 André Pönitz <poenitz@gmx.net>
5922 * bufferview_funcs.C: patch from Kornel Benko to prevent
5923 crash when _(...) is called twice in a statement
5925 2003-05-16 André Pönitz <poenitz@gmx.net>
5932 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5934 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5936 * lyx_main.C (init): remove spurious static_cast
5938 2003-05-14 André Pönitz <poenitz@gmx.net>
5940 * BufferView.C: fix format string
5942 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5944 * BufferView.[Ch] (insertErrors): removed
5945 * BufferView.[Ch] (showErrorList): added
5946 * buffer.C (runChkTeX):
5947 * converter.C (scanLog): call showErrorList instead of inserterrors
5949 2003-05-13 André Pönitz <poenitz@gmx.net>
5951 * BufferView_pimpl.C:
5953 * bufferview_func.C:
5960 * tabular_funcs.h: tostr() from its own header
5962 * ParagraphParameters.C:
5967 * text3.C: STRCONV()
5969 2003-05-12 André Pönitz <poenitz@gmx.net>
5972 * BufferView_pimpl.C:
5976 * ParagraphParameters.C:
5980 * bufferview_funcs.C:
5993 * paragraph_funcs.C:
5997 * text3.C: boost::format -> bformat all over the place
6000 2003-05-09 André Pönitz <poenitz@gmx.net>
6002 * LColor.[Ch]: Pimpl the #include <map> away
6004 2003-05-09 John Levon <levon@movementarian.org>
6006 * bufferlist.C: never remove emergency saves
6008 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6010 * Makefile.am: better lib building
6012 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6014 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6016 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6017 (simpleTeXSpecialChars): adjust
6018 (simpleTeXSpecialChars): adjust
6019 * paragraph.C (simpleTeXOnePar): adjust
6020 * buffer.C (makeLaTeXFile): adjust
6022 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6024 * text2.C (changeDepth): parlist cleanup
6025 (getColumnNearX): ditto
6027 * rowpainter.C (getLabelFont): parlist cleanup
6029 * bufferlist.C (newFile): parlist cleanup
6031 * CutAndPaste.C (eraseSelection): parlist cleanup
6033 * BufferView_pimpl.C (trackChanges): parlist cleanup
6036 * BufferView.C (lockInset): parlist cleanup.
6037 (ChangeInsets): ditto
6039 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6041 * CutAndPaste.h: Update file header.
6043 * CutAndPaste.C: Update file header.
6044 Store the parts cut out of the Document in a limited_stack.
6045 (copySelection): adjust
6046 (pasteSelection): new function, takes the index in the limited stack.
6047 (nrOfParagraphs): adjust
6048 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6049 simplify error inset insertion.
6050 (checkPastePossible): adjust
6052 2003-05-06 John Levon <levon@movementarian.org>
6054 * text2.C: don't cast wrap inset to float
6056 2003-05-05 André Pönitz <poenitz@gmx.net>
6059 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6061 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6062 few naked Paragraph *.
6064 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6066 * bufferparams.C: Output warning if a document with missing
6067 TeX document class is loaded
6068 * exporter.C: Disable TeX exports if the document class is missing
6071 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6072 isTeXClassAvailable()
6074 2003-05-03 John Levon <levon@movementarian.org>
6077 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6078 explicit cursor show/hide
6080 * BufferView_pimpl.h:
6081 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6082 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6084 * lyxfunc.C: hide cursor before dispatching.
6089 * text3.C: remove explicit cursor hides
6091 2003-05-02 André Pönitz <poenitz@gmx.net>
6093 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6096 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6099 * text2.C: tiny whitespace
6101 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6103 * undo_funcs.C: almost only ws changes.
6105 * ParagraphList.C (splice): just return if pl is empty.
6107 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6109 * ParagraphList.C (splice): new function.
6111 * CutAndPaste.C (pasteSelection): use it
6113 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6115 * CutAndPaste.C (pasteSelection): remove the last next and
6116 previous from this file.
6118 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6120 * CutAndPaste.C (pasteSelection): more clean up, user proper
6121 ParagraphList functions for pasteing.
6123 * ParagraphList.C (insert): new function, three arg insert
6125 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6127 * ParagraphList.C (insert): new function, three arg insert
6129 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6132 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6134 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6136 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6138 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6140 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6142 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6143 (copySelection): clean up a bit.
6144 (pasteSelection): use make_pair
6146 * ParagraphList.C (ParagraphList): implement copy constructor
6147 (operator=): implement, base on copy constructor.
6150 * paragraph.C (erase): return a bool
6152 * paragraph_pimpl.C (erasePos): remove function, move contents...
6153 (erase): ... here. Return a bool.
6154 (erase): call erase instead of erasePos.
6156 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6158 * ParagraphList.h: define PitPosPair
6159 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6160 ParagraphList, fix a bug on pasting multiple pars
6161 * text2.C: change interface to C&P
6163 2003-04-30 André Pönitz <poenitz@gmx.net>
6165 * undo_func.C: revert part of yesterday's patch 2
6167 2003-04-30 John Levon <levon@movementarian.org>
6169 * LColor.C: s/tabular/table/
6171 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6173 * text3.C (dispatch): do not convert iterator -> pointer
6174 * undo_funcs.C (setCursorParUndo): ditto
6175 * text_funcs.C (transposeChars): ditto
6177 * text2.C (setLayout): ws changes only
6179 * text.C (breakParagraph): do not convert iterator -> pointer
6181 (acceptChange): ditto
6182 (rejectChange): ditto
6187 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6190 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6192 * text3.C (gotoInset): YABG (yet another bad getChar)
6194 2003-04-29 André Pönitz <poenitz@gmx.net>
6196 * paragraph.h: make operator= private unimplemented as long as
6199 * ParagraphList.C: whitespace
6202 * paragraph_pimpl.[Ch]:
6203 * paragraph_funcs.C:
6205 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6208 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6210 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6212 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6213 * paragraph.[Ch] (erase):
6214 * paragraph_pimpl.[Ch] (erase): change return type and value
6215 * text2.C (cutSelection): some rework
6217 2003-04-28 John Levon <levon@movementarian.org>
6219 * bufferlist.C: changes for unsaved changes dialog
6221 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6223 * bufferlist.C (newFile): set language (messages_) for new
6226 * buffer.C (readFile): ws changes only.
6228 2003-04-28 André Pönitz <poenitz@gmx.net>
6233 * BufferView_pimpl.C:
6234 * BufferView.C: getParFromID related ParagraphList::iterator changes
6236 2003-04-28 André Pönitz <poenitz@gmx.net>
6238 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6241 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6243 * messages.C: remove one more localedir class variable.
6245 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6247 * messages.C (getLocaleDir): singleton generation function
6249 (Messages): add a default constructor.
6251 * main.C (main): do not setup localedir here, do not call
6254 * gettext.C (_): use it.
6255 (gettext_init): delete funciton
6257 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6259 * gettext.C (getLyXMessages): new singleton generating function.
6261 * buffer.C (updateDocLang): adjust
6263 * Makefile.am (messages.o): add target
6264 (main.o): remove target
6266 2003-04-27 John Levon <levon@movementarian.org>
6271 * lyxvc.C: specify cancel button in Alert::prompt
6273 2003-04-26 John Levon <levon@movementarian.org>
6278 * LyXAction.C: add LFUN_INSET_SETTINGS
6280 * lyxfunc.C: don't enable tabular-feature when there's
6281 just any locking inset
6283 2003-04-26 John Levon <levon@movementarian.org>
6285 * bufferlist.C: re-add Cancel to buffer close question
6287 * lyxfunc.C: fix import UI a bit
6289 2003-04-25 John Levon <levon@movementarian.org>
6291 * gettext.C: remove the broken asserts for now
6293 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6295 * messages.C: make case where setlocale cannot comply work better.
6297 * buffer.C (updateDocLang): new function
6298 (changeLanguage): use it
6301 * text2.C (setCounter): use B_ a bit.
6303 * lyxlayout.C (Read): be sure to trim the label strings.
6305 * messages.C (Messages): fix typo in comment
6307 * buffer.C (readFile): set message_ after file is loaded.
6308 (makeDocBookFile): remove double return
6309 (changeLanguage): reset message_ upon language change.
6310 (B_): new func, use this to get translated buffer strings.
6312 * main.C: add myself and Jean Marc as authors.
6314 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6316 * messages.[hC]: pimplify Messages, and three different pimpls to be
6317 used in different circumstances.
6319 * gettext.[Ch]: change for use with new message code.
6321 2003-04-24 André Pönitz <poenitz@gmx.net>
6323 * factory.C: support for eqref
6325 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6327 * messages.[Ch]: add missing char
6329 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6331 * messages.[Ch]: New files
6333 2003-04-18 John Levon <levon@movementarian.org>
6337 * BufferView_pimpl.C:
6341 * text2.C: remove layout-copy/paste (bug 778)
6343 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6345 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6347 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6349 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6350 if they succeed. Act accordingly.
6352 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6354 * text2.C (setCharFont): adjust
6355 (setCounter): adjust
6356 (insertStringAsLines): adjust
6358 * text.C (leftMargin): adjust
6359 (setHeightOfRow): adjust
6361 * rowpainter.C (paintFirst): adjust
6364 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6366 (isFirstInSequence): ditto
6367 (getEndLabel): ditto
6370 * paragraph.C (getParLanguage): comment out some hard stuff.
6372 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6374 (simpleDocBookOnePar): ditto
6375 (makeDocBookFile): use ParagraphList::iterator
6377 * CutAndPaste.C (pasteSelection): adjust
6379 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6381 * text2.C (getFont): adjust
6382 (getLayoutFont): adjust
6383 (getLabelFont): adjust
6385 * paragraph_funcs.C (TeXOnePar): adjust
6387 * buffer.C (simpleLinuxDocOnePar): adjust
6388 (simpleDocBookOnePar): adjust
6390 * CutAndPaste.C (pasteSelection): adjust
6392 * BufferView.C (getEncoding): adjust
6394 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6396 2003-04-16 John Levon <levon@movementarian.org>
6398 * lyxfind.C: use parlist stuff for search/changes
6400 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6402 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6404 * text2.C (deleteEmptyParagraphMechanism): adjust
6406 * text2.[Ch] (ownerParagraph): delete func (both of them
6408 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6410 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6412 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6414 * ParagraphList.C: prepare for NO_NEXT
6416 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6418 * text2.C (getFont): adjust
6419 (getLayoutFont): adjust
6420 (getLabelFont): adjust
6422 * paragraph.C (getFont): adjust
6423 (getLabelFont): adjust
6424 (getLayoutFont): adjust
6426 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6428 2003-04-15 John Levon <levon@movementarian.org>
6432 * lyx_main.C: handle Include in .ui files
6434 2003-04-15 John Levon <levon@movementarian.org>
6436 * MenuBackend.C: make the doc files length shorter
6439 * ToolbarBackend.C: handle toolbar placement flags,
6442 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6444 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6447 * paragraph_funcs.C (TeXOnePar): adjust
6449 * paragraph.C (getLabelFont): add outerfont arg, adjust
6450 (getLayoutFont): ditto
6451 (simpleTeXOnePar): adjust
6453 * paragraph_pimpl.C (realizeFont): delete func
6455 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6457 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6458 row argument, constify cur argument.
6460 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6462 * text2.C (getFont): adjust
6463 (getLayoutFont): adjust
6464 (getLabelFont): adjust
6466 * paragraph_funcs.C (TeXOnePar): adjust
6467 (outerFont): new func...
6468 (realizeFont): ...moved out from here, changed this to facilitate
6471 * paragraph.C (getFont): take outerfont as arg, adjust
6472 (simpleTeXOnePar): add outerfont arg, adjust
6474 * buffer.C (simpleLinuxDocOnePar): adjust
6475 (simpleDocBookOnePar): adjust
6477 * CutAndPaste.C (pasteSelection): adjust
6479 * BufferView.C (getEncoding): adjust
6481 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6483 * text2.C (setCharFont): adjust
6484 (setCounter): adjust
6486 * text.C (leftMargin): adjust
6487 (setHeightOfRow): adjust
6489 * rowpainter.C (paintFirst): adjust
6492 * paragraph_pimpl.C (realizeFont): adjust
6494 * paragraph.C (isFirstInSequence): move from here...
6495 * paragraph_funcs.C (isFirstInSequence): ...to here
6497 * paragraph.C (outerHook): move from here...
6498 * paragraph_funcs.C (outerHook): ...to here
6500 * paragraph.C (depthHook): move from here...
6501 * paragraph_funcs.C (depthHook): ...to here
6503 * paragraph.C (getEndLabel): move from here...
6504 * paragraph_funcs.C (getEndLabel): ...to here
6506 * text2.C (realizeFont): move from here...
6507 * paragraph_funcs.C (realizeFont): ...to here
6509 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6511 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6513 2003-04-14 Angus Leeming <leeming@lyx.org>
6515 * LColor.[Ch]: scrap LColor mathcursor.
6517 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6519 * lyxlex.[Ch] (text): delete function
6520 * trans.C (Load): adjust
6521 * paragraph_funcs.C (readParToken): adjust
6523 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6525 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6526 vector<char> instead of a char[].
6528 * lyxlex_pimpl.C (getString): adjust
6530 (lex): use getString
6534 * lyxlex.C (text): use pimpl_->getString()
6538 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6540 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6541 (makeFontEntriesLayoutSpecific): temp var for par.size()
6542 (setLayout): temp var for ownerParagraphs().end()
6543 (fullRebreak): temp var for rows().end()
6544 (selectionAsString): temp var for boost::next(startpit), realize
6545 that the while really is a regular for loop.
6546 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6547 setCursor in one place.
6548 (setParagraph): temp vr for ownerParagraphs().end()
6549 (updateCounters): make the while loop a for loop
6550 (cutSelection): temp var for ownerParagraphs().end()
6551 (updateInset): make the do {} while() a regular for loop
6552 (getCursorX): use temp vars
6553 (setCurrentFont): use temp vars
6554 (getColumnNearX): use temp vars
6556 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6558 * text.C (transformChar): use temp var for getChar
6559 (computeBidiTables): use temp var for row->par()
6560 (fill): move temp vars for row->par() and pit->layout() earlier in
6562 (labelFill): use temp var for row->par()
6563 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6564 asc and desc, realize that pit never changes and that firstpit is
6565 just a duplicate and not needed. Exchange rit->par() with pit in a
6567 (breakAgain): use a temp var for boost::next(rit)
6568 (breakAgainOneRow): ditto
6569 (breakParagraph): use a temp var for rows().begin()
6570 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6571 (cursorRightOneWord): use temp var for cursor.par() and
6572 cursor.pos(), remove usage of tmpcursor.
6573 (cursorLeftOneWord): use temp var for cursor.par() and
6574 cursor.pos() only set cur at end of function.
6576 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6578 * text.C, text2.C: exchange all usage of Paragraph::next with
6579 boost::next(ParagraphList::iterator)
6581 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6583 * text2.C (cursorTop): simplify implementation
6584 (cursorBottom): ditto
6585 (setParagraph): use ParagraphList::iterator
6586 (setCurrentFont): adjust
6587 (getColumnNearX): adjust
6588 (cursorRight): adjust
6589 (cursorLeft): remove usage of Paragraph::previous
6590 (cursorUpParagraph): ditto
6591 (deleteEmptyParagraphMechanism): slight cleanup
6593 * text.C (isBoundary): take a Paragraph const & instead of a
6595 (addressBreakPoint): ditto
6596 (leftMargin): remove usage of Paragraph::previous.
6597 (setHeightOfRow): ditto
6598 (cursorLeftOneWord): ditto
6599 (selectNextWordToSpellcheck): ditto
6602 (breakParagraph): remove one usage of Paragraph::next
6603 (redoParagraph): ditto
6604 (acceptChange): ditto
6605 (insertChar): adjust
6606 (rowBreakPoint): adjust
6608 * bufferview_funcs.C (toggleAndShow): adjust
6610 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6612 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6613 methods to access it.
6615 * text.C: Added updateRowPositions to compute all row positions.
6616 Make top_y and getRowNearY() to use the cached y position
6618 2003-04-11 John Levon <levon@movementarian.org>
6620 * text.C (rowBreakPoint): reintroduce the labelEnd
6621 checks, code copied from the row fill stuff. Deep voodoo.
6623 * text.C (fill): add a comment and debugging for the
6626 2003-04-11 John Levon <levon@movementarian.org>
6628 * text.C: make sure fullrow insets get wrapped to the next line,
6629 even when they're in a manual label
6631 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6633 * text2.C (insertParagraph): make it take ParagraphList::iterator
6635 (setLayout): make it return ParagraphList::iterator
6636 (redoParagraphs): ditto
6638 (checkParagraph): ditto
6640 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6642 * text2.C: adjust several funcs.
6643 (realizeFont): take a ParagraphList::iterator as arg.
6644 (getLayoutFont): ditto
6645 (getLabelFont): ditto
6646 (setCharFont): ditto
6648 * text.C: adjust several funcs.
6650 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6652 * text.C (selectNextWordToSpellcheck): don't accidentally
6655 2003-04-10 John Levon <levon@movementarian.org>
6657 * ToolbarBackend.C (getIcon): special handling for
6660 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6662 * text2.C (cursorRight): a getChar assert fixed
6664 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6666 * text2.C (getFont): change to take a ParagraphList::iterator
6667 instead of Paragraph*
6668 Adjust several functions.
6670 * text.C (transformChar): change to take a ParagraphList::iterator
6671 instead of Paragraph*
6672 (singleWidth): ditto
6673 Adjust several functions.
6675 * rowpainter.C: adjust several functions
6676 * rowpainter.h:store a ParagraphList::iterator and not a
6680 2003-04-09 John Levon <levon@movementarian.org>
6685 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6686 and the "help" bits as well
6688 2003-04-09 John Levon <levon@movementarian.org>
6691 * ToolbarBackend.C: allow multiple toolbars
6693 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6695 * undo_funcs.C (setCursorParUndo): adjust
6697 * text_funcs.C (transposeChars): adjust
6699 * text3.C (gotoNextInset): adjust
6702 * text2.C (setLayout): adjust
6703 (changeDepth): adjust
6705 (redoParagraphs): adjust
6706 (selectionAsString): adjust
6707 (setParagraph): adjust
6708 (insertInset): adjust
6709 (cutSelection): adjust
6710 (copySelection): adjust
6711 (pasteSelection): adjust
6712 (insertStringAsLines): adjust
6713 (updateInset): adjust
6714 (setCursor): change to take a ParagraphList::iterator parameter
6715 (setCursorIntern): change to take a ParagraphList::iterator parameter
6716 (setCurrentFont): adjust
6717 (cursorLeft): adjust
6718 (cursorRight): adjust
6719 (deleteEmptyParagraphMechanism): adjust
6721 * text.C (breakParagraph): adjust
6722 (insertChar): adjust
6723 (acceptChange): adjust
6724 (rejectChange): adjust
6725 (selectNextWordToSpellcheck): adjust
6726 (changeCase): adjust
6730 * lyxfind.C (SearchForward): adjust
6731 (SearchBackward): adjust
6732 (nextChange): adjust
6734 * lyxcursor.C (par): adjust
6736 * lyxcursor.h: store a ParagraphList::iterator instead of a
6739 * lyx_cb.C (getPossibleLabel): adjust
6741 * bufferview_funcs.C (toggleAndShow): adjust
6743 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6746 * BufferView.C (removeAutoInsets): adjust
6747 (lockedInsetStoreUndo): adjust
6749 2003-04-09 John Levon <levon@movementarian.org>
6751 * ToolbarBackend.C: try icon without argument
6752 if with argument fails
6754 2003-04-08 John Levon <levon@movementarian.org>
6757 * ToolbarBackend.C: add getIcon(), handle tooltip,
6758 and change from "Icon" to "Item".
6760 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6762 * BufferView.C (lockInset): another bad getchar crunched
6764 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6766 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6769 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6771 * lyxfind.C (searchForward, searchBackwards): bug 782
6773 2003-04-07 John Levon <levon@movementarian.org>
6775 * paragraph.C: remove dead comment
6777 * text.C: remove troublesome depth-fiddling code
6778 in leftMargin() and rightMargin() (bug 1017)
6780 * text.C: fix breaking of rows in nested lists
6783 * text2.C (updateCounters): fix up depth values
6786 2003-04-07 John Levon <levon@movementarian.org>
6788 * BufferView_pimpl.C: clear message when doc finishes resizing,
6789 and after a mouse event
6791 * lyxfunc.C: clear message after exiting inset
6793 2003-04-07 John Levon <levon@movementarian.org>
6795 * bufferview_funcs.C: show math status not outside
6796 status in the statusbar
6798 2003-04-07 John Levon <levon@movementarian.org>
6800 * lyxfunc.C: note status changed after a depth change
6802 2003-04-04 Angus Leeming <leeming@lyx.org>
6804 * LaTeX.h: move AuxInfo operator==, != out of line.
6805 Remove LaTeX virtual destructor; nothing derives from it.
6806 Move operator()() out of public area and rename it startscript().
6807 Change protected for private.
6809 2003-04-04 Angus Leeming <leeming@lyx.org>
6812 * text2.C: remove unneeded #includes.
6814 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6816 * text2.C (dEPM): fix the heigth of the next row
6818 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6820 * text.C: squashed an invalid getChar requester + some ws changes
6822 2003-04-03 John Levon <levon@movementarian.org>
6824 * bufferview_funcs.h:
6825 * bufferview_funcs.C:
6828 * text2.C: make getStatus work for the env depth lfuns
6830 2003-04-03 John Levon <levon@movementarian.org>
6832 * bufferview_funcs.h:
6833 * bufferview_funcs.C:
6836 * text2.C: parlistize decDepth(), by merging it with incDepth()
6838 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6840 * lyxrow.h: store a ParagraphList::iterator instead of a
6841 Paragraph* and adjust other class functions to suit.
6843 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6846 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6848 * text2.C (setCursor): do not anchor to cursor row for the time being
6850 2003-04-02 John Levon <levon@movementarian.org>
6857 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6859 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6861 * paragraph.h: make ParagraphList and ParagraphList::iterator
6862 friends of Paragraph.
6864 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6866 * ParagraphList.C: Use the private next_ and previous_ from
6869 2003-04-01 John Levon <levon@movementarian.org>
6873 * Makefile.am: rename, remove defaults gunk
6876 * MenuBackend.C: remove defaults gunk
6879 * Languages.C: remove defaults gunk
6882 * lyx_main.C: error out if files couldn't be found.
6884 2003-04-02 John Levon <levon@movementarian.org>
6886 * text2.C: make incDepth() use parlist
6888 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6890 * undo_funcs.C (firstUndoParagraph): adjust
6892 * text3.C (gotoInset): adjust
6893 (dispatch): adjust, and rewrite loop.
6895 * text2.C (init): adjust, and rewrite loop.
6896 (redoParagraphs): adjust
6897 (updateInset): adjust, and rewrite loop.
6898 (deleteEmptyParagraphMechanism): adjust
6900 * tabular.C (LyXTabular): adjust
6901 (SetMultiColumn): adjust
6904 * lyxtext.[Ch] (ownerParagraph): delete function
6905 (ownerParagraphs): new function returns a ParagraphList.
6907 * BufferView.C (removeAutoInsets): adjust
6908 (insertErrors): adjust
6909 (setCursorFromRow): adjust
6911 2003-04-01 Angus Leeming <leeming@lyx.org>
6913 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6916 2003-04-02 John Levon <levon@movementarian.org>
6922 * text_funcs.C: make transposeChars a free function
6924 * lyxrow_funcs.C: remove wrong comment
6926 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6929 * rowpainter.C: adjust
6934 * lyxrow_funcs. [Ch]: new files
6936 * lyxrow.[Ch]: remove next and previous pointers
6937 (next,previous): remove accessor functions
6938 (isParEnd): move to lyxrow_funcs
6939 (lastPos): move to lyxrow_funcs
6940 (nextRowIsAllInset): move to lyxrow_funcs
6941 (lastPrintablePos): move to lyxrow_funcs
6942 (numberOfSeparators): move to lyxrow_funcs
6943 (numberOfHfills): move to lyxrow_funcs
6944 (numberOfLabelHfills): move to lyxrow_funcs
6945 (hfillExpansion): move to lyxrow_funcs
6949 * bufferview_funcs.C (toggleAndShow): adjust
6951 * RowList.h: Remove class RowList from file leave just a
6954 * RowList.C: delete file
6956 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6959 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6961 * text3.C (cursorPrevious): adjust
6962 (cursorNext): adjust
6965 * text2.C (redoHeightOfParagraph): adjust
6966 (redoDrawingOfParagraph): adjust
6969 * text.C (breakParagraph): adjust
6970 (insertChar): adjust
6973 * rowpainter.C (RowPainter): adjust
6974 (leftMargin): simplify and adjust
6975 (most rowpainter functions): adjust.
6977 * rowpainter.h: store the row as RowList::iterator not as Row*
6979 * lyxcursor.C (row): taka RowList::iterator as arg
6982 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6985 2003-04-01 Angus Leeming <leeming@lyx.org>
6987 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6988 stuff like bool Bool.
6990 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6992 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6995 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6997 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7000 * lyxtext.h (rows): drop one version and leve a const variant that
7001 returns a RowList::iterator.
7003 2003-03-31 Angus Leeming <leeming@lyx.org>
7005 * text.C (fill): ensure that the signature is the same as that in the
7008 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7010 * text2.C (redoParagraphs): adjust
7011 (updateCounters): adjust
7012 (checkParagraph): adjust
7013 (getColumnNearX): adjust and reformat a bit.
7015 * text.C (top_y): adjust
7017 (leftMargin): adjust
7018 (prepareToPrint): adjust
7020 (getRowNearY): adjust
7022 * lyxtext.h: make rowlist_ mutable.
7024 * RowList.h: add const_iterator
7025 * RowList.C: adjust for RowList::const_iterator.
7027 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7030 2003-03-31 John Levon <levon@movementarian.org>
7033 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7035 * lyx_main.C: set default fonts from using lyx_gui funcs
7037 * exporter.C: pdf_mode moved from lyxrc
7040 * lyxfunc.C: changes from above
7042 2003-03-31 John Levon <levon@movementarian.org>
7044 * lyx_main.C: fix to the last fix
7046 2003-03-31 John Levon <levon@movementarian.org>
7048 * bufferlist.C: "Load original" -> "Load Original"
7054 * format.C: more Alert cleanups
7056 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7058 * text2.C (removeParagraph): make it take a RowList::iterator as
7060 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7061 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7063 * text.C (anchor_row): make it take a RowList::iterator as arg,
7065 (computeBidiTables): make it take a const reference to Row instead
7066 of Row pointer, adjust.
7067 (leftMargin): make it take a RowList::iterator as arg, adjust.
7068 (rowBreakPoint): adjust
7069 (breakAgainOneRow): make it take a RowList::iterator as arg,
7071 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7073 * bufferview_funcs.C (toggleAndShow): adjust
7075 2003-03-30 John Levon <levon@movementarian.org>
7079 * boost-inst.C: moved to support
7081 * several files: changes as a result
7083 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7085 * text2.C (LyXText): adjust.
7087 (removeRow): make it take a RowList::iterator as arg, adjust.
7088 (fullRebreak): adjust
7089 (deleteEmptyParagraphMechanism): adjust
7090 (clearPaint): adjust
7093 * text.C (top_y): adjust
7094 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7095 (breakAgain): make it take a RowList::iterator as arg, adjust.
7096 (breakParagraph): adjust
7097 (insertChar): adjust
7100 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7101 need_break_row, and refresh_row.
7103 * text3.C (dispatch): adjust
7105 * text2.C (checkParagraph): adjust
7107 (setCursorFromCoordinates): adjust
7109 * text.C (top_y): adjust
7111 (getRow): make it return a RowList::iterator, adjust
7112 (getRowNearY): make it return a RowList::iterator, adjust
7114 * text2.C (init): adjust
7115 (insertRow): remove function
7116 (insertParagraph): adjust
7117 (redoParagraphs): adjust
7118 (fullRebreak): adjust
7119 (updateCounters): adjust
7121 * text.C (top_y): rewrite to use RowList iterators.
7123 (setHeightOfRow): rewrite to sue RowList iterators.
7124 (appendParagraph): adjust
7125 (breakAgain): adjust
7126 (breakAgainOneRow): adjust
7127 (breakParagraph): adjust
7129 (getRowNearY): adjust, and remove commented code.
7131 * lyxtext.h (firstRow): delete function
7132 (lastRow): delete function
7133 (rows): new function (const and non-const versions.)
7134 (insertRow): delete function
7136 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7138 2003-03-29 John Levon <levon@movementarian.org>
7140 * BufferView_pimpl.C: always update scrollbar top
7141 because pasting text when we're anchored could mean we
7142 miss an update altogether
7144 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7146 * text2.C (init): use rowlist_.end() and not 0.
7147 (insertRow): change to take a RowList::iterator as arg, adjust
7149 (insertParagraph): change to take a RowList::iterator as arg,
7151 (redoParagraphs): remove some debug msgs.
7153 * text.C (appendParagraph): change to take a RowList::iterator
7154 arg, adjust for this.
7155 (breakAgain): add an assert
7156 (breakAgainOneRow): ditto
7158 2003-03-29 John Levon <levon@movementarian.org>
7160 * text2.C: do not clear selection after inc/decDepth
7163 2003-03-29 John Levon <levon@movementarian.org>
7166 * buffer.C: fix broken strerrors according to Lars
7168 2003-03-29 John Levon <levon@movementarian.org>
7170 * converters.C: more Alert cleanups
7172 2003-03-29 John Levon <levon@movementarian.org>
7174 * bufferview_funcs.C: remove pointless Alert
7176 * buffer.C: fix confusing error message when
7177 a template is chmoded 000
7179 2003-03-29 John Levon <levon@movementarian.org>
7183 * BufferView_pimpl.C: Alert fixes
7187 * tabular-old.C: remove unused table compat reading
7189 2003-03-29 John Levon <levon@movementarian.org>
7194 * lyx_cb.C: more Alert cleanups
7196 * lyxfunc.C: don't allow chktex if not latex document
7198 2003-03-29 John Levon <levon@movementarian.org>
7202 * buffer.C: warnings pushed down from support/,
7205 2003-03-29 John Levon <levon@movementarian.org>
7207 * lyxfunc.C: safety check for C-r (revert)
7209 2003-03-29 John Levon <levon@movementarian.org>
7212 * bufferlist.C: several UI fixes using Alert::prompt.
7213 Fix the pointless looping quit code. Fix stupid revert
7218 * lyx_cb.C: use Alert::prompt
7220 * lyx_main.C: remove a silly question
7222 * lyxfunc.C: remove a couple of silly questions,
7225 2003-03-28 John Levon <levon@movementarian.org>
7227 * text2.C: fix bug 974 (End on empty par)
7229 2003-03-28 John Levon <levon@movementarian.org>
7231 * BufferView_pimpl.C:
7233 * lfuns.h: remove do-nothing math greek lfuns
7235 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7237 * lyxgluelength.h (isValidGlueLength): add default arg on
7238 parameter 2. Remove default arg from friend in class.
7240 * lyxlength.h (isValidLength): add default arg on parameter 2.
7241 Remove default arg from friend in class.
7243 * text2.C (LyXText): adjust, initialize refresh_row.
7247 (insertParagraph): adjst
7248 (redoParagraphs): adjust
7249 (fullRebreak): adjust
7250 (updateCounters): adjust
7251 (deleteEmptyParagraphMechanism): first attempt at fixing a
7254 * text.C (top_y): adjust
7255 (setHeightOfRow): adjust
7257 (getRowNearY): adjust
7259 * lyxtext.h: include RowList.h
7260 (~LyXText): not needed anymore, deleted.
7261 (firstRow): modify for RowList
7262 (lastRow): new function
7263 Delete firstrow and lastrow class variables, add a Rowlist
7264 rowlist_ class variable.
7266 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7269 * RowList.C (insert): fix case where it == begin().
7271 2003-03-26 Angus Leeming <leeming@lyx.org>
7273 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7274 the thesaurus dialog.
7276 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7278 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7280 * RowList.[Ch]: new files
7282 * ParagraphList.C (erase): handle the case where it == begin
7285 2003-03-25 John Levon <levon@movementarian.org>
7289 * aspell.C: add new aspell support
7292 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7295 2003-03-25 Angus Leeming <leeming@lyx.org>
7298 * LyXAction.C (init): new LFUN_INSET_INSERT.
7300 * BufferView_pimpl.C (dispatch): split out part of the
7301 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7303 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7306 2003-03-25 Angus Leeming <leeming@lyx.org>
7308 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7310 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7313 * text3.C: remove useless row->height(0)
7315 2003-03-25 John Levon <levon@movementarian.org>
7319 * text3.C: rename the refreshing stuff to better names
7321 2003-03-24 John Levon <levon@movementarian.org>
7323 * BufferView_pimpl.h:
7324 * BufferView_pimpl.C: update layout choice on a mouse
7327 2003-03-23 John Levon <levon@movementarian.org>
7329 * Makefile.am: fix commandtags.h reference
7331 2003-03-22 John Levon <levon@movementarian.org>
7333 * BufferView_pimpl.C:
7338 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7340 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7343 * text.C: take the rtl methods out of line
7345 2003-03-21 André Pönitz <poenitz@gmx.net>
7347 * metricsinfo.[Ch]: new files containing structures to be passed around
7348 during the two-phase-drawing...
7350 2003-03-21 André Pönitz <poenitz@gmx.net>
7352 * lyxtextclass.C: read 'environment' tag.
7354 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7356 * text2.C (removeRow): fix bug 964
7358 2003-03-20 John Levon <levon@movementarian.org>
7362 * text2.C: paint cleanups. Inset::update() dropped font
7365 2003-03-19 John Levon <levon@movementarian.org>
7367 * lyxfunc.C: only fitcursor/markDirty if available()
7369 2003-03-19 John Levon <levon@movementarian.org>
7371 * commandtags.h: rename to ...
7373 * lfuns.h: ... this, and renumber / cleanup
7375 2003-03-19 John Levon <levon@movementarian.org>
7377 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7378 fit the cursor after an lfun
7382 * BufferView_pimpl.h:
7383 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7385 * LyXAction.C: layout-character should have ReadOnly
7387 * ParagraphParameters.C:
7389 * bufferview_funcs.C:
7396 * undo_funcs.C: changes from above
7398 2003-03-18 John Levon <levon@movementarian.org>
7400 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7401 remove it from update()
7403 * lyxfunc.C: update layout choice after an lfun
7405 * text3.C: remove extra updateLayoutChoice()s
7407 2003-03-18 John Levon <levon@movementarian.org>
7409 * text.C: top_y change means full repaint, fix
7410 a drawing bug with cursor movement
7412 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7416 * text2.C: anchor row on setCursor
7418 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7420 * lyxtext.h: remove almost all mutable keywords
7423 * text3.C: remove const keywords accordingly
7425 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7427 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7429 (TeXEnvironment): ditto
7432 2003-03-17 John Levon <levon@movementarian.org>
7434 * text.C (rowBreakPoint): remove attempt to fix displayed
7435 math insets inside a manual label
7437 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7439 * lyxtext.h: remove BufferView* as first arg from almost all class
7441 * other files: adjust.
7443 2003-03-17 John Levon <levon@movementarian.org>
7447 * text2.C: more paint cleanups
7449 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7452 * rowpainter.C: remove "smart" background painting code
7454 2003-03-16 John Levon <levon@movementarian.org>
7459 * text3.C: add helper functions for setting refresh_row/y
7461 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7463 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7464 newline inset which *can* get inserted in the pass_thru layouts.
7465 This is primarily for literate documents.
7467 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7469 * buffer.C: increment LYX_FORMAT to 223
7471 2003-03-14 André Pönitz <poenitz@gmx.net>
7473 * textclass.h: prepare for environment handling, ws changes
7474 * lyxlayout.C: read latexheader and latexfooter tags
7476 2003-03-14 John Levon <levon@movementarian.org>
7478 * text2.C: rewrite ::status() a bit
7480 2003-03-13 John Levon <levon@movementarian.org>
7482 * lyxtext.h: add some docs
7484 2003-03-13 John Levon <levon@movementarian.org>
7489 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7491 2003-03-13 John Levon <levon@movementarian.org>
7493 * text3.C: fix appendix redrawing
7495 2003-03-13 John Levon <levon@movementarian.org>
7497 * text.C (setHeightOfRow):
7499 * rowpainter.C: make appendix mark have the text
7500 "Appendix" so the user knows what it is
7503 * LColor.C: s/appendixline/appendix/ from above
7505 2003-03-13 John Levon <levon@movementarian.org>
7507 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7509 * text.C: fix a getChar(pos) bug properly
7511 2003-03-13 Angus Leeming <leeming@lyx.org>
7514 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7515 Probably only temporary. Let's see how things pan out.
7517 * BufferView.C (unlockInset):
7518 * BufferView_pimpl.C (fitCursor):
7519 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7521 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7522 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7524 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7525 new functions that convert ParagraphParameters to and from a string.
7527 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7528 BufferView::Pimpl's dispatch.
7529 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7531 2003-03-13 André Pönitz <poenitz@gmx.net>
7535 * factory.C: make it aware of InsetEnv
7537 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7539 * text2.C (setCursor): never ask for one past last
7540 (setCursor): add some debugging messages.
7542 * text.C (singleWidth): never ask for one past last
7543 (singleWidth): ditto
7545 (rightMargin): ditto
7546 (rowBreakPoint): ditto
7547 (setHeightOfRow): ditto
7548 (prepareToPrint): ditto
7550 * rowpainter.C (paintBackground): never ask for one past last
7551 (paintText): never ask for one past last
7553 * paragraph_pimpl.C (getChar): make the assert stricter, never
7554 allow the one past last pos to be taken
7556 * paragraph.C (getChar): ws changes only
7558 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7559 (numberOfSeparators): ditto
7560 (numberOfHfills): ditto
7562 2003-03-12 John Levon <levon@movementarian.org>
7568 * paragraph_funcs.C: fix per-buffer authorlists
7570 2003-03-12 John Levon <levon@movementarian.org>
7572 * text.C: fix newline in right address
7574 2003-03-12 Angus Leeming <leeming@lyx.org>
7576 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7577 duplicate those in LyXFunc::dispatch.
7581 * ToolbarDefaults.C:
7582 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7583 Add LFUN_FONTFREE_UPDATE.
7585 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7586 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7588 * bufferview_func.[Ch]: several new functions to facilliate
7589 transfer of data to and from the character dialog.
7591 2003-03-12 John Levon <levon@movementarian.org>
7596 * paragraph_funcs.C:
7597 * paragraph_pimpl.C:
7601 * text3.C: remove META_NEWLINE in favour of an inset
7604 * rowpainter.C: remove paintNewline (done by inset)
7606 2003-03-12 John Levon <levon@movementarian.org>
7608 * paragraph_pimpl.C: complain about bad getChar()s
7609 for a while at least
7611 2003-03-12 John Levon <levon@movementarian.org>
7614 * buffer.C: move paragraph read into a separate function,
7615 a little renaming to reflect that.
7618 * bufferparams.C: remove the author_ids map, not necessary now
7621 * factory.C: moved Buffer::readInset to here
7623 * paragraph_funcs.h:
7624 * paragraph_funcs.C: readParagraph free function moved from
7627 * tabular.C: name change
7629 2003-03-12 John Levon <levon@movementarian.org>
7632 * ParagraphParameters.C: move par params input to
7635 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7636 behave like a normal read from the stream wrt reading
7637 a line vs. a \\token
7639 2003-03-12 John Levon <levon@movementarian.org>
7642 * ParagraphParameters.h:
7643 * ParagraphParameters.C: move output code to a
7646 2003-03-12 John Levon <levon@movementarian.org>
7648 * BufferView.C (insertLyXFile):
7651 * tabular.C: use a parlist iterator for creating the
7654 2003-03-12 John Levon <levon@movementarian.org>
7656 * buffer.C: make current_change static local not
7659 2003-03-12 John Levon <levon@movementarian.org>
7661 * buffer.C: fix insertStringAsLines for change tracking
7663 2003-03-12 John Levon <levon@movementarian.org>
7670 * bufferparams.C: move author list into params. Rename some
7671 functions. Move the header reading into a separate token
7672 loop. Move the header token reading into BufferParams.
7674 2003-03-12 John Levon <levon@movementarian.org>
7676 * changes.C: put debug inside lyxerr.debugging() checks
7678 2003-03-11 André Pönitz <poenitz@gmx.net>
7680 * factory.C: make it aware of InsetHFill
7682 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7684 * buffer.C (latexParagraphs): move function from here...
7685 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7688 2003-03-10 Angus Leeming <leeming@lyx.org>
7690 * LyXAction.C (init): fix bug in poplating array with multiple entries
7691 with the same LFUN (spotted by JMarc).
7693 2003-03-10 John Levon <levon@movementarian.org>
7696 * text2.C: move getColumnNearX() near its
7699 2003-03-10 John Levon <levon@movementarian.org>
7701 * text.C: fix break before a minipage
7703 2003-03-10 John Levon <levon@movementarian.org>
7705 * text.C: fix the last commit
7707 2003-03-09 John Levon <levon@movementarian.org>
7711 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7712 bug 365 (don't break before insets unless needed). Don't
7713 return a value > last under any circumstances.
7715 2003-03-09 Angus Leeming <leeming@lyx.org>
7717 * BufferView_pimpl.C (trackChanges, dispatch): call
7718 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7720 2003-03-09 Angus Leeming <leeming@lyx.org>
7722 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7723 than Dialogs::showAboutlyx().
7725 2003-03-09 Angus Leeming <leeming@lyx.org>
7727 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7728 than Dialogs::showTabularCreate().
7730 2003-03-09 John Levon <levon@movementarian.org>
7734 * text2.C: 3rd arg to nextBreakPoint was always the same.
7737 2003-03-08 John Levon <levon@movementarian.org>
7744 * text2.C: Remove the "main" bit from the "main body"
7747 2003-03-08 John Levon <levon@movementarian.org>
7749 * text.C (leftMargin): The left margin of an empty
7750 manual label paragraph should not include the label width
7753 * text.C (prepareToPrint): don't attempt to measure hfills
7754 for empty manual label paragraphs - the answer should be 0
7756 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7758 * CutAndPaste.C: remove commented code and reindent.
7760 2003-03-08 John Levon <levon@movementarian.org>
7763 * lyxfunc.C: move reloadBuffer()
7766 * BufferView.C: to here
7768 * lyxvc.C: add comment
7771 * vc-backend.C: call bv->reload() to avoid
7772 getStatus() check on MENURELOAD
7774 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7776 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7777 to an old format .dep file.
7779 2003-03-07 Angus Leeming <leeming@lyx.org>
7781 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7782 when the LFUN_MOUSE_RELEASE should have been handled by
7783 inset->localDispatch.
7785 2003-03-07 Angus Leeming <leeming@lyx.org>
7787 * BufferView_pimpl.C (dispatch):
7788 * LyXAction.C (init):
7789 * ToolbarDefaults.C (init):
7791 * lyxfunc.C (getStatus):
7792 remove LFUN_INSET_GRAPHICS.
7794 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7796 2003-03-07 Angus Leeming <leeming@lyx.org>
7799 * LyXAction.C (init):
7800 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7802 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7805 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7807 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7808 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7810 2003-03-07 Angus Leeming <leeming@lyx.org>
7812 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7815 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7817 * ParagraphList.C (front): new function
7820 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7822 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7823 and top_row_offset_. removed var first_y.
7825 * text2.C (LyXText, removeRow):
7827 * BufferView_pimpl.C:
7828 use these methods instead of using first_y
7830 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7832 * text2.C (pasteSelection): adjust for checkPastePossible
7834 * CutAndPaste.C: remove Paragraph * buf and replace with
7835 ParagraphList paragraphs.
7836 (DeleteBuffer): delete
7837 (cutSelection): change the tc type to textclass_type
7838 (copySelection): change the tc type to textclass_type
7839 (copySelection): adjust for ParagraphList
7840 (pasteSelection): change the tc type to textclass_type
7841 (pasteSelection): adjust for Paragraphlist
7842 (nrOfParagraphs): simplify for ParagraphList
7843 (checkPastePossible): simplify for ParagraphList
7844 (checkPastePossible): remove unused arg
7846 * ParagraphList.C (insert): handle the case where there are no
7849 * CutAndPaste.h: make CutAndPaste a namespace.
7851 * text3.C (dispatch): adjust
7853 * text.C (breakParagraph): add a ParagraphList as arg
7855 * paragraph_funcs.C (breakParagraph): change to take a
7856 BufferParams and a ParagraphList as args.
7857 (breakParagraphConservative): ditto
7858 (mergeParagraph): ditto
7859 (TeXDeeper): add a ParagraphList arg
7860 (TeXEnvironment): ditto
7863 * buffer.C (readLyXformat2): adjust
7864 (insertStringAsLines): adjust
7865 (latexParagraphs): adjust
7867 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7868 (cutSelection): adjust
7869 (pasteSelection): adjust
7871 * BufferView_pimpl.C (insertInset): adjust
7873 2003-03-05 Angus Leeming <leeming@lyx.org>
7876 * LyXAction.C (init):
7877 * BufferView_pimpl.C (dispatch):
7878 * lyxfunc.C (getStatus):
7879 remove LFUN_CHILD_INSERT.
7881 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7883 2003-03-05 Angus Leeming <leeming@lyx.org>
7886 * LyXAction.C (init):
7887 * src/factory.C (createInset):
7888 * lyxfunc.C (getStatus):
7889 * text3.C (dispatch):
7890 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7892 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7894 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7896 * ParagraphList.C (insert): handle insert right before end()
7897 (erase): fix cases where it can be first or last paragraph.
7899 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7901 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7902 Paragraph::next and Paragraph::previous
7905 * text.C (breakParagraph): adjust
7907 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7908 BufferParams& as arg.
7909 (breakParagraph): use ParagraphList::insert
7910 (breakParagraphConservative): take a Buffer* instead of a
7911 BufferParams& as arg.
7912 (breakParagraphConservative): use ParagraphList::insert.
7914 * buffer.C (insertStringAsLines): un-const it
7915 (insertStringAsLines): adjust
7917 * ParagraphList.C (insert): new function
7919 * CutAndPaste.C (pasteSelection): adjust
7921 * text.C (backspace): adjust
7923 * tabular.C (SetMultiColumn): adjust
7925 * CutAndPaste.C (cutSelection): adjust
7926 (pasteSelection): adjust
7928 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7929 Buffer const * as arg
7931 * ParagraphList.C (erase): new function
7932 * paragraph_funcs.C (mergeParagraph): use it
7933 (mergeParagraph): make it take a Buffer* instead of a
7934 BufferParams* as arg
7936 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7938 (breakParagraphConservative): ditto
7940 * paragraph.h: remove the breakParagraph friend
7942 * paragraph.C (eraseIntern): new function
7943 (setChange): new function
7945 * paragraph_funcs.C (mergeParagraph): make it take a
7946 ParagraphList::iterator instead of a Paragraph *, adjust
7949 * paragraph.h: move an #endif so that the change tracking stuff
7950 also works in the NO_NEXT case.
7952 2003-03-04 Angus Leeming <leeming@lyx.org>
7955 * LyXAction.C: new LFUN_INSET_MODIFY.
7957 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7958 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7960 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7962 * several files: ws changes only
7964 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7965 (TeXEnvironment): ditto
7968 * buffer.C (makeLaTeXFile): adjust
7969 (latexParagraphs): make it take ParagraphList::iterator as args
7971 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7973 * buffer.C (latexParagraphs): adjust
7975 * paragraph.C (TeXOnePar): move function...
7976 (optArgInset): move function...
7977 (TeXEnvironment): move function...
7978 * paragraph_pimpl.C (TeXDeeper): move function...
7979 * paragraph_funcs.C: ...here
7981 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7983 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7985 * buffer.C (readInset): remove compability code for old Figure and
7988 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7990 * buffer.C: ws changes
7993 * BufferView_pimpl.C: ditto
7996 * bufferlist.h: ditto
8000 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8002 * converter.[Ch]: split into itself +
8005 * Makefile.am: += graph.[Ch] + format.[Ch]
8012 * lyxrc.C: added #include "format.h"
8014 2003-02-27 Angus Leeming <leeming@lyx.org>
8016 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8019 * factory.C (createInset): add "label" to the factory.
8021 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8022 string and do no more.
8024 2003-02-27 Angus Leeming <leeming@lyx.org>
8027 * LyXAction.C (init):
8028 * factory.C (createInset):
8029 * BufferView_pimpl.C (dispatch):
8030 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8032 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8034 * lyxfunc.C (dispatch):
8035 * text3.C (dispatch): pass name to params2string.
8037 2003-02-26 Angus Leeming <leeming@lyx.org>
8039 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8041 Rearrange the ~includes. Strip out the unnecessary ones.
8043 * factory.C (createInset): reformat.
8044 create new insets for the various LFUN_XYZ_APPLY lfuns.
8046 2003-02-26 John Levon <levon@movementarian.org>
8049 * lyxrow.C: add isParStart,isParEnd helpers
8051 * paragraph.h: make isInserted/DeletedText take refs
8053 * paragraph_funcs.h:
8054 * paragraph_funcs.C: remove #if 0'd code
8059 * text.C: use lyxrow helpers above.
8060 Move draw and paint routines to RowPainter.
8061 Make several methods use refs not pointers.
8062 Make backgroundColor() const.
8063 Add markChangeInDraw(), isInInset().
8064 Merge changeRegionCase into changeCase.
8065 Make workWidth() shouldn't-happen code into an Assert.
8068 * rowpainter.C: new class for painting a row.
8071 * vspace.C: make inPixels take a ref
8073 2003-02-26 Angus Leeming <leeming@lyx.org>
8075 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8078 2003-02-25 John Levon <levon@movementarian.org>
8080 * ispell.C: give the forked command a more accurate name
8082 2003-02-22 John Levon <levon@movementarian.org>
8085 * toc.C: make TocItem store an id not a Paragraph *
8088 2003-02-21 Angus Leeming <leeming@lyx.org>
8090 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8091 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8092 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8093 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8094 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8095 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8097 * BufferView_pimpl.C (dispatch):
8098 * LyXAction.C (init):
8099 * factory.C (createInset):
8100 * lyxfunc.C (getStatus, dispatch):
8101 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8103 2003-02-21 Angus Leeming <leeming@lyx.org>
8105 * BufferView_pimpl.C (MenuInsertLyXFile):
8106 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8107 * lyxfunc.C (menuNew, open, doImport):
8108 no longer pass a LyXView & to fileDlg.
8110 2003-02-21 Angus Leeming <leeming@lyx.org>
8112 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8113 * LyXAction.C: change, BIBKEY to BIBITEM.
8114 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8115 Change InsetBibKey to InsetBibitem.
8116 Change BIBKEY_CODE to BIBITEM_CODE.
8117 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8118 * factory.C: replace insetbib.h with insetbibitem.h.
8119 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8120 * paragraph.C: replace insetbib.h with insetbibitem.h.
8121 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8122 Change bibkey() to bibitem().
8123 * text.C: remove insetbib.h.
8124 * text2.C: replace insetbib.h with insetbibitem.h.
8125 change bibkey() to bibitem().
8126 * text3.C: remove insetbib.h.
8127 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8129 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8131 * lyxrc.C (output): enclose user email in quotes (in case there are
8134 2003-02-18 John Levon <levon@movementarian.org>
8136 * buffer.h: add std::
8138 2003-02-17 John Levon <levon@movementarian.org>
8144 * pspell.C: reworking. Especially in ispell, a large
8145 number of clean ups and bug fixes.
8147 * lyxfunc.C: fix revert to behave sensibly
8149 2003-02-17 André Pönitz <poenitz@gmx.net>
8152 * commandtags.h: new LFUN_INSERT_BIBKEY
8162 * paragraph_func.C: remove special bibkey handling
8164 2003-02-17 John Levon <levon@movementarian.org>
8166 * text.C (Delete): fix case where delete at the end of
8167 the very first paragraph would not merge the pars
8169 2003-02-17 John Levon <levon@movementarian.org>
8171 * lyxrow.C: fix lastPrintablePos()
8173 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8175 * bufferparams.C (writeLaTeX): add a std:here
8177 * buffer.C: and remove a using directive there
8179 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8181 * buffer.C (makeLaTeXFile): move the code that generates the
8184 * bufferparams.C (writeLaTeX): ... in this new method
8186 * LaTeXFeatures.C (getEncodingSet): make const
8187 (getLanguages): make const
8189 * MenuBackend.C (binding): returns the binding associated to this
8191 (add): sets the status of each item by calling getStatus. Adds
8193 (read): add support for OptSubMenu
8194 (expand): remove extra separator at the end of expanded menu
8196 2003-02-15 John Levon <levon@movementarian.org>
8199 * BufferView_pimpl.C:
8201 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8202 inset code that had no actual effect. Remove unneeded status
8205 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8207 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8210 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8212 * text.C (drawLengthMarker): also draw an arrow marker for
8213 symbolic lengths (medskip...)
8215 2003-02-14 John Levon <levon@movementarian.org>
8218 * tabular.C: better method names
8220 2003-02-14 John Levon <levon@movementarian.org>
8222 * BufferView_pimpl.C:
8227 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8228 it's a more accurate name. Remove some pointless uses.
8230 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8232 * text2.C (LyXText): change order of initilizers to shut off
8235 2003-02-14 John Levon <levon@movementarian.org>
8237 * buffer.C: use ParIterator for getParFromID()
8241 * paragraph_pimpl.h:
8242 * paragraph_pimpl.C: remove unused getParFromID()
8244 2003-02-14 John Levon <levon@movementarian.org>
8246 * buffer.C: remove some very old #if 0'd parse code
8248 2003-02-13 John Levon <levon@movementarian.org>
8252 * text2.C: move hfillExpansion(), numberOfSeparators(),
8253 rowLast(), rowLastPrintable(), numberofHfills(),
8254 numberOfLabelHfills() ...
8257 * lyxrow.C: ... to member functions here.
8262 * text.C: remove LyXText::beginningOfMainBody(), and call
8263 p->beginningOfMainBody() directly. Move the check for
8264 LABEL_MANUAL into the latter.
8271 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8277 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8278 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8280 2003-02-13 John Levon <levon@movementarian.org>
8282 * CutAndPaste.C: remove debug
8284 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8286 * paragraph.C (asString): remove two unused variables
8288 * lyxtextclass.C (readTitleType):
8290 (LyXTextClass): handle new members titletype_ and titlename_
8292 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8294 2003-02-09 John Levon <levon@movementarian.org>
8297 * buffer.C: replace hand-coded list with a map for the dep clean
8299 2003-02-08 John Levon <levon@movementarian.org>
8301 * LaTeX.C: consolidate code into showRunMessage() helper
8303 2003-02-08 John Levon <levon@movementarian.org>
8308 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8309 and pass the size in explicitly
8311 * BufferView_pimpl.h:
8312 * BufferView_pimpl.C:
8314 * BufferView.C: add getCurrentChange()
8316 * BufferView_pimpl.h:
8317 * BufferView_pimpl.C: handle change lfuns
8319 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8320 for changes. Mark pasted paragraphs as new.
8322 * support/lyxtime.h:
8323 * support/lyxtime.C:
8324 * DepTable.C: abstract time_t as lyx::time_type
8327 * LColor.C: add colours for new text, deleted text, changebars
8329 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8330 package use "usenames" option.
8334 * LyXAction.C: add change lfuns
8338 * author.C: author handling
8341 * buffer.C: add a per-buffer author list, with first entry as
8342 current author. Handle new .lyx tokens for change tracking. Output
8343 author list to .lyx file. Output dvipost stuff to .tex preamble.
8344 Bump lyx format to 222.
8347 * bufferlist.C: add setCurrentAuthor() to reset current author details
8351 * bufferparams.C: add param for tracking
8353 * bufferview_funcs.C: output change info in minibuffer
8357 * changes.C: add change-tracking structure
8360 * debug.C: add CHANGES debug flag
8363 * lyxfind.C: add code for finding the next change piece
8366 * lyxrc.C: add user_name and user_email
8369 * lyxrow.C: add a metric for the top of the text line
8372 * text.C: implement accept/rejectChange()
8375 * text.C: paint changebars. Paint new/deleted text in the chosen
8376 colours. Strike through deleted text.
8380 * paragraph_pimpl.h:
8381 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8382 in the current change to the insert functions. Rework erase to
8383 mark text as deleted, adding an eraseIntern() and a range-based
8384 erase(). Implement per-paragraph change lookup and
8387 * paragraph_funcs.C: Fixup paste for change tracking.
8389 * tabular.C: mark added row/columns as new.
8391 * text.C: fix rowLast() to never return -1. Don't allow
8392 spellchecking of deleted text. Track transpose changes. Don't
8393 allow paragraph break or merge where appropriate.
8395 * text2.C: leave cursor at end of selection after a cut.
8397 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8399 * text.C (getLengthMarkerHeight):
8400 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8401 visible on screen too.
8403 2003-02-07 John Levon <levon@movementarian.org>
8405 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8407 2003-02-05 Angus Leeming <leeming@lyx.org>
8409 * lyxserver.C (read_ready): revert my patch of 11 September last year
8410 as it sends PC cpu through the roof. Presumably this means that
8411 the lyxserver will no longer run on an Alpha...
8413 2003-01-30 Angus Leeming <leeming@lyx.org>
8415 * factory.C (createInset): create an InsetCommandParam of type "index"
8416 and use it to 'do the right thing'.
8418 * text2.C (getStringToIndex): ensure that cursor position is always
8419 reset to the reset_cursor position.
8421 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8423 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8426 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8430 * lyxfunc.C: Output messages with identical spelling, punctuation,
8433 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8435 * MenuBackend.C (expandFormats): List only viewable export formats
8438 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8441 * lyxfunc.C (getStatus): Make sure that formats other than
8442 "fax" can also be disabled
8444 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8446 * text3.C (dispatch): put the lfuns that insert insets in 3
8447 groups, and call doInsertInset with appropriate arguments.
8448 (doInsertInset): new function, that creates an inset and inserts
8449 it according to some boolean parameters.
8451 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8453 * buffer.C (readFile): remember to pass on 'par' when calling
8454 readFile recursively.
8456 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8458 * MenuBackend.C (expandFormats): add "..." to import formats.
8460 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8462 * paragraph.C (asString): Remove XForms RTL hacks.
8464 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8465 * buffer.C: fix typo
8467 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8469 * Makefile.am (LIBS): delete var
8470 (lyx_LDADD): add @LIBS@ here instead.
8472 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8474 * Clarify the meaning of "wheel mouse jump"
8476 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8478 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8481 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8483 * importer.C (Loaders): do not preallocate 3 elements in the
8484 vector, since one ends up with 6 elements otherwise
8486 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8488 * DepTable.C (write): write the file name as last element of the
8489 .dep file (because it may contain spaces)
8490 (read): read info in the right order
8492 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8494 * paragraph_pimpl.C (simpleTeXBlanks):
8495 (simpleTeXSpecialChars):
8496 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8498 * tabular.C (latex): add some missing case statements. Reindent.
8500 * MenuBackend.C (expandToc): remove unused variable.
8502 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8511 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8514 2003-01-05 John Levon <levon@movementarian.org>
8517 * BufferView.C: add getEncoding()
8520 * kbsequence.C: do not store last keypress
8523 * lyxfunc.C: store last keypress here instead. Pass encoding
8526 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8528 * lyx_main.C (init): remove annoying error message when following
8529 symbolic links (bug #780)
8531 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8533 * text.C (insertChar):
8534 * lyxrc.C (getDescription): remove extra spaces
8536 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8538 * lyxrc.C (getDescription): remove extra spaces
8540 2002-12-20 John Levon <levon@movementarian.org>
8542 * text3.C: hack fix for page up/down across tall rows
8544 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8546 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8549 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8551 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8552 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8553 thesaurus is not compiled in
8555 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8557 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8559 2002-12-16 Angus Leeming <leeming@lyx.org>
8562 * lyx_main.C (init): remove override_x_deadkeys stuff.
8564 2002-12-12 John Levon <levon@movementarian.org>
8566 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8567 insert. Only remove shift modifier under strict
8570 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8572 * MenuBackend.C (expandToc): fix crash.
8574 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8576 * MenuBackend.C (expandToc): gettext on float names.
8578 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8580 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8581 implement bool empty() [bug 490]
8583 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8585 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8587 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8589 * several files: ws changes
8591 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8593 * text2.C (setCounter): clean up a bit, use boost.format.
8594 (updateCounters): initialize par upon declaration.
8596 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8597 if the layout exists. We do not just store the layout any more.
8598 (SwitchLayoutsBetweenClasses): use boost.format
8600 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8602 * converter.C (convert): if from and to files are the same, use a
8603 temporary files as intermediary
8605 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8608 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8610 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8612 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8614 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8616 * tabular.C (asciiPrintCell): use string(size, char) instead of
8619 * sgml.C (openTag): fix order of arguments to string constructor
8622 * lyxfunc.C (dispatch): use boost.format
8624 * lots of files: change "c" -> 'c'
8626 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8628 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8630 2002-11-25 Angus Leeming <leeming@lyx.org>
8632 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8634 * lyx_main.C (init): compile fix.
8636 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8638 * lyx_cb.C (start): boost.formatify
8639 do not include <iostream>
8641 * lengthcommon.C: ws only
8643 * boost-inst.C,BoostFormat.h: add more explict instantations
8645 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8647 * lots of files: handle USE_BOOST_FORMAT
8649 2002-11-21 John Levon <levon@movementarian.org>
8651 * pspell.C: fix compile
8653 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8655 * lyxfunc.C (dispatch): use boost::format
8659 * lyxfont.C (stateText): use boost::format
8661 * lyx_main.C (LyX): use boost::format
8663 (queryUserLyXDir): ditto
8666 (typedef boost::function): use the recommened syntax.
8668 * importer.C (Import): use boost::format
8670 * debug.C (showLevel): use boost::format
8672 * converter.C (view): use boost::format
8677 * bufferview_funcs.C (currentState): use boost::format
8679 * bufferlist.C (emergencyWrite): use boost::format
8681 * buffer.C (readLyXformat2): use boost::format
8682 (parseSingleLyXformat2Token): ditto
8684 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8686 * LaTeX.C (run): use boost::format
8688 * Chktex.C (scanLogFile): use boost::format
8690 * BufferView_pimpl.C (savePosition): use boost::format
8691 (restorePosition): ditto
8692 (MenuInsertLyXFile): ditto
8694 * BoostFormat.h: help file for explicit instation.
8696 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8698 * tabular.C (latex): Support for block alignment in fixed width
8701 2002-11-17 John Levon <levon@movementarian.org>
8703 * BufferView_pimpl.C:
8705 * lyxfunc.C: split filedialog into open/save
8707 2002-11-08 Juergen Vigna <jug@sad.it>
8709 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8710 by my last patch (hopefully).
8712 2002-11-08 John Levon <levon@movementarian.org>
8721 * toc.C: ParConstIterator, and use it (from Lars)
8723 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8725 * lyxtextclass.[Ch]: revise and add doxygen comments
8727 2002-11-07 John Levon <levon@movementarian.org>
8729 * text.C: fix progress value for spellchecker
8731 * toc.C: fix navigate menu for insetwrap inside minipage
8733 * paragraph_funcs.C: added FIXME for suspect code
8735 2002-11-07 John Levon <levon@movementarian.org>
8737 * BufferView_pimpl.C: fix redrawing of insets
8740 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8742 * text2.C (updateCounters): fix bug 668
8744 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8746 * text3.C (dispatch): Do not make the buffer dirty when moving the
8749 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8751 * vc-backend.C: STRCONV
8754 * text2.C (setCounter): STRCONV
8756 * paragraph.C (asString): STRCONV
8758 * lyxlength.C (asString): STRCONV
8759 (asLatexString): ditto
8761 * lyxgluelength.C (asString): STRCONV
8762 (asLatexString): ditto
8764 * lyxfunc.C (dispatch): STRCONV
8767 * lyxfont.C (stateText): STRCONV
8769 * importer.C (Import): STRCONV
8771 * counters.C (labelItem): STRCONV
8772 (numberLabel): ditto
8773 (numberLabel): remove unused ostringstream o
8778 * bufferview_funcs.C (currentState): STRCONV
8780 * buffer.C (readFile): STRCONV
8781 (asciiParagraph): ditto
8782 (makeLaTeXFile): ditto
8784 * Spacing.C (writeEnvirBegin): STRCONV
8786 * LaTeXFeatures.C (getLanguages): STRCONV
8787 (getPackages): ditto
8789 (getBabelOptions): ditto
8790 (getTClassPreamble): ditto
8791 (getLyXSGMLEntities): ditto
8792 (getIncludedFiles): ditto
8796 (scanAuxFile): ditto
8799 * LString.h: add the STRCONV macros
8801 * BufferView_pimpl.C (savePosition): STRCONV
8802 (restorePosition): ditto
8803 (MenuInsertLyXFile): ditto
8805 * vc-backend.C (scanMaster): change from submatch[...] to
8808 * funcrequest.C: include config.h
8810 * factory.C: include config.h
8812 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8814 * box.C: include config.h
8816 * LaTeX.C (scanAuxFile): change from submatch[...] to
8820 2002-10-25 Angus Leeming <leeming@lyx.org>
8822 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8824 * ispell.[Ch] (setError): new method.
8825 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8826 Use setError() insetead of goto END.
8828 * lyx_cb.C (AutoSave): move out child process into new class
8831 2002-10-30 John Levon <levon@movementarian.org>
8833 * text3.C: make start appendix undoable
8835 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8837 * lyxlength.C (inPixels): Fix returned value.
8839 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8842 2002-10-24 Angus Leeming <leeming@lyx.org>
8844 * lyxgluelength.h: no need to forward declare BufferParams
8845 or BufferView, so don't.
8847 2002-10-21 John Levon <levon@movementarian.org>
8849 * BufferView.C: menuUndo ->undo, redo
8851 * BufferView.h: document, remove dead, make some methods private
8853 * paragraph_funcs.h:
8854 * paragraph_funcs.C:
8855 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8860 * sgml.C: move sgml open/close tag into sgml.C
8862 * bufferview_funcs.h: unused prototype
8865 * lyxfunc.C: remove unused
8868 * text.C: remove unused
8870 2002-10-21 John Levon <levon@movementarian.org>
8874 * BufferView_pimpl.h:
8875 * BufferView_pimpl.C: fix mouse wheel handling based on
8876 patch from Darren Freeman
8878 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8880 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8882 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8884 * lyxlength.C (inPixels): Fix hanfling of negative length.
8885 Fix LyXLength::MU case.
8887 2002-10-16 John Levon <levon@movementarian.org>
8889 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8891 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8893 * converter.C (view): add support for $$i (file name) and $$p
8894 (file path) for the viewer command. If $$i is not specified, then
8895 it is appended to the command (for compatibility with old syntax)
8897 2002-10-14 Juergen Vigna <jug@sad.it>
8899 * undo_funcs.C (textHandleUndo): alter the order in which the
8900 new undopar is added to the LyXText, as we have to set first
8901 the right prev/next and then add it as otherwise the rebuild of
8902 LyXText is not correct. Also reset the cursor to the right paragraph,
8903 with this IMO we could remove the hack in "redoParagraphs()".
8905 2002-10-09 Angus Leeming <leeming@lyx.org>
8907 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8908 to turn off an optimisation if a new inset is to be inserted.
8910 2002-10-11 André Pönitz <poenitz@gmx.net>
8912 * lyxtext.h: make some functions public to allow access
8913 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8915 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8917 * text3.C (dispatch): when changing layout, avoid an infinite loop
8920 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8922 * lyxrc.C (read): treat a viewer or converter command of "none" as
8925 * MenuBackend.C (expandFormats): for an update, also allow the
8926 formats that are not viewable
8928 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8929 script if it is newer than the lyxrc.defaults in user directory
8931 2002-10-07 André Pönitz <poenitz@gmx.net>
8933 * text.C: Vitaly Lipatov's small i18n fix
8935 2002-09-25 Angus Leeming <leeming@lyx.org>
8937 * ispell.h: doxygen fix.
8939 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8941 * buffer.h (readFile): Add a new argument to the method, to allow
8942 reading of old-format templates.
8944 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8946 * toc.C (getTocList): Get TOC from InsetWrap.
8948 2002-09-16 John Levon <levon@movementarian.org>
8950 * lyxfunc.C: check tabular for cut/copy too
8952 2002-09-12 John Levon <levon@movementarian.org>
8957 * factory.C: add header
8959 * paragraph_funcs.h:
8960 * paragraph_funcs.C: cleanup
8962 2002-09-11 John Levon <levon@movementarian.org>
8964 * PrinterParams.h: odd/even default to true
8966 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8968 * PrinterParams.h: update printer parameters for new xforms dialog
8970 2002-09-11 Angus Leeming <leeming@lyx.org>
8972 * lyxserver.C (read_ready): re-write to make it more transparent
8973 and to make it work in coherent fashion under Tru64 Unix.
8975 2002-09-11 André Pönitz <poenitz@gmx.net>
8979 * text3.C: implement LFUN_WORDSEL
8981 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8983 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8984 make floatlist_ a boost::shared_ptr<FloatList>
8986 * lyxtextclass.C: include FloatList.h
8987 (LyXTextClass): initialize floatlist_
8988 (TextClassTags): add TC_NOFLOAT
8989 (Read): match "nofloat" to TC_NOFLOAT and use it.
8990 (readFloat): modify call to floatlist_
8994 * FloatList.[Ch] (FloatList): remove commented out float
8996 (erase): new function
8998 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9000 * MenuBackend.C (expandToc): fix crash when there is no document
9003 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9005 * many files: Add insetwrap.
9007 2002-09-09 John Levon <levon@movementarian.org>
9009 * text2.C: remove confusing and awkward depth wraparound
9011 2002-09-09 John Levon <levon@movementarian.org>
9013 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9016 * buffer.C: remove getIncludeonlyList()
9019 * lyxfunc.C: remove headers
9021 2002-09-09 Juergen Vigna <jug@sad.it>
9023 * text.C (getColumnNearX): fix form Michael this is most
9024 probably a cut&paste bug.
9026 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9028 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9030 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9031 references, ws changes.
9033 * text2.C (init): update counters after init
9034 (insertParagraph): no need to set counter on idividual paragraphs.
9035 (setCounter): access the counters object in the textclass object
9036 on in the buffer object.
9037 (updateCounters): ditto
9039 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9040 shared_ptr<Counters> to avoid loading counters.h in all
9042 (LyXTextClass): initialize ctrs_
9043 (TextClassTags): add TC_COUNTER, and ...
9044 (Read): use it here.
9045 (CounterTags): new tags
9046 (readCounter): new function
9047 (counters): new funtion
9048 (defaultLayoutName): return a const reference
9050 * counters.C (Counters): remove contructor
9051 (newCounter): remove a couple of unneeded statements.
9052 (newCounter): simplify a bit.
9053 (numberLabel): some small formatting changes.
9055 * buffer.[Ch]: remove all traces of counters, move the Counters
9056 object to the LyXTextClass.
9058 2002-09-06 Alain Castera <castera@in2p3.fr>
9060 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9061 package to set the horizontal alignment on fixed width columns.
9064 * lyx_sty.h: added tabularnewline macro def.
9066 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9068 2002-09-06 John Levon <levon@movementarian.org>
9070 * LyXAction.C: tooltips for sub/superscript
9072 * MenuBackend.C: a bit more verbose
9074 * lyxfunc.C: tiny clean
9076 * undo_funcs.C: document undo_frozen
9078 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9080 * counters.C (Counters): add missing algorithm counter.
9082 * text2.C (setCounter): lookup the counter with layouts latexname
9083 instead of by section number.
9084 (setCounter): use a hackish way to lookup the correct enum
9086 a float name->type change
9087 reset enum couners with counter name directly instead of depth value.
9089 * counters.C (Counters): remove the push_backs, change to use the
9090 float type not the float name.
9091 (labelItem): remove unused string, float name->type change
9093 * counters.h: don't include vector, loose the enums and sects vectors
9095 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9097 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9098 (Read): add float->TC_FLOAT to textclassTags
9099 (Read): and handle it in the switch
9100 (readFloat): new function
9102 * FloatList.C (FloatList): comment out the hardcoded float
9105 * lyxlayout.h: ws change.
9107 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9109 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9111 2002-09-03 Angus Leeming <leeming@lyx.org>
9113 * BufferView_pimpl.h: qualified name is not allowed in member
9114 declaration: WorkArea & Pimpl::workarea() const;
9116 * factory.C: added using std::endl directive.
9118 * text3.C: added using std::find and std::vector directives.
9120 2002-08-29 André Pönitz <poenitz@gmx.net>
9123 * text2.C: remove unused member number_of_rows
9126 * BufferView2.C: remove file, move contents to...
9127 * BufferView.C: ... here
9129 * BufferView_pimpl.C:
9130 * factory.C: move more inset creation to factory
9132 * vspace.C: avoid direct usage of LyXText, ws changes
9135 don't provide direct access to WorkArea, use two simple
9136 acessors haveSelction() and workHeight() instead
9139 2002-08-29 John Levon <levon@movementarian.org>
9141 * BufferView_pimpl.C (dispatch): do not continue when
9144 2002-08-28 André Pönitz <poenitz@gmx.net>
9146 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9149 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9151 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9153 * buffer.C: increment LYX_FORMAT to 221
9155 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9156 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9158 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9160 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9162 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9164 * factory.C (createInset): use LyXTextClass::floats
9166 * MenuBackend.C (expandFloatListInsert):
9167 (expandFloatInsert):
9170 * text2.C (setCounter):
9172 * LaTeXFeatures.C (useFloat):
9173 (getFloatDefinitions):
9175 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9177 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9178 floatlist_, with accessor floats().
9180 * FloatList.h: remove global FloatList
9182 2002-08-26 André Pönitz <poenitz@gmx.net>
9184 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9188 * BufferView_pimpl.C:
9189 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9191 2002-08-25 John Levon <levon@movementarian.org>
9193 * LyXAction.C: fix margin note description
9195 2002-08-24 John Levon <levon@movementarian.org>
9199 * bufferview_funcs.C:
9201 * undo_funcs.C: cleanups
9203 * lyxfunc.C: disable CUT/COPY when no selection
9205 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9207 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9208 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9210 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9211 Add backward compatibility to "mono", "gray" and "no".
9213 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9215 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9216 (and file_format >= 200).
9218 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9220 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9222 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9224 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9226 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9228 * BufferView_pimpl.C:
9235 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9236 inset and code to make it work with the paragraph code. The inset
9237 can be anywhere in the paragraph, but will only do the expected
9238 thing in LaTeX if the layout file contains the parameter line
9240 (or more generally, a nonzero value) for that layout.
9242 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9244 * paragraph.h: remove the declaration of undefined counters class
9247 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9249 * text2.C (setCounter): fixed enumeration mis-count as reported by
9250 Dr. Richard Hawkins.
9252 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9254 * paragraph_funcs.h: remove some unneeded includes
9256 * text.C (backspace): pasteParagraph now in global scipe
9258 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9259 (pasteSelection): ditto
9261 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9262 * paragraph_funcs.C (pasteParagraph): ... here
9264 2002-08-20 André Pönitz <poenitz@gmx.net>
9266 * commandtags.h: new LFUNs for swapping/copying table row/colums
9269 * lyxfunc.C: support for new lfuns
9271 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9274 * buffer.[Ch]: remove NO_COMPABILITY stuff
9276 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9278 * boost.C (throw_exception): new file, with helper function for
9279 boost compiled without exceptions.
9284 * ParameterStruct.h:
9285 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9287 * bufferlist.C (emergencyWriteAll): use boost bind
9289 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9291 * text.C: include paragraph_funcs.h
9292 (breakParagraph): breakParagraph is now in global scope
9294 * paragraph_funcs.[Ch]: new files
9296 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9299 * buffer.C: include paragraph_funcs.h
9300 (insertStringAsLines): breakParagraph is now in global scope
9302 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9305 * CutAndPaste.C: include paragraph_funcs.h
9306 (cutSelection): breakParagraphConservative is now in global scope
9307 (pasteSelection): ditto
9309 * buffer.h: declare oprator== and operator!= for
9310 Buffer::inset_iterator
9312 * bufferlist.C (emergencyWrite): don't use fmt(...)
9314 * text3.C: add using std::endl
9316 * BufferView.C (moveCursorUpdate): remove default arg
9318 2002-08-20 André Pönitz <poenitz@gmx.net>
9320 * buffer.[Ch]: move inline functions to .C
9323 * BufferView_pimpl.C:
9325 * buffer.[Ch]: use improved inset_iterator
9328 * paragraph.[Ch]: write one paragraph at a time
9330 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9332 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9333 style if style is not specified.
9335 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9337 * text2.C (setCounter): when searching for right label for a
9338 caption, make sure to recurse to parent insets (so that a caption
9339 in a minipage in a figure float works) (bug #568)
9341 2002-08-20 André Pönitz <poenitz@gmx.net>
9343 * text3.C: new file for LyXText::dispatch() and helpers
9345 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9347 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9349 2002-08-19 André Pönitz <poenitz@gmx.net>
9352 * text.C: new LyXText::dispatch()
9354 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9356 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9358 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9360 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9363 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9365 * Makefile.am: use $(variables) instead of @substitutions@
9367 2002-08-15 André Pönitz <poenitz@gmx.net>
9370 * BufferView_pimpl.C: streamlining mathed <-> outer world
9374 * LyXAction.C: remove unused LFUN_MATH
9376 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9378 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9380 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9382 * paragraph.C (Paragraph): reformat a bit
9383 (cutIntoMinibuffer): use builtin InsetList function instad of
9387 * buffer.C: include boost/bind.hpp, add using std::for_each
9388 (writeFileAscii): use ParagraphList iterators
9389 (validate): use for_each for validate traversal of paragraphs
9390 (getBibkeyList): use ParagraphList iterators
9391 (resizeInsets): use for_each to resizeInsetsLyXText for all
9393 (getParFromID): use ParagraphList iterators
9395 * BufferView2.C (lockInset): use paragraph list and iterators
9397 2002-08-14 John Levon <levon@movementarian.org>
9399 * lyxserver.C: remove spurious xforms include
9401 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9403 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9405 2002-08-13 André Pönitz <poenitz@gmx.net>
9408 * lyxfunc.C: further cleaning
9410 2002-08-13 André Pönitz <poenitz@gmx.net>
9412 * funcrequest.h: new constructor
9414 * funcrequest.C: move stuff here from .h
9417 * BufferView_pimpl.C:
9420 * lyxfunc.C: subsequent changes
9422 * lyxfunc.h: new view() member function
9424 * lyxfunc.C: subsequent changes
9426 2002-08-13 Angus Leeming <leeming@lyx.org>
9429 * BufferView_pimpl.C:
9437 changes due to the changed LyXView interface that now returns references
9438 to member variables not pointers.
9440 2002-08-13 Angus Leeming <leeming@lyx.org>
9442 * WordLangTuple (word, lang_code): return references to strings,
9447 * lyxtext.h: forward-declare WordLangTuple.
9452 * text.C: #include "WordLangTuple.h".
9455 * text.C: (selectNextWordToSpellcheck): constify return type.
9457 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9463 * paragraph_pimpl.h:
9466 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9468 Made updateCounter always count from start of buffer, and removed
9469 second argument (par).
9470 Reverted floats number display to '#'. Perhaps I'll try again when the
9471 code base is sanitized a bit.
9473 2002-08-12 Angus Leeming <leeming@lyx.org>
9475 * buffer.[Ch] (getLabelList): constify.
9477 2002-08-07 André Pönitz <poenitz@gmx.net>
9479 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9481 * funcrequest.h: extension to keep mouse (x,y) position
9483 2002-08-12 Juergen Vigna <jug@sad.it>
9485 * BufferView2.C (insertErrors): forbid undo when inserting error
9488 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9490 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9492 * ParagraphList.[Ch]: new files
9494 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9496 * BufferView2.C (lockInset): ParagraphList changes
9499 * bufferlist.C: ditto
9503 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9505 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9506 unused class variable counter_,
9508 * paragraph.[Ch] (getFirstCounter): delete unused function
9510 * counters.C: include LAssert.h
9511 (reset): add a new function with no arg, change other version to
9512 not have def. arg and to not allow empty arg.
9514 * text2.C (setCounter): remove empty arg from call to Counters::reset
9516 2002-08-11 John Levon <levon@movementarian.org>
9518 * Makefile.am: add WordLangTuple.h
9520 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9522 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9523 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9525 * insets/insettext.C: InsetList changes
9527 * graphics/GraphicsSupport.C (operator()): InsetList changes
9529 * toc.C (getTocList): InsetList changes
9531 * paragraph_pimpl.[Ch]: InsetList changes
9533 * paragraph.[Ch]: InsetList changes
9535 * buffer.C (inset_iterator): InsetList changes
9536 (setParagraph): ditto
9537 * buffer.h (inset_iterator): ditto
9538 * iterators.C (operator++): ditto
9539 * iterators.h: ditto
9541 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9543 * InsetList.[Ch]: new files, most InsetList handling moved out of
9546 * BufferView2.C (removeAutoInsets): InsetList changes
9548 (ChangeInsets): ditto
9550 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9552 * paragraph_pimpl.h (empty): new function
9554 * paragraph.[Ch] (empty): new function
9556 * other files: use the new Paragraph::empty function
9558 2002-08-09 John Levon <levon@movementarian.org>
9560 * lyxtext.h: remove unused refresh_height
9562 2002-08-09 John Levon <levon@movementarian.org>
9569 * paragraph.C: move sgml char escaping out of paragraph
9572 * paragraph.C: remove id setter
9576 * paragraph_pimpl.C: remove dead tex_code_break_column
9578 * bufferview_funcs.C: small cleanup
9580 * lyxfunc.C: remove dead proto
9582 * lyxtext.h: make some stuff private. Remove some dead stuff.
9584 * lyxgluelength.C: make as[LyX]String() readable
9586 2002-08-08 John Levon <levon@movementarian.org>
9591 * ToolbarDefaults.C:
9594 * toc.C: lyxaction cleanup
9596 2002-08-08 John Levon <levon@movementarian.org>
9598 * BufferView2.C: small cleanup
9601 * lyxfind.C: move unnecessary header into the .C
9603 2002-08-08 John Levon <levon@movementarian.org>
9605 * funcrequest.h: just tedious nonsense
9608 * lyx_main.C: cleanups
9611 * vspace.C: remove dead header lyx_main.h
9613 2002-08-07 Angus Leeming <leeming@lyx.org>
9616 * paragraph_pimpl.h:
9617 Forward declare class Counters in paragraph.h by moving the ctrs member
9618 variable into Paragraph::Pimpl.
9619 (counters): new method, returning a reference to pimpl_->ctrs.
9621 * text2.C: ensuing changes.
9623 2002-08-07 John Levon <levon@movementarian.org>
9625 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9627 * BufferView_pimpl.C: announce X selection on double/triple
9630 * lyx_main.C: use correct bool in batch dispatch
9632 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9634 2002-08-07 André Pönitz <poenitz@gmx.net>
9636 * funcrequest.h: new class to wrap a kb_action and its argument
9639 * BufferView_pimpl[Ch]:
9643 * lyxrc.C: subsequent changes
9646 2002-08-07 John Levon <levon@movementarian.org>
9648 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9649 document options change.
9651 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9656 * makefile.am: move counters functionality over from
9657 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9659 2002-08-06 John Levon <levon@movementarian.org>
9661 * WordLangTuple.h: new file for word + language code tuple
9672 * BufferView2.C: use WordLangTuple
9675 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9677 2002-08-06 John Levon <levon@movementarian.org>
9679 * lyx_main.C: fix cmdline batch handling
9681 2002-08-06 André Pönitz <poenitz@gmx.net>
9683 * lyxrc.C: set default for show_banner to true
9685 2002-08-06 John Levon <levon@movementarian.org>
9687 * pspell.C: fix a crash, and allow new aspell to work
9689 2002-08-06 John Levon <levon@movementarian.org>
9692 * kbmap.C: small cleanup
9695 * vspace.C: add const
9697 2002-08-05 John Levon <levon@movementarian.org>
9699 * LyXAction.C: back to tabular-insert
9701 2002-08-04 John Levon <levon@movementarian.org>
9704 * BufferView.C: cosmetic change
9706 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9716 * BufferView2.C: purge all "Lyx" not "LyX" strings
9719 * lyxcursor.C: attempt to add some documentation
9724 * ToolbarDefaults.C:
9725 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9726 merge with LFUN_TABULAR_INSERT
9733 * pspell.C: split up i/pspell implementations into separate
9734 files, many cleanups
9736 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9738 * text2.C: some cleanup
9740 * lyxfunc.C: don't check for isp_command == "none" any more, it
9741 didn't make any sense
9743 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9748 * makefile.am: move counters functionality over
9749 from text2.C/paragraph.[Ch] to counters.[Ch], and
9751 2002-08-02 John Levon <levon@movementarian.org>
9753 * buffer.C: s/lyxconvert/lyx2lyx/
9755 2002-08-02 Angus Leeming <leeming@lyx.org>
9757 * lyxlex.C: revert John's change as it breaks reading of the user
9760 2002-08-02 Angus Leeming <leeming@lyx.org>
9762 * importer.C (Import):
9763 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9764 changes due to LyXView::view() now returning a boost::shared_ptr.
9766 2002-08-02 John Levon <levon@movementarian.org>
9768 * lyxlex.C: small cleanup
9770 2002-08-02 John Levon <levon@movementarian.org>
9772 * text2.C (status): small cleanup, no logic change
9774 2002-08-01 John Levon <levon@movementarian.org>
9777 * buffer.C (writeFile): don't output alerts, caller
9781 * lyx_cb.C: from above
9783 * lyxfunc.C: allow to open non-existent files
9785 2002-07-31 John Levon <levon@movementarian.org>
9787 * lyxserver.C: don't let incidental errors get
9790 2002-07-30 John Levon <levon@movementarian.org>
9792 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9794 2002-07-30 John Levon <levon@movementarian.org>
9797 * lyxserver.C: remove I/O callback too
9799 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9801 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9804 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9806 * many files: strip,frontStrip -> trim,ltrim,rtrim
9808 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9810 * PrinterParams.h: remove extern containsOnly, and include
9811 support/lstrings.h instead.
9813 * LaTeX.C (scanAuxFile): modify because of strip changes
9815 * buffer.C (makeLaTeXFile): ditto
9816 * bufferparams.C (writeFile): ditt
9817 * lyxfont.C (stateText): ditto
9818 * lyxserver.C (read_ready): ditto
9819 * vc-backend.C (scanMaster): ditto
9821 * BufferView_pimpl.h: ws changes
9823 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9825 2002-07-26 André Pönitz <poenitz@gmx.net>
9827 * kb_sequence.C: remove unnedred usings
9829 2002-07-26 Juergen Vigna <jug@sad.it>
9831 * lyxfind.C (LyXReplace): we have to check better if the returned
9832 text is not of theLockingInset()->getLockingInset().
9834 2002-07-25 Juergen Vigna <jug@sad.it>
9836 * lyxfind.C (LyXReplace): don't replace if we don't get the
9839 * undo_funcs.C (createUndo): remove debugging code.
9841 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9843 * buffer.C (parseSingleLyXformat2Token): Use default placement
9844 when reading old floats.
9846 * FloatList.C (FloatList): Change the default placement of figure
9847 and tables to "tbp".
9849 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9851 * MenuBackend.C: using std::max
9853 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9855 * MenuBackend.C (expandToc):
9856 (expandToc2): code moved from xforms menu frontend. It is now
9857 generic and TOCs are transparent to menu frontends.
9859 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9861 * toc.C (getTocList): protect against buf=0
9863 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9864 Menu as first parameter. Now, this calls itself recursively to
9865 expand a whole tree (this will be useful for TOC handling)
9866 (expandFloatInsert): remove 'wide' version of floats
9868 * MenuBackend.h (submenuname): returns the name of the submenu.
9869 (submenu): returns the submenu itself, provided it has been
9870 created by MenuBackend::expand
9872 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9874 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9875 insets which have noFontChange == true. (bug #172)
9877 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9879 * BufferView_pimpl.C: add connection objects and use them...
9882 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9884 * MenuBackend.C (expandLastfiles):
9887 (expandFloatListInsert):
9888 (expandFloatInsert):
9889 (expand): split expand in parts
9891 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9893 * lyx_gui.C: use lyx_gui::exit()
9895 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9897 * LyXAction.C: show the failing pseudo action
9899 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9901 * buffer.C (readFile): Run the lyxconvert script in order to read
9904 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9908 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9910 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9914 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9916 2002-07-22 Herbert Voss <voss@lyx.org>
9919 * lyxlength.[Ch]: add support for the vertical lengths
9921 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9923 * toc.[Ch]: std:: fixes
9925 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9927 * lyxrc.C: do not include lyx_main.h
9929 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9935 * BufferView2.C: include "lyxlex.h"
9938 * bufferparams.h: do not #include "lyxlex.h"
9940 * lyxtextclasslist.C (Add): remove method
9941 (classlist): renamed to classlist_
9943 * paragraph_pimpl.C:
9947 * bufferview_funcs.C:
9952 * toc.C (getTocList): use BufferParams::getLyXTextClass
9954 * toc.C (getTocList): use InsetFloat::addToToc
9956 * toc.[Ch]: new files, containing helper functions to handle table
9959 * lyxfunc.C (dispatch): no need to remove spaces around command
9961 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9962 first command of the sequence; it is not very clever, but I do not
9963 have a better idea, actually
9965 * LyXAction.C (LookupFunc): make sure to remove space at the
9966 beginning and end of the command
9968 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9970 * MenuBackend.C (getMenubar): new method: return the menubar of
9972 (read): treat differently reading of menu and menubar (in
9973 particular, the menubar has no name now)
9974 (Menu::menubar): remove
9976 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9979 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9981 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9982 a bibitem inset in a RTL paragraph.
9984 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9986 * paragraph_pimpl.C: constify
9988 * BufferView_pimpl.C:
9990 * lyxfunc.C: fix dispatch in a nicer way
9992 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9994 * lyxfunc.C (dispatch):
9995 * BufferView_pimpl.C:
9996 * BufferView_pimpl.h:
9998 * BufferView.h: rename Dispatch() to dispatch()
10000 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10002 * lyxlayout.C (Read): honor DependsOn tag
10004 * lyxlayout.[Ch] (depends_on): new method
10006 * version.C.in: update lyx_docversion
10008 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10010 * paragraph.C (validate): remove from here...
10011 * paragraph_pimpl.C (validate): ... and move here
10012 (isTextAt): make it const
10014 * buffer.C (getLists): ws cleanup
10016 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10018 * language.C (read): Use iso8859-1 encoding in latex_lang
10019 (this prevents LyX from crashing when using iso10646-1 encoding).
10021 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10023 * text2.C (toggleInset): if cursor is inside an inset, close the
10024 inset and leave cursor _after_ it
10026 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10028 * lyxfunc.C: move minibuffer completion handling out of here
10030 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10032 * BufferView_pimpl.C:
10033 * LaTeX.C: fix dispatch calls
10035 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10037 * text.C (drawChars): Fix Arabic text rendering.
10039 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10043 * lyxfunc.C: remove message-push/pop
10047 * lyxfunc.C: rationalise some code by removing verboseDispatch
10048 in favour of a bool argument to dispatch()
10050 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10052 * lyx_main.C (init): make sure to read symlinks as absolute paths
10054 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10057 * lyxfunc.C: no need for commandshortcut to be a member
10059 2002-07-15 André Pönitz <poenitz@gmx.net>
10061 * converter.C: add support for $$s (scripts from lib/scripts dir)
10062 * lyx_main.C: white space
10064 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10068 * lyxrc.C: remove second exit confirmation
10070 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10075 * BufferView_pimpl.h:
10076 * BufferView_pimpl.C:
10077 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10079 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10081 * MenuBackend.C (expand): add numeric shortcuts to document menu
10083 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10085 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10087 * lyxfont.C (setLyXFamily):
10094 * buffer.C (asciiParagraph): use ascii_lowercase
10096 2002-07-15 Mike Fabian <mfabian@suse.de>
10098 * lyxlex_pimpl.C (search_kw):
10099 * lyxlex.C (getLongString):
10100 * converter.h (operator<):
10101 * converter.C (operator<):
10102 * buffer.C (parseSingleLyXformat2Token):
10104 * ToolbarDefaults.C (read):
10105 * MenuBackend.C (checkShortcuts):
10107 * LColor.C (getFromGUIName):
10108 (getFromLyXName): use the compare_ascii_no_case instead of
10109 compare_no_case, because in turkish, 'i' is not the lowercase
10110 version of 'I', and thus turkish locale breaks parsing of tags.
10112 2002-07-16 Angus Leeming <leeming@lyx.org>
10114 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10115 now takes a Buffer const & argument.
10117 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10119 * BufferView.C (resize): check there's a buffer to resize
10121 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10123 * lyxfunc.C: remove dead code
10126 * lyxserver.C: use lyx_guii::set_read_callback
10128 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10130 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10131 an inset in a RTL paragraph.
10133 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10135 * lyxfunc.C: repaint after a font size update
10137 2002-07-15 André Pönitz <poenitz@gmx.net>
10139 * lyxlength.C: inBP should be able to return negative values
10141 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10143 * lyxfunc.C: use lyx_gui::update_fonts()
10145 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10147 * lyxfunc.C: use lyx_gui::update_color()
10149 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10155 * lyxrc.C: remove file->new asks for name option, and let
10156 buffer-new take an argument
10158 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10160 * BufferView_pimpl.C: remove unneeded extra repaint()
10162 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10164 * LyXAction.C: allow command-sequence with NoBuffer
10166 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10168 2002-07-10 Angus Leeming <leeming@lyx.org>
10170 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10172 2002-07-09 Angus Leeming <leeming@lyx.org>
10174 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10176 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10178 * lengthcommon.h: whitespace
10180 * lyxfunc.C: update scrollbar after goto paragraph
10182 * lyxtext.h: factor out page break drawing, and fix it so
10183 page break/added space paints as selected nicely
10185 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10187 * BufferView_pimpl.C: add FIXMEs, clean up a little
10189 2002-07-09 André Pönitz <poenitz@gmx.net>
10191 * lyxfont.[Ch]: support for wasy symbols
10193 2002-07-08 André Pönitz <poenitz@gmx.net>
10195 * BufferView_pimpl.C: apply John's patch for #93.
10197 2002-07-05 Angus Leeming <leeming@lyx.org>
10199 * BufferView_pimpl.C (buffer): generate previews if desired.
10201 * LColor.h: add "preview" to the color enum.
10203 * LColor.C (LColor): add a corresponding entry to the items array.
10205 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10208 2002-07-05 Angus Leeming <leeming@lyx.org>
10210 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10211 The body of the code is now in the method that is passed an ostream &
10212 rather than a file name.
10213 Pass an additional only_preamble parameter, useful for the forthcoming
10216 2002-07-03 André Pönitz <poenitz@gmx.net>
10218 * lyxfunc.C: simplify getStatus() a bit for math stuff
10220 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10222 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10224 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10226 * text.C (changeRegionCase): do not change case of all the
10227 document when region ends at paragraph end (bug #461)
10229 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10231 * paragraph.C (startTeXParParams):
10232 (endTeXParParams): add \protect when necessary
10234 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10236 * BufferView_pimpl.C (workAreaExpose): remove warning
10238 2002-06-27 Angus Leeming <leeming@lyx.org>
10240 * Makefile.am: add lyxlayout_ptr_fwd.h.
10242 2002-06-26 André Pönitz <poenitz@gmx.net>
10244 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10246 2002-06-25 Angus Leeming <leeming@lyx.org>
10248 * lyxfunc.C (dispatch): Comment out the call to
10249 grfx::GCache::changeDisplay. The method no longer exists now that the
10250 pixmap generation part of the graphics loader has been moved into
10253 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10255 * text2.C: layout as layout
10257 * text.C: layout as layout
10259 * tabular.C (OldFormatRead): layout as layout
10261 * paragraph_pimpl.C (TeXDeeper): layout as layout
10262 (realizeFont): layout as layout
10264 * paragraph.C (writeFile): layout as layout
10265 (validate): layout as layout
10266 (getFont): layout as layout
10267 (getLabelFont): layout as layout
10268 (getLayoutFont): layout as layout
10269 (breakParagraph): layout as layout
10270 (stripLeadingSpaces): layout as layout
10271 (getEndLabel): layout as layout
10272 (getMaxDepthAfter): layout as layout
10273 (applyLayout): layout as layout
10274 (TeXOnePar): layout as layout
10275 (simpleTeXOnePar): layout as layout
10276 (TeXEnvironment): layout as layout
10277 (layout): layout as layout
10278 (layout): layout as layout
10280 * lyxtextclass.C (compare_name): new functor to work with
10281 shared_ptr, layout as layout
10282 (Read): layout as layout
10283 (hasLayout): layout as layout
10284 (operator): layout as layout
10285 (delete_layout): layout as layout
10286 (defaultLayout): layout as layout
10288 * lyxlayout_ptr_fwd.h: new file
10290 * lyxlayout.C (Read): layout as layout
10292 * lyx_cb.C (MenuInsertLabel): layout as layout
10294 * bufferlist.C (newFile): layout as layout
10296 * buffer.C (readLyXformat2): layout as layout
10297 (parseSingleLyXformat2Token): layout as layout
10298 (insertStringAsLines): layout as layout
10299 (asciiParagraph): layout as layout
10300 (latexParagraphs): layout as layout
10301 (makeLinuxDocFile): layout as layout
10302 (simpleLinuxDocOnePar): layout as layout
10303 (makeDocBookFile): layout as layout
10304 (simpleDocBookOnePar): layout as layout
10305 (getLists): layout as layout
10307 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10309 * CutAndPaste.C (cutSelection): layout as layout
10310 (pasteSelection): layout as layout
10311 (SwitchLayoutsBetweenClasses): layout as layout
10313 * BufferView_pimpl.C (Dispatch): layout as layout
10314 (smartQuote): layout as layout
10316 * BufferView2.C (unlockInset): layout as layout
10318 2002-06-24 André Pönitz <poenitz@gmx.net>
10320 * lyxfunc.C: fix #487
10322 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10326 * lyxfunc.C: remove display_shortcuts, show_banner
10328 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10330 * Buffer_pimpl.C: oops, update on resize
10332 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10339 * BufferView.C: use repaint()
10341 * BufferView_pimpl.h:
10342 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10343 as it's a clearer description. Remove superfluous
10346 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10348 * text.C: fix bug 488. Not ideal, but getting
10349 getWord() to work properly for the insets that
10350 matter is more difficult ...
10352 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10354 * BufferView_pimpl.C:
10357 * lyxfunc.C: remove the six million index lyxfuncs to just
10358 one, and DTRT (bug 458)
10360 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10364 * BufferView_pimpl.h:
10365 * BufferView_pimpl.C: clean up resize() stuff,
10366 and unnecessary updateScreen()s
10368 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10372 * BufferView_pimpl.h:
10373 * BufferView_pimpl.C:
10376 * minibuffer.C: remove focus management of workarea,
10377 not needed. Use screen's greyOut()
10379 2002-06-17 Herbert Voss <voss@lyx.org>
10381 * converter.C: (convert) do not post a message, when converting
10382 fails, let the calling function decide what to do in this case
10384 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10386 * lyxfunc.C: tidy up a little
10388 2002-06-16 <alstrup@diku.dk>
10390 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10391 Got rid of FORMS_H_LOCATION include. Now we are
10394 2002-06-15 LyX Development team <lyx@rilke>
10396 * buffer.[Ch] (sgmlOpenTag):
10397 (sgmlCloseTag): Added support for avoiding pernicious mixed
10398 content. Return number of lines written.
10400 (makeLinuxDocFile):
10401 (makeDocBookFile): Fixed calls to sgml*Tag.
10402 Simple white space clean.
10404 (simpleDocBookOnePar): Simple white space clean.
10406 * tabular.[Ch] (docBook): Renamed to docbook and got another
10407 argument to related with the pernicious mixed content.
10409 (docbookRow): Fixed calls for docbook inset method.
10411 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10413 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10414 so it's X11 independent.
10418 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10420 2002-06-15 Lyx Development team <lyx@electronia>
10422 * intl.h: Renamed getTrans to getTransManager.
10424 2002-06-14 Angus Leeming <leeming@lyx.org>
10426 * Makefile.am: nuke forgotten stl_string_fwd.h.
10428 2002-06-12 Angus Leeming <leeming@lyx.org>
10430 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10432 2002-06-13 Angus Leeming <leeming@lyx.org>
10435 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10437 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10439 * kbmap.C (getiso): add support for cyrillic and greek
10441 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10445 * BufferView_pimpl.h:
10446 * BufferView_pimpl.C: move bogus scrolling logic
10449 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10452 * BufferView_pimpl.C: view->resize() change
10454 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10456 * BufferView_pimpl.C: topCursorVisible
10459 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10463 * lyx_gui.C: move to frontends/
10467 * lyx_main.C: changes from above
10469 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10476 * lyx_main.C: minor tidy
10478 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10480 * BufferView_pimpl.h:
10481 * BufferView_pimpl.C:
10483 * BufferView.C: make painter() const,
10486 * BufferView2.C: use screen() accessor
10489 * lyx_main.C: some minor cleanup
10491 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10493 * BufferView_pimpl.h:
10494 * BufferView_pimpl.C: remove enter/leaveView,
10497 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10502 * BufferView_pimpl.h:
10503 * BufferView_pimpl.C: only construct screen once,
10506 * lyxrc.C: remove pointless comment
10508 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10511 * BufferView.C: remove active() and belowMouse()
10513 * BufferView_pimpl.h:
10514 * BufferView_pimpl.C: use workarea() not workarea_,
10515 and make it use a scoped_ptr instead
10517 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10519 * lyx_gui.C: add debug message on BadWindow
10521 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10523 * sp_spell.C: fdopen is not part of the C++ standard.
10525 * paragraph.C (InsetIterator): use >= instead of ==
10527 2002-06-07 Angus Leeming <leeming@lyx.org>
10529 Fixes needed to compile with Compaq cxx 6.5.
10530 * BufferView_pimpl.C:
10537 * lyxtextclasslist.C:
10542 all c-library variables have been moved into namespace std. Wrap
10543 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10548 Add a using std::abs declaration.
10550 * kbmap.h (modifier_pair):
10551 * paragraph.h (InsetTable, InsetList):
10552 * lyxfont.h (FontBits):
10553 type definition made public.
10555 * bufferlist.C (emergencyWriteAll): the compiler complains that
10556 there is more than one possible lyx::class_fun template to choose from.
10557 I re-named the void specialisation as lyx::void_class_fun.
10559 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10561 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10562 the compiler is is unable to find tostr in write_attribute.
10564 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10566 * buffer.C (sgmlError): hide #warning
10568 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10570 * xtl/*: get rid of xtl, which is not in use anyway
10572 * LyXAction.C (init):
10573 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10574 were unimplemented xtl experimentation
10576 2002-06-04 André Pönitz <poenitz@gmx.net>
10578 * lyxfunc.C: disable array operation on simple formulae
10580 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10582 * converter.C: constify a bit
10584 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10586 * lyx_gui.C: check xforms version correctly
10588 2002-04-30 Herbert Voss <voss@lyx.org>
10590 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10593 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10595 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10596 attempt to register it with a VCS)
10598 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10600 * lyx_main.C (init): honor variables LYX_DIR_13x and
10603 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10607 * lyx_main.C: fix a crash on bad command line,
10608 and give a useful exit status on error
10610 * lyxfunc.C (doImport): allow -i lyx to work
10612 2002-03-30 André Pönitz <poenitz@gmx.net>
10614 * lyxfunc.C: mathed font changes
10616 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10631 * trans_mgr.h: srcdocs, and some minor cleanups
10633 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10635 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10636 call getFont all the time)
10638 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10640 * switch from SigC signals to boost::signals
10642 2002-05-29 André Pönitz <poenitz@gmx.net>
10644 * paragraph_pimpl.C (getChar): don't call size() too often...
10646 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10648 * paragraph_pimpl.C (insertChar): do not try to update tables when
10649 appending (pos == size())
10651 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10652 in order to reduce drastically the number of comparisons needed to
10653 parse a large document
10655 2002-05-29 André Pönitz <poenitz@gmx.net>
10661 * textclasslist.[Ch]:
10662 * sp_ispell.h: whitespace change
10664 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10666 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10667 lyxaction directly now.
10669 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10673 * lyxvc.C: remove unused headers
10675 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10682 * undo_funcs.C: some cleanups. Use shared_ptr
10683 and a template for the undo stacks.
10685 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10687 * BufferView_pimpl.h:
10688 * BufferView_pimpl.C:
10695 * text2.C: use key_state/mouse_state
10697 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10699 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10702 * chset.C: change include order
10703 (loadFile): use boost regex and get rid of LRegex and LSubstring
10705 * Makefile.am (BOOST_LIBS): new variable
10706 (lyx_LDADD): use it
10708 * LaTeX.C: change include order.
10709 (scanAuxFile): use boost regex and get rid of LRegex and
10713 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10718 * FontInfo.C: moved to frontends/xforms/
10721 * FontLoader.C: moved into frontends for GUIIzation
10726 * lyxfunc.C: changes from above
10728 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10730 * LColor.C: remove spurious X include
10732 * BufferView_pimpl.C:
10737 * text2.C: move font metrics to frontends/
10739 2002-05-24 Juergen Vigna <jug@sad.it>
10741 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10742 setting the undo_cursor.
10744 * ParagraphParameters.h: include local includes first.
10746 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10748 * BufferView_pimpl.C:
10749 * BufferView_pimpl.h:
10753 * screen.C: move WorkArea into frontends/
10759 * BufferView2.C: move LyXScreen into frontends/
10763 * lyx_gui.C: move lyxlookup into frontends/xforms/
10765 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10768 * BufferView_pimpl.C:
10778 * bufferview_funcs.C:
10791 * vc-backend.C: move LyX/XFormsView into frontends/
10793 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10805 * text2.C: move Painter to frontends/
10807 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10809 * buffer.C: comment out some some code that depend upon lyx_format
10812 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10813 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10815 * buffer.h (NO_COMPABILITY): turn off compability
10817 * ColorHandler.C: include scoped_array.hpp
10819 * font.C: Use more specific smart_ptr header.
10822 * ShareContainer.h: ditto
10823 * lyx_main.h: ditto
10825 * FontInfo.h: ditto
10826 * BufferView_pimpl.h: ditto
10827 * ColorHandler.h: ditto
10829 * kbmap.C (defkey): change call to shared_ptr::reset
10831 2002-05-21 Juergen Vigna <jug@sad.it>
10833 * buffer.C (insertErtContents): fix to insert ert asis if it is
10834 non empty. Skip it completely if it contains only whitespaces.
10836 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10838 * BufferView_pimpl.C:
10839 * BufferView2.C: clear selection on paste (bug 393)
10841 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10843 * DepTable.C: include ctime
10845 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10847 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10849 2002-05-14 Juergen Vigna <jug@sad.it>
10851 * text.C (breakParagraph): fixed function to honor the keepempty
10852 layout in the right maner and also to permit the right breaking
10853 algorithm on empty or non empyt keepempty paragraphs.
10855 * paragraph.C (breakParagraph): we have to check also if the par
10856 is really empty (!size()) for isempty otherwise we do the wrong
10859 2002-05-10 Juergen Vigna <jug@sad.it>
10861 * buffer.[Ch] : The following are only changes to the ert
10862 compatibility read reading old LaTeX layout and font stuff and
10863 convert it to ERTInsets.
10865 * buffer.h: added isErtInset().
10867 * buffer.C (struct ErtComp): add a fromlayout bool to check
10868 if we're inside a LaTeX layout.
10869 (isErtInset): new helper function.
10870 (insertErtContents): look for other ert insets before this one
10871 and insert the contents there, so that we don't have subsequent
10872 ERT insets with nothing between them. This way we create only one
10873 inset with multiple paragraphs. Also check if we don't insert only
10874 spaces ' ' as they are ignored anyway afterwards in the .tex file
10875 so if we have only spaces we will ignore this latex part in the
10877 (parseSingleLyXformat2Token \\layout): better compatibility when
10878 reading layout-latex stuff.
10879 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10881 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10882 stuff after reading the inset only get the information back from
10885 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10887 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10889 * LaTeXFeatures.C (getBabelOptions): New method.
10891 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10893 * BufferView_pimpl.C (Dispatch): work around missing argument for
10896 2002-05-08 Juergen Vigna <jug@sad.it>
10898 * text.C (leftMargin): handle paragraph leftindent.
10900 * paragraph.C (writeFile): write the new \\leftindent tag.
10901 (validate): handle leftindent code.
10902 (TeXEnvironment): handle paragraphleftindent code again.
10904 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10906 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10907 for paragrap_extra indent code and new token \\leftindent.
10908 (latexParagraphs): handle the leftindent as environment.
10910 * ParameterStruct.h: added leftindent support.
10912 * ParagraphParameters.C (leftIndent): added support functions for
10913 the paragraph left indent.
10915 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10918 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10920 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10923 * text.C (computeBidiTables): No bidi in insetERT.
10925 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10928 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10930 * version.C.in: pre 5
10932 2002-05-02 José Matos <jamatos@fep.up.pt>
10933 * buffer.C (makeDocBookFile): white space changes, add newline to
10935 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10937 * tabular.C (docBook): fix typo.
10939 2002-05-03 Juergen Vigna <jug@sad.it>
10941 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10942 change in LyXText as we can not be sure it was not freed.
10943 (drawOneRow): remove unused code.
10945 * text.C (drawInset): redo the calculation of the need_break_row as
10946 it could have a row which was already freed.
10947 (draw): look at the return value of drawInset and return false if
10948 it also returned false.
10949 (paintRowText): look at the return value of draw and return false if
10950 it also returned false.
10952 * lyxtext.h: added bool return type to drawInset() and draw() so that
10953 if we have a change in the row so that the rowbreak has to be redone
10954 we abort drawing as it will be called again.
10956 2002-05-02 Juergen Vigna <jug@sad.it>
10958 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10959 a change in the maintext also if we're inside an inset.
10960 (Dispatch): set the cursor again after a break line and after the
10961 screen has been updated as it could be we're in a different row.
10963 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10964 to set the cursor behind the pargraph with > size().
10965 (setCursor): check also for the same paragraph when checking where
10966 to put the cursor if we have a NFR inset.
10968 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10969 parts of layout read further up as it still was in the wrong
10972 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10974 * screen.C (drawFromTo): change sine fullRebreak always return
10977 * buffer.C (parseSingleLyXformat2Token): reindent some
10979 * BufferView_pimpl.C (update): change since fullRebreak always
10981 (Dispatch): git rid of the last hardcoded "Standard"s.
10983 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10985 * text2.[Ch] (fullRebreak): make it return void now that we always
10988 2002-04-30 Juergen Vigna <jug@sad.it>
10990 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10991 ert compatibility check for "latex" layout.
10993 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10995 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10996 minipages: use col% instead of p%, and also use the current font.
10997 (makeLaTeXFile): Fix use babel condition.
10998 (parseSingleLyXformat2Token): Correct font when reading old floats.
11000 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11002 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11003 inserting list of floats.
11005 2002-04-25 Herbert Voss <voss@lyx.org>
11007 * MenuBackend.C (expand): don't add the graphics extensions to the
11010 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11012 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11013 non-existing layout, do not complain if it was the default layout
11014 of the original class (bug #342)
11016 2002-04-24 Juergen Vigna <jug@sad.it>
11018 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11019 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11021 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11023 * buffer.C (getBibkeyList): If using \bibliography, return the
11024 option field with the reference itself. Enables us to provide natbib
11025 support when using \bibliography.
11027 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11029 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11031 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11032 natbib is provided by the LaTeX class.
11034 2002-04-23 Juergen Vigna <jug@sad.it>
11036 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11039 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11041 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11043 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11045 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11046 ensuremath around textordmasculine, textordfeminine and
11049 2002-04-19 Juergen Vigna <jug@sad.it>
11051 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11052 reinitializing the buffer otherwise row-dimensions may be wrong.
11053 (update): reset also the selection cursors if they do exits otherwise
11054 their x/y positions may be wrong.
11056 * text2.C (cursorDown): don't enter the inset if we came from a row
11057 above and are one row over the inset.
11059 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11060 really leaving an inset.
11062 2002-04-18 Juergen Vigna <jug@sad.it>
11064 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11065 of the selected paragraph does not have the selected layout also if
11068 * text2.C (setLayout): fixed bug which did not change last selected
11071 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11072 changed the read and substituted \\end_float with \\end_inset!
11074 * BufferView_pimpl.C (cursorPrevious):
11075 (cursorNext): fixed to make it work with rows heigher than the work
11076 area without moving the cursor only the draw of the row.
11077 (workAreaMotionNotify): fix jumping over high rows.
11079 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11081 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11084 2002-04-16 Juergen Vigna <jug@sad.it>
11086 * text2.C (setCursor): set also the irow().
11087 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11089 (cursorDown): support for locking an inset if the x_fix value goes
11090 inside it. That way I can transverse insets too with cursor up/down.
11092 * lyxrow.h: added irow helper function same as other (i) functions.
11094 * BufferView_pimpl.C (cursorPrevious):
11095 (cursorNext): fixed for insets!
11097 2002-04-15 Juergen Vigna <jug@sad.it>
11099 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11100 position otherwise it is wrong in some cases.
11102 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11103 inside the inset before the call.
11105 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11107 * buffer.[Ch] (getBibkeyList): make it const.
11109 2002-04-12 Juergen Vigna <jug@sad.it>
11111 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11113 * text2.C (getCursorX): new helper function
11114 (setCursor): compute also ix_
11115 (setCursorFromCoordinates): set also ix.
11117 * lyxcursor.h: added ix_ and helper functions.
11119 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11121 * buffer.C (insertStringAsLines): dont break paragraph if the this
11122 paragraph is inside an inset which does not permit it!
11124 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11125 also with no chars on this paragraph.
11126 (paintRowText): only paint stuff if it's inside the workarea!
11128 * paragraph.C (breakParagraph): honor keepempty flag and break the
11129 paragraph always below not above.
11131 * BufferView2.C (unlockInset): update the paragraph layout on inset
11132 unlock as we changed paragraph in such a case.
11134 * lyxfind.C (LyXFind): clear the former selection if not found!
11136 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11137 again called in insertChar().
11139 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11140 an inset which uses the whole row!
11141 (rightMargin): ditto.
11142 (insertChar): force a rebreak if we inserted an inset!
11144 2002-03-28 Herbert Voss <voss@lyx.org>
11146 * lyxlength.[Ch]: add inBP() to get the right PS-point
11147 units (BigPoint). With inPixels we have rounding errors
11149 2002-04-11 Juergen Vigna <jug@sad.it>
11151 * text2.C (setCursorFromCoordinates): set iy to the right value.
11152 (setCursor): add check if row->previous exists!
11154 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11155 an old float_type as this was the case in the old code!
11157 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11159 * BufferView2.C (showLockedInsetCursor): use iy
11160 (fitLockedInsetCursor): ditto
11162 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11163 locked insets as there we have the right value now.
11165 * lyxcursor.C: added iy_ variable and iy functions to set to the
11166 baseline of cursor-y of the locked inset.
11168 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11169 (setCursor): fixed for insets which need a full row.
11171 * text.C (rowLastPrintable): don't ignore the last space when before
11172 an inset which needs a full row.
11173 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11174 as last character of a row when before a inset which needs a full row.
11176 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11178 * version.C.in: update date
11180 * text2.C (fullRebreak): try to always return true and see what
11183 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11185 * MenuBackend.C (expand): use Floating::listName
11187 * FloatList.C (FloatList): add listName argument to the built-in
11190 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11191 text associated with the float.
11193 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11195 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11197 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11199 * ShareContainer.h: add a couple of missing typenames.
11201 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11203 * lyxrc.C (getDescription): use _() correctly rather than N_().
11205 2002-03-28 Herbert Voss <voss@lyx.org>
11207 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11208 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11210 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11212 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11213 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11215 2002-03-29 Juergen Vigna <jug@sad.it>
11217 * lyxfunc.C (dispatch): add a missing fitCursor call.
11219 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11220 it was scrolled by a cursor move, so return the bool status.
11222 * BufferView.C (fitCursor): return the bool flag also to the outside
11223 world as this is needed.
11225 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11227 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11228 call the edit() as it is not needed (and wrong) IMO.
11229 (workAreaButtonPress): set the screen_first variable before evt.
11230 unlock the inset as this may change screen_first and then we have
11231 a wrong y position for the click!
11233 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11235 * MenuBackend.C (expand): another translation that I missed
11237 2002-03-28 Juergen Vigna <jug@sad.it>
11239 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11241 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11243 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11245 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11247 * MenuBackend.C (expand): fix export/view/update when there is no
11250 2002-03-27 Herbert Voss <voss@lyx.org>
11252 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11255 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11257 * bufferview_funcs.C (currentState): only show paragraph number
11258 for is DEVEL_VERSION is set.
11260 * lyxfunc.C (dispatch): put warning in INFO channel
11262 * MenuBackend.C (expand): translate the name of floats
11264 * FloatList.C (FloatList): mark the float names for translation
11266 * converter.C (convert): use LibScriptSearch
11268 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11270 * MenuBackend.C (defaults): fix default menu (we might as well get
11273 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11275 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11278 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11280 * lyxvc.C: reorder includes.
11282 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11284 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11287 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11289 * CutAndPaste.C: change layouts earlier on paste
11290 to avoid crashing when calling getFont()
11292 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11294 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11297 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11299 * WorkArea.C: remove 'Pending' debug message.
11301 * most files: ws cleanup
11303 * buffer.[Ch]: ws changes
11305 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11307 2002-03-21 Juergen Vigna <jug@sad.it>
11309 * tabular.C (SetMultiColumn): collapse also the contents of the
11310 cells and set the last border right. Added a Buffer const * param.
11312 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11314 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11317 2002-03-19 Juergen Vigna <jug@sad.it>
11319 * text2.C (clearSelection): reset also xsel_cache.
11321 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11322 where it needs to be called (John tells us to do so too :)
11323 (selectionLost): reset sel_cache.
11325 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11327 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11329 * text2.C (setCursorIntern): put debuging code in INSETS channel
11331 2002-03-19 André Pönitz <poenitz@gmx.net>
11333 * lyxfunc.C: tiny whitespace change
11335 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11337 * ToolbarDefaults.C (init):
11338 * LyXAction.C (init):
11340 * BufferView_pimpl.C (Dispatch):
11341 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11343 2002-03-19 Allan Rae <rae@lyx.org>
11345 * exporter.C (Export): removeAutoInsets before doing anything else.
11346 While I've just introduced a dependency on BufferView this really is
11347 the best place to clean the buffer otherwise you need to cleanup in
11348 a dozen places before calling export or cleanup in a dozen functions
11351 * converter.C (runLaTeX):
11352 (scanLog): Better handling of removeAutoInsets and screen updates.
11354 * lyxfunc.C (dispatch): small whitespace changes
11356 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11358 * WorkArea.C (C_WorkAreaEvent): return a value.
11359 (event_cb): return 1 if we handled the event, 0 otherwise.
11361 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11363 2002-03-18 Juergen Vigna <jug@sad.it>
11365 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11366 (GetAdditionalWidth): ditto.
11367 (RightLine): ditto.
11370 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11371 inset if we're there actually (probably not used right now but this
11372 is the direction to go for unifying code).
11373 (paste): disable code to clear the selection.
11375 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11376 inside an InsetText and move the check further up as it is in the
11379 * text2.C (pasteSelection): set a selection over the pasted text.
11381 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11383 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11384 and libgraphics to build on Cygwin.
11386 2002-03-15 Juergen Vigna <jug@sad.it>
11388 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11389 inserting an Inset into the paragraph. I know this is not the best
11390 fix but we already use current_view in CutAndPaste so we will remove
11391 all of it's using at the same time.
11393 * buffer.C (sgmlError): deactivated function till it is rewritten in
11394 the right mode, now it can create problems.
11396 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11397 before accessing it.
11399 2002-03-14 Juergen Vigna <jug@sad.it>
11401 * undo_funcs.C (textHandleUndo): do the right thing when updating
11402 the inset after the undo/redo.
11404 * text2.C (setCursor): just some testcode for #44 not ready yet.
11406 * undo_funcs.C (textHandleUndo): set the next() and previous()
11407 pointers of the paragraph to 0 before deleting otherwise we have
11408 problems with the Paragraph::[destructor].
11410 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11411 on a paragraph insertion.
11413 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11415 * buffer.C (asciiParagraph): use += operator for char append to
11418 * paragraph.C (getFontSettings): compare >= not just >
11419 (highestFontInRange): ditto
11422 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11424 * paragraph.C: change several algorithm to be more appripriate for
11425 the problem domain. This is lookip in FontList and in the InsetList.
11427 2002-03-13 André Pönitz <poenitz@gmx.net>
11430 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11432 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11437 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11439 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11441 * Painter.C (display): anon helper function, adjust code for this
11443 (pixmap): remove function.
11445 * Painter.h: remove private display variable.
11447 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11449 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11451 * WorkArea.[Ch]: remove figinset_canvas cruft.
11453 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11455 * lyxtextclass.C (operator): add one item cache optimization.
11457 * bufferlist.h: doxy changes
11459 * bufferlist.C: ws changes
11461 * DepTable.[Ch] (ext_exist): place const in the right spot.
11463 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11465 (workAreaExpose): call resizeInsets when the with BufferView changes.
11466 (Dispatch): adjust for protectedBlank removal
11467 (specialChar): call updateInset if the insert went ok.
11469 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11470 specialChar instead.
11472 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11474 * BufferView.h: doxy change
11476 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11478 * lyxtextclass.C (operator[]): remove non-const version
11479 (defaultLayout): remove non-const version
11481 2002-03-12 Juergen Vigna <jug@sad.it>
11483 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11484 did resize the LyXText too.
11486 * buffer.C (readLyXformat2): set layout information on newly allocated
11489 * tabular.C (OldFormatRead): set layout information on the paragraph.
11491 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11493 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11495 2002-03-11 Juergen Vigna <jug@sad.it>
11497 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11499 (resizeCurrentBuffer): force also the insets to resize themselfes.
11500 (moveCursorUpdate): fixed up for InsetText.
11502 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11505 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11506 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11507 value of Dialogs::tooltipsEnabled().
11508 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11510 2002-03-08 Juergen Vigna <jug@sad.it>
11512 * BufferView_pimpl.C (updateInset): update inset inside inset also
11513 if it isn't inside theLockingInset().
11515 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11517 * buffer.C (asciiParagraph): redo some of the word and line length
11519 (getLists): look for Caption instead of caption.
11521 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11523 * buffer.C (Buffer): initialize niceFile to true
11525 (makeLinuxDocFile):
11526 (makeDocBookFile): make sure niceFile is true on exit
11528 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11530 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11532 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11534 * LyXSendto.C: remove.
11535 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11536 * lyx_gui.C: remove now-redundant comment.
11537 * ColorHandler.h: remove forward declaration of class WorkArea.
11538 * lyxfunc.C: remove #include "WorkArea.h".
11540 2002-03-07 Juergen Vigna <jug@sad.it>
11542 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11543 got moved away with the DEPM and also set the inset_owner always
11544 right which before could have been omitted.
11546 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11548 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11549 wanted layout is not found.
11551 2002-03-07 Juergen Vigna <jug@sad.it>
11553 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11555 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11557 * paragraph.C (breakParagraph): use default layout not layout of
11559 (Paragraph): clear ParagraphParameters.
11561 2002-03-06 Juergen Vigna <jug@sad.it>
11563 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11564 otherwise it would not be a valid lenght. Fixed a special case in
11565 the minipage compatibility read where we end the document with a
11568 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11569 was set as it could be 0 for InsetTexts first entry.
11571 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11573 * paragraph.C (writeFile): if layout is empty write out
11574 defaultLayoutName().
11576 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11577 file without named layout we set layout to defaultLayoutName().
11579 2002-03-06 Juergen Vigna <jug@sad.it>
11581 * CutAndPaste.C (copySelection): set layout for new paragraph.
11583 * text.C (prepareToPrint): leave ERT inset left aligned
11584 (leftMargin): don't indent paragraphs inside ERT insets
11586 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11588 * paragraph.C (breakParagraph): dont call clear do the work manually
11590 * paragraph.[Ch] (clear): remove function
11592 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11594 * paragraph.C (Paragraph): dont call clear, the work has already
11597 * lyxtextclass.C (operator): assert if n is empty
11599 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11600 work manually instead.
11602 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11604 * BufferView_pimpl.C: protect selectionLost against text == 0
11606 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11608 * text.C (breakParagraph): fix a setting layout to '0' problem.
11610 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11612 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11613 final location of file, for the included files, and graphics.
11615 2002-03-05 Juergen Vigna <jug@sad.it>
11617 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11619 2002-03-04 Juergen Vigna <jug@sad.it>
11621 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11623 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11624 last column of multicolumn cells.
11625 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11627 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11629 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11630 file if it doesn't go to a temporary file.
11632 * buffer.C (sgmlOpenTag):
11633 (sgmlCloseTag): remove extra newline insertion.
11635 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11637 * text.C (getRowNearY): comment out debug msg
11639 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11641 * text2.C: first -> first_y
11643 * text.C (getRowNearY): add some attemts at a possible
11644 optimization, not working.
11646 * tabular.[Ch]: add BufferParams to several function so that newly
11647 created paragraph can be initialized to he default layotu for the
11650 * tabular-old.C (ReadOld): add buf->params to call of Init
11652 * screen.C: rename text->first to text->first_y
11654 * paragraph.C (breakParagraph): always set layout in the broken
11657 * lyxtextclass.C (Read): remove lowercase
11660 (delete_layout): ditto
11662 * lyxtext.h: rename first -> first_y
11664 * lyxlayout.C (Read): remove lowercase
11667 (obsoleted_by): ditto
11669 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11671 * buffer.C (insertErtContents): add params are to InsetERT
11672 (parseSingleLyXformat2Token): add code to check if a paragraphs
11673 layout really exist.
11674 (parseSingleLyXformat2Token): add params to several inset
11676 (asciiParagraph): remove lowercase, do the layout comparisons with
11679 * BufferView_pimpl.C (cursorNext): first -> first_y
11680 (resizeCurrentBuffer): first -> first_y
11681 (updateScrollbar): first -> first_y
11682 (scrollCB): first -> first_y
11683 (workAreaMotionNotify): first -> first_y
11684 (workAreaButtonPress): first -> first_y
11685 (checkInsetHit): first -> first_y
11686 (cursorPrevious): first -> first_y
11687 (cursorNext): first -> first_y
11688 (Dispatch): add buffer_->params to severl inset contructors
11690 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11692 * lyxlayout.C (Read): remove some debug info that I forgot.
11694 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11695 clean up the code slightly.
11696 (makeLinuxDocFile): ditto
11697 (makeDocBookFile): ditto
11699 * text2.C: layout as string
11701 * text.C: layout as string
11703 * paragraph_pimpl.C: layout as string
11705 * paragraph.[Ch]: layout as string
11707 * lyxtextclasslist.[Ch]: layout as string
11709 * lyxtextclass.[Ch]: layout as string
11711 * lyxtext.h: layout as string
11713 * lyxlayout.[Ch]: layout as string
11715 * lyx_cb.C: layout as string
11717 * bufferview_funcs.C: layout as string
11719 * bufferparams.C: layout as string
11721 * buffer.C: layout as string
11723 * LyXView.[Ch]: layout as string
11725 * LaTeXFeatures.[Ch]: layout as string
11727 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11729 * BufferView_pimpl.C: change current_layout to string, remove
11734 (workAreaButtonRelease): layout as string
11736 * BufferView2.C (unlockInset): adjust
11738 * vspace.C (asLatexCommand): use an explict temp variable.
11740 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11742 * Makefile.am: use FRONTEND_*
11744 2002-03-01 Juergen Vigna <jug@sad.it>
11746 * tabular.C (SetWidthOfMulticolCell): changed to something better
11747 I hope but still work in progress.
11748 (recalculateMulticolumnsOfColumn): renamed function from
11749 recalculateMulticolCells as it is more appropriate now.
11750 (SetWidthOfCell): calculate multicols better.
11752 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11754 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11756 * lyxfunc.C (processKeySym): print sequence also if it is
11757 `deleted' (complete)
11759 * kbsequence.C (print): print sequence even if it is deleted
11760 (complete would be a better word, actually).
11762 * lyxfunc.C (dispatch): print complete options after a prefix key
11764 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11766 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11768 * text2.C (setCharFont): eliminate setCharFont code duplication.
11770 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11772 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11773 LFUN_TABULAR_FEATURE (bug #177)
11775 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11777 * Makefile.am: remove figure.h
11779 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11781 * Bufferview_pimpl.C:
11793 * text2.C: remove #include "lyx_gui_misc.h".
11795 * LaTeX.C: added #include <cstdio>
11797 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11799 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11800 that the paragraph following this one can have.
11802 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11804 * vspace.C (asLatexCommand): fix bogus gcc warning
11806 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11808 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11810 * text2.C (setLayout): get rid of redundant code
11812 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11814 * text2.C (incDepth): make sure depth cannot be increased beyond
11817 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11819 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11820 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11822 * PainterBase.h (image):
11823 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11824 a LyXImage const *.
11826 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11830 * BufferView_pimpl.C:
11831 * BufferView_pimpl.h:
11851 * sp_spell.C: remove fig inset, and the crap house of
11852 cards that follows it
11854 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11859 * os2_errortable.h:
11860 * nt_defines.h: move .h into support/
11862 * vms_defines.h: remove
11864 * WorkArea.C: add space in debug output
11868 * buffer.C: add WITH_WARNINGS
11872 * bufferlist.C: s/retrive/retrieve/, add docs
11881 * chset.C: add docs
11883 * lyxgui.C: add ID to X error handler
11885 * lyxtestclass.c: fix typo
11887 2002-02-26 Juergen Vigna <jug@sad.it>
11889 * tabular_funcs.C (write_attribute): changed so that some default
11890 attributes are not written at all.
11891 (getTokenValue): set default values before trying to read the
11892 value so we have the return value always set as default if we don't
11893 find the token we search for.
11895 * tabular.C (Write): write bools as bools not as strings!
11897 2002-02-22 Juergen Vigna <jug@sad.it>
11899 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11900 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11902 * text.C (leftMargin): don't add an indent for paragraphs inside
11903 tabular cells (fix #208).
11905 2002-02-21 José Matos <jamatos@fep.up.pt>
11907 * tabular.C (docBook): fixed support for long tables.
11909 2002-02-20 Juergen Vigna <jug@sad.it>
11911 * text2.C (getFont): get the drawing font of the Inset if this
11912 paragraph is inside an inset (only important for InsetERT for now).
11914 * buffer.C (insertErtContents): use new lanugage params in ERT
11917 * CutAndPaste.C: commenting out seemingly uneeded code.
11919 2002-02-19 Allan Rae <rae@lyx.org>
11921 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11922 Iterators might be simple to use but they also get invalidated.
11923 (removeAutoInsets): renamed saved cursor tracking variables and added
11924 some comments to clarify what everything does.
11926 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11933 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11934 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11937 * vc-backend.h: remove #include "support/syscall.h"
11941 * converter.C: rearrange #includes in Lars' approved fashion.
11943 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11944 forward declare class Timeout in the header file.
11946 * XFormsView.C: changes due to the above.
11948 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11949 similar to LyXView.
11951 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11952 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11954 2002-02-18 José Matos <jamatos@fep.up.pt>
11956 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11959 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11961 * a lot of small ws changes
11962 * add a lot of using std::XXX
11963 * use std construcs some places where approp.
11964 * use some exisint stuff from lyxfunctional where approp.
11965 * Make file changes to use partial linking (lets test this now...)
11967 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11971 remove #include "support/syscontr.h" as it's redundant. Always has been.
11979 change Systemcalls::System to Systemcalls::Wait and
11980 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11981 No change of functionality, just reflects the stripped down Systemcalls
11984 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11986 * debug.[Ch]: add a GRAPHICS type to the enum.
11988 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11990 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11992 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11995 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11997 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11998 match the changes below.
12000 * text2.C (toggleInset): if there is not editable inset at cursor
12001 position, try to see if cursor is _inside_ a collapsable inset
12004 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12006 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12007 document menu has a nice checkbox
12009 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12011 * lyxlength.C (asLatexString): change PW to output as percent of
12014 * lengthcommon.C: change '%' to 't%'
12016 * lyxfunc.C (dispatch): a few comments from Martin
12018 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12022 * BufferView_pimpl.h:
12023 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12026 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12028 * vspace.C (inPixels): fix compiler warning
12030 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12032 * lyxfunc.C (getStatus): fix status message for disabled commands.
12034 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12036 * BufferView_pimpl.C: fix crash on close buffer
12037 during selection (#227)
12039 2002-01-27 Herbert Voss <voss@lyx.org>
12041 * buffer.C: link old Figure to new graphic inset
12043 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12045 * FontLoader.C (getFontinfo): Change the latex font names in order
12046 to match the names of type1inst.
12048 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12050 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12052 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12053 (extchanged): ditto
12055 (remove_files_with_extension): ditto
12056 (remove_file): ditto
12059 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12060 document is smaller than the work area height. Do not initialize
12061 static variables to 0.
12063 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12065 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12067 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12068 LFUN_LAYOUT_PARAGRAPHS.
12070 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12071 tabular. It is possible to provide a possible cell, which will
12072 typically be the actcell from the corresponding insettabular
12074 * lyxfunc.C (getStatus): small cleanup; disable
12075 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12078 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12080 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12082 * paragraph.C (startTeXParParams):
12083 (endTeXParParams): new methods. The LaTeX code to
12084 start/end paragraph formatting
12085 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12086 empty (fixes bug #200)
12088 * vspace.C (inPixels): adapt to the change below
12089 (inPixels): [later] more cleanups (remove unused variables)
12091 * lyxlength.C (inPixels): change to use a width and a height as
12094 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12096 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12097 Replaced with \paperwidth
12099 * DepTable.C (insert): add std:: qualifier
12101 2002-01-18 Allan Rae <rae@lyx.org>
12103 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12106 * text.C (drawInset): Turned out I didn't know enough about how
12107 rebreaking worked. This fixes most of the redraw problems. I see
12108 an occasional cursor trail when a line is broken now and the cursor
12109 placement can seem out by a few pixels also after a rebreak.
12111 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12113 * buffer.C (parseSingleLyXformat2Token): update because minipage
12114 width is now a LyXLength
12116 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12118 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12121 2002-01-17 Juergen Vigna <jug@sad.it>
12123 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12125 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12126 is set correctly and the inset is updated correctly.
12128 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12130 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12131 the beginning of the loop.
12133 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12135 * lyxrc.C: improve help for use_scalable_fonts
12137 2002-01-17 Allan Rae <rae@lyx.org>
12139 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12141 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12143 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12144 make sure to set their inset_owner to the right value (bug #171)
12146 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12149 * DepTable.C: Implement mtime checking to reduce time spent doing
12152 2002-01-16 Juergen Vigna <jug@sad.it>
12154 * tabular.C (GetAdditionalHeight): one of error fixed.
12156 * lyxrc.C (output): small fix in writing use_pspell.
12158 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12160 * sp_base.h: #include LString.h
12162 2002-01-16 Allan Rae <rae@lyx.org>
12164 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12165 Can someone check this please?
12167 * text.C (drawInset): It was possible that p.row would be removed by
12168 breakAgainOneRow upsetting a few other settings. There may be another
12169 small tweak possible by setting need_break_row = 0 when p.row has been
12170 removed but I don't know enough about the logic here.
12172 2002-01-15 Allan Rae <rae@lyx.org>
12174 * text.C (insertChar): removed conditional truism.
12176 * BufferView2.C (removeAutoInsets): More tweaks.
12177 cur_par_prev could be a stray pointer. Check for trailing empty line
12178 in case last line was cur_par and only had an error inset on it.
12180 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12182 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12185 * vc-backend.C (most methods):
12186 * exporter.C (Export):
12187 * converter.C (convert):
12189 * LyXSendto.C (SendtoApplyCB):
12190 * lyxfunc.C (dispatch):
12194 * lyx_cb.C (AutoSave):
12196 * BufferView_pimpl.C (MenuInsertLyXFile):
12197 * buffer.C (runChktex): use Buffer::filePath().
12199 * buffer.h: rename filename to filename_; rename filepath to
12200 filepath_ and make it private
12201 (filePath): new method
12203 * buffer.C (writeFile): use fileName()
12206 * lyx_main.C (init): fix starting of LyX when the binary is a
12207 link from so,ewhere else.
12209 * minibuffer.C: include <cctype> for isprint
12211 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12213 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12214 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12215 name clash with InsetCollapsable's width function.
12217 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12219 * lastfiles.C: include <iterator>
12221 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12223 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12226 * buffer.C (makeLaTeXFile): ditto.
12227 Also make loop operation more transparent.
12229 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12231 * ToolbarDefaults.C: remove trailing comma closing namespace.
12233 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12235 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12238 * trans.C (Load): comment out unused variable, allowed.
12240 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12242 * minibuffer.[Ch] (append_char): new method to recieve input from the
12243 drop-down completion browser. If a key was pressed, then recieve this
12244 char and append it to the existing string.
12245 (peek_event): modify the positioning data passed to the completion
12246 browser so that it can be placed above the minibuffer rather than below.
12247 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12249 * LyXAction.C (init): alloe error-next for readonly documents.
12251 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12254 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12256 * bufferlist.C (readFile): create the buffer _after_ checking that
12259 * lyxfunc.C (verboseDispatch): fix handling of arguments
12261 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12263 * lyxrc.C: use string::erase() instead of initializing to "".
12266 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12268 * BufferView_pimpl.h:
12269 * BufferView_pimpl.C:
12272 * text2.C: tell X when we have made a selection for copying
12274 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12276 * BufferView_pimpl.C (MenuInsertLyXFile):
12277 * lyxfunc.C (menuNew):
12279 (doImport): add shortcuts to directory buttons
12281 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12284 * lyxfunc.C (setStatusMessage):
12285 (getStatusMessage): new methods
12286 (getStatus):use setStatusMessage instead of setErrorMessage
12287 (dispatch): when function is disabled, set error message here
12288 [instead of in getStatus previously]
12290 * BufferView_pimpl.C (workAreaButtonRelease): update
12291 toolbar/menubar here too.
12293 2002-01-13 Allan Rae <rae@lyx.org>
12295 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12296 Now seems indestructible. Remaining task is to audit all other
12297 code affected by deleteEmptyParagraphMechanism. One small quirk
12298 left is that an empty document with an error in the preamble can
12299 be made to report an error but no error box appears. I don't know
12301 (removeAutoInsets): Improved comments.
12303 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12306 * Thesaurus.C: update for Aiksaurus 0.14
12308 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12310 * text2.C (firstParagraph): removed member function, all uses
12311 replaces with ownerParagraph
12312 (redoParagraphs): here
12313 (updateInset): here
12314 (toggleAppendix): here
12315 * BufferView2.C (insertErrors): here
12316 (setCursorFromRow): here
12318 2002-01-13 Allan Rae <rae@lyx.org>
12320 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12321 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12322 There is still a way to segfault this although you may have to do this
12323 multiple times: Have an InsetERT with an unknown command in it.
12324 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12325 <down-arrow>, <Enter> again, View->DVI, BANG!
12327 * text2.C (setCursor):
12328 (deleteEmptyParagraphMechanism):
12329 * lyxtext.h (setCursor):
12330 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12331 Making use of the return value may help fix other bugs.
12333 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12335 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12337 * LyXView.C (updateMenubar): call MenuBar::update here
12338 (updateToolbar): but not here
12339 (showState): do not update toolbar/menubar
12341 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12342 should need to care about that.
12344 * lyxfunc.C (verboseDispatch): simplify a bit
12345 (getStatus): have a version which takes a pseudoaction, and
12346 another which requires a (kb_action,string).
12348 * LyXAction.C (retrieveActionArg): make it work also when action
12349 is not a pseudo-action.
12350 (getActionName): simplify a bit
12353 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12355 * lyxfunc.C (verboseDispatch): new families of methods with
12356 several ways to specify a command and a bool to indicate whether
12357 the command name and shortcut should be displayed in minibuffer
12358 (eventually, we could extend that to a finer bitmask like
12359 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12360 (dispatch): the pristine dispatch command which just, well,
12361 dispatchs! Note it still sets its result to minibuffer; I'm not
12364 * lyxfunc.h: remove setHintMessage
12366 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12368 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12370 * BufferView_pimpl.C (specialChar): delete new inset if we have
12371 not been able to insert it.
12373 * kbmap.C: revert to using int instead of kb_action, since all we
12374 are dealing with is pseudo-actions.
12376 * LyXAction.C (searchActionArg): change to return int instead of
12377 kb_action, since the result is a pseudoaction.
12379 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12381 * buffer.C (insertErtContents): Fix (partially) the font bug.
12383 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12385 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12386 as the other one is broken on my machine!
12388 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12391 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12393 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12395 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12396 reflect their actual use. Provide compatibility code for older lyxrc
12399 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12401 change names of popup font variables in line with the changes to lyxrc.C
12403 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12405 * buffer.C (asciiParagraph): avoid outputing a word twice after
12408 * lyxrc.C (getDescription): document that document_path and
12409 template_path can be empty.
12411 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12413 * LaTeXFeatures.C (getMacros):
12414 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12416 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12418 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12420 (getPackages): rename feature "floats" to "float". Use an array to
12421 iterate over 'simple' features (i.e. just a \usepackage). Add
12422 handling of "amsmath" (renamed from "amsstyle").
12424 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12426 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12429 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12431 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12432 FuncStaus::FuncStatus & FuncStaus::some_method().
12434 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12436 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12437 of the func_satus stuff. Edited and massaged in various ways by
12440 * lyxfunc.C (getStatus): use FuncStatus
12442 2002-01-08 Juergen Vigna <jug@sad.it>
12444 * text.C (nextBreakPoint): use function Inset::isChar().
12446 * paragraph.C (TeXOnePar): use function
12447 Inset::forceDefaultParagraphs.
12449 * buffer.C (latexParagraphs): use function
12450 Inset::forceDefaultParagraphs.
12452 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12454 * lyx_gui.C (init): set the style of the menu popups to
12455 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12457 2002-01-07 Juergen Vigna <jug@sad.it>
12459 * text.C (setHeightOfRow): small fix
12460 (prepareToPrint): don't look at alignment if we don't have the place
12463 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12465 * box.C: New file. Move the Box methods and functions out of box.h,
12466 following Lars' suggestion.
12468 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12470 * box.h: #include "support/LOstream.h", needed for inlined function.
12473 * lyxtextclasslist.C: added some using std declarations.
12475 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12477 * box.h: make signed dimensions to allow insets wider than
12478 the screen (bug #162)
12480 * BufferView_pimpl.C: add some insetHit debug
12482 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12484 * vc-backend.C: add FIXME
12486 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12488 * lyxfunc.C (getStatus): enable code for showing math font status
12491 2002-01-07 Juergen Vigna <jug@sad.it>
12493 * text.C (nextBreakPoint): removed debug output not needed anymore.
12495 2002-01-06 Juergen Vigna <jug@sad.it>
12497 * text.C (nextBreakPoint): fixed up this function we had this bug
12498 since ever but now hopefully we break row better.
12499 (insertChar): we have to check if an inset is the next char as it
12500 could now happen that a large inset is causing a break.
12502 2002-01-05 Juergen Vigna <jug@sad.it>
12504 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12505 if it doesn't like to be drawed.
12507 2002-01-04 Juergen Vigna <jug@sad.it>
12509 * BufferView2.C (lockInset): forgot to set a cursor.
12511 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12513 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12515 * FormMathsPanel.C:
12518 * form_maths_panel.C:
12519 * form_maths_panel.h:
12520 * form_maths_panel.fd: implemented sub- and super- buttons in math
12523 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12524 (or ^ space) to be used as in TeX (req'd by André).
12526 * lyxfunc.C: Allow ^ and _ again to be used both as
12527 super/subscript (mathed) and as themselves (in text).
12529 2002-01-03 Allan Rae <rae@lyx.org>
12531 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12532 "LyX" or the filename of the current buffer if it has one. This is a
12533 modified form of John Levon's patch.
12535 * XFormsView.C (setWindowTitle): also set icon title.
12537 * LyXView.h (setWindowTitle): signature changed.
12538 * XFormsView.h (setWindowTitle): ditto.
12540 2002-01-02 Juergen Vigna <jug@sad.it>
12542 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12544 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12546 * screen.C (topCursorVisible): introduce a temp var for
12547 text->cursor.row(), handle the case where this row is null. (kindo
12550 * text2.C (setCursor): add a couple of asserts.
12552 * paragraph.h (inset_iterator): add -> operator
12554 * paragraph.[Ch] (autoDeleteInsets): remove member function
12556 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12557 cursor pos correctly and handle inset deletion by itself.
12558 (insertErrors): move iterator declaration out of for expression
12560 * lyxtextclass.C: add <algorithm>
12562 * Makefile.am: added the new files to sources, removed layout.C
12564 * layout.C: removed file
12566 * layout.h: remove LYX_DUMMY_LAYOUT
12568 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12572 * lyxtextclass.[Ch]:
12573 * lyxtextclasslist.[Ch]: new files
12575 * include order changes to a lot of files, also changes because of
12578 2001-12-27 Juergen Vigna <jug@sad.it>
12580 * buffer.C (asciiParagraph): more fixes.
12582 * tabular.C (ascii): make ascii export support export of only the
12583 data separated by a column-delimiter.
12584 (ascii): better support for ascii export.
12586 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12588 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12590 * tabular_funcs.C: use a "using std::getline" instead of the
12591 previous fix from Angus (necessary for cxx + lyxstring)
12593 2001-12-24 Juergen Vigna <jug@sad.it>
12595 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12597 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12598 problems. First check a minipage also if we have some ert-contents
12599 (not only on par->size(), second set the right depth of the paragraph
12600 on the relink to the root-paragraph-list!
12602 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12603 which then did not anymore update the main paragraphs on undo/redo!
12605 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12607 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12608 code. Support all font-changing funcs (even those which are not in
12609 menu currently). Support for reporting font settings in
12610 mathed (disabled until Andre provides a function on mathed's side).
12612 * func_status.h (toggle): small helper function to set toggle
12615 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12617 * tabular_funcs.C: getline -> std::getline
12619 2001-12-21 Juergen Vigna <jug@sad.it>
12621 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12622 accessed and could be 0 (I couldn't generate this but it seems
12625 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12627 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12628 * tabular_funcs.h: here and include iosfwd
12630 2001-12-20 Juergen Vigna <jug@sad.it>
12632 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12633 inside inset but undo_par was.
12635 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12637 * Thesaurus.C: always include <config.h> in sources.
12641 * box.h: do not include <config.h> in header files
12643 * text.C (paintLastRow): remove unused variable
12645 * text.C (transformChar):
12647 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12649 * Painter.C (text):
12650 * font.C (width): rewrite to use uppercase() instead of
12653 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12655 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12657 * lyxfind.C: clean up of find failure position change
12659 2001-12-20 Juergen Vigna <jug@sad.it>
12661 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12663 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12664 (TeXRow): added to LaTeX a single tabular row.
12665 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12666 (Latex): simplified and finally good LT-h/f support.
12667 (various_functions): just small adaptions for LT-h/f support.
12669 * tabular_funcs.[hC]: added and moved here all not classfunctions
12672 2001-12-19 Juergen Vigna <jug@sad.it>
12674 * tabular.[Ch]: better support for longtabular options (not finished
12677 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12679 * text.C (paintLastRow): use the label font instead of the font of
12680 the last character to compute the size of *_BOX. This makes more
12681 sense and avoids a crash with empty paragraphs.
12682 Use Painter::rectangle to draw EMPTY_BOX.
12684 2001-12-19 Juergen Vigna <jug@sad.it>
12686 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12687 the paragraphs if the replaced paragraph is not the first one!
12688 Tried to delete not used paragraphs but does not work yet so for
12689 now it's inside #ifdef's and by default off!
12691 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12693 * MenuBackend.C: include "lyx_main.h" instead of declaring
12694 lastfiles (actually was declared as LastFiles* instead of a
12697 2001-12-17 Juergen Vigna <jug@sad.it>
12699 * tabular.C (AppendColumn): applied John's fix
12701 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12705 * BufferView_pimpl.h:
12706 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12709 * box.h: new start of class for above
12711 * lyxfunc.C: ignore space-only minibuffer dispatches.
12712 Show the command name when it doesn't exist
12714 * minibuffer.C: don't add empty lines to the history
12716 * minibuffer.C: add a space on dropdown completion
12718 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12720 * text.C: fix line above/below drawing in insets
12722 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12724 * lyxlength.C (LyXLength): Initialize private variables.
12726 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12728 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12729 when inserting error insets.
12731 2001-12-13 Juergen Vigna <jug@sad.it>
12733 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12734 actually sometimes the before-paragraph.
12735 (setUndo): don't clear the redostack if we're not actually undoing!
12737 2001-12-06 Juergen Vigna <jug@sad.it>
12739 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12740 and fixed redoing of main paragraph, so we can use it now ;)
12742 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12744 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12746 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12749 2001-12-13 André Pönitz <poenitz@gmx.net>
12752 * undo_func.C: minor cleanup
12754 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12756 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12757 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12758 font in urw-fonts package which is marked as -urw-fontspecific and
12759 does not work (incidentally, changing the encoding in the
12760 fonts.dir of this package to -adobe-fontspecific fixes the
12763 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12764 is a crash when undoing first paragraph (Juergen, please take a
12765 look). THis does not mean the undo fix is wrong, just that it
12768 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12769 the (Paragraph*) version when needed instead of duplicating the
12772 * text.C (workWidth): use Inset::parOwner to find out where the
12773 inset has been inserted. This is a huge performance gain for large
12774 documents with lots of insets. If Inset::parOwner is not set, fall
12775 back on the brute force method
12777 * paragraph_pimpl.C (insertInset):
12778 * paragraph.C (Paragraph):
12779 (cutIntoMinibuffer): set parOwner of insets when
12780 inserting/removing them
12782 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12784 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12790 * mathed/formulabase.C:
12791 * mathed/math_cursor.[Ch]:
12792 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12795 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12797 * lyxlength.[Ch] (operator!=): new function
12799 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12801 * text.C (workWidth): use Inset::parOwner to find out where the
12802 inset has been inserted. This is a huge performance gain for large
12803 documents with lots of insets. If Inset::parOwner is not set, fall
12804 back on the brute force method
12806 * paragraph_pimpl.C (insertInset):
12807 * paragraph.C (Paragraph):
12808 (cutIntoMinibuffer): set parOwner of insets when
12809 inserting/removing them
12811 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12813 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12815 * tabular-old.C (getTokenValue):
12816 * tabular.C (getTokenValue):
12817 (write_attribute): new versions for LyXLength
12818 (everywhere): adjust the use of widths
12820 * tabular.h: change the type of widths from string to LyXLength
12822 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12824 * paragraph.C: fixed missing line number count when exporting
12825 Environments to LaTeX file
12827 * buffer.C: added informational message for checking line numbers.
12829 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12831 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12832 paragraph, do the 'double space' part, but not the 'empty
12835 * text.C (workWidth): small optimization
12836 (getLengthMarkerHeight): use minimal size for negative lengths.
12838 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12840 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12842 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12844 2001-12-11 André Pönitz <poenitz@gmx.net>
12847 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12849 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12851 * text2.C: keep selection on a setFont()
12853 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12855 * lyx_cb.C: another bv->text misuse, from insert label
12857 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12860 * kbsequence.C: re-instate nmodifier mask
12862 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12864 * lyx_main.h: make lyxGUI private.
12866 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12868 * lyxfind.C: place the cursor correctly on failed search
12870 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12872 * text.C (getLengthMarkerHeight): for small heights, the arrows
12873 are not always on top/bottom of the text
12874 (drawLengthMarker): smaller arrows; take the left margin in
12875 account; draw also vfills.
12877 (paintLastRow): remove special code for vfill and standard spaces,
12878 since everything is handled in drawLengthMarker now.
12880 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12882 * buffer.C (insertErtContents): try to handle font and language
12883 interaction a bit better.g
12885 * ColorHandler.C (updateColor): change the hash to cover the whole
12886 LColor enum, ws cleanup
12887 (getGCLinepars): ditto
12888 (getGCLinepars): only lookup in the linecache once.
12890 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12892 * iterators.C (operator++): Make the iterator more robust
12894 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12896 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12898 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12901 * text.C: better added space drawing
12903 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12906 * BufferView2.C: fix layout combo update on inset unlock
12908 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12910 * Makefile.am: don't compile unused files
12912 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12916 * LyXAction.C: remove old LFUN_LAYOUTNO
12918 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12920 * paragraph_pimpl.h:
12921 * paragraph_pimpl.C: isTextAt() doesn't need font param
12923 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12926 * lyxlex.C: little cleanup
12928 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12930 * BufferView_pimpl.C: fix insertAscii for insets
12932 2001-12-05 Juergen Vigna <jug@sad.it>
12934 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12935 set the right font on the "multi" paragraph paste!
12937 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12943 * lyxlength.C: remove out-commented code.
12945 * BufferView_pimpl:
12959 * vc-backend.C: change "while(" to "while ("
12961 * lyxlength.[Ch]: add zero function to check if length is zero or
12963 * lyxgluelength.C: use it
12965 2001-12-05 Allan Rae <rae@lyx.org>
12967 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12968 Works for 2.95.3, from what I understand of Garst's reports this should
12969 work for other g++ versions. We're screwed if the abs(int) definition
12970 changed between bugfix releases of gcc.
12972 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12974 * text.C: fix chapter label offset !
12976 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12979 * text.C: fix hfill at end of line, clean up
12981 2001-12-04 Juergen Vigna <jug@sad.it>
12983 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12984 that we force an update of the inset and it's owners if neccessary.
12986 2001-12-03 Juergen Vigna <jug@sad.it>
12988 * text.C (rowLast): simplified code
12990 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12992 * lyxfunc.C: fix show options on timeout
12994 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12996 * screen.C (topCursorVisible): scroll half a page when the cursor
12997 reached top of bottom of screen
12999 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13001 * minibuffer.C: deactivate on loss of focus
13003 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13005 * vspace.[Ch] (operator!=): add operator.
13007 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13009 * BufferView_pimpl.C: refuse to open an inset when
13010 there's a selection.
13012 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13014 * BufferView_pimpl.C: allow to click on RHS of full row insets
13016 2001-11-30 Juergen Vigna <jug@sad.it>
13018 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13019 insets for undo reasons.
13021 2001-11-28 André Pönitz <poenitz@gmx.net>
13023 * vspace.[Ch]: cosmetical changes
13025 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13035 * kbsequence.C: part re-write of old kb code
13038 * WorkArea.C: remove Lgb_bug_find_hack
13040 2001-11-30 José Matos <jamatos@fep.up.pt>
13042 * buffer.C (makeDocBookFile): add a comment to point a hack.
13043 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13044 Fixed a double write of labels.
13046 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13049 * LaTeX.h Fixed bug in LaTeX class where it would not
13050 re-run latex if no depfiles were changed, but the .dvi was removed.
13052 2001-11-28 André Pönitz <poenitz@gmx.net>
13054 * all the files from the change on 2001/11/26:
13055 use lyx::layout_type instead of LyXTextClass::size_type
13056 use lyx::textclass_type instead of LyXTextClassList::size_type
13058 2001-11-29 Juergen Vigna <jug@sad.it>
13060 * text.C: added support for paragraph::isFreeSpacing()
13062 * buffer.C: same as above
13064 * paragraph.h: inserted isFreeSpacing() function to enable
13065 FreeSpacing inside InsetERT.
13067 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13068 of the paragraph's in the cut/copy buffer to 0!
13070 * text2.C (removeRow): remove the assert as it can!
13072 * lyxtext.h: added helper function firstRow returning firstrow and
13073 made firstrow private again.
13075 * BufferView2.C (lockInset): don't relock if we're already locked!
13077 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13078 the only paragraph.
13079 (removeRow): added Assert::(firstrow)
13081 * debug.C: forgot to add INSETTEXT here.
13083 2001-11-28 Juergen Vigna <jug@sad.it>
13085 * sp_spell.C (initialize): changed error text to more general
13086 spellchecker command use (not only ispell!)
13088 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13090 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13092 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13094 * vspace.C: initialise lyxgluelength on failure
13096 2001-11-28 Allan Rae <rae@lyx.org>
13098 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13099 declaration & definition that looks like a function declaration.
13101 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13103 * BufferView2.C (copy):
13104 (copyEnvironment): do not clear the selection when doing a copy.
13106 * text.C (paintFirstRow): compilation fix
13108 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13110 * tabular.C (Latex): correct line count when writing latex.
13112 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13114 * paragraph_pimpl.h:
13115 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13118 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13122 * LColor.C: change vfillline->added_space
13124 * text.C: add markers and text for added space
13126 * vspace.C: fix comment
13128 2001-11-28 André Pönitz <poenitz@gmx.net>
13130 * paragraph.C: whitespace changes
13131 * all the other files from the change on 2001/11/26:
13132 change *::pos_type into lyx::pos_type
13134 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13136 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13137 language of the document when inserting error insets.
13139 2001-11-26 André Pönitz <poenitz@gmx.net>
13141 * BufferView_pimpl.[Ch]:
13149 * paragraph_pimpl.[Ch]:
13152 * text2.C: reduce header dependencies, introduce type for positions
13154 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13156 * <various>: change to use Alert.h
13158 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13160 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13161 when encountering an unknown token.
13162 (readLyXformat2): Show an error message if there were unknown tokens.
13164 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13167 * BufferView_pimpl.C:
13171 * text2.C: use par->isInset()
13173 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13175 * paragraph_pimpl.h:
13176 * paragraph_pimpl.C: cleanup
13178 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13180 * text2.C (removeRow):
13181 * text.C (setHeightOfRow): remove useless (and costly) call to
13184 2001-11-20 Allan Rae <rae@lyx.org>
13186 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13187 Now need Inset*::checkInsertChar() to return true for appropriate
13188 cases so that the characters in the minibuffer will actually be
13191 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13193 * text.C: change the order of the includes.
13194 (workWidth): initialize it at once.
13195 (workWidth): make maxw unsigned
13196 (setHeightOfRow): remove unused variable (inset)
13197 (selectSelectedWord): remove unused variable (inset)
13198 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13200 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13202 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13203 server is not running.
13205 (closeConnection): add debug info when server is disabled.
13207 * ColorHandler.C (getGCForeground): send debug message to GUI
13210 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13212 * kbmap.C (bind): modify because return conventions of
13213 kb_sequence::parse have changed.
13215 * kbsequence.C (parse): only ignore spaces and not any stupid
13216 control character. This avoids tests like s[i] <= ' ', which are
13217 guaranteed to fail with 8bit characters and signed chars.
13218 Change return code to string::npos when there have been no error
13219 (0 was a bad idea when error is at first character)
13221 2001-11-14 José Matos <jamatos@fep.up.pt>
13224 * buffer.C (simpleDocBookOnePar): removed unused argument.
13226 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13228 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13229 insets which are part of a word. Paragraph::isLetter takes care of
13230 that now. Use Paragraph::isInset to identify insets.
13231 (selectSelectedWord): do not test for hyphenation break.
13233 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13234 that protected spaces are considered as spaces.
13236 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13239 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13242 * lyxserver.C: fix it. and small cleanup.
13244 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13246 * BufferView_pimpl.C: use inline helpers
13249 * LaTeXFeatures.C: fix typos
13252 * Spacing.C: move spacing_string into class
13254 * ToolbarDefaults.C: move stuff into namespace anon
13256 * layout.h: update enum
13258 * lyxfunc.C: use better debug
13260 * minibuffer.h: fix typo
13264 * WorkArea.C: add and use Debug::WORKAREA
13268 * text2.C: code re-organisation, inline helpers
13270 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13272 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13273 std::vector.empty().
13275 2001-11-09 Allan Rae <rae@lyx.org>
13277 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13278 '\n's after tables. Tabular and ERT inset work now makes this no
13281 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13284 * minibuffer.C: fix crash, improve drop-down completion
13286 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13289 * lyxserver.C: invalidate fd's when doing endPipe()
13291 2001-11-08 José Matos <jamatos@fep.up.pt>
13293 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13294 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13297 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13299 2001-11-07 José Matos <jamatos@fep.up.pt>
13302 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13305 * buffer.C (sgmlOpenTag):
13306 * buffer.C (sgmlCloseTag): removed debug info.
13308 * buffer.h (sgmlOpenTag):
13309 * buffer.h (sgmlCloseTag): made public.
13311 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13313 * buffer.C (saveParamsAsDefaults):
13314 * lyx_cb.C (MenuLayoutSave): remove
13316 * LyXAction.C (init):
13318 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13320 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13322 * buffer.C (setPaperStuff): removed from here...
13324 * bufferparams.C (setPaperStuff): ... and moved there.
13326 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13330 * XFormsView.C: add support for drop-down completion
13332 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13334 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13337 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13339 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13342 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13344 * lyx_main.C: change ref to known bugs
13346 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13348 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13349 to work around older babel problems.
13351 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13353 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13355 2001-10-24 Juergen Vigna <jug@sad.it>
13357 * tabular-old.C (ReadOld): below variable changes reflected.
13359 * tabular.[Ch]: added ltType struct for longtable header/footer
13360 defines and changed all instances where they are used. Added
13361 future support for double top/bottom rows.
13363 2001-10-24 José Matos <jamatos@fep.up.pt>
13365 * buffer.h (docbookHandleCaption):
13366 * buffer.C (docbookHandleCaption): removed unused function.
13367 (makeDocBookFile): moved docbook supported version to v4.1.
13369 2001-10-24 José Matos <jamatos@fep.up.pt>
13372 * tabular.C (docbookRow): new function to export docbook code of a row.
13373 (DocBook): now honors the longtable flags.
13375 2001-10-23 José Matos <jamatos@fep.up.pt>
13378 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13379 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13381 * buffer.C (makeLinuxDocFile):
13382 (makeDocBookFile): reworked the preamble, more clean, and with
13383 support for lyx defined entities. Changed the document declaration
13384 to be more XML friendly.
13386 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13387 if we need to output XML that should be done with a filter.
13389 2001-10-22 Juergen Vigna <jug@sad.it>
13391 * sp_pspell.h (class PSpell): add alive function needed in the
13392 controller to see if the spellchecker could be started.
13394 2001-10-22 Juergen Vigna <jug@sad.it>
13396 * buffer.C (insertStringAsLines): modify the font for inserting
13397 chars in certain conditions by calling checkInsertChar(font).
13399 2001-10-19 Juergen Vigna <jug@sad.it>
13401 * text.C (workWidth): use getRow instead of wrong algorithm.
13402 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13404 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13409 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13411 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13413 * text.C (workWidth): do not search for the exact row when
13414 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13415 optimization for big documents.
13417 2001-10-18 Juergen Vigna <jug@sad.it>
13419 * text.C (workWidth): new function with added Inset * parameter.
13421 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13423 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13425 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13426 change return type of getColumnNearX.
13429 * text.C (changeRegionCase): use uppercase/lowercase instead of
13432 (rightMargin): simplify code by factoring out the uses of
13437 (appendParagraph): use Paragraph::size_type
13439 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13441 * vspace.C (asLatexString): add a missing break
13443 2001-10-15 Herbert Voss <voss@perce.de>
13445 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13447 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13449 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13452 2001-10-10 André Pönitz <poenitz@gmx.net>
13454 * lyxfunc.C: removed greek_kb_flag.
13456 2001-10-10 Herbert Voss <voss@perce.de>
13458 * lyx_main.C: delete global string help_lyxdir.
13460 2001-10-09 Herbert Voss <voss@perce.de>
13462 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13464 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13466 * lyx_main.C: added global string help_lyxdir.
13468 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13470 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13472 * lyxrc.C (set_font_norm_type): support iso8859-4
13474 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13476 * LaTeX.C (deplog): add another regex for MikTeX
13478 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13480 * lyxrc.C (set_font_norm_type): support iso8859-3
13482 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13484 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13486 * LaTeXFeatures.C: remove special case of french and index
13488 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13489 before \begin{document}). This solves several incompatibilities.
13491 2001-10-03 Garst Reese <reese@isn.net>
13493 * lyx_cb.C: change CheckTex error msg.
13495 2001-10-03 José Matos <jamatos@fep.up.pt>
13497 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13499 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13501 * .cvsignore: update
13503 * lyx_main.C (commandLineVersionInfo): use new style version info.
13505 * buffer.C (writeFile):
13507 (makeLinuxDocFile):
13508 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13510 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13512 * version.h: update to use stuff in version.C
13514 * version.C.in: new file. Contains version information determined
13515 at compile time. This is a merging of version.h and
13518 2001-10-03 Juergen Vigna <jug@sad.it>
13520 * BufferView_pimpl.C (update): don't change "dirty" status in
13523 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13525 * WorkArea.C (c-tor): re-position version string slightly.
13527 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13529 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13530 revert to previous code.
13532 WorkArea.[Ch]: (show, destroySplash): methods removed.
13534 WorkArea.C: rework code so that it's an amalgam of the codes before and
13535 after the splash screen was moved to WorkArea.
13537 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13540 * vspace.C (inPixels):
13543 * buffer.C (insertStringAsLines):
13544 (asciiParagraph): fix types to be large enough
13546 * lyxlex_pimpl.h: change member status from short to int
13548 * layout.h: fix type of endlabeltype
13551 * kbsequence.C (parse): change return type to string::size_type
13553 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13556 * Bullet.C (bulletSize):
13557 (bulletEntry): do not use short ints as parameters
13559 * BufferView2.C (insertLyXFile): change a char to an int.
13561 * WorkArea.C (WorkArea): remove unneeded floats in computation
13563 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13565 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13567 * paragraph.C (asString): Do not ignore newline/hfill chars when
13568 copying to the clipboard.
13570 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13572 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13573 after a multi-line inset.
13575 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13577 * paragraph.C (validate): Set NeedLyXFootnoteCode
13579 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13581 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13582 and decrease-error to decrease.
13584 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13586 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13587 it more readable (should be equivalent)
13589 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13591 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13593 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13595 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13596 of a cursor (row, etc.) after a character has been deleted
13597 (deleteEmptyParagraphMechanism): call the method above on _all_
13598 cursors held by the LyXText when a double space has been
13601 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13603 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13605 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13607 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13608 background. Use greyOut() and the new show() methods to toggle between
13609 the foreground and background. Add code to remove the splash after
13610 its initial showing.
13612 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13613 (create_forms): no longer call Dialogs::showSplash.
13615 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13617 * .cvsignore: add version_info.h
13619 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13621 * version_info.h.in: new file
13623 * Makefile.am: add version_info.h.in
13625 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13626 version_info.h instead of VERSION_INFO
13628 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13630 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13631 The ERT inset now returns string().
13633 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13635 * lyxtext.h, text.C (selectNextWord): renamed as
13636 selectNextWordToSpellcheck.
13638 * text.C (selectNextWordToSpellcheck): Modified to not select
13639 words inside an ERT inset.
13641 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13643 * lyx_cb.C (MenuLayoutSave): change a bit the question
13645 * sp_base.h: include <sys/types.h>
13647 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13649 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13651 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13653 * several files: fix typos in user-visible strings
13655 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13657 * text2.C (pasteSelection): do not set the selection, since it
13658 will be cleared later. Actually, the intent was to fix the way the
13659 selection was set, but I figured rmoving the code was just as good.
13661 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13663 * FontLoader.C (available): Check if font is available without
13666 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13668 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13670 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13672 * lyxrc.[Ch]: added display_graphics variable and associated code.
13674 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13676 * bufferparams.C (hasClassDefaults): new method. Returns true if
13677 the buffer parameters correspond to known class defaults
13679 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13681 * XFormsView.C (show): set minimum size to the main window.
13683 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13685 * text2.C (copySelection):
13687 * lyxfind.C (LyXReplace):
13688 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13689 LyXText::selectionAsString.
13691 * paragraph.C (asString): add "label" argument to the second form
13693 * text2.C (selectionAsString): add "label" argument and pass it to
13694 Paragraph::asString.
13696 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13698 * lyx_main.C (commandLineHelp): remove version information
13700 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13702 * lyx_main.C: add -version commandline option
13704 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13706 * paragraph.h: make the optional constructor arg required instead.
13707 some modifications to other files because of this.
13709 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13711 * lyxserver.C (C_LyXComm_callback): make it static
13713 * lyx_main.C (error_handler): make it static
13715 * lyx_gui.C (LyX_XErrHandler): make it static
13717 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13719 * WorkArea.C: make the extern "C" methods static.
13721 * Makefile.am (lyx_LDADD): simplify
13723 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13725 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13726 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13728 * LyXAction.C (init):
13729 * lyxfunc.C (dispatch): associated code removal.
13731 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13733 * lyxfont.h (isSymbolFont): shut off warning
13735 * text.C (setHeightOfRow):
13736 (getVisibleRow): fix crash with empty paragraphs which have a
13739 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13741 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13744 2001-09-04 José Matos <jamatos@fep.up.pt>
13747 * tabular.C (docbook): rename docBook method to docbook.
13749 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13751 * Makefile.am: add dependencies to main.o.
13753 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13755 * FontLoader.C (available): Return false if !lyxrc.use_gui
13757 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13759 * FontInfo.C (query):
13760 * converter.C (view):
13761 * importer.C (Import):
13762 * exporter.C (Export): Can not -> cannot.
13764 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13766 * BufferView_pimpl.C: allow to create index inset even if
13769 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13771 * buffer.C (getLists): replace boost::tie code with an explicit pair
13772 as boost::tie can break some compilers.
13774 * iterators.h: Added a std:: declaration to the return type of
13777 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13779 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13782 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13784 * iterators.[Ch]: New files. Provide paragraph iterators.
13786 * buffer.C (changeLanguage): Use paragraph iterators.
13787 (isMultiLingual): ditto
13789 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13791 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13793 * FontLoader.C: Support for cmr font.
13795 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13797 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13798 (available): New method.
13800 * FontInfo.C (getFontname): Use scalable fonts even when
13801 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13804 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13806 * converter.C (Formats::view): reverted! Incorrect fix.
13808 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13810 * converter.C (Formats::view): only output the -paper option
13811 if the dvi viewer is xdvi, thereby fixing bug #233429.
13813 2001-08-23 Herbert Voss <voss@perce>
13815 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13817 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13819 * Spacing.h (Spacing): Set space to Default on in the default
13822 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13824 * vc-backend.h (RCS::versionString): add RCS to version
13825 (CVS::versionString): add CVS to version
13827 * vc-backend.C (scanMaster): do not add CVS to version.
13828 (scanMaster): do not add RCS to version
13830 * lyxvc.C (versionString): new method
13832 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13834 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13836 * Spacing.C (set): initialize fval
13838 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13840 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13843 2001-08-16 Juergen Vigna <jug@sad.it>
13845 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13847 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13849 * BufferView_pimpl.C:
13852 * text2.C: setParagraph takes linespacing now
13854 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13856 * LyxAction.C: add internal LFUN_CITATION_INSERT
13858 * LyXView.C: actually apply fix
13860 * bufferlist.C: fix open non-existent file
13862 * lyxfind.C: fix indentation
13864 * lyxfunc.C: remove unneeded assert, fix typo
13866 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13868 * MenuBackend.C: use "Floatname List"
13870 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13872 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13873 when converting LaTeX layout to insetERT.
13874 Generate a non-collapsed float when reading old float
13876 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13878 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13881 2001-08-13 Juergen Vigna <jug@sad.it>
13883 * text.C (fill): return 0 instead of 20 as this seems to be the more
13886 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13888 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13891 2001-08-13 Juergen Vigna <jug@sad.it>
13893 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13895 (SearchBackward): comment out the unlocking of the inset_owner this
13896 should not be needed!
13898 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13900 * Many files: Remove inherit_language, and add latex_language
13902 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13903 collapsible insets.
13905 2001-08-10 Juergen Vigna <jug@sad.it>
13907 * text.C (prepareToPrint): fixed hfill-width in draw!
13909 * BufferView2.C (selectLastWord): save the selection cursor as this
13910 now is cleared in the function LyXText::clearSelection!
13912 2001-08-08 Juergen Vigna <jug@sad.it>
13914 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13915 BACKSPACE type functions.
13917 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13918 is only cutted from the document but not put in the cut-buffer, where
13919 still the old stuff should be.
13921 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13923 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13925 * tabular.C (SetWidthOfCell): fixed special case where the width
13927 (LeftLine): handle '|' in align_special.
13929 (LeftAlreadyDrawed): ditto
13930 (SetWidthOfCell): ditto
13932 2001-08-07 Juergen Vigna <jug@sad.it>
13934 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13936 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13938 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13939 * lyxlex.[hC]: ditto
13941 2001-08-06 Juergen Vigna <jug@sad.it>
13943 * text.C (getVisibleRow): fix up row clearing a bit.
13945 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13947 * minibuffer.C: make sure the X server sees the changes in the input.
13949 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13951 * paragraph.C (getFont): split into...
13952 (getLabelFont): this
13953 (getLayoutFont): and this
13954 * paragraph_pimpl.C (realizeFont): calling this
13956 * text2.C (getFont): split into...
13957 (getLayoutFont): this
13958 (getLabelFont): and this
13959 (realizeFont): all three calling this
13961 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13964 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13966 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13968 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13970 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13971 layouts from the Quote inset insertion.
13973 2001-08-03 Juergen Vigna <jug@sad.it>
13975 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13977 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13978 only if status not is already CHANGED_IN_DRAW (second level).
13980 * text.C (draw): don't set the need_break_row when inside an
13983 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13985 * buffer.C (parseSingleLyXformat2Token): handle more latex
13988 * bufferview_funcs.[hC]: change function names to
13989 begin with small char, adjust other files.
13991 2001-08-02 André Pönitz <poenitz@gmx.net>
13994 BufferView_pimpl.C: remove broken special code for math-greek
13996 2001-08-02 Juergen Vigna <jug@sad.it>
13998 * BufferView_pimpl.C (update): redone this function so that we
13999 update the text again if there was a CHANGE_IN_DRAW.
14001 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14002 (drawFromTo): added a new internal bool which is used by draw() and
14004 (general): some cursor drawing problems fixed.
14006 2001-08-01 Juergen Vigna <jug@sad.it>
14008 * lyxfind.C (LyXFind): fixed
14009 (SearchForward): ditto
14010 (SearchBackward): ditto
14012 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14013 spurius drawing of the cursor in the main area.
14015 * text2.C (status): small fix which could lead to a segfault!
14016 (clearSelection): remove unneeded BufferView param.
14018 2001-08-01 André Pönitz <poenitz@gmx.net>
14020 * lyxfunc.C: small change due to changed mathed interface
14022 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14024 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14026 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14028 * lyxfunc.c: fail gracefully if file doesn't exist
14033 * BufferView_pimpl.C: IsDirWriteable() proto changed
14035 * LyXView.C: fix updateWindowTitle() to store the last title
14037 2001-07-31 Juergen Vigna <jug@sad.it>
14039 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14040 the font (wrong since using of Paragraph::highestFontInRange).
14042 * paragraph.C (highestFontInRange): added a default_size parameter.
14044 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14045 (setHeightOfRow): reformat
14047 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14049 * converter.[hC] + affected files: move to (inital-char)lowercase
14052 * ParagraphParameters.C (ParagraphParameters): remove commented code
14054 * PainterBase.[Ch]: remove commented code
14056 * LaTeXFeatures.h: add "bool floats" for float.sty
14058 * LaTeXFeatures.C (LaTeXFeatures): init floats
14059 (require): handle float
14060 (getPackages): do it with floats
14062 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14064 * BufferView_pimpl.C (Dispatch): improve handling of
14065 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14067 * commandtags.h: #include lyxfont.h here temporarily to avoid
14070 * bufferlist.h: include LString.h here.
14072 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14074 * text2.C (getStringToIndex): new method.
14076 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14078 * *: Reduced header file dependencies all over.
14080 2001-07-30 Baruch Even <baruch@lyx.org>
14082 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14084 2001-07-29 Baruch Even <baruch@lyx.org>
14086 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14088 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14090 * ParameterStruct.h (endif): add a default constructor to make
14091 sure that all variables is initialized.
14093 * ParagraphParameters.C (ParagraphParameters): adjust
14095 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14097 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14098 index; also, check that there is something to index, and that it
14099 does not span over several paragraphs.
14100 (doubleClick): use WHOLE_WORD_STRICT for double click.
14102 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14104 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14107 2001-07-26 Baruch Even <baruch@lyx.org>
14109 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14110 an InsetFig figure, backwards compatible reading of old figure code.
14112 2001-07-27 Juergen Vigna <jug@sad.it>
14114 * text2.C: font.realize function adaption.
14116 * text.C (draw): add a warnings lyxerr text if needed.
14118 * layout.C: font.realize function adaption.
14120 * language.C: add inherit_language and implement it's handlings
14122 * bufferview_funcs.C (StyleReset): remove language parameter from
14123 font creation (should be language_inherit now).
14125 * bufferparams.C (writeFile): handle ignore_language.
14127 * paragraph.C (getFontSettings): the language has to be resolved
14128 otherwise we have problems in LyXFont!
14130 * lyxfont.C (lyxWriteChanges): added document_language parameter
14131 (update): removed unneeded language parameter
14133 * paragraph.C (validate): fixed wrong output of color-package when
14134 using interface colors for certain fonts in certain environments,
14135 which should not seen as that on the final output.
14137 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14139 * BufferView_pimpl.C:
14144 * LyXAction.C: add thesaurus support
14147 * lyxfind.C: add "once" parameter, for thesaurus, to not
14148 move to the next match
14150 2001-07-26 Juergen Vigna <jug@sad.it>
14152 * lyxfont.C (realize): honor ignore_language too!
14155 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14157 * text.C (draw): one place more for ignore_language to not draw
14160 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14162 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14164 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14166 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14167 the minipage conversion problem.
14169 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14171 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14174 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14176 * BufferView.h: don't forward declare WorkArea
14178 * BufferView.C: don't include WorkArea.h
14180 2001-07-25 André Pönitz <poenitz@gmx.net>
14184 * lyxfunc.C: new LFUN 'math-space'
14186 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14188 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14190 * text2.C (toggleInset): call open/close
14192 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14194 * lyxfunc.C (dispatch): add debug for the disabled case
14196 * font.C (buttonText): make similar to rectText
14198 * buffer.C (readInset): comment out parsing of insetlist and
14201 * PainterBase.C (rectText): small correction
14203 * BufferView_pimpl.C: comment out insettheorem and insetlist
14204 * LyXAction.C: ditto
14205 * commandtags.h: ditto
14207 2001-07-24 Juergen Vigna <jug@sad.it>
14209 * text.C (draw): honor the ignore_language.
14211 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14213 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14215 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14218 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14220 * lyxtext.h: remove unused (and unimplemented) methods
14222 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14224 * text.C (getVisibleRow): honor background color
14227 * Painter.h: remove default color argument for fillRectangle
14229 * text.C (backgroundColor): new method
14231 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14233 * text.C (getVisibleRow): adjust
14235 * font.[Ch] (rectText): new method, metrics
14236 (buttonText): new method, metrics
14238 * PainterBase.[hC]: make rectText and buttonText always draw and take
14241 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14243 * ToolbarDefaults.C (read):
14244 * MenuBackend.C (read): allow escaping in all strings
14246 * BufferView_pimpl.C (insertAndEditInset): new method.
14247 (Dispatch): use insertAndEditInset whenever appropriate.
14249 * BufferView_pimpl.C (insertNote): removed
14251 * BufferView_pimpl.C (smartQuote): new method, moved from
14252 BufferView; if an insetquote cannot be inserted, insert a '"'
14255 * BufferView2.C: remove insertCorrectQuote();
14257 * lyxfunc.C (getStatus): Add support for all remaingin
14258 inset-insert lfuns.
14260 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14262 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14263 command (necessary to pass " as parameter of self-insert.
14265 * text.C (selectWordWhenUnderCursor):
14266 (selectWord): add word_location parameter
14267 (selectWordWhenUnderCursor): same + remove special code for word
14269 (selectNextWord): use kind() to guess type of insetspecialchar,
14272 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14273 (insertErtContents): create ert insets as collapsed.
14274 (readInset): better compatibility code for Info inset.
14276 2001-07-20 Juergen Vigna <jug@sad.it>
14278 * lyxfunc.C (dispatch): use always LyXFind now!
14280 * text2.C (init): add a reinit flag so that the LyXText can be
14281 reinited instead of deleted and reallocated (used in InsetText).
14283 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14289 2001-07-18 Juergen Vigna <jug@sad.it>
14291 * text.C (selectNextWord): handle insets inside inset by calling
14292 always the bv->text functions so that we can go up the_locking_inset!
14294 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14295 in strange locations when inside an inset!
14297 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14298 handling to include insets.
14300 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14302 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14304 * LyXAction.C (init):
14306 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14307 LIGATURE_BREAK, since the name is so stupid.
14309 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14311 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14314 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14316 * sp_form.[Ch]: remove.
14318 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14320 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14323 * src/buffer.C (readInset): ditto.
14325 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14327 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14328 menuSeparator(), endOfSentenceDot(), ldots() and
14329 hyphenationPoint(), which are therefore removed.
14330 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14332 * LyXAction.C (init):
14333 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14335 * paragraph.C (getWord): removed.
14337 * BufferView_pimpl.C (Dispatch): use last word or selection for
14338 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14340 * lyx_main.C (queryUserLyXDir): do not ask before creating
14341 user_dir, except if it has been named explicitely.
14343 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14345 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14346 a document of zero size.
14348 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14350 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14351 approriately in the c-tor and in require().
14352 (getPackages): output the appropriate LaTeX for natbib support.
14354 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14355 variables "use_natbib" and "use_numerical_citations" when reading the
14357 (readInset): read the various natbib cite commands.
14358 (validate): white-space change.
14360 * bufferparams.[Ch]: new variables "bool use_natbib" and
14361 "bool use_numerical_citations".
14362 (writeFile): output them in the LyX file.
14364 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14366 * lyxfunc.C (getStatus): add support for all the inset insertion
14369 * text2.C (insertInset):
14370 * paragraph.C (insetAllowed):
14371 * BufferView_pimpl.C (insertInset): update to take in account the
14372 renaming of insertInsetAllowed
14374 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14376 * text2.C (getInset): new method. returns inset at cursor position.
14378 * BufferView_pimpl.C (Dispatch): changes because of this.
14380 * LyXAction.C (init): rename open-stuff to inset-toggle.
14382 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14384 * text2.C (toggleInset): renamed from openStuff; use
14387 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14389 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14391 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14393 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14395 * buffer.C (readLyXformat2): Add filename to the error dialog
14397 2001-07-18 Juergen Vigna <jug@sad.it>
14399 * tabular.C (GetCellNumber): put an assert here instead of the check!
14401 2001-07-17 Juergen Vigna <jug@sad.it>
14403 * BufferView_pimpl.C (toggleSelection): adapted too.
14405 * text.C (selectNextWord): adapted for use with insets.
14406 (selectSelectedWord): ditto
14408 2001-07-17 Juergen Vigna <jug@sad.it>
14410 * sp_spell.C (PSpell): fix initialitation order.
14412 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14414 * paragraph.C: spacing
14416 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14418 * sp_spell.C: repair language selection for pspell
14420 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14422 * lyxfunc.h: change more methods to begin with lower char.
14424 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14426 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14427 for unknown layouts.
14429 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14431 * buffer.C (readLyXformat2): Generate an error dialog if there are
14434 2001-07-16 Juergen Vigna <jug@sad.it>
14436 * sp_spell.C: always compile ISpell part.
14438 * lyxrc.C: added use_pspell entry and it's handling.
14440 2001-07-13 Juergen Vigna <jug@sad.it>
14442 * sp_spell.C: removed double includes.
14444 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14446 Consistent use of Lsstream.h:
14447 * Lsstream.h: added using std::stringstream for consistencies sake.
14449 * buffer.C: removed using std::stringstream
14451 * lyxfont.C (stateText):
14452 * paragraph.C (asString):
14453 * text.C (selectNextWord, selectSelectedWord):
14454 * text2.C (setCounter):
14455 * vspace.C (asString, asLatexString):
14456 std::ostringstream -> ostringstream.
14458 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14460 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14461 * commandtags.h: add LFUN_HELP_ABOUTLYX
14462 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14464 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14466 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14468 * lyx_gui_misc.C: remove spellchecker
14469 * lyxfunc.C: showSpellchecker
14471 * sp_ispell.h: added
14472 * sp_pspell.h: added
14473 * sp_spell.C: added
14474 * sp_form.[Ch]: removed
14475 * spellchecker.[Ch]: removed
14477 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14479 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14481 (simpleTeXSpecialChars): Simply print the input character without
14482 any special translation if pass_thru is set.
14484 * layout.h: Added bool pass_thru to layout class for being able to
14485 implement pass through of a paragraph for Literate Programming.
14487 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14488 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14489 * layout.C (Read): add "passthru" to list of layout tags and add
14490 code to set the pass_thru boolean when it is read.
14492 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14494 * trans_decl.h: remove allowed from KmodInfo
14496 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14497 remove allowed code
14500 * paragraph_pimpl.C (erase): use boost::prior
14502 * Painter.C (text): use data() instead of c_str() when length is
14504 * WorkArea.C (putClipboard): ditto
14505 * font.h (width): ditto
14507 * BufferView2.C: use it-> instead of (*it). for iterators
14509 * paragraph_pimpl.C: ditto
14510 * paragraph.C: ditto
14511 * minibuffer.C: ditto
14512 * language.C: ditto
14514 * encoding.C: ditto
14515 * counters.C: ditto
14516 * converter.C: ditto
14518 * Variables.C: ditto
14519 * TextCache.C: ditto
14520 * MenuBackend.C: ditto
14521 * LyXAction.C: ditto
14523 * FloatList.C: ditto
14524 * DepTable.C: ditto
14525 * ColorHandler.C (LyXColorHandler): ditto
14527 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14529 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14531 * text2.C (openStuff): reintroduce this method (which had been
14532 nuked in NEW_INSETS frenzy).
14534 * lyxfunc.C (Dispatch): when an action has not been handled, use
14535 its name in the error message, not its number.
14537 * paragraph.C (inInset): change method name to begin with lowercase.
14540 * text2.C: updates because of this.
14542 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14544 * ToolbarDefaults.C (add): add spaces in error message
14546 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14548 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14549 (readLyXformat2): rename return_par to first_par, use lyxlex's
14550 pushToken and remove the manual push handling.
14551 (parseSingleLyXformat2Token): add another ert comp. variable:
14552 in_tabular, rename return_par to first_par. handle newlines better
14554 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14556 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14558 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14560 * text2.C (getParFromID): removed
14562 * buffer.C (getParFromID): new method moved form lyxtext.
14563 * BufferView2.C (insertErrors): adjust
14564 (setCursorFromRow): adjust
14565 * BufferView_pimpl.C (restorePosition): adjust
14566 * lyxfunc.C (Dispatch): adjust
14567 * undo_funcs.C (textUndo): adjust
14569 (textHandleUndo): adjust
14570 (textHandleUndo): adjust
14572 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14574 * buffer.C: up' the LYX_FORMAT
14576 * lyxfont.h: turn NO_LATEX on as default
14578 * buffer.C (insertErtContents): new methods of tex style compability.
14579 (parseSingleLyXformat2Token): use it several places.
14580 * tabular.C (OldFormatRead): and here
14582 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14584 * text2.C: remove some commented code.
14587 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14588 * trans.C: changes because of the above.
14590 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14592 * text2.C (setCounter): Fix counters bug with bibliography layout.
14594 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14596 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14597 own member functions
14598 (simpleTeXSpecialChars): ditto
14600 2001-07-06 Juergen Vigna <jug@sad.it>
14602 * a lot of files: changed the access to LyXText::status and the
14603 call of undo-functions.
14605 * undo.[Ch]: added a inset_id to the undo informations.
14607 * undo_funcs.[Ch]: added and moved here all undo functions.
14609 * lyxtext.h: give the status enum a weight, made status_ a private
14610 variable and made accessor functions for it, removed the whole bunch
14611 of undo-functions as they are now in their own file, make some
14612 functions publically available. Added function ownerParagraph with
14615 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14616 made InInset() a const function, added getParFromID() function.
14618 * buffer.[Ch]: added const version for inset_iterator functions,
14619 added getInsetFromID() function.
14621 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14622 changed undo functions for new version.
14624 2001-07-05 Juergen Vigna <jug@sad.it>
14626 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14627 unknow mechanism does not call the proper constructor but only this
14628 one also if I request the other!?
14630 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14632 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14634 * text2.C (LyXText): use initialization lists.
14636 * lyxtext.h (Selection): initialize set_ and mark_
14637 (init): remove method
14639 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14641 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14643 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14645 * screen.[Ch]: change method names to begin with lowercase
14647 * BufferView_pimpl.C (updateScrollbar): simplify further and
14648 hopefully make it a bit faster.
14650 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14652 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14653 calling directly xforms functions.
14655 * Painter.C (Painter):
14656 * lyx_cb.C (MenuWrite):
14657 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14660 * lyx_gui.C: remove bogus guiruntime extern declaration.
14662 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14664 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14666 (redoDrawingOfParagraph): ditto
14667 (redoParagraphs): ditto
14668 (cutSelection): don't create a object for CutAndPaste use the
14669 static method directly
14670 (pasteSelection): ditto
14672 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14675 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14677 * modifications to some other files because of this.
14679 * Makefile.am (lyx_SOURCES): add XFormsView
14681 * XFormsView.[Ch]: new files
14683 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14684 the main window. Move the gui dependent stuff to XFormsView
14686 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14688 * tabular.C (GetCellInset): update cur_cell also in the row/col
14689 version of this function.
14691 * lyxfunc.C: no need to include figure_form.h here.
14697 * lyxvc.C: no need to include forms.h here.
14699 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14701 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14703 * lyxfunc.C (Dispatch):
14705 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14706 constructor argument.
14708 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14710 * paragraph.C (Paragraph): dont't clear, and just set layout.
14711 (makeSameLayout): use params's copy contructor.
14713 * ParagraphParameters.[Ch] (makeSame): delete method
14715 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14717 * Variables.[Ch]: fix indentation, rename set to isSet
14719 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14721 * lyxfunc.C (Dispatch): fix typo
14723 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14725 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14728 * bufferlist.C: include assert.h for emergencyWrite().
14730 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14732 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14733 give up at last (bug #425202) !
14735 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14741 * spellchecker.C: strip spellchecker options and bring up
14742 preferences tab instead
14744 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14746 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14747 the istringstream constructor
14749 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14751 * paragraph.C (getLayout): fix return value
14753 * paragraph.h: do not declare getLayout as inline.
14755 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14757 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14759 * lyxcursor.h (operator<): new func
14760 (operator>): new func
14761 (operator>=): new func
14762 (operator<=): new func
14764 * text.C (changeCase): use selection.start and selection.end
14765 (changeRegionCase): require from to be <= to. Require par to be a
14768 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14770 2001-06-27 Juergen Vigna <jug@sad.it>
14772 * text.C (cursorLeftOneWord): changed to return the cursor and added
14773 overlay with BufferView * parameter which calls this one.
14775 (selectWord): use new getWord function.
14776 (changeCase): renamed from changeWordCase as and extended to work
14777 also on selections.
14779 * lyxtext.h: added enum word_location
14781 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14782 changeCase as this operates now also on selections.
14784 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14786 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14788 * many files: send debug output to Debug::INFO instead of
14791 * converter.C (View):
14793 (Move): send debug output to Debug::FILES instead of console.
14795 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14797 * lyxfunc.C (getStatus): use func_status
14799 * func_status.h: new header, describing the results of
14800 LyXFunc::getStatus;
14802 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14805 2001-06-25 The LyX Project <jug@sad.it>
14807 * buffer.C (sgmlOpenTag):
14809 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14811 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14813 * text2.C: remove some dead code
14815 * tabular.C (GetCellInset): store the last cell checked (gotten)
14817 * tabular.h: add the helper for the speedup
14819 * lyxtext.h: remove some dead code
14821 2001-06-26 The LyX Project <Asger>
14823 * paragraph.C: Change export to LaTeX of alignment to
14824 \begin{center} and family for better roundtrip work with reLyX.
14826 * Tune the math drawing a bit.
14828 2001-06-25 The LyX Project <Asger>
14830 * LColor.C (LColor): New color for math background. New color
14833 2001-06-25 The LyX Project <jug@sad.it>
14835 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14837 * lyxfunc.C (Open):
14838 * bufferlist.C (newFile): do not restrict to files ending with
14841 * BufferView_pimpl.C (MenuInsertLyXFile):
14843 2001-06-24 The LyX Project <jug@sad.it>
14845 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14848 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14850 * lyxtext.h: rename most methods to begin with a small char.
14851 Lots of changes because of this.
14853 * paragraph.C (Paragraph): do not call fitToSize
14854 (erase): call Pimpl::erase
14855 (insertChar): call Pimpl::insertChar
14856 (insertInset): call Pipl::insertInset
14857 (breakParagraph): do not call fitToSize
14858 (breakParagraphConservative): do not call fitToSize
14859 (fitToSize): remove method
14861 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14863 2001-06-24 The LyX Project <Asger>
14865 * Fix Qt compilation^2
14867 2001-06-24 The LyX Project <jug@sad.it>
14869 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14870 depthHook(getDepth()-1).
14873 * ParagraphParameters.h:
14874 * ParameterStruct.h: change type of depth to unsigned int ==
14875 depth_type. Many adaptations to other files before of that.
14877 2001-06-24 The LyX Project <Asger>
14879 * Fix Qt compilation.
14881 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14883 * paragraph.h: renamed several methods to begin with small letter.
14884 several changes to many parts of the code because of this.
14886 2001-06-23 The LyX Project <jug@sad.it>
14888 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14889 rewritten to discard all double spaces when KeepEmpty is off
14890 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14891 to only handle newlines but not fiddle with spaces and friends.
14893 * lyxfunc.C (MenuNew): when doing 'new from template', use
14894 template_path as default directory
14896 2001-06-23 The LyX Project <Asger>
14898 * Clean-up of header file includes all over
14899 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14901 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14903 * paragraph.h: renamed from lyxparagraph.h
14905 2001-06-23 Asger <lyx@violet.home.sad.it>
14907 * Buffer.h: Removed Buffer::resize
14908 * BufferList.h: Removed BufferList::resize
14909 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14910 the document lazily when we change the width, or the font settings.
14912 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14914 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14916 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14918 * buffer.h: remove out of date comment
14920 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14923 * screen.C: fix "theoretical" GC leak
14925 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14927 * LaTeX.C (scanAuxFile):
14928 (deplog): remove trailing \r when reading stream (useful under
14931 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14933 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14934 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14935 and BufferView::theLockingInset(Inset*), so should use them and not
14936 access bv_->text->the_locking_inset directly.
14938 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14940 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14943 * tex-defs.h: remove old unused file
14945 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14947 * BufferView_pimpl.C: fix typo, remove minibuffer message
14948 when buffer has loaded
14950 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14952 * lyxfunc.C (Dispatch): use stringstream
14953 (MenuNew): use stringstream
14954 (Open): use stringstream
14956 * importer.C (Import): use stringstream
14958 * bufferview_funcs.C (CurrentState): use stringstream
14960 * LaTeX.C (run): use stringstream
14962 * BufferView_pimpl.C (savePosition): use stringstream
14963 (restorePosition): use stringstream
14964 (MenuInsertLyXFile): use stringstream
14966 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14979 * vspace.C: removed // -*- C++ -*- as first line.
14982 * version.h: added // -*- C++ -*- as first line.
14984 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14986 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14988 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14991 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14993 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14996 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14998 * gettext.C: include LString.h even when --disable-nls is on.
15000 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15002 * converter.h (Get): changed argument type from int to
15003 FormatList::size_type to avoid unnecessary conversion.
15005 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15008 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15010 * gettext.h: include LString.h even when --disable-nls is on.
15012 2001-06-07 Juergen Vigna <jug@sad.it>
15014 * text.C (BreakAgain): subst spaces with tabs.
15016 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15017 (resizeInsetsLyXText): set force on resizeLyXText.
15019 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15021 * gettext.h (gettext_init):
15022 (locale_init): use a real definition instead of a macro
15024 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15026 * Bufferview_pimpl.C:
15028 * LColor.C: further lcolor tidies
15030 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15032 * BufferView_pimpl.C (updateScrollbar): simplify.
15034 * BufferView2.C: don't include insets/insetinfo.h, change
15035 prototype for insertInset and call the Pimpl version. let
15036 updateInset call Pimpl version.
15038 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15039 gotoInset to BufferView::Pimpl
15041 2001-06-01 Juergen Vigna <jug@sad.it>
15043 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15044 inside a LockingInset (is the update needed at all?).
15046 2001-05-31 Juergen Vigna <jug@sad.it>
15048 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15049 here not the old one otherwise how should we compare it afterwards
15052 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15057 * FontInfo.C: bring C functions into global namespace when
15060 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15062 * LString.h: make sure config.h has been loaded before LString.h.
15064 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15065 (one for each char read by EatLine!).
15067 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15070 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15072 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15073 to the same as the par we break from
15075 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15077 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15079 * MenuBackend.C (expand): also create menu entries for wide
15080 versions of the floats.
15082 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15084 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15086 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15087 frontends/Makefile.am
15093 * tabular.C (getTokenValue): add std::
15095 * tabular-old.C (getTokenValue): add std::
15096 (getTokenValue): ditto
15097 (getTokenValue): ditto
15099 * screen.C (ToggleSelection): adjust
15101 * lyxtext.h: put selection cursors inside a Selection struct.
15103 * lyxfunc.C (moveCursorUpdate): adjust
15105 * lyxfont.C (latexWriteStartChanges): add std::
15107 * lyxfind.C: adjust
15109 * font.h: delete with(char const *, LyXFont const &)
15111 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15113 * FontInfo.C (getFontname): add std::
15115 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15116 (workAreaButtonPress): adjust
15117 (tripleClick): adjust
15119 (moveCursorUpdate): adjust
15122 * BufferView2.C (gotoInset): adjust
15124 2001-05-30 Juergen Vigna <jug@sad.it>
15126 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15127 to check pspell I add this as default as I now have new pspell
15128 libraries and they seem to use this.
15130 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15132 * text2.C (CutSelection): make the cursor valid before the call to
15135 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15137 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15138 relied on 0 terminated strings and other horrors. Bug found due to
15139 the new assert in lyxstring!
15141 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15144 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15146 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15149 * lyxfunc.C (processKeySym): change method of getting to the
15152 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15153 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15154 * BufferView_pimpl.[Ch]: here as private methods.
15156 2001-05-28 Juergen Vigna <jug@sad.it>
15158 * text.C (SetHeightOfRow): added the update() call again as it is
15159 needed to initialize inset dimensions!
15161 2001-05-16 Juergen Vigna <jug@sad.it>
15163 * text2.C (SetCharFont): Add new function with BufferView * and
15164 bool toggleall parameters for setting insets internal fonts.
15165 (SetFont): Freeze the undo as we may change fonts in Insets and
15166 all this change should be inside only one Undo!
15168 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15169 setting font's in insets as for them we have the SetFont function!
15171 2001-05-15 Juergen Vigna <jug@sad.it>
15173 * text2.C (ClearSelection): to be sure we REALLY don't have any
15176 * tabular.C (TeXCellPreamble): fixed the left border problem for
15179 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15181 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15184 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15186 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15187 LFUN_BREAKPARAGRAPH.
15189 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15190 help test to "internal only", similar for LFUN_INSERT_URL
15192 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15193 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15194 auto_region_delete and deadkeys.
15196 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15199 * LColor.C: remove some dead entries, tidy a little
15201 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15203 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15205 (Dispatch): implement LFUN_ESCAPE
15207 * commandtags.h: add LFUN_ESCAPE
15209 * LyXAction.C (init): add entry for LFUN_ESCAPE
15211 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15212 Remove commented code.
15213 (insertNote): moved here
15214 (open_new_inset): moved here
15216 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15219 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15221 * kbmap.C (findbinding): clean it up and make it work correctly.
15223 * lyx_main.C (init): do not pass argc and argv as parameters
15225 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15227 * buffer.C: fix path for OS/2 & Win32
15231 * lyx_main.C: Added os:: class.
15233 * os2_defines.h: update
15235 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15237 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15238 better by trying again with reduced state.
15240 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15242 * lyxrc.C (read): print error about invalid key sequence only when
15243 debugging (because not all latinX keysyms are known to some X
15246 * kbsequence.C (getiso): add a few std:: qualifiers
15247 (getiso): comment out extra return statement.
15249 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15251 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15253 (Dispatch): enhance the accent inset a bit. (not perfect)
15255 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15257 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15259 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15261 * bufferlist.C (emergencyWrite): fix assert() call
15263 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15265 * text.C (InsertChar): Added trivial patch to only send the "you
15266 can not do multiple spaces this way" message once during a
15269 2001-05-08 Baruch Even <baruch@lyx.org>
15271 * Makefile.am: Changed order of libraries to get LyX to link properly
15272 with the gnome frontend.
15274 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15276 * LaTeXFeatures.h: add a std:: qualifier
15278 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15280 * paragraph.C (String): use stringstream
15282 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15284 * paragraph.C (writeFile): remove footflag arg
15286 * buffer.C (makeLaTeXFile): use stringstream
15287 (latexParagraphs): remove footnot gurba
15289 * LaTeXFeatures.C (getPackages): use stringstream
15290 (getMacros): likewise
15291 (getTClassPreamble): likewise
15292 (getFloatDefinitions): new method
15294 * paragraph.C (writeFile): reindent
15297 * WorkArea.h: revert the xpos + etc changes.
15299 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15301 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15303 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15304 (pasteSelection): likewise
15305 * text2.C (CreateUndo): likewise
15307 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15309 * minibuffer.C (peek_event): temporarily reduce the functionality
15310 of the minibuffer (to allow args on lfuns)
15312 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15313 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15315 * buffer.C (readInset): add compability reading of old float
15316 lists, add reading of new style float list.
15317 (readInset): avoid reevaluation of inscmd.getCmdName()
15318 (getLists): reindent
15320 * MenuBackend.C (MenuItem): implement parsing of
15321 md_floatlistinsert and md_floatinsert.
15322 (expand::LastFiles): move initalizaton of iterators out of loop,
15323 avoid reevaluation.
15324 (expand::Documents): introduce typdedef vector<string> Strings,
15326 (expand::ExportFormats): introduce typedef vector<Format const *>
15327 Formats, and use it.
15328 (expand): implement FloatListInsert and FloatInsert.
15330 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15331 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15332 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15334 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15336 (Dispatch::LFUN_FLOAT_LIST): implement
15338 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15340 * LaTeX.C (run): Fix problem with --export code.
15342 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15344 * BufferView.[Ch] (workarea): removed.
15345 (getClipboard) new method; wrapper for workarea()->getClipboard()
15347 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15350 * WorkArea.h (width, height, xpos, ypos): These methods all
15351 returned the dimensions of the work_area sub-area of WorkArea,
15352 resulting in a position error if the WorkArea were resized. Now
15353 return the dimensions of the entire WorkArea.
15355 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15357 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15359 * LaTeX.C (deplog): correct the syntax of regex reg1
15361 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15363 * undo.C: remove !NEW_INSETS cruft
15365 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15367 * text2.C: remove !NEW_INSETS cruft
15369 * text.C: remove !NEW_INSETS cruft
15371 * tabular.C: remove !NEW_INSETS cruft
15373 * spellchecker.C: remove !NEW_INSETS cruft
15375 * lyxtext.h: remove !NEW_INSETS cruft
15377 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15379 * lyxfunc.C: remove !NEW_INSETS cruft
15381 * lyxfind.C: remove !NEW_INSETS cruft
15383 * lyx_cb.C: remove !NEW_INSETS cruft
15385 * figureForm.C: remove !NEW_INSETS cruft
15387 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15389 * buffer.[Ch]: remove !NEW_INSETS cruft
15391 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15393 * CutAndPaste.C: remove !NEW_INSETS cruft
15395 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15397 * BufferView2.C: remove !NEW_INSETS cruft
15399 * BufferView.h: remove !NEW_INSETS cruft
15401 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15403 * Lsstream.h: include LString.h before the sstream headers to
15404 fix problem with gcc 2.95.3 and lyxstring
15406 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15408 * lyx_main.C: add using directives when needed for C functions
15409 declared in std:: namespace.
15411 2001-04-27 Juergen Vigna <jug@sad.it>
15413 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15414 (SetHeightOfRow): comment out the update call should not be needed!
15416 2001-04-13 Juergen Vigna <jug@sad.it>
15418 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15419 (LyXTabular): tried to minimize operator= operations (and realized
15420 hopfully Lars wish).
15422 2001-04-27 Juergen Vigna <jug@sad.it>
15424 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15426 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15428 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15430 * buffer.C (readInset): hack to make listof algorithm work
15432 * BufferView_pimpl.C: hack to make listof algorithm work
15434 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15436 * LyXAction.C: removed all !NEW_INSETS cruft
15437 (init): moved lfun_item in method
15439 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15441 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15443 * BufferView2.C (theLockingInset): white space.
15445 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15447 * minibuffer.C: include <iostream>
15449 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15451 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15453 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15455 * text.[Ch] (TransposeChars): new method
15457 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15459 * call message directly through LyXView instead of through LyXFunc
15460 * BufferView2.C: adjust
15461 * BufferView_pimpl.C: adjust
15462 * FontLoader.C: adjust
15464 * bufferview_funcs.C: adjust
15465 * converter.C: adjust
15466 * figureForm.C: adjust
15467 * importer.C: adjust
15469 * lyx_gui_misc.C: adjust
15470 * lyxfunc.C: adjust
15473 + more files in subdirs
15475 * lyxparagraph.h (size): move up int file
15478 * adjust all uses of Assert to lyx::Assert.
15480 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15481 lyxfunctional in namespace lyx
15482 * layout.C (hasLayout): ditto
15485 (delete_layout): ditto
15486 (NumberOfClass): ditto
15487 * converter.C (GetFormat): ditto
15492 * bufferlist.C (getFileNames): ditto
15493 (emergencyWriteAll): ditto
15496 * MenuBackend.C (hasSubmenu): ditto
15499 * BufferView_pimpl.C (getInsetByCode): ditto
15501 2001-04-18 Juergen Vigna <jug@sad.it>
15503 * vspace.C (asLatexString): fixed the 100% problem.
15505 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15507 * lyxfunc.C (Dispatch):
15509 * minibuffer.h: add a few std:: qualifiers
15511 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15513 * minibuffer.[Ch]: reimplement so that commands is initiated and
15514 run from lyxfunc, simplified som handling, and made the completion
15515 and history code for complete. wip.
15517 * lyxfunc.C (processKeySym): call message
15518 (miniDispatch): new temporary method
15519 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15520 (LFUN_MESSAGE): implement
15521 (LFUN_MESSAGE_PUSH): implement
15522 (LFUN_MESSAGE_POP): implement
15523 (initMiniBuffer): the initial/defualt minibuffer message.
15525 * lyxfont.[Ch]: inline some more getters
15527 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15529 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15531 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15532 (AutoSave): use LFUN_MESSAGE
15533 (Reconfigure): ditto
15535 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15537 * figureForm.C: use LFUN_MESSAGE
15539 * converter.C (runLaTeX): use LFUN_MESSAGE
15541 * bufferview_funcs.C: use LFUN_MESSAGE
15543 (changeDepth): ditto
15545 * bufferparams.h: use boost::
15547 * bufferlist.h: inherit privately from noncopyable
15549 * bufferlist.C (loadLyXFile): remove some commented code.
15551 * buffer.C (runChktex): use LFUN_MESSAGE
15553 * ShareContainer.h: inherit privately from noncopyable
15555 * ParagraphParameters.[hC] (depth): inline it.
15557 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15559 (message): new method
15560 (messagePush): ditto
15561 (messagePop): ditto
15562 (show): init minibuffer
15563 (showState): direct call
15565 * LaTeX.[Ch]: inherit privately from noncopyable
15566 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15567 instead of WriteStatus.
15569 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15571 * BufferView_pimpl.C (buffer): don't init minibuffer
15572 (workAreaButtonPress): use LFUN_MESSAGE
15573 (workAreaButtonRelease): ditto
15574 (savePosition): ditto
15575 (restorePosition): ditto
15576 (MenuInsertLyXFile): ditto
15577 (workAreaExpose): don't init minibuffer
15578 (update): remove commented code, simplify
15580 * BufferView2.C (openStuff): use LFUN_MESSAGE
15581 (toggleFloat): ditto
15584 (copyEnvironment): ditto
15585 (pasteEnvironment): ditto
15590 (updateInset): remove some commented code
15592 * lastfiles.h: inherit privately from noncopyable
15595 * lyx_main.h: ditto
15597 * lyxlex_pimpl.h: ditto
15599 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15600 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15601 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15603 * LyXAction.h: inherit privately from noncopyable, add methods
15604 func_begin, func_end, returning iterators to the func map.
15606 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15607 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15608 (func_begin): new method
15609 (func_end): new method
15611 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15613 (copySelection): ditto
15614 (pasteSelection): ditto
15616 * BufferView.C: whitespace change
15617 * BufferView.h: inherit privately from noncopyable
15619 2001-04-16 Allan Rae <rae@lyx.org>
15621 * tabular-old.C (l_getline):
15622 * spellchecker.C (sc_check_word):
15623 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15624 an unrecognised preprocessor directive. So ensure they're wrapped.
15626 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15628 * src/exporter.C (Export): Give an error message when path to file
15631 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15633 * LaTeX.C (deplog): Always check that foundfile exists.
15635 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15638 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15640 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15642 * tabular.[Ch] (getLabelList): implement new method
15644 * minibuffer.h: comment ouf setTiimer
15646 * minibuffer.C (ExecutingCB): constify res
15647 (peek_event): constify s
15648 (Set): constify ntext
15649 (Init): constify nicename
15651 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15653 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15654 (savePosition): use two params to Minibuffer::Set
15655 (restorePosition): ditto
15657 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15659 * lyx_main.C: include language.h
15661 * Makefile.am (lyx_main.o): add language.h
15663 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15669 * CutAndPaste.C: include gettext.h
15671 * lyxfont.h: remove old hack with ON and OFF.
15674 * lyxfont.h: do not include language.h...
15679 * bufferview_funcs.C:
15685 * paragraph.C: ... but do it here instead
15687 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15689 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15691 * tabular.C: small reformat
15693 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15696 (BreakParagraph): ditto
15697 (SetOnlyLayout): ditto
15700 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15703 * lastfiles.C: removed most using decl, add std:: where needed
15705 * buffer.C: ws changes
15707 * MenuBackend.C (class compare_format): put into anon namespace
15708 (expand): constify label, names, action, action2
15711 * text.C (SingleWidth): constify font
15712 (IsBoundary): constify rtl2
15713 (GetVisibleRow): constify ww
15715 * LaTeX.C (deplog): constify logfile
15717 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15719 (workAreaExpose): constify widthChange, heightChange
15721 * lyxrow.C (par): moved
15724 * lyxrow.h: as inlines here
15726 * lyxfont.h (shape): moved from lyxfont.C
15727 (emph): moved from lyxfont.C
15729 * lyxfont.C (LyXFont): use initialization list for all
15731 (shape): move to lyxfont.h as inline
15732 (emph): move to lyxfont.h as inline
15735 2001-04-04 Juergen Vigna <jug@sad.it>
15737 * vspace.C: had to include stdio.h for use of sscanf
15739 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15742 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15743 independent of xforms.
15745 2001-04-02 Juergen Vigna <jug@sad.it>
15747 * spellchecker.C: fixed namespace placing!
15749 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15751 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15752 the LyXParagraph * is 0.
15754 2001-03-29 Juergen Vigna <jug@sad.it>
15756 * vspace.C: added support for %, c%, p%, l%.
15757 (stringFromUnit): added helper function.
15758 (asLatexString): changed to give right results for the %-values.
15760 * buffer.C: convert the widthp in a width%.
15762 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15764 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15767 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15768 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15770 * lyx_cb.[Ch]: see above.
15772 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15776 * lyx.[Ch]: replaced by figure_form.[Ch].
15780 * lyxfunc.C: changed headers associated with above changes.
15782 2001-03-27 Juergen Vigna <jug@sad.it>
15784 * BufferView_pimpl.C: set the temporary cursor right!
15786 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15788 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15790 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15792 * LString.h: removed "using std::getline"!
15794 * BufferView_pimpl.C (Dispatch): changes due to changes in
15795 InsetInclude::Params.
15797 * buffer.C (tag_name): removed redundant break statements as they were
15798 producing lots of warnings with my compiler.
15800 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15802 * LString.h: add "using std::getline" when using the real <string>.
15804 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15806 * buffer.C: removed bitset usage.
15807 PAR_TAG moved to an anonymous name space.
15808 (tag_name): new funtion, also in the anonymous namespace.
15809 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15810 (makeDocBookFile): clean code. Completed transition from string arrays
15812 (SimpleDocBookOnePar): code clean.
15814 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15816 * tabular.C: add some comments.
15818 2001-03-22 Juergen Vigna <jug@sad.it>
15820 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15821 compatibility read a bit and fixed bug with minipage in different
15824 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15826 * buffer.C (pop_tag): removed.
15827 (push_tag): removed.
15828 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15829 array replaced with vector. Added support for CDATA sections.
15830 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15832 (makeDocBookFile): XML conformant declaration of CDATA section,
15833 fixed bug related to <emphasis> in the first paragraph char.
15834 (sgmlOpenTag): exclude empty tags.
15835 (sgmlCloseTag): ditto.
15837 * buffer.h (pop_tag): removed.
15838 (push_tag): removed.
15840 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15842 * language.h (Languages): added size_type and size().
15844 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15846 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15847 response on compability reading of minipages. One probliem is that
15848 the old usage of minipages was «flertydig»
15850 * several files here and in subdirs: don't use static at file
15851 scope use anon namespaces instead.
15853 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15855 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15856 LaTeX output. This is necessary for Literate document
15859 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15861 * buffer.C: insert hfill when needed.
15863 * tabular.C (l_getline): use string::erase, small whitespace change.
15865 * BufferView_pimpl.C: try the anon namespace.
15866 * WorkArea.C: ditto
15868 2001-03-16 Juergen Vigna <jug@sad.it>
15870 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15871 otherwise it won't open options-dialogs.
15873 * buffer.C: honor pextraWidth(p) on converting minipages.
15875 * tabular.C (l_getline): changed the functions to strip trailing \r.
15877 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15879 * BufferView_pimpl.C:
15880 * minibuffer..C: added "using SigC::slot" declaration.
15882 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15884 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15890 * paragraph.C: ditto
15892 * lyxtext.h: NO_PEXTRA
15894 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15896 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15897 * ParameterStruct.h: ditto
15898 * ParagraphParameters.h: ditto
15899 * lyxparagraph.h: ditto
15901 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15903 * buffer.C: add compability for minipage alignment.
15904 (latexParagraphs): remove unwanted pextra check.
15906 * several files: remove CXX_WORKING_NAMESPACES
15908 * buffer.C (pop_tag): tie is in namespace boost
15910 * BufferView.h: noncopyable is in namespace boost
15912 * lyx_main.h: ditto
15915 * lastfiles.h: ditto
15916 * bufferlist.h: ditto
15917 * ShareContainer.h: ditto
15919 * LyXAction.h: ditto
15922 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15924 * Merging changes from BRANCH_MVC back into HEAD.
15926 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15928 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15930 * BufferView_pimpl.C: change from intl.C
15934 * Makefile.am: move combox.*
15940 * intl.C: remove dialog (covered by prefs)
15942 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15944 * lyxfunc.C (Dispatch): removed redundant break statement.
15946 2001-03-14 Juergen Vigna <jug@sad.it>
15948 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15950 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15952 * buffer.C: add hack to fix compability reading of minipages.
15954 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15956 * buffer.C (getLists): Cleanup.
15958 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15960 * lyxfont.C (update): don't honor toggleall on font size.
15962 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15966 * Makefile.am: moved to frontends/xforms/
15970 * BufferView_pimpl.C: changes for moved mathpanel
15972 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15974 * gettext.h: fix gettext_init() in --disable-nls
15976 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15978 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15980 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15983 * lyx.h: strip external form
15985 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15987 * BufferView_pimpl.C: add comment, destroySplash()
15989 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15991 * BufferView_pimpl.C:
15995 * lyxfunc.C: use re-worked insetinclude
15997 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15999 * buffer.C: add using std::stringstream.
16001 * lyx_cb.C: readd using std::ios.
16003 * buffer.C: add using std::map.
16005 * BufferView_pimpl.C: add using std::vector.
16007 * ShareContainer.h: add std:: to swap.
16009 * buffer.h: add some typedefs
16010 * buffer.C (getLists): use them
16011 (getLists): renamed from getTocList.
16012 add a counter for the different float types and use it in the
16014 (getLists): use the same counter for the NEW_INSETS and the "non"
16017 * lyx_cb.h: remove unused items, includes, using etc.
16019 * ShareContainer.h: remove some commented code, add more comments
16020 and "documentation".
16022 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16024 * buffer.C (getTocList): make the list also when NEW_INSETS is
16027 * buffer.h: remove TocType
16029 * buffer.C (getTocList): change to return a map<string,
16030 vector<TocItem> >, implement for dynamic number of list.
16032 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16033 * text2.C (PasteSelection): adjust
16034 * CutAndPaste.C (pasteSelection): adjust
16036 * FloatList.C (FloatList): update from the new_insets branch.
16037 * Floating.[Ch]: ditto
16038 * LaTeXFeatures.C: ditto
16040 * lyxlex_pimpl.C: ditto
16042 * paragraph.C (Last): remove when NEW_INSETS is defined.
16044 * other file: changes because of the above.
16046 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16048 * lyxparagraph.h: rename next to next_, previous to previous_,
16049 make them private for NEW_INSETS. Rename Next() to next(),
16050 Previous() to previous().
16052 * other files: changes because of the above.
16054 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16057 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16060 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16062 * main.C (main): pass lyx_localedir to gettext_init().
16064 * gettext.h: remove locale_init and gettext_init macros
16066 * gettext.C (locale_init): new function
16067 (gettext_init): new function
16069 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16072 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16074 * Moved credits to frontends:
16075 * credits.[Ch]: removed
16076 * credits_form.[Ch]: removed
16077 * lyx_gui_misc.C: remove credits stuff
16080 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16082 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16084 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16085 unneeded destructor.
16087 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16088 a standalone pointer again.
16090 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16092 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16098 * ToolbarDefaults.C:
16107 * BufferView_pimpl.C: use new file dialog in GUII
16110 * lyx_cb.C: remove LayoutsCB to Toolbar
16112 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16114 * ShareContainer.h (get): add std:: qualifier
16116 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16118 * ShareContainer.h: define a proper ShareContainer::value_type
16119 type (and use typename to please compaq cxx)
16121 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16123 * lyxparagraph.h: move serveral local vars to
16124 ParameterStruct/ParagraphParameters., use ShareContainer in
16125 FontTable., make vars in FontTable private and add getter and
16128 * paragraph.C: changes because of the above.
16130 * lyxfont.h: remove copy constructor and copy assignment. (the
16131 default ones is ok), move number inside FontBits. move inlines to
16134 * lyxfont.C: add number to initializaton of statics, move several
16135 inlines here. constify several local vars. some whitespace
16136 cleanup. Dont hide outerscope variables.
16138 * Spacing.h: add two new constructors to match the set methods.
16140 * ShareContainer.h: new file, will perhaps be moved to support
16142 * ParameterStruct.h: new file
16144 * ParagraphParameters.h: new file
16146 * ParagraphParameters.C: new file
16148 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16149 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16151 * BufferView_pimpl.C: ParagraphParameter changes.
16152 * buffer.C: Likewise.
16153 * bufferview_funcs.C: Likewise.
16154 * text.C: Likewise.
16155 * text2.C: Likewise.
16157 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16159 * lyxfind.C (LyXReplace): do not redefine default argument in
16161 (IsStringInText): ditto
16162 (SearchForward): ditto
16163 (SearchBackward): ditto
16165 2001-03-06 Juergen Vigna <jug@sad.it>
16167 * lyxfind.C (IsStringInText): put parentes around expressions.
16169 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16171 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16173 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16175 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16177 * stl_string_fwd.h: add comment
16179 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16182 * tabular.C: remove unused DocBook methods
16188 killed DO_USE_DEFAULT_LANGUAGE
16190 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16192 * lyx_gui.C: do not include language.h.
16194 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16195 arguments in function implementation.
16197 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16199 * BufferView_pimpl.C: add <ctime>
16201 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16203 * BufferView_pimpl.C: add using std::find_if
16205 2001-02-27 José Matos <jamatos@fep.up.pt>
16207 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16210 2001-02-11 José Matos <jamatos@fep.up.pt>
16212 * buffer.C (makeDocBookFile): command styles now have a parameter as
16213 "title" by default.
16215 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16217 * layout_forms.[Ch]: removed
16218 * lyx_cb.[Ch]: out character
16219 * lyx_gui.C: out character
16220 * lyx_gui_misc.C: out character
16221 * bufferview_funcs.C: : out character,
16222 added toggleall as parameter in ToggleAndShow
16224 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16226 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16228 * text2.C (SetCurrentFont): Disable number property at boundary.
16230 2001-02-26 Juergen Vigna <jug@sad.it>
16232 * lyxfunc.C (getStatus): added a string argument override function so
16233 that this is correctly called from LyXFunc::Dispatch if it contains a
16234 do_not_use_argument which is used!
16235 (Dispatch): added check for "custom" export and call appropriate func.
16237 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16239 * lyxrc.C: Add language_command_local, language_use_babel and
16240 language_global_options.
16242 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16244 * buffer.C (makeLaTeXFile): Use language_use_babel and
16245 language_global_options.
16247 2001-02-23 Juergen Vigna <jug@sad.it>
16249 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16250 which works with LyXText and putted it inside BufferView. Here now we
16251 only call for that part the BufferView::Dispatch() function.
16253 * BufferView.C (Dispatch): added.
16255 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16256 functions which needs to use a LyXText over from LyXFunc.
16257 (MenuInsertLyXFile): added
16258 (getInsetByCode): added
16259 (moveCursorUpdate): added
16260 (static TEXT): added
16262 2001-02-22 Juergen Vigna <jug@sad.it>
16264 * BufferView_pimpl.C (update): call a status update to see if LyXText
16267 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16269 * vc-backend.C (revert): implement for CVS
16270 (getLog): implement for CVS
16272 2001-02-20 Juergen Vigna <jug@sad.it>
16274 * text2.C (ClearSelection): added BufferView param for inset_owner call
16276 * lyxfunc.C (TEXT): added this function and use it instead of
16277 directly owner->view()-text of getLyXText().
16279 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16281 * src/layout_forms.C: out preamble
16282 * src/layout_forms.h: out preamble
16283 * src/lyx_cb.C: out preamble
16284 * src/lyx_cb.h: out preamble
16285 * src/lyx_gui.C: out preamble
16286 * src/lyx_gui_misc.C: out preamble
16287 * src/lyxfunc.C: connect with guii preamble
16289 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16291 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16293 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16295 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16296 whether to run bibtex.
16298 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16300 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16302 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16304 * Makefile.am (lyx_SOURCES): removed bibforms.h
16306 * vspace.h: doxygen
16308 * text.C (GetVisibleRow): make several local vars const
16310 * tabular.C: small cleanup.
16312 * lyxserver.C (callback): use compare instead of strncmp
16314 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16315 inlines to after class or to paragraph.C
16317 * lyxfont.h: remove friend operator!=
16319 * converter.h: move friend bool operator< to non friend and after
16322 * combox.h: small cleanup
16324 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16325 to inlines after class def.
16327 * buffer.C (pop_tag): use string operations instead of strcmp
16329 * bmtable.c: doxygen, small cleanup
16331 * LaTeX.h: remove friend operator==
16333 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16345 * BufferView_pimpl.C:
16346 * BufferView.[Ch]: remove cruft
16348 2001-02-14 Juergen Vigna <jug@sad.it>
16350 * lyxfunc.C: removed #if 0 unused code
16352 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16354 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16356 * text2.C (SetSelection): added a BufferView * parameter
16358 2001-02-13 Juergen Vigna <jug@sad.it>
16360 * lyxfunc.C (Dispatch): fixed protected blank problem.
16361 * BufferView2.C (protectedBlank): added LyxText * parameter.
16363 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16364 (AppendColumn): same as above for column_info.
16366 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16367 (moveCursorUpdate): use a LyXText param for support of InsetText.
16369 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16370 (tripleClick): ditto
16372 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16374 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16376 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16378 * text2.C (SetSelection): set correct update status if inset_owner
16379 (ToggleFree): ditto
16381 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16383 * tabular.C: remove some commented code.
16385 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16387 * BufferView_pimpl.C: call hideSplash()
16389 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16392 * bibforms.h: remove
16395 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16396 add LFUN_CHILD_CREATE
16398 * counters.h: fix tiny typo
16403 * lyx.C: move splash to frontends/xforms/
16405 * lyx_gui_misc.C: move Include and Bibform to frontends
16407 * lyxvc.h: clarify comment
16409 * vspace.C: tiny housekeeping
16411 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16413 * text.C (PrepareToPrint): RTL Fix.
16415 * paragraph.C (GetUChar): New method.
16416 (String): Use GetUChar.
16418 * buffer.C (asciiParagraph): Use GetUChar.
16420 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16422 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16424 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16427 * buffer.C: rename to getLogName(), handle
16428 build log / latex log nicely
16430 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16433 * MenuBackend.h: remove support for reference menuitem type.
16435 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16437 * BufferView_pimpl.C: housekeeping
16438 * BufferView_pimpl.h:
16443 * minibuffer.h: move Timeout GUI-I
16445 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16447 * lyxrc.C (read): Update converters data-structures.
16449 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16451 * LaTeX.h (operator!=): add operator != for Aux_Info
16453 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16455 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16457 * LaTeXLog.C: deleted, useful code moved to Buffer
16460 * buffer.C: new function getLatexLogName()
16466 * lyxfunc.C: use frontends for LaTeX and VC logs
16468 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16470 * LaTeX.h: yet another std:: that Allan forgot.
16472 * Variables.C (set): renamed from isset(), because this clashes
16473 with some HP-UX macros (grr).
16475 2001-02-06 Allan Rae <rae@lyx.org>
16477 * LaTeX.h: Another bug fix. Missing std:: this time.
16479 2001-02-04 Allan Rae <rae@lyx.org>
16481 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16482 floats problem. I've left it commented out because it's not quite
16483 correct. It should also test that the current object is a table or
16484 figure inset. But I haven't gotten around to figuring out how to do
16485 that. I *think* it'll be something like: "table" == inset.type()
16487 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16490 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16492 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16493 all the citation/databases/styles in the auxilary file.
16494 (run): Rerun latex if there was a babel language error.
16496 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16498 * text.C (Backspace): Preserve the font when changing newline char
16500 (BreakParagraph): If the cursor is before a space, delete the space.
16502 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16504 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16506 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16507 new argument (code).
16508 (ChangeCitationsIfUnique): New method.
16510 * paragraph.C (GetPositionOfInset): Handle bibkey.
16512 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16514 * BufferView_pimpl.h: change type of Position::par_pos to
16515 LyXParagraph::size_type.
16517 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16519 * BufferView_pimpl.C (savePosition, restorePosition): Write
16520 messages to minibuffer.
16522 2001-01-28 José Matos <jamatos@fep.up.pt>
16524 * buffer.C (makeDocBookFile): adds support for document language.
16525 A silly restriction on the name of LatexCommand types where removed.
16526 Added support for CDATA sections, allows to chars unescaped, used
16527 among others in code, to avoid escape < and >.
16529 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16531 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16532 saved positions instrad of a stack. Furthermore, a position is
16533 stored using paragraph id/paragraph position.
16535 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16536 Remove LFUN_REF_BACK.
16538 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16540 * converter.C (dvipdfm_options): New method.
16542 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16544 * vspace.C (isValidLength): Fix for empty input string.
16546 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16548 * LyXAction.C (init): change description of LFUN_FIGURE to
16551 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16553 * LaTeX.C: add using directive
16555 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16557 * MenuBackend.C (expand): Fix the sorting of the formats.
16559 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16561 * lyx_main.C: tiny error message fix
16563 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16565 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16566 calling fl_initialize(). This fixes the problem with ',' as
16567 decimal separator in text files.
16569 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16571 * trans.C (process): Fix the keymap bug.
16573 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16575 * LaTeX.C (scanAuxFiles): New method. Provides support for
16576 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16577 (scanLogFile) Scan for "run BibTeX" messages.
16579 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16580 OT1 font encoding. Also, load the aecompl package if the ae
16583 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16585 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16587 * texrow.C (increasePos): turn two error messages into debug
16590 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16592 * LaTeX.C (scanAux): Handle the \@input macro.
16593 (runBibTeX): Use scanAux().
16595 * language.C (latex_options_): New field.
16597 * LaTeXFeatures.C (getMacros): Add language macros.
16599 * buffer.C (makeLaTeXFile): Small fix.
16601 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16603 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16605 * text2.C: add a using directive.
16607 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16612 * lyxfunc.C: kill LyXBell.
16614 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16616 * text.C (IsBoundary): Remove the error message
16618 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16620 * lyxrc.C (setDefaults): Correct initialization value for
16623 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16625 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16628 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16629 and GotoNextNote().
16631 * src/LyXAction.C: Added reference-next.
16633 * text.C (InsertChar): Use contains instead of strchr.
16635 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16637 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16639 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16640 alignment commands (when needed).
16642 * text.C (InsertChar): Add ':' to number separator chars.