1 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * text3.C: fix LFUN_MATH_MODE.
5 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7 * buffer_funcs.C (countWords): new function. Counts words between
10 * BufferView_pimpl.C (getStatus, dispatch): handle
14 * lfuns.h: add LFUN_WORDS_COUNT.
16 2004-12-19 Angus Leeming <leeming@lyx.org>
18 * buffer.C (save): s/slashify_path/internal_path/.
20 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
22 * lyxfind.C (findChange): do not search for end of pars, because
23 the change tracker cannot handle this (fixes bug 1719).
25 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
27 * paragraph.[Ch] (autoBreakRows): remove
29 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
31 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
32 avoid using the paragraph one
34 * text2.C (LyXText, insertStringAsLines): adjust
36 2004-12-16 Angus Leeming <leeming@lyx.org>
40 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
42 2004-12-14 Angus Leeming <leeming@lyx.org>
44 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
46 * bufferlist.C (emergencyWrite):
47 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
50 2004-12-14 Angus Leeming <leeming@lyx.org>
52 * main.C: (main): no longer pass pointers to os::init.
54 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
56 * undo.C (textUndoOrRedo): simplify logic, fix a crash
57 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
59 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
62 * text3.C: remove selection_possible global flag
64 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
66 * text2.C (getSelectionSpan): remove
67 (changeDepth, changeDepthAllowed): adjust
69 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
71 * Makefile.am (BOOST_LIBS): use boost variables
73 2004-12-03 José Matos <jamatos@lyx.org>
75 * buffer.C: format up to 238.
77 2004-12-03 José Matos <jamatos@lyx.org>
79 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
81 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
83 * cursor.C (goUpDown): remove call to idxUpDown2
85 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
87 * tabular.[Ch]: use size_t-like types for cell, row and column
90 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
92 * lyxfunc.C (getStatus): do not lose previous information when
93 calling BufferView::getStatus; do not set a default "Command
94 disabled" message at the beginning, but just before returning.
96 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
98 * cursor.h (getStatus): add better comment from src/cursor.C
100 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
102 * text3.C (getStatus): return false when the lfun is not handled
104 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
106 * broken_headers.h: remove
108 * Makefile.am (lyx_SOURCES): remove broken_headers.h
110 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
112 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
115 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
116 top_y_, merge fitcursor with update
117 (updateScrollbar, scrollDocView, fitCursor, center, update): new
120 (workAreaDispatch): adapt to new coord scheme
121 (redoCurrentBuffer): remove
123 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
125 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
128 * coordcache.[Ch]: add paragraph cache and helpers
130 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
133 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
134 (targetX, setTargetX): introduce
136 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
137 baseline -> ascent, as the rest of lyx
139 * lyxtext.h: remove redoParagraphs, updateParPositions,
140 fullRebreak, redoParagraphInternal. move dist to anon namespace in
141 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
142 have ascent/descent (ascent is ascent of first par)
144 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
147 * paragraph.[Ch]: unify dimension handling with the rest of lyx
149 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
151 * pariterator.C: fix infinite loop introduced in par->pit renaming
153 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
154 in insets and LyXText, draw two off-screen paragraphs using
155 NullPainter, and adapt to new coord scheme
159 * text3.C: adapt lfun handlers to the new coord scheme, which
160 means: there's only guaranteed coord information for onscreen pars
161 plus one above and one below. This implies that one can do search
162 from y coordinates in the range [-1,workHeight]
164 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
166 * rename a lot of InsetOld to InsetBase
168 2004-11-25 Angus Leeming <leeming@lyx.org>
170 * BufferView_pimpl.C:
172 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
174 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
176 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
177 call BufferView::getStatus if LCursor::getStatus did nothing
178 (setStatusMessage, getStatusMessage): removed.
180 * FuncStatus.C (message): new methods. Used to provide an error
181 message indicating why a command is disabled.
182 (clear, |=, FuncStatus): update for message.
184 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
186 * lyxfunc.C (dispatch): always call sendDispatchMessage
188 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
191 * BufferView_pimpl.C:
205 * undo.C: par->pit renaming
207 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
209 * tabular.C (cellstruct): use initialization, store a shared_ptr
210 to insettext instead of the insettext directly, adjust to fit.
211 (operator=): new function
213 (rowstruct): use initialization
214 (columnstruct): use initialization
215 (ltType): use initialization
218 * lyxlength.h (swap): new function
220 * LColor.[Ch] (operator=): use the common semantics
222 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
224 * lyxfind.C (findNextChange): update the bufferview after setting
227 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
229 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
230 number of InsetOptArgs has already been inserted.
232 * output_latex.C (latexOptArgInsets): new method. This outputs all
233 the optarg insets, up to the limit defined in the layout file.
234 (optArgInset): removed
235 (TeXOnePar): call latexOptArgInsets; correctly update texrow
237 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
239 * paragraph.C (isLetter): remove special spellchecker-related
240 code; return true also for digits
241 (isWord, isKomma): remove
243 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
244 * lyxfind.C (MatchString()): use isLetter instead of isWord
246 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
248 * pariterator.h (operatir=): comment out un-implemented member
251 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
254 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
256 * lyxfont.h: include LColor.h to satisfy concept checks.
258 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
260 * pariterator.h: add typdefs for value_type, difference_type,
261 pointer and reference to satisfy concept checks. Also add default
262 constructor for same reason.
264 * pariterator.C (operator++): add post-increment operator to
265 satisfy concept checks.
267 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
270 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
272 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
273 checks. Also rename base_type to BaseType to follow naming
276 * FloatList.h: include Floating.h to satisfy concept checks.
278 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
280 * lyxfunc.C (getStatus): when the origin of the request is menu or
281 toolbar, and the LyXView does not have focus, do as if there was
284 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
285 FuncRequest to individual entries of LFUN_SEQUENCE
287 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
289 * output_latex.C (TeXOnePar): override runparams.moving_arg
290 according to the needprotect value of the current paragraph (bug
293 * paragraph.C (simpleTeXOnePar): no need to override
294 runparams.moving_args here
296 2004-11-14 John Spray <spray_john@users.sourceforge.net>
298 * vspace.C: fix off-by-one-error, related to fix #1682
300 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
302 * lengthcommon.C: a more general fix for bug 1682
304 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
306 * text.C (backspace): fix crash
308 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
310 * format.[Ch] (getFormatFromFile): new method
311 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
313 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
315 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
317 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
319 * lyxfunc.C (dispatch): remove the verbose argument
320 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
323 * kbmap.C (defkey): set the origin of func to KEYBOARD
325 * MenuBackend.C (MenuItem):
326 * ToolbarBackend.C (add): set the origin of func to UI
328 * funcrequest.[Ch]: add origin member, which indicates which part
329 of LyX requests an action
331 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
333 * converter.C (move): don't lie in the error message
334 * converter.h (isReachable, move): document
336 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
338 * buffer.C: remove unused using lyx::support::atoi
339 * paragraph_funcs.C: ditto
341 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
343 * bufferlist.C (exists): use bind and equal_to instead of
346 * lyxtextclasslist.C (NumberOfClass): ditto
348 * cursor.C (insert): use for_each instead of explicit for loop
350 * bufferlist.C (getFileNames): use std::transform and
351 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
353 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
356 * buffer.C (changeLanguage): use for_each instead of explicit for
358 (hasParWithID): implement using getParFromID
360 * LaTeXFeatures.C: ws change only
362 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
365 * BufferView_pimpl.C (trackChanges): use for_each instead of
368 2004-11-04 André Pönitz <poenitz@gmx.net>
371 * undo.C (textUndoOrRedo): fix crash when creating undo information.
373 * dociterator.C (asDocIterator): use hard assert again.
375 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
377 * lyxlength.C (asLatexString): rewrite so that it does not use
380 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
382 * text3.C (specialChar, dispatch): make sure cursor moves to the
383 right after inserting an inset
385 2004-11-02 José Matos <jamatos@lyx.org>
387 * output_docbook.C (docbook):
388 * paragraph.C (getID):
389 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
390 garantee that the output is always legal.
392 * tabular.C (docbook):
393 * outputprams.[Ch]: remove mixed contents.
395 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
397 * text2.C (setCounter): prevent endless loop
399 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
401 * exporter.C (copyFile): use the mover instead of support::copy()
402 * exporter.C (Export): pass format and latex name to copyFile()
403 * exporter.h (addExternalFile): document
404 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
406 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
408 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
410 2004-10-30 José Matos <jamatos@lyx.org>
412 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
413 text and no inset or font change. This allows to use CDATA
414 sections just for the whole paragraph.
416 2004-10-30 José Matos <jamatos@lyx.org>
418 * paragraph.C (getFirstWord): remove unused variable.
420 2004-10-30 José Matos <jamatos@lyx.org>
422 * paragraph.C (getFirstWord): the content should always be escaped
424 (simpleDocBookOnePar):
425 * output_docbook.C (makeEnvironment): replace reference to CDATA
428 2004-10-30 José Matos <jamatos@lyx.org>
430 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
432 2004-10-30 José Matos <jamatos@lyx.org>
434 * output_docbook.C (makeParagraphs):
435 * paragraph.[Ch] (emptyTag): for docbook and company, if the
436 standard paragraph has only a given type of content drop the wrapper.
438 2004-10-29 José Matos <jamatos@lyx.org>
440 * output_docbook.C (makeEnvironment):
442 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
444 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
446 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
447 (cleanID): sanitize any id.
449 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
451 * buffer.C, lyxlex_pimpl.C:
452 * lyxlex_pimpl.C (setFile):
453 s/getExtFromContents/getFormatFromContents/
455 2004-10-28 José Matos <jamatos@lyx.org>
457 * output_docbook.C (makeEnvironment): move id to broadest possible
460 * sgml.C (openTag): apply substitution of <> for all attributes.
462 2004-10-28 José Matos <jamatos@lyx.org>
464 * buffer.C (makeLinuxDocFile, makeDocBookFile):
465 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
466 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
468 * sgml.[Ch]: new version for open and closeTag for paragraph and
469 for strings. Now they handle the ids of paragraphs.
471 2004-10-26 Angus Leeming <leeming@lyx.org>
473 * Makefile.am: add mover.[Ch].
475 * converter.C (convert, move): use the new Movers to move external
476 files to the temp directory.
478 * lyx_main.C (init): ensure that the global system_movers data
481 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
484 * mover.[Ch]: new files, defining a Mover as a utility to move an
485 external file between directories and, if necessary, manipulate this
486 file using a helper script.
488 2004-10-25 José Matos <jamatos@lyx.org>
490 * output_docbook.C (makeCommand): merge two if's that tested the
493 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
495 * sgml.C (escapeString): fix warning in a better way
497 2004-10-25 José Matos <jamatos@lyx.org>
499 * sgml.C (escapeString): import the require boosts header file for
500 tie, and avoid a signed unsigned comparison.
502 2004-10-25 José Matos <jamatos@lyx.org>
504 * sgml.h: add #include <string>
506 2004-10-25 José Matos <jamatos@lyx.org>
508 * sgml.[Ch] (escapeString): new function to escape all the string.
510 2004-10-24 José Matos <jamatos@lyx.org>
512 * paragraph.[Ch] (getFirstWord): new function to get the first
513 word. Useful for description.
514 (simpleDocBookOnePar): remove depth argument, add another that
515 says where to start the paragraph.
517 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
518 use the new functions to fix cleanly the support for descriptions.
520 2004-10-24 José Matos <jamatos@lyx.org>
522 * buffer.C (makeLinuxDocFile, makeDocBookFile):
523 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
524 * output_linuxdoc.C (linuxdocParagraphs):
525 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
526 add buffer as argument.
528 2004-10-24 José Matos <jamatos@lyx.org>
530 * output_docbook.C (makeEnvironment, searchEnvironment): place
531 CDATA inside paragraphs and fix scope for listitems.
533 2004-10-24 José Matos <jamatos@lyx.org>
535 * output_docbook.C: remove using statement for stack.
537 2004-10-23 José Matos <jamatos@lyx.org>
539 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
540 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
541 docbook. The new scheme is recursive and makes use of iterators, the
542 same as latex export works.
543 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
544 directly with the paragraph contents. This code was moved up to
545 output_docbook.C (docbookParagraphs).
546 * sgml.C (openTag, closeTag): removed unneeded newlines.
547 (closeEnvTags) removed.
549 2004-10-23 André Pönitz <poenitz@gmx.net>
551 * undo.C (textUndoOrRedo):
552 * dociterator.C (asDocIterator): work around crash
554 * cursor.C (getStatus): replace ASSERT by more verbose error message
555 and manual correction of the problem. Should increase stability
556 while providing more sensible information.
558 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
560 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
562 * bufferlist.C (previous, next): new methods
565 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
567 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
569 * buffer.C (makeDocBookFile): add dsssl stylesheet control
570 entities to preamble.
572 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
574 * messages.C (Pimpl): strip off translation context information
576 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
578 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
579 the cursor is correct (bug 1694)
581 2004-10-13 José Matos <jamatos@lyx.org>
583 * output_docbook.C (docbookParagraphs): fix closing tags in the
586 2004-10-09 José Matos <jamatos@lyx.org>
588 * buffer.C: format up to 237.
589 * bufferparams.C (write): use tostr to convert booleans to strings.
591 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
593 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
595 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
597 * LaTeX.C: implement use of babel language in xindy.
599 2004-10-05 José Matos <jamatos@lyx.org>
601 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
602 Add new translators to help reading and writing the lyx file.
604 2004-10-05 José Matos <jamatos@lyx.org>
606 * ParagraphParameters.C (read):
607 * text.C (readParToken): replace nexToken by more appropriate lex
610 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
612 * LaTeX.C (runMakeIndex):
613 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
614 (usually 'makeindex') configurable.
616 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
617 with a variable rather than with a number.
619 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
621 * output_latex.C (TeXOnePar): make sure font setting is the first
622 thing that gets output (and the last at the end). Should fix bug
625 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
627 * pch.h: use proper signal include
629 * LaTeX.h: Use preferred calling of Boost.Signal
632 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
634 * pch.h: dont include <boost/function/function0.hpp>
636 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
638 * paragraph_pimpl.h: remove usage of ShareContainer
640 * paragraph_pimpl.C: remove initialization of ShareContainer.
642 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
646 * BufferView.C (putSelectionAt): change the semantics when
647 backwards == true: now, this just swaps cursor and anchor wrt the
650 * BufferView.h (putSelectionAt): add some documentation
652 * lyxfind.C (findBackwards): rewrite using while(). In particular,
653 make sure backwardChar is done at least once (to avoid getting
655 (findNextChange): use putSelectionAt in the forward direction
656 (operator()): use Paragraph::isWord
658 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
660 * Spacing.C (set): c_str fix
662 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
664 * lyx_cb.C (Reconfigure): quote the name of configure script in
665 case it contains spaces
667 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
671 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
672 (BOOST_LIBS): use top_buildir when looking for the file
674 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
676 * pch.h: do not use include boost/format.hpp, multiple symbols
677 will result (gcc bug)
680 2004-08-23 José Matos <jamatos@lyx.org>
682 * bufferparams.C (readToken): fix reading of the author field.
684 2004-08-20 José Matos <jamatos@lyx.org>
686 * lyxrc.C: remove support/translator.h inclusion since it is not used.
688 2004-08-20 José Matos <jamatos@lyx.org>
690 * lyxlex.[Ch] (findToken): remove function.
692 * ParagraphParameters.C (findToken):
693 * bufferparams.C (findToken): replace call for previous function
694 with local copy. This local function has one more argument, the
695 read string argument.
697 2004-08-16 José Matos <jamatos@lyx.org>
699 * ParagraphParameters.C (write):
700 * Spacing.C (writeFile):
701 * bufferparams.C (writeLaTeX):
702 * lyx_cb.C (Reconfigure):
703 * paragraph.C (write):
704 * tabular.C (write): remove unnecessary space at end of line.
707 2004-08-16 José Matos <jamatos@lyx.org>
709 * text.C (readParagraph): remove debug message.
711 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
713 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
716 * output_plaintext.C (asciiParagraph): set depth correctly
718 * outputparams.h: add member depth
720 * paragraph_funcs.C (ownerPar): remove.
722 * text2.C (setCounter): remove first_pit; comment out some
723 non-working code that uses ownerPar
725 * BufferView.C (getParentLanguage): remove. Not used anymore, and
728 2004-08-16 José Matos <jamatos@lyx.org>
730 * text.C (readParToken, readParagraph, read): report all unknown tokens.
731 For the same level of importance use the same chanel to report problems.
732 (read): add code to deal with \begin_body and \end_body.
735 2004-08-15 José Matos <jamatos@lyx.org>
737 * lyxlex.C (getString): fix comment, buffer::readBody is now
740 * tex-strings.C (string_papersize): Default -> default,
741 Custom -> custom, for consistency with other options.
743 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
747 * Makefile.am: support pch
749 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
751 * text.C (readParToken): remove the static LyXFont variable and
752 pass it as a parameter instead. This fixes a nasty bug where an
753 inset will be inserted with a bad font in some situations
754 (readParagraph): adapt
756 * text2.C (setCounter): reduce number of calls to pars_[pit]
758 * text.C (singleWidth): add an assert, fix a test
760 * rowpainter.C (paintText): reduce number of calls to singleWidth
762 * paragraph.C (isHfill):
765 2004-08-14 André Pönitz <poenitz@gmx.net>
770 * lyxtext.h (several functions): use a Paragraph & argument
773 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
775 * metricsinfo.h: add a new field ltr_pos to PainterInfo
777 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
779 * text.C (singleWidth): remove useless test
781 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
783 * tabular.h: remove bogus comments
785 * tabular.C (getDescentOfRow):
786 (isPartOfMultiColumn): add assertions
788 * lyxlength.C (inPixels): remove #warning
790 2004-08-14 André Pönitz <poenitz@gmx.net>
792 * paragraph.h: inline getChar()
794 * BufferView.h: remove unused declarations
796 2004-08-14 José Matos <jamatos@lyx.org>
798 * Buffer.[Ch] (readDocument): new name for old readBody.
799 * Buffer.C: new file format, new keywords: \begin_document,
800 \begin_header, \begin_body, \end_body.
802 * bufferparams.C (readToken): replace all calls to lex.nextToken
803 by lex.next(). Do the same to eatLine except where really needed.
805 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
806 line when writing to the lyx file.
808 * output_plaintext.C (asciiParagraph): fix Bibliography style
811 * text.C (read): fix end of file handling.
813 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
815 * MenuBackend.C (Menu::operator[]): new method to access
816 individual menu items
817 (Menu::hasFunc): new method. search for an item that corresponds
819 (MenuBackend::specialMenu): new method
820 (MenuBackend::expand): if a special menu has been set, skip
821 entries whose func() appears in this menu
823 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
825 * text3.C: use Debug::DEBUG a bit more
827 * text.C (leftMargin): try to simplify a tiny bit change var x to
828 l_margin. Dont output the wide margins always.
829 (rightMargin): no margin in inner texts
831 * rowpainter.h (nestMargin): new func
832 (changebarMargin): new func
833 (rightMargin): new func
835 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
839 * factory.C (createInset): modify setDrawFrame
841 * cursor.C: use Debug::DEBUG a bit more
843 2004-08-14 André Pönitz <poenitz@gmx.net>
846 * Makefile.am: new files to accomodate an 'external' (x,y)-position
847 cache for all insets in (at least partially) visible (top-level)
850 * BufferView_pimpl.C: reset external coord cache before every update.
851 This means the coord cache only contains valid entries.
853 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
856 * BufferView_pimpl.C (getInsetByCode): move function out of class
857 and change in to a template in anon namespace. Also fix to do what
860 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
863 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
865 (breakParagraph): rename par to par_offset and use a local
866 reference. Add code to keep the language over a rebreak.
867 (breakParagraphConservative): rename par to par_offset, use a
869 (mergeParagraph): ditto
871 (isFirstInSequence): ditto
872 (outerFont): rename pit to par_offset
874 * paragraph.C: ws change
879 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
881 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
884 * paragraph.C (simpleTeXOnePar): when we have a \item with
885 optional argument, enclose the argument with curly brackets (in
886 case it contains a closing square bracket)
890 * text3.C (checkInsetHit): constify
892 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
894 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
897 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
899 Fix toggling of collapsable insets with the mouse (bug 1558)
901 * lyxfunc.C (dispatch): adapt to LCursor changes
903 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
904 make sure that dispatch is not invoked twice
906 * cursor.C (needsUpdate): new method
907 (dispatch): return void
908 (result): new method, to access the DispatchResult of the cursor.
910 2004-08-13 José Matos <jamatos@lyx.org>
912 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
914 2004-08-13 André Pönitz <poenitz@gmx.net>
916 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
918 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
921 2004-08-12 André Pönitz <poenitz@gmx.net>
923 * text3.C: take out the 'cursor right' form insertInset and only
924 do it in those places when it is really needed. Fixes crash on
927 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
929 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
931 * BufferView_pimpl.C (setBuffer): initialize the current font of
932 the underlying LyXText
934 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
936 * kbsequence.C (print): use UI native formatting for menu
939 * text.C (insertChar): call Paragraph::insertChar with a font
942 * paragraph.C (insertInset, insertChar): the version that takes a
943 LyXFont argument is now a wrapper around the other one (the
944 opposite used to be true).
946 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
947 argument. Font setting is done in Paragraph now.
949 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
951 * outputparams.h: add new members intitle and lang.
953 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
954 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
956 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
958 * text3.C (dispatch): remove special handling of button 4 and 5,
959 it is now taken care of in the frontend code.
961 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
963 * Spacing.h: add <string> (STLPort compile fix)
965 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
967 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
969 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
971 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
974 * converter.C (showMessage): inherit from unary_function, make
977 * buffer.C (writeFile): initialize retval
979 * InsetList.h: rename private variable list to list_
980 * InsetList.[Ch]: adjust accordingly.
982 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
984 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
985 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
986 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
987 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
988 * ParagraphParameters.C, LaTeXFeatures.C: replace
989 "support/std_sstream.h" with <sstream>
991 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
993 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
994 * lyxsocket.C (LyXServerSocket): ditto
995 (serverCallback): ditto
997 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
999 * LaTeXFeatures.C: check release date when loading jurabib.
1001 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1003 * lyxserver.C (startPipe): call register_socket_callback
1004 (endPipe): call unregister_socket_callback
1006 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1008 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1009 (LyXServerSocket): register the callback
1010 (LyXServerSocket): unregister the callback
1011 (fd): delete function
1012 (serverCallback): improve error checking and setup the callbacks.
1013 (dataCallback): change arg to fd.
1014 (writeln): new func (copied fro the client socket) used for server
1016 (LyXDataSocket): simplify
1017 (~LyXDataSocket): close ann unregiser callback
1018 (server): delete function
1019 (fd): delete function
1020 (readln): small changes, improve some std::string usage
1021 (writeln): constify a bit
1023 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1025 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1028 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1030 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1031 after it has been populated
1033 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1035 * text2.C (insertInset): move cursor when inserting inset.
1037 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1039 * kbmap.C (findbindings): a couple of new methods. returns a
1040 container of kb_sequence objects. The real work is done by the
1041 private recursive version
1042 (printbindings): uses findbindings to print out a bracketed list
1043 of bindings (renamed from findbinding).
1045 * MenuBackend.C (binding): use kb_keymap::findbindings
1047 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1049 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1051 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1053 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1055 * paragraph.C (isWord): return true on insets that report
1058 * text.C (getWord): use Paragraph::isWord to decide what is in a
1059 word and what is not; fix bug 1609.
1061 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1063 * tex-strings.C: add "none" to string_paperpackages[], fixes
1064 off-by-one-error in the paperpackage selection.
1067 * tex-strings.[Ch]: char const * string[n]
1068 -> char const * const string[]
1070 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1072 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1073 command, return early.
1075 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1077 * debug.h: add DEBUG to enum and fix size of ANY.
1079 * debug.C: add support for Debug::DEBUG
1080 (showTags): cast errorTags.level to unsigned int
1082 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1083 (redoCurrentBuffer): ditto
1084 (updateScrollbar): ditto
1085 * cursor.C (dispatch): ditto
1086 * text2.C (setLayout): ditto
1088 (updateCounters): ditto
1090 (deleteEmptyParagraphMechanism): ditto
1092 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1094 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1095 annotations to cleanup the Makefile slightly.
1097 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1099 * lyxrc.C: do not set user_email to a default value but use empty
1100 instead. The entry used to be translated, which does not work
1101 since at the point where lyxrc is constructed there is no
1102 translation service available
1104 * messages.C (getLocaleDir): remove and use directly
1105 lyx_localedir() instead
1107 2004-06-02 Angus Leeming <leeming@lyx.org>
1109 Fix crash caused by dereferencing null pointer 'exportdata' in
1110 OutputParams by creating a new ExportData variable on the heap,
1111 storing it in a boost::shared_ptr.
1112 The crash was triggered when generating an Instant Preview
1113 of an external inset.
1115 * Makefile.am: add outputparams.C
1117 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1118 (c-tor): allocate memory to it.
1120 * exporter.C (c-tor): associated changes.
1122 2004-06-01 Angus Leeming <leeming@lyx.org>
1124 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1125 contains data before calling isInset(0). (Bug 1513.)
1127 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1129 * exporter.C (checkOverwrite): new method
1130 * exporter.C (copyFile): new method
1131 * exporter.C (Export): copy referenced files to the document dir
1132 * exporter.[Ch]: new class ExportedFile
1133 * exporter.[Ch]: new class ExportData. Contains currently the
1134 names of referenced external files
1135 * outputparams.h: add exportdata member.
1137 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1139 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1142 2004-05-19 Angus Leeming <leeming@lyx.org>
1147 * lyxfunc.C: small changes due to the introduction of namespace
1148 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1150 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1152 * text3.C (dispatch): supress update when only moving the cursor
1153 * cursor.C (selHandle): remove commented code
1155 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1157 * paragraph.C (startTeXParParams): correct column count
1158 * CutAndPaste.C (pasteSelection): remove const_cast
1159 * output_docbook.C (docbookParagraphs): remove const_cast
1160 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1161 const_cast and return ParagraphList::const_iterator
1162 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1163 * output_plaintext.C (writeFileAscii): remove const_cast
1164 * paragraph.[Ch] (simpleTeXOnePar): make const
1165 * paragraph_funcs.C (outerPar): use const iterators
1166 * paragraph_pimpl.C (validate): use const iterators
1167 * text.C (setHeightOfRow): use const iterators
1169 2004-05-17 Angus Leeming <leeming@lyx.org>
1172 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1174 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1175 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1176 if the citation engine has changed.
1178 2004-05-14 José Matos <jamatos@lyx.org>
1180 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1181 if the textclass does not provide it. Have it different for sgml and
1183 support the language of document.
1184 * output_docbook.C (docbookParagraphs):
1185 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1186 first anchor as the id of the paragraph, remove special case code.
1187 * sgml.C (escapeChar): escape only < & >.
1189 2004-05-14 Angus Leeming <leeming@lyx.org>
1191 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1192 dependencies on src/frontends/controllers/biblio.h. Define a
1193 CiteEngine_enum wrapper class to enable the enum to be forward
1196 2004-05-12 Angus Leeming <leeming@lyx.org>
1198 * buffer.C: up LYX_FORMAT to 234.
1199 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1200 use_numerical_citations with a single biblio::CiteEngine cite_engine
1202 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1204 2004-05-13 José Matos <jamatos@lyx.org>
1207 * converter.C (Converter, readFlags): add xml member.
1208 * outputparams.h: add XML flavor.
1209 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1211 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1213 * lyxfunc.C (dispatch):
1214 (getStatus): fix handling of LFUN_SEQUENCE
1216 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1218 * debug.C (showLevel): do not forget the end-of-line marker
1220 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1222 * kbmap.C (read): do not stop parsing a bind file when an error
1225 2004-04-29 Angus Leeming <leeming@lyx.org>
1230 * text2.C: wrap a bunch of #warning statements
1231 inside #ifdef WITH_WARNINGS blocks.
1233 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1235 * buffer.C: increment format to 233.
1237 2004-04-28 Angus Leeming <leeming@lyx.org>
1239 * BufferView_pimpl.C:
1242 s/updateToolbar()/updateToolbars()/
1243 s/Toolbar.h/Toolbars.h/
1245 2004-04-28 Angus Leeming <leeming@lyx.org>
1247 * BufferView.[Ch] (c-tor):
1248 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1249 No longer passes these data to the WorkArea generator.
1251 2004-04-28 Angus Leeming <leeming@lyx.org>
1253 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1255 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1257 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1259 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1261 * output_latex.C (TeXEnvironment): make sure that there is a line
1262 break before \end{foo} for the last paragraph of a document
1263 (TeXOnePar): if the paragraph is at the end of the document (or
1264 inset) and the language has to be reset, then make sure that the
1265 line break is _before_ the language command, not after (fixes bug
1266 1225); also make sure that the language reset command is the first
1267 thing after the paragraph (to ensure proper nesting of
1268 environments and thus fix bug 1404)
1270 2004-04-21 John Levon <levon@movementarian.org>
1273 * ToolbarBackend.C: make "name" be a programmatic name
1274 and a gui_name field.
1276 * lyxfunc.C: display the minibuffer on M-x
1278 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1280 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1283 2004-04-19 Angus Leeming <leeming@lyx.org>
1285 * BufferView_pimpl.C (setBuffer): changed preview interface.
1287 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1290 2004-04-19 John Levon <levon@movementarian.org>
1292 * BufferView_pimpl.C:
1293 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1295 2004-04-05 Angus Leeming <leeming@lyx.org>
1297 * text.C (redoParagraphs): add call to updateCounters(), thereby
1298 fixing the missing "Figure #:" label from the caption of a
1301 2004-04-13 Angus Leeming <leeming@lyx.org>
1303 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1304 cursor is clicked out of an inset.
1306 2004-04-13 Angus Leeming <leeming@lyx.org>
1308 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1309 than an InsetOld one.
1311 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1313 * format.[Ch]: add editor to Format
1314 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1315 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1317 2004-04-08 André Pönitz <poenitz@gmx.net>
1319 * metricsinfo.h: remove PainterInfo::width member
1321 2004-04-08 Angus Leeming <leeming@lyx.org>
1323 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1324 "\providecommand" rather than "\newcommand", thereby preventing
1325 clashes with packages that define "\boldsymbol" themselves.
1328 2004-04-08 Angus Leeming <leeming@lyx.org>
1330 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1331 thereby squashing an unnecessary warning.
1333 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1335 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1338 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1340 * BufferView.C (setCursor): call redoParagraph (some insets could
1342 (putSelectionAt): remove the 'double update' trick
1344 * BufferView_pimpl.C (fitCursor): call refreshPar
1345 (workAreaDispatch): remove an uneeded update call
1346 (dispatch): remove some manual update calls
1348 * cursor.[Ch]: remove cached_y_, updatePos
1349 (selHandle): set noUpdate when appropriate
1351 * lyxfunc.C (dispatch): track if we need an update
1353 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1355 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1356 (paintSelection): cheap optimization, do not call cursorX when not
1358 (paintPars): change signature
1361 (paintTextInset): adjust
1365 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1367 * lengthcommon.C: compilation fix: remove explicit array size from
1368 unit_name[] and friends
1370 2004-04-05 Angus Leeming <leeming@lyx.org>
1372 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1374 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1375 present only for the preferences dialog.
1376 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1378 2004-04-05 Angus Leeming <leeming@lyx.org>
1380 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1381 to enable the frontends to export changes to lyxrc correctly.
1383 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1385 2004-04-07 André Pönitz <poenitz@gmx.net>
1387 * cursor.[Ch] (selClear, adjust): remove math
1389 * cursor_slice.C: more agressive assert
1392 * BufferView_pimpl.C: rework mouse event dispatch
1399 2004-04-05 André Pönitz <poenitz@gmx.net>
1401 * cursor.[Ch] (valign, halign...): remove unneeded functions
1403 2004-04-05 Angus Leeming <leeming@lyx.org>
1405 * lyxlength.[Ch] (unit_name et al.): const-correct.
1407 2004-04-05 Angus Leeming <leeming@lyx.org>
1409 * BufferView_pimpl.C:
1418 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1420 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1422 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1424 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1426 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1427 * BufferView_pimpl.[Ch] (getStatus)
1428 * BufferView.[Ch] (getStatus): add
1429 * lyxfunc.C (getStatus): move lfuns handled in
1430 BufferView::dispatch to te function above
1431 * Cursor.C (setSelection): set selection() = true
1433 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1435 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1437 2004-03-31 Angus Leeming <leeming@lyx.org>
1439 * lyxfunc.C (dispatch): Fall through to the generic
1440 Dialogs::show("preamble").
1442 2004-03-31 Angus Leeming <leeming@lyx.org>
1444 * lyxfunc.C (dispatch): Fall through to the generic
1445 Dialogs::show("spellchecker").
1447 2004-03-31 Angus Leeming <leeming@lyx.org>
1449 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1452 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1457 * insetiterator.[Ch]:
1462 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1464 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1466 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1467 insets where we are putting the cursor.
1469 2004-03-31 Angus Leeming <leeming@lyx.org>
1472 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1474 * lyxrc.[Ch] (read, write): overloaded member functions taking
1475 a std::[io]stream arguments.
1477 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1479 2004-03-31 Angus Leeming <leeming@lyx.org>
1481 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1482 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1484 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1485 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1487 2004-03-31 Angus Leeming <leeming@lyx.org>
1489 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1490 the LFUN_ALL_INSETS_TOGGLE code.
1492 2004-03-30 Angus Leeming <leeming@lyx.org>
1494 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1495 has died. Fall through to the generic Dialogs::show("document").
1497 2004-03-30 Angus Leeming <leeming@lyx.org>
1500 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1501 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1503 * lyxfunc.C (getStatus, dispatch): define the actions for these
1504 lfuns. Little more than a cut and pste job from ControlDocument.C
1506 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1508 2004-03-30 Angus Leeming <leeming@lyx.org>
1511 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1512 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1514 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1515 open/closed state of ollapsable insets. Usage:
1517 all-inset-toggle <state> <name>, where
1518 <state> == "open" || "closed" || "toggle" and
1519 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1521 * lyxtext.h, text2.C (toggleInset): removed.
1523 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1524 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1525 now passes LFUN_INSET_TOGGLE to the found inset.
1527 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1528 is now invoked as "all-insets-toggle toggle branch".
1530 2004-03-30 Angus Leeming <leeming@lyx.org>
1534 * pariterator.[Ch]: added/corrected header blurb.
1536 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1538 * dociterator.[Ch]: add an inset_ member
1539 (backwardPos): implemented
1540 (backwardPos, forwardPos): use inset_ when the stack is empty.
1541 (doc_iterator_begin, doc_iterator_end): implemented
1542 * pariterator.[Ch]: adjust, add begin, end
1543 * insetiterator.[Ch]: adjust, add begin, end
1547 * BufferView_pimpl.C:
1548 * CutAndPaste.C: adjust
1550 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1552 * buffer.C: increment file format to 232.
1553 * LaTeXFeatures.C: add bibtopic package.
1554 * bufferparams.[Ch]: param \use_bibtopic.
1556 * lyxrc.[Ch]: add lyxrc bibtex_command
1557 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1559 * buffer.C: increment file format to 231.
1561 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1563 * dociterator.C: implement forwardPar
1564 * iterators.[Ch]: remove, replaced by
1565 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1567 * BufferView_pimpl.C:
1570 * bufferview_funcs.C:
1576 * Makefile.am: adjust
1578 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1580 * CutAndPaste.C (pasteSelection): fix 2 crashes
1581 (eraseSelection): fix a crash
1582 * paragraph_funcs.C: remove a warning
1584 2004-03-28 Angus Leeming <leeming@lyx.org>
1587 * LyXAction.C (init): new LFUN_PRINT.
1589 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1591 2004-03-27 Angus Leeming <leeming@lyx.org>
1594 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1596 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1598 2004-03-27 Angus Leeming <leeming@lyx.org>
1600 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1601 insetlist always contains non-null pointers to insets.
1603 2004-03-26 Angus Leeming <leeming@lyx.org>
1605 * src/BufferView_pimpl.C:
1606 * src/CutAndPaste.C:
1609 * src/output_plaintext.C:
1610 * src/outputparams.h:
1611 * src/paragraph_funcs.C:
1615 * src/frontends/controllers/ControlErrorList.C:
1616 * src/frontends/gtk/FileDialogPrivate.C:
1617 * src/frontends/gtk/GPainter.C:
1618 * src/frontends/gtk/GToolbar.C:
1619 * src/frontends/qt2/QRef.C:
1620 * src/mathed/math_scriptinset.C: squash compiler warnings.
1622 2004-03-26 Angus Leeming <leeming@lyx.org>
1624 * ispell.C (LaunchIspell::start):
1625 * lyx_cb.C (AutoSaveBuffer::start):
1626 invoke run(DontWait) rather than runNonBlocking().
1628 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1630 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1632 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1634 * kbsequence.C (print): adjust
1636 * kbmap.C (printKeySym): rename and change signature
1637 (printKey): use LyXKeySym::print()
1639 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1641 * undo.C: add using std::advance to compile for stlport
1643 2004-03-24 Angus Leeming <leeming@lyx.org>
1645 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1646 it leads to a crash when no buffer is present.
1648 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1649 Martin Vermeer <martin.vermeer@hut.fi>
1651 * lyxfunc.C (dispatch):
1652 * bufferparams.C (readToken): use the new LColor::setColor
1654 * LColor.[Ch] (setColor): new version that takes two strings as
1655 argument and creates a new color entry if necessary
1657 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1659 * buffer.C (makeLaTeXFile): if the main latex file that is
1660 processed is usually a subdocument of some master, then pretend
1661 for a while that it is actually the master
1663 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1665 * buffer.C (getLabelList):
1666 (getBibkeyList): use getMasterBuffer()
1667 (getMasterBuffer): new method. Returns the main document in the
1668 case where one is using included documents.
1670 2004-03-25 André Pönitz <poenitz@gmx.net>
1674 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1676 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1678 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1679 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1681 * ParameterStruct.h: merge with ParagraphParameters
1683 * lyxtext.h: remove LyXText::parOffset() and getPar()
1685 * text3.C: Remove all 'manual' update calls. We do now one per user
1686 interaction which is completely sufficient.
1690 * BufferView_pimpl.C:
1691 * FontIterator.[Ch]:
1693 * ParagraphParameters.[Ch]:
1698 * cursor_slice.[Ch]:
1705 * output_docbook.[Ch]:
1706 * output_latex.[Ch]:
1707 * output_linuxdoc.[Ch]:
1708 * output_plaintext.[Ch]:
1710 * paragraph_funcs.[Ch]:
1711 * paragraph_pimpl.[Ch]:
1719 * frontends/controllers/ControlDocument.C:
1720 * frontends/controllers/ControlErrorList.C:
1721 * frontends/controllers/ControlSpellchecker.C:
1724 * insets/insetbase.h:
1725 * insets/insetbibitem.C:
1726 * insets/insetbox.C:
1727 * insets/insetbranch.C:
1728 * insets/insetcaption.C:
1729 * insets/insetcharstyle.C:
1730 * insets/insetcharstyle.h:
1731 * insets/insetcollapsable.C:
1732 * insets/insetcollapsable.h:
1733 * insets/insetert.C:
1734 * insets/insetfloat.C:
1735 * insets/insetfoot.C:
1736 * insets/insetmarginal.C:
1737 * insets/insetnote.C:
1738 * insets/insetoptarg.C:
1739 * insets/insettabular.C:
1740 * insets/insettext.C:
1741 * insets/insettext.h:
1742 * insets/insetwrap.C:
1743 * mathed/math_mboxinset.C:
1744 * mathed/math_nestinset.C:
1745 * mathed/math_scriptinset.C:
1746 * mathed/math_scriptinset.h:
1749 2004-03-24 Angus Leeming <leeming@lyx.org>
1751 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1752 deal with any child processes that have finished but are waiting to
1753 communicate this fact to the rest of LyX.
1755 2004-03-24 Angus Leeming <leeming@lyx.org>
1757 64-bit compile fixes.
1759 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1760 (c-tor): pass lyx::pos_types rather than ints.
1762 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1765 * text.C (Delete): compile fix.
1766 (getPar): ensure that function declaration is the same as that in
1769 2004-03-23 Angus Leeming <leeming@lyx.org>
1771 * ispell.C (LaunchIspell):
1772 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1773 a boost::shred_ptr rather than a std::auto_ptr.
1775 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1777 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1778 handle LFUN_FILE_INSERT_*
1780 * lyxrc.C (setDefaults, getDescription, output, read):
1781 * lyxrc.h: remove ps_command
1783 2004-03-22 Angus Leeming <leeming@lyx.org>
1785 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1786 Ensure that error_handler is processed once only and that all data
1787 is saved before attempting to output any warning messages.
1789 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1791 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1793 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1795 2004-03-19 André Pönitz <poenitz@gmx.net>
1797 * cursor.[Ch] (reset): take main text inset as argument
1799 * BufferView: adjust
1800 * BufferView_pimpl.C: adjust
1802 * paragraph.[Ch]: fix completely broken operator=()
1804 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1806 * LColor.C (getFromLyXName): make sure that the color name is used
1809 2004-03-17 Angus Leeming <leeming@lyx.org>
1812 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1814 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1815 dialog and to kill a forked process.
1817 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1819 * text2.C (setCursorFromCoordinates): fix font problem
1821 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1823 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1824 bogus "rebuild cursor" code
1826 2004-03-11 André Pönitz <poenitz@gmx.net>
1828 * buffer.[Ch]: use InsetText instead of LyXText as container for
1831 * dociterator.[Ch]: drop the BufferView * member which is not needed
1832 anymore after the change to buffer.C
1834 * paragraph_funcs.C:
1838 * BufferView_pimpl.[Ch]:
1840 * cursor_slice.[Ch]: adjust
1842 * text3.C: fix bug in mathDispatch
1844 2004-03-08 André Pönitz <poenitz@gmx.net>
1846 * undo.[Ch]: use 'StableDocumentIterator' as base for
1849 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1852 * bufferparams.[Ch]: add jurabib support and param.
1854 * LaTeX.C: add FIXME/comment.
1856 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1858 * buffer.C: increment file format to 230.
1860 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1862 * cursor.C (dispatch): avoid infinite loops
1864 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1866 * rowpainter.C (paintSelection): fix x coordinates
1868 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1870 * text.C (rowBreakPoint): fix breaking before displayed insets
1872 2004-03-01 André Pönitz <poenitz@gmx.net>
1874 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1876 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1880 * BufferView_pimpl.C:
1888 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1894 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1895 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1897 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1899 * Bidi.[Ch] (computeTables): const correctness
1900 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1901 fill_hfill, fill_label_hfill and x from Row
1902 * lyxtext.h: prepareToPrint returns a RowMetrics
1903 * rowPainter.C: adjust
1904 * text.C (prepareToPrint): use width, not textWidth. adjust
1905 (redoParagraphInternal, cursorX): adjust
1906 * text2.C (getColumnNearX): adjust
1907 (init): put a default value to the top LyXText::width
1909 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1911 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1913 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1915 * lyxtext.h: add FontIterator class
1917 * text.C (FontIterator, operator*, operator->, operator++): add
1918 (rowBreakPoint, setRowWidth): adjust (fixing a
1921 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1923 * BufferView_pimpl.C (workAreaDispatch): allow also
1924 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1926 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1928 * text.C (rowBreakPoint): fix a bug showing with very large insets
1930 2004-02-25 André Pönitz <poenitz@gmx.net>
1933 * cursor.[Ch]: move some mathed specific code to mathed
1935 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1937 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1938 use_tempdir in preferences
1939 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1941 * lyx_main.C: ensure that tempdir is valid
1942 * lyxlex.h: correct typo
1943 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1944 * paragraph.[Ch] (isMultiLingual): make const
1945 * cursor.[Ch] (openable): make const
1947 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1949 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1951 2004-02-20 André Pönitz <poenitz@gmx.net>
1953 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1955 * cursor.[Ch]: prepare for localized getStatus()
1961 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1963 2004-02-20 André Pönitz <poenitz@gmx.net>
1965 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1967 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1969 * text2.C (setCursorFromCoordinates): switch to absolute coords
1971 (cursorDown): adjust
1972 * text3.C (dispatch): adjust
1974 2004-02-16 André Pönitz <poenitz@gmx.net>
1976 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1979 * cursor_slice.[Ch]: remove unneeded acessor function
1981 * lyxtext.h: rename rtl() to isRTL()
1989 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1991 * rowpainter.C (paintSelection): coord fix
1993 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1995 * Spacing.C: compile fix
1997 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1999 * cursor.C (dispatch): restore current_ before returning
2001 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2003 * text2.C (cursorUp, cursorDown): fix coords
2006 2004-02-12 André Pönitz <poenitz@gmx.net>
2011 * text3.C: add LCursor & parameter to most cursor movement functions
2012 remove usage of LyXText::cursorRow() and cursorPar()
2014 * cursor.[Ch]: add textRow() needed members
2017 * BufferView_pimpl.C:
2020 * BufferView_pimpl.C: adjust
2022 2004-02-11 André Pönitz <poenitz@gmx.net>
2026 * BufferView_pimpl.C: shift undo/redo handling
2028 * cursor.[Ch]: fix mathed crash
2031 * lyxtext.h: move selectionAsText to LCursor
2039 * rowpainter.C: fix excessive drawing
2041 2004-02-06 André Pönitz <poenitz@gmx.net>
2044 * BufferView_pimpl.[Ch]:
2045 * text3.C: move some text specific LFUN handling
2047 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2049 * text3.C (checkInsetHit): adjust coords
2050 * text2.C (getColumnNearX): adjust coords
2051 (edit): adjust coords
2052 * text.C (getRowNearY): add two asserts
2054 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2057 * format.C: add using std::distance to compile on gcc 2.95/stlport
2059 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2061 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2063 2004-02-04 André Pönitz <poenitz@gmx.net>
2065 * BufferView.[Ch] (insertInset):
2066 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2071 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2073 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2074 on the default clause of the switch
2075 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2076 wasn't catched by LCursor::dispatch
2078 2004-02-03 André Pönitz <poenitz@gmx.net>
2081 * cursor.[Ch]: some additional asserts
2083 * undo.[Ch]: remove LyXText dependency in interface
2087 * lyxtext.h (firstPar, lastPar): remove dead functions
2092 * paragraph.[Ch]: adjust
2094 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2096 * lyxfind.C (find): fix argument order in call to ::find
2098 2004-02-02 André Pönitz <poenitz@gmx.net>
2100 * cursor.[Ch]: remove direct access to anchor
2102 * text.C: remove findText() hack
2104 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2106 * iterators.[Ch] (lockPath): remove in favour of...
2107 * BufferView.[Ch] (setCursor): this addition
2108 * BufferView.C (putSelectionAt): adjust
2109 * undo.C (performUndoOrRedo): adjust
2110 * lyxfunc.C (dispatch): adjust
2112 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2114 * iterators.C (lockPath): add a missing slice
2115 * undo.C (performUndoOrRedo): remove redundant positioning code
2117 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2119 * vc-backend.C (scanMaster): ";" -> ';'
2121 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2123 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2124 std::binary_function
2126 * lyxtextclass.C (compare_name): rename to...
2127 (LayoutNamesEqual): ...this
2129 * lyxlex_pimpl.C (compare_tags): inherit from
2130 std::binary_function, put back into anon namespace
2132 * lyxfind.C (MatchString): inherig from std::binary_function
2133 (findChange): use empty() istead of !size()
2135 * format.C (FormatNamesEqual): new functor
2142 * converter.C (compare_Converter): rename to...
2143 (ConverterEqual): ...this, and fixup a bit.
2144 (getConverter): use it, and make function const
2145 (getNumber): use it, and make function const
2149 * bufferlist.C: add using boost::bind
2151 * MenuBackend.C (MenuNamesEqual): new functor
2152 (hasMenu): use it, and make function const
2153 (hasSubmenu): use nested bind to get rid of compare_memfun.
2155 2004-01-30 André Pönitz <poenitz@gmx.net>
2157 * BufferView_pimpl.C:
2160 * cursor_slice.[Ch]:
2163 * paragraph_funcs.C:
2164 * paragraph_funcs.h:
2168 * text3.C: move some of the edit(x,y) handling to the insets
2169 some coordinate changes.
2171 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2173 * text.C: add using statements for std::advance and std::distance
2175 * paragraph.C: add using statement for std::distance
2177 * lyxfind.C: add using statement for std::advance
2179 * cursor.C (region): remove std:: from swap
2180 (openable): use nucleus in stead of operator->
2182 * BufferView.C: add using statements for std::distance and std::swap
2184 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2186 * iterators.C: Remove the pimple, move the needed structures to
2187 the header file. Create accessor for the positions stack.
2188 (asPosIterator): remove function
2190 * PosIterator.C (PosIterator): move constructors to top of file
2191 (PosIterator): reimplement the constructor taking a ParIterator in
2193 (setFrom): new function
2194 (operator!=): inline it
2196 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2198 * lyxfind.C (replaceAll): use std::advance
2200 * iterators.h: inherit from std::iterator.
2202 * PosIterator.C (advance, distance): remove
2203 * PosIterator.h: interit from std::iterator.
2205 2004-01-26 André Pönitz <poenitz@gmx.net>
2208 * BufferView_pimpl.[Ch]:
2212 * bufferview_funcs.C:
2222 * output_linuxdoc.C:
2223 * output_plaintext.C:
2225 * paragraph_funcs.[Ch]:
2226 * paragraph_pimpl.[Ch]:
2232 * text3.C: more IU: dumps most of the rest of the mathcursor
2233 implementation into cursor.[Ch]; "globalize" a bit of it.
2235 2004-01-25 Angus Leeming <leeming@lyx.org>
2237 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2239 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2241 * LaTeXFeatures.h: add nice_ and nice() const
2242 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2244 2004-01-20 André Pönitz <poenitz@gmx.net>
2247 * BufferView_pimpl.C:
2249 * bufferview_funcs.C:
2251 * cursor_slice.[Ch]:
2262 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2263 LCursor and mathcursor parts to LCursor and InsetBase.
2265 2004-01-15 André Pönitz <poenitz@gmx.net>
2267 * cursor_slice.[Ch]: add a few covienience functions
2269 * funcrequest.[Ch]: remove BufferView * member
2271 * BufferView_pimpl.C:
2278 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2280 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2282 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2283 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2285 2004-01-13 André Pönitz <poenitz@gmx.net>
2288 * lyxtext.h: hide cursor and selection anchor behind accessor function
2291 * BufferView_pimpl.[Ch]:
2293 * bufferview_funcs.C:
2303 * cursor_slice.[Ch]: some integer type changes for inset unification
2305 * lyxcursor.[hC]: remove, it's CursorSlice now.
2308 * BufferView_pimpl.[Ch]:
2309 * bufferview_funcs.C:
2315 * textcursor.[Ch]: adjust
2317 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2319 * text2.C (undoSpan): add and use
2320 * text.C (breakParagraph): use undoSpan (fix bug 578)
2323 2004-01-08 Angus Leeming <leeming@lyx.org>
2325 * BufferView_pimpl.C (MenuInsertLyXFile):
2326 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2327 * lyxfunc.C (menuNew, open, doImport):
2328 FileFilterList change to the FileDialog open and save functions.
2330 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2332 * ShareContainer.h: make isEqual and isUnique adaptable
2334 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2336 2004-01-07 Angus Leeming <leeming@lyx.org>
2339 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2341 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2343 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2344 functions replacing find, replace and replaceAll.
2346 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2347 LFUN_WORDFIND(FORWARD|BACKWARD).
2349 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2351 * text.C (breakParagraph): remove an outdated #warning
2353 2004-01-07 André Pönitz <poenitz@gmx.net>
2355 * lyxfind.C: somewhat clearer logic
2357 * text.C: prevent crash in cursorX on unitialized row cache
2359 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2361 * lyxcursor.[Ch] (operator>): add
2362 * textcursor.C (selStart, selEnd): use std::min and std::max
2364 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2366 * Chktex.C: include boost/format.hpp
2368 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2370 * InsetList.C: replace functor MathcIt with adaptable functor
2372 (insetIterator): modify accordingly
2374 * BranchList.h: move the BranchNamesEqual functor here from...
2375 * BranchList.C: ... to here
2377 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2379 (add): replace a finding loop with std::find_if.
2381 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2383 * output_docbook.C: moving LatexParam functionality into
2386 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2388 * buffer.C: increment format to 229.
2390 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2393 * lyx_sty.[Ch]: remove minipageindent_def
2399 * text3.C: remove LFUN_INSET_MINIPAGE
2401 2003-12-28 Angus Leeming <leeming@lyx.org>
2403 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2405 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2407 * text2.C (setParagraph): fix off-by-one crash
2409 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2411 * output_docbook.C: header stuff for AGU
2413 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2415 * text2.C (redoCursor): remove
2418 * BufferView_pimpl.C: remove calls to redoCursor and
2419 setCursor(cursor.par(), cursor.pos()) all around
2421 2003-12-15 Angus Leeming <leeming@lyx.org>
2423 * buffer.C: up the format to 228.
2425 2003-12-15 André Pönitz <poenitz@gmx.net>
2427 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2432 * BufferView_pimpl.C:
2441 2003-12-15 Angus Leeming <leeming@lyx.org>
2443 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2444 than getFromGUIName to manipulate the color.
2446 2003-12-14 Angus Leeming <leeming@lyx.org>
2448 * BranchList.[Ch]: minimize the API.
2449 (Branch::getBranch, getColor): now return a 'const &'.
2450 (Branch::setSelected) now returns a bool set to true if the
2451 selection status changes.
2452 (BranchList::clear, size, getColor, setColor, setSelected,
2453 allBranches, allSelected, separator): removed.
2454 (BranchList::find): new functions, returning the Branch with
2456 (BranchList::add, remove): return a bool indicating that
2457 the operation was successful.
2459 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2460 new InsetBranch::isBranchSlected member function.
2462 * LColor.[Ch]: mimimize the API.
2463 (fill): renamed as addColor and made private.
2464 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2465 versions of these functions taking a string arg have been removed.
2467 * bufferparams.C (readToken):
2468 * lyxfunc.C (dispatch):
2469 * lyxrc.C (read): changes due to the altered BranchList and
2472 * factory.C (createInset, readInset): changes due to altered
2475 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2478 * lyxfunc.C: remove insetminipage. "minipage-insert"
2479 now produces a frameless minipage box inset.
2481 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2483 * textcursor.[Ch] (selStart,selEnd): add new methods
2484 remove selection::start, end, use LyXCursor::operator<
2485 * lyxcursor.[Ch] (operator<): add
2486 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2487 * BufferView.[Ch] (unsetXSel): add
2488 * text2.C (clearSelection): use unsetXSel,adjust
2491 * rowpainter.C: adjust
2492 * bufferview_funcs.C (put_selection_at): adjust
2494 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2496 * BufferView_pimpl.C: small coord. correction
2498 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2500 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2501 dragging over the splash screen.
2503 2003-12-11 Angus Leeming <leeming@lyx.org>
2505 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2506 as it is now handled in LyXText::dispatch.
2508 * text3.C (doInsertInset): remove a level of nesting.
2510 2003-12-11 Angus Leeming <leeming@lyx.org>
2512 * factory.C (createInset): changes due to the changed interface to
2513 InsetCommandMailer::string2params.
2515 2003-12-10 Angus Leeming <leeming@lyx.org>
2517 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2518 'dialog-show-new-inset <inset name>'
2520 2003-12-10 Angus Leeming <leeming@lyx.org>
2522 * buffer.C: up the format to 227.
2524 * factory.C: the box inset is now identified simply by 'Box'.
2526 2003-12-10 Angus Leeming <leeming@lyx.org>
2528 * buffer.C: up the format to 226.
2530 * factory.C: the note inset is now identified simply by 'Note'.
2532 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2534 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2535 when a pit is enough. Standarize a couple of loops.
2537 2003-12-05 Angus Leeming <leeming@lyx.org>
2539 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2540 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2541 data to the re-worked "log" dialog.
2543 2003-12-03 André Pönitz <poenitz@gmx.net>
2549 * paragraph_funcs.C:
2551 * text2.C: use Inset::getText instead of Inset::getParagraph
2553 2003-12-03 André Pönitz <poenitz@gmx.net>
2557 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2558 InsetText::read() as LyXText::read()
2560 2003-12-02 Angus Leeming <leeming@lyx.org>
2562 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2563 type. Add a comment in the implementation that the function uses
2564 the stream's bad() function rather than fail() as the std::streams
2567 2003-12-02 André Pönitz <poenitz@gmx.net>
2569 * lyxlex.[Ch]: make interface more similar to std::stream
2571 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2573 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2575 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2577 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2579 * vspace.[Ch]: remove VSpace::NONE
2581 2003-12-01 André Pönitz <poenitz@gmx.net>
2584 * lyxtext.h: move ParagraphList member to LyXText
2585 rename LyXText::ownerParagraphs to LyXText::paragraph
2588 * bufferview_funcs.C:
2598 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2600 * undo.C: fix cursor positioning
2602 2003-12-01 John Levon <levon@movementarian.org>
2604 * BufferView_pimpl.C: fix a crash on exit with
2607 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2609 * BranchList.C: fix setSelected() method.
2611 2003-11-28 André Pönitz <poenitz@gmx.net>
2613 * ParagraphParameters.[Ch]:
2614 * ParameterStruct.h: remove space above/below from Paragraph to
2617 * BufferView_pimpl.C:
2623 * paragraph_funcs.C:
2629 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2631 * factory.C: Syntax change for CharStyles
2633 2003-11-28 André Pönitz <poenitz@gmx.net>
2638 * buffer.[Ch]: move LyXText member
2640 2003-11-28 André Pönitz <poenitz@gmx.net>
2642 * BufferView.[Ch]: make LyXText * text a private member
2644 * BufferView_pimpl.C:
2655 * output_plaintext.C: cleanup
2657 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2660 * lyxtextclass.[Ch]: parametrize SGML document header
2662 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2665 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2668 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2670 * text2.C (setFont): rework using PosIterator (no more recursive)
2671 (setCharFont): no more needed
2672 (setLayout): no more selection cursors fiddling (done by redoCursor)
2673 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2674 destroy remaining ones)
2676 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2678 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2680 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2683 * text3.C: adjust + re-allow multi par depth changes
2684 * textcursor.C: simplify a bit
2686 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2692 * src/output_docbook.C:
2693 * src/output_latex.C:
2698 * src/text2.C: Introducing a number of tags parametrizing various
2699 XML formats that we may want to support
2701 2003-11-25 André Pönitz <poenitz@gmx.net>
2703 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2705 * lyxtext.h (leftMargin/rightMargin): simplify interface
2712 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2714 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2715 master file to any child files. Fixes bug 546.
2717 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2719 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2721 2003-11-24 André Pönitz <poenitz@gmx.net>
2723 * rowpainter.C: simplification
2725 * text2.C (updateCounters): remove call to redoParagraph on
2726 changed labels as this is far too expensive.
2728 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2730 * converter.C (convert): fix a crash: this function gets
2731 called with buffer == 0 from importer code.
2733 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2735 * text3.C (cursorPrevious): make sure that we do not compare
2736 iterators form different containers.
2739 * rowpainter.C (paintSelection): make sure that we do not compare
2740 iterators from different containers.
2742 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2743 iterators from different ParagraphList containers.
2746 * text2.C (LyXText): change order of initialization slightly
2747 (operator=): new function. copy all variables except cache_par_
2748 (moveUp): make sure that we do not compare iterators from
2749 different ParagraphList constainers.
2752 * text.C (firstPar): new function
2753 (lastPar): new function
2754 (endPar): new function
2756 * lyxtext.h: move things around and group public functions, public
2757 variables, private functions, private variables
2759 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2761 * factory.C: change call to InsetERT constructor to avoid
2762 additional invocation of method status
2763 * text2.C (toggleInset): remove redundant update() call
2764 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2765 instead of a Bufferview pointer
2767 2003-11-21 André Pönitz <poenitz@gmx.net>
2769 * rowpainter.C: simplification
2771 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2773 * text3.C (dispatch): make possible to extend a word/row selection
2776 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2778 * lyxtext.h: x0_,y0_ -> xo_,yo_
2779 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2780 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2781 * rowpainter.C (paintRows): paint full paragraphs
2783 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2785 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2788 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2790 * lyxtext.h: add x0_, y0_
2791 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2792 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2794 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2796 * text2.C (setCursorIntern): move the x_target update here *
2797 * text3.C: change some bv() to true/false in calls to
2798 cursorUp/Down/Right/Left
2799 * cursor.C: use helper function.
2801 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2803 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2804 * paragraph_funcs.[Ch]: correct comment
2805 * rowpainter.C: do not paint selections away from bv->cursor()
2806 Fix a long standing selection painting bug.
2807 * text3.C: generalize mouse-selection code to LyXTexts other that
2809 * textcursor.C: do not use y coords if we can use par offsets
2811 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2813 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2814 cursor position after e.g. inset insert)
2816 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2818 * lyxfind.C (replace): adjust to locking removal + some
2821 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2823 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2826 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2829 * output_docbook.C: XML sanitation: new layout
2830 parameters InnerTag and CommandDepth
2832 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2834 * BufferView_pimpl.C:
2836 * text3.C: Fix the insertion and modification of button-style
2839 2003-11-13 André Pönitz <poenitz@gmx.net>
2841 * InsetList.[Ch]: remove deleteLyXText
2843 * paragraph.[Ch]: cache beginOfBody position
2848 * text3.C: remove superfluous update() calls
2852 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2854 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2855 * BufferView.C (fitLockedInsetCursor): remove
2856 * cursor.[Ch] (getDim): add
2857 * text.C (getRowNearY): add faster version
2858 * text3.C: remove some update calls
2860 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2872 * text3.C: The Character Style /XML short element patch.
2874 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2877 * factory.C: Small step to solving 'unable to insert some insets'
2880 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2882 * cursor.[Ch] (updatePos): new function for updating the y
2883 position of the tip inset
2884 * bufferview_funcs.C (put_selection_at):
2885 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2887 2003-11-11 André Pönitz <poenitz@gmx.net>
2889 * text.C: remove big comment on invalid Paragraph pointers as it is
2892 2003-11-11 André Pönitz <poenitz@gmx.net>
2894 * text_funcs.[Ch]: merge with ...
2902 * Makefile.am: remove text_funcs.[Ch]
2904 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2906 * cursor.C (getPos): return absolute cached y coord
2908 * BufferView_pimpl.C (fitCursor): new simplistic code
2909 (workAreaDispatch): add a fitCursor call
2911 2003-11-10 André Pönitz <poenitz@gmx.net>
2914 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2916 2003-11-10 André Pönitz <poenitz@gmx.net>
2918 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2919 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2920 indicate that the cursor needs to leave an inset
2922 * lyxtext.h: remove inset locking
2924 * cursor.[Ch]: re-implement functionality provided by inset locking
2927 * BufferView_pimpl.[Ch]:
2929 * bufferview_funcs.[Ch]:
2941 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2943 * PosIterator.[Ch]: replace the stack with a vector, add inset
2945 * iterators.[C]: adjust
2947 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2949 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2951 * paragraph_funcs.C (readParToken): put the correct id in the
2952 error item, not the id of the top paragraph
2954 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2956 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2957 * bufferview_funcs.C (put_selection_at): use the above
2959 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2961 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2963 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2965 * output_linuxdoc.h:
2966 * output_plaintext.h:
2968 * output_docbook.h: add #include statements
2970 2003-11-05 José Matos <jamatos@lyx.org>
2972 * output_docbook.[Ch]:
2973 * output_latex.[Ch]:
2974 * output_linuxdoc.[Ch]:
2975 * output_plaintext.[Ch]: New files for output formats.
2976 * output.[Ch]: New file for helper functions.
2979 * paragraph_funcs.[Ch]: output functions moved to new files.
2981 * outputparams.h: rename of latexrunparams.h
2989 * paragraph_funcs.[Ch]:
2990 * paragraph_pimpl.[Ch]:
2991 * tabular.[Ch]: rename ascii to plaintext
2992 and LatexRunParams to OutputParams.
2994 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2996 * iterators.[Ch] (text): require bv argument
2997 * undo.C (recordUndo):
2998 * lyxfunc.C (dispatch):
2999 * bufferview_funcs.C (put_selection_at): adjust
3001 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3003 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3005 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3007 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3010 2003-11-04 André Pönitz <poenitz@gmx.net>
3012 * cursor.[Ch]: restructure
3015 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3017 * iterators.[Ch] (asCursor): remove
3019 * lfuns.h: remove LFUN_INSET_EDIT
3025 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3027 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3029 * lyxfind.[Ch]: complete overhaul
3030 * BufferView_pimpl.C:
3032 * paragraph.[Ch] (insert): add
3034 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3038 * text.C: remove dead spellcheck code
3040 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3042 * dispatchresult.h: add a val setter
3044 * cursor.C (dispatch): use a tempvar for data_[i]
3046 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3048 * PosIterator.[Ch]: compile fix
3050 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3052 * text.C (cursorPar): deactivate the cursor cache
3054 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3056 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3058 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3060 * text3.C (dispatch): adjust for new DisptchResult semantics.
3062 * lyxfunc.C (dispatch): handle update when return from
3063 Cursor::dispatch, adjust for new DispatchResult semantics.
3065 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3066 DispatchResult(true) mean to not update. Add class functions for
3067 setting dispatched and update, as well as reading.
3069 * cursor.C (dispatch): don't handle update here
3071 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3073 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3074 * trans_mgr.C: adjust
3076 * paragraph_funcs.C (readParToken): exception safety
3078 * lyxvc.h: store the vcs pointer in a scoped_ptr
3081 * lyxsocket.C (serverCallback): exception safety
3083 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3085 * ispell.C (clone): make it return a auto_ptr
3087 * factory.C (createInset): exception safety
3088 (readInset): exception safety
3090 * bufferlist.C (newBuffer): exception safety
3092 * Thesaurus.C (Thesaurus): use initialization for aik_
3094 * MenuBackend.C (expandToc): exception safety.
3096 2003-11-03 André Pönitz <poenitz@gmx.net>
3100 * bufferview_funcs.C: remove getInsetFromId()
3103 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3109 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3111 * PosIterator.C (distance, advance): new
3112 * bufferview_funcs.[Ch] (put_selection_at): new
3113 * iterators.[Ch] (lockPath): new
3115 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3117 * iterators.[Ch] (asPosIterator): added
3118 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3119 * PosIterator.[Ch]: added
3121 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3125 * cursor.C (dispatch):
3126 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3128 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3129 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3130 contructor, add a class function dispatched. Remove operator>=
3132 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3134 * debug.C: only use the default constructor for debugstream
3137 * main.C (main): include debug.h and setup the lyxerr streambuf
3140 2003-10-31 José Matos <jamatos@lyx.org>
3142 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3144 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3145 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3146 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3147 * paragraph_pimpl.C (simpleTeXSpecialC):
3148 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3149 add LatexRunParams argument.
3151 * exporter.C (Export): change call accordingly.
3153 * latexrunparams.h: add new member to take care of the other backends.
3154 2003-10-30 José Matos <jamatos@lyx.org>
3156 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3157 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3158 factorise code for paragraph output.
3160 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3163 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3165 * text3.C (dispatch):
3166 * lyxfunc.C (dispatch):
3167 * cursor.C (dispatch):
3168 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3170 * dispatchresult.h: make the dispatch_result_t ctor explicit
3172 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3175 * buffer.C: small refactoring of docbook stuff
3177 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3179 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3182 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3184 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3185 operator dispatch_result_t, and operators for == != and >=
3187 * cursor.C (dispatch): adjust for operator dispatch_result_t
3188 removal. comment out call to update
3190 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3192 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3200 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3203 * dispatchresult.h: new file, DispatchResult broken out of
3206 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3208 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3210 * text.C (rowBreakPoint): put a hack inside #if 0
3212 2003-10-28 André Pönitz <poenitz@gmx.net>
3216 * paragraph_funcs.C:
3219 * text2.C: general cleanup (lots of small stuff)
3221 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3223 * text2.C (cursorEnd): simple fix to the "end key goes to one
3224 before the end on last row" bug
3226 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3228 * text.C (backspace): fix the "zombie characters"
3230 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3232 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3234 2003-10-27 André Pönitz <poenitz@gmx.net>
3236 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3238 * factory.C: handle new InsetPagebreak, InsetLine
3240 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3241 and move handling into new InsetPagebreak, InsetLine
3243 * BufferView_pimpl.C:
3245 * ParagraphParameters.C:
3246 * ParameterStruct.h:
3251 * paragraph_funcs.C:
3252 * paragraph_pimpl.C:
3258 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3261 * lyxrow_funcs.[Ch]:
3267 * text3.C: remove lastPos uses in favour of Row::endpos
3269 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3271 * undo.C (performUndoOrRedo): fix two crashes by setting a
3272 cursor by hand and reordering some calls. Use bv->lockInset instead
3273 of inset->edit because the latter loses cursor information
3275 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3277 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3279 (rowBreakPoint): fix width. change point to point + 1.
3280 Add a missing check.
3282 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3285 * lyxfunc.C: fix (at least partly) the problems
3286 with the Nav menu and headers inside branch insets
3289 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3291 * paragraph.C (getChar): add strong asserts
3293 * lyxrow_funcs.C (lastPos): remove hideous hack
3295 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3296 (fill): adjust to that (avoid an infinite loop)
3298 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3300 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3302 2003-10-23 André Pönitz <poenitz@gmx.net>
3304 * RowList_fwd.h: change list<> to vector<> to gain speed
3305 after suggestion from Alfredo
3307 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3309 * lyxtext.h: move the bidi stuff from here...
3312 * Bidi.[Ch]: ... to here
3314 2003-10-23 André Pönitz <poenitz@gmx.net>
3317 * text.C (isLastRow, isFirstRow): new functions
3319 * paragraph.h: new width cache member
3321 * rowpainter.C: replace RowList::iterator with Row & where possible
3323 * lyxfunc.C: replace several view()->text with a single call
3325 * toc.C: fix 'unused' warning
3327 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3329 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3330 when woring with stream::pos_type
3331 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3333 2003-10-22 André Pönitz <poenitz@gmx.net>
3336 * text.C: use Row & instead of RowList::iterator
3338 * lyxrow.h: rename end() to endpos()
3344 2003-10-22 Angus Leeming <leeming@lyx.org>
3346 * buffer.[Ch] (fully_loaded): new member function, returning true
3347 only when the file has been loaded fully.
3348 Used to prevent the premature generation of previews and by the
3349 citation inset to prevent computation of the natbib-style label.
3351 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3352 templates are all set up.
3354 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3356 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3358 * text.C: fixed an "oops" in the "is a bit silly"
3361 2003-10-21 André Pönitz <poenitz@gmx.net>
3363 * FuncStatus.[Ch]: small stuff, whitespace
3365 * lyxfont.[Ch]: operator<<() for debug reasons
3369 * lyxtext.h: whitespace, spelling
3371 * paragraph.C: naming of variables
3374 * text2.C: small stuff
3377 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3379 * text.C: (1) finish off the inset display() work;
3380 (2) fix the "is a bit silly" bug (accessing char
3383 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3385 * text.C: re-introduce display() for insets, fixing the
3386 various bugs (stretch of line above, math inset
3389 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3391 * text.C (rightMargin): remove spurious semicolon
3393 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3396 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3398 * text3.C: fix one crash due to wrong cursor def
3400 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3402 * vc-backend.C (scanMaster): make the regex static
3404 * LaTeX.C (scanAuxFile): make the regexs static
3406 * text3.C (doInsertInset, dispatch, dispatch):
3407 * text2.C (cursorUp, cursorDown):
3408 * text.C (selectNextWordToSpellcheck):
3409 * BufferView_pimpl.C (dispatch):
3410 * lyxfunc.C (dispatch): localDispatch -> dispatch
3412 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3414 * lyxsocket.C: include <cerrno>
3416 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3418 * lyxfunc.C (dispatch): remove textcache stuff
3420 * bufferlist.C (release): remove textcache stuff
3423 * TextCache.C: delete file
3424 * TextCache.h: delete file
3426 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3428 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3429 delete of the bv_->text.
3430 (resizeCurrentBuffer): remove texcache stuff
3431 (workAreaResize): ditto
3433 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3435 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3438 2003-10-16 André Pönitz <poenitz@gmx.net>
3445 * text3.C: speed up by storing y positions per paragraph plus per-row
3446 offset instead of having a 'full' y position in the row.
3448 2003-10-15 André Pönitz <poenitz@gmx.net>
3452 * undo.[Ch]: make undo aware of inner insets
3454 2003-10-14 Angus Leeming <leeming@lyx.org>
3456 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3457 static member functions LyX::ref() and LyX::cref.
3458 (lastfiles): new accessor functions for the new lastfiles_ member var.
3459 (addLyXView, views_): add a new LyXView to the list of views_.
3460 (updateInset): loop over all LyXViews to call their own updateInset
3461 member function, returning a pointer to the Buffer owning the inset.
3463 * BufferView_pimpl.C (loadLyXFile):
3464 * MenuBackend.C (expandLastfiles):
3465 * bufferlist.C (MenuWrite, QuitLyX):
3466 lastfiles is no longer a global variable.
3467 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3469 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3470 static function. Access through LyX::cref().emergencyCleanup().
3472 2003-10-14 André Pönitz <poenitz@gmx.net>
3474 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3476 * undo.[Ch]: restoring part of 'undo in insets'
3479 * undo_funcs.[Ch]: merge with undo.[Ch]
3481 * tabular.C: small cleansing stuff
3483 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3485 * paragraph_funcs.C (readParToken): report unknown insets as error
3486 boxes. Use the outer paragraph as location (also for unknown
3489 * factory.C (readInset): do not abort on reading an unknown inset.
3490 Eat it and return 0.
3492 2003-10-13 Angus Leeming <leeming@lyx.org>
3494 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3496 * lyxrc.C: displayTranslator is now a function,
3497 declared in GraphicsTypes.h.
3499 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3501 * format.C: new placeholder $$a to pass the socket address.
3503 * bufferlist.[Ch]: new function getBufferFromTmp.
3505 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3506 files in the temporary dir.
3508 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3510 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3512 * Makefile.am: add lyxsocket.[Ch].
3514 * lyx_main.C (error_handler): handle SIGPIPE.
3516 2003-10-13 André Pönitz <poenitz@gmx.net>
3518 * BufferView_pimpl.C:
3523 * undo_funcs.[Ch]: use paroffset_type instead of
3524 ParagraphList::iterators to prevent multiple conversion
3525 (and get a more robust interface)
3527 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3529 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3531 * text3.C (dispatch): ditto
3533 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3535 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3536 move the onlyfile, use onlyfile instead of foundfile in a couple
3539 * DepTable.C (update): flush the error stream a bit more
3541 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3543 * lyxserver.C (callback): adjust
3545 * lyxfunc.C (getStatus): add a missing brace in commented code
3546 (ensureBufferClean): reindent
3547 (dispatch): delete version taking a string
3549 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3551 * LaTeX.C (deplog): move found file handlig from here...
3552 (handleFoundFile): .. to new function here.
3553 (deplog): make sure to discover several files mentioned on the
3556 2003-10-10 André Pönitz <poenitz@gmx.net>
3563 * text3.C: fix some of the tabular crashes
3565 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3567 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3569 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3571 2003-10-09 André Pönitz <poenitz@gmx.net>
3573 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3576 * BufferView_pimpl.C:
3577 * bufferview_funcs.C:
3588 * undo_funcs.C: adjust
3590 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3592 * text2.C (incrementItemDepth): new function, use a backtracking
3593 algorithm to discover the correct item depth.
3594 (resetEnumCounterIfNeeded): new function, use a backtracking
3595 algorithm to discover if counter reset is needed.
3596 (setCounter): use them. Simplify a bit. Add different labels for
3597 different item depths for itemize.
3599 * paragraph.C (Paragraph): remove initialization of enumdepth
3602 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3603 enumerate and itemize. Change the type of itemdepth to signed char.
3605 2003-10-08 André Pönitz <poenitz@gmx.net>
3607 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3612 * tabular.[Ch]: fix crash after 'row-insert'
3614 2003-10-08 Angus Leeming <leeming@lyx.org>
3616 Fix doxygen warnings.
3618 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3619 Remove CutAndPaste:: prefix from header file declaration.
3621 * LColor.h (fill): remove LColor:: prefix from declaration.
3623 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3624 use lyx::depth_type rather than Paragraph::depth_type so that
3625 header file and .C file match.
3627 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3629 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3630 * aspell.C: \file aspell_local.C -> \file aspell.C
3631 * gettext.C: \file gettext.C -> \file src/gettext.C
3632 * gettext.h: \file gettext.h -> \file src/gettext.h
3633 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3634 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3635 * text.C: \file text.C -> \file src/text.C
3637 * toc.C: move comment so that doxygen is not confused.
3639 2003-10-07 Angus Leeming <leeming@lyx.org>
3641 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3643 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3646 * aspell_local.h: add forgotten std::string's.
3648 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3655 * text3.C: The Box patch. Fancybox support, minipage, parbox
3657 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3663 * ParagraphParameters.h:
3673 * lyxtextclasslist.h:
3676 * paragraph_pimpl.C:
3677 * textcursor.h: add <string> and other small fixes to make Lars'
3678 std::string patch compile with STLport.
3680 2003-10-06 Angus Leeming <leeming@lyx.org>
3682 * LColor.h: Add missing #include <string>.
3684 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3686 * All most all file in all subdirs: Make <string> be the prefered
3687 way of getting to std::string, add using declarations.
3689 2003-10-06 André Pönitz <poenitz@gmx.net>
3691 * metricsinfo.C: initialize LyXFont before changing attribute.
3692 (fixes the 'math in \emph is upright' bug)
3694 2003-10-06 André Pönitz <poenitz@gmx.net>
3696 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3698 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3701 * paragraph_pimpl.C: Small fixes to build using STLport
3703 2003-10-02 André Pönitz <poenitz@gmx.net>
3706 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3708 2003-10-01 André Pönitz <poenitz@gmx.net>
3710 * factory.C: assert early
3712 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3714 * lyx_main.C: remove the global debug object
3716 * debug.h: adjust for new debugstream
3718 * debug.C: adjust for new debugstream and keep the global debug
3721 2003-09-22 Angus Leeming <leeming@lyx.org>
3723 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3724 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3725 an incomplete class LyXFont.
3727 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3729 * factory.C: bug fix in branches
3731 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3733 * lyxfunc.C (processKeySym): adjust
3735 (dispatch): change arg name from ev to func, adjust
3736 (sendDispatchMessage): ditto
3738 * lyx_main.C (defaultKeyBindings): adjust keybindings
3739 (deadKeyBindings): ditto
3741 * kbsequence.C (addkey): return a FuncRequest
3743 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3745 * kbmap.C (bind): take a FuncRequest as arg, adjust
3748 (defkey): change to take a FuncRequest as arg, adjust
3749 (findbinding): take a FuncRequest as arg, adjust.
3751 * funcrequest.h (operator=): added
3753 * funcrequest.C (FuncRequest): default kb_action changed from
3754 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3756 * buffer.C (dispatch): simplify
3757 (dispatch): adjust to take a FuncRequest as arg, adjust
3759 * boost.C (assertion_failed): change assertion message slightly
3761 * ToolbarBackend.C (read): simplify
3763 * MenuBackend.C (binding): adjust call to findbinding, add a
3764 message if no binding is found.
3766 (expandToc): correct by adding a empty FuncRequest
3768 * LyXAction.C: include <boost/assert.hpp>
3769 (isPseudoAction): delete function
3770 (LookupFunc): change name to...
3771 (lookupFunc): this. change return type to FuncRequest.
3772 (getActionName): take kb_action as arg, simplify
3773 (funcHasFlag): add an assert, simplify.
3775 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3777 * toc.C (action): return a FuncRequest, simplify
3779 * lyxfunc.C (processKeySym): adjust
3780 (getStatus): delete version that takes an int.
3782 (dispatch): delete version that takes action as int
3784 (sendDispatchMessage): simplify and adjust
3786 * funcrequest.C (getArg): take unsigned int as arg
3788 * ToolbarBackend.C (read): adjust
3789 (add): delete version that takes func as a string.
3790 (getIton): take a FuncRequest as arg
3792 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3795 * MenuBackend.C (MenuItem): add a new construct that only takes a
3796 Kind, simplify the constructor use for submenus.
3798 (expandLastfiles): adjust
3799 (expandDocuments): adjust
3800 (expandFormats): adjust
3801 (expandFloatListInsert): adjust
3802 (expandFloatInsert): adjust
3803 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3805 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3806 Remove class variables lyx_pseudo_map and lyx_arg_map
3808 * LyXAction.C (searchActionArg): delete function
3809 (getPseudoAction): delete function
3810 (retrieveActionArg): delete function
3811 (LookupFunc): make it return kb_action, simplify.
3812 (getActionName): simplify
3814 * factory.C (createInset): fix new bug
3816 2003-09-19 Angus Leeming <leeming@lyx.org>
3818 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3819 masterFilename_ parameter in the include inset.
3821 * factory.C (createInset): changes due to the changes to InsetInclude.
3823 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3825 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3827 2003-09-18 Angus Leeming <leeming@lyx.org>
3830 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3831 Inset::fillWithBibKeys.
3832 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3834 2003-09-18 Angus Leeming <leeming@lyx.org>
3836 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3838 (ctor): pass and store a 'Buffer const &'
3839 (buffer): new member function.
3841 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3842 '*this' to the LaTeXFeatures ctor.
3844 2003-09-18 Angus Leeming <leeming@lyx.org>
3850 * text.C: rename EnumLColor as LColor_color.
3852 2003-09-18 Angus Leeming <leeming@lyx.org>
3854 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3855 remove #include "insets/insetbase.h" from cursor.h.
3857 2003-09-18 Angus Leeming <leeming@lyx.org>
3859 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3860 InsetOld_code to remove #include "inset.h".
3862 * iterators.C: add #include "insets/inset.h"
3864 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3866 * BufferView.C: remove more locking stuff that apparently doesn't
3867 do anything sensible.
3869 2003-09-16 André Pönitz <poenitz@gmx.net>
3872 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3875 2003-09-16 Angus Leeming <leeming@lyx.org>
3877 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3879 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3882 * paragraph.h: remove #include "lyxfont.h". Forward declare
3885 2003-09-16 Angus Leeming <leeming@lyx.org>
3887 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3888 of support/textutils.h.
3889 (isWord): move the contents of support/textutils.h's IsWordChar here.
3895 * text2.C: add #include "paragraph.h".
3898 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3900 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3906 * LaTeX.C: use namespace alias for lyx::support::os
3908 2003-09-16 Angus Leeming <leeming@lyx.org>
3911 * bufferview_funcs.C:
3914 * paragraph_pimpl.C:
3916 * text.C: add #include "LColor.h".
3918 2003-09-16 Angus Leeming <leeming@lyx.org>
3920 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3921 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3923 Store the FontBits::color variable as an int rather than as an
3924 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3927 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3928 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3929 string calls together.
3931 * lyxrc.C: add #include "LColor.h".
3933 2003-09-15 Angus Leeming <leeming@lyx.org>
3935 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3938 2003-09-15 Angus Leeming <leeming@lyx.org>
3940 * LColor.h: add an EnumLColor wrapper for LColor::color.
3942 * lyxfont.[Ch] (color, setColor, realColor):
3943 * lyxtext.h, text.C (backgroundColor):
3944 pass EnumLColor args to/from the functions, rather than LColor::color
3948 * lyxtext.h: forward declare EnumLColor.
3950 * lyx_main.C: add #include "LColor.h".
3952 2003-09-15 Angus Leeming <leeming@lyx.org>
3954 * .cvsignore: add lyx-gtk.
3956 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3961 * ParagraphParameters.C
3965 * bufferview_funcs.C
3975 * vc-backend.C: remove usage of STRCONV
3977 2003-09-15 Angus Leeming <leeming@lyx.org>
3979 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3980 explicitly define the color passed to the painter.
3982 2003-09-15 Angus Leeming <leeming@lyx.org>
3984 * bufferparams.C (BufferParams): reorder member initializers to avoid
3987 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3989 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3990 * text.C (updateRowPositions): remove an unusual nop
3992 2003-09-12 André Pönitz <poenitz@gmx.net>
3994 * BufferView_pimpl.C:
4003 * Counters.[Ch]: finish the 'automatic counters' job
4005 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4007 * aspell.C: include <boost/assert.cpp> (compile fix)
4009 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4011 * boost.C (assertion_failed): use lyx::support::abort instead of
4014 2003-09-10 Angus Leeming <leeming@lyx.org>
4016 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4017 with their _fwd progeny.
4019 2003-09-09 Angus Leeming <leeming@lyx.org>
4021 134 files throughtout the source tree: replace 'using namespace abc;'
4022 directives with the appropriate 'using abc::xyz;' declarations.
4024 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4026 * boost.C (emergencyCleanup): moved here from LAssert.c
4027 (assertion_failed): new function, called by BOOST_ASSERT
4029 * several files: change Assert to BOOST_ASSERT
4031 2003-09-09 Angus Leeming <leeming@lyx.org>
4033 * buffer.[Ch]: Add an Impl class and move Buffer's member
4034 variables into it. As a result move several header files out of
4037 Add header files to lots of .C files all over the tree as a result.
4039 2003-09-09 Angus Leeming <leeming@lyx.org>
4041 * buffer.[Ch]: make Buffer's member variables private. Add
4044 Lots of changes all over the tree as a result.
4046 2003-09-08 Angus Leeming <leeming@lyx.org>
4048 * graph.C: #include <config.h>.
4050 2003-09-08 Angus Leeming <leeming@lyx.org>
4054 * BufferView_pimpl.C:
4083 * toc.C: remove redundant using directives.
4085 2003-09-07 Angus Leeming <leeming@lyx.org>
4087 * LaTeXFeatures.h: remove #include "support/types.h".
4088 * ToolbarBackend.h: remove #include <algorithm>.
4089 * changes.h: remove #include <ctime>.
4090 * debug.h: remove #include <iosfwd>.
4091 * graph.h: remove #include "support/std_string.h".
4092 * lyx_main.h: remove #include <csignal>.
4093 * lyxlex_pimpl.h: remove #include <fstream>.
4094 * sgml.h: remove #include <algorithm>, <utility>.
4095 * toc.h: remove #include "support/std_ostream.h".
4096 Add #include <iosfwd>.
4098 2003-09-07 Angus Leeming <leeming@lyx.org>
4100 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4102 * converter.h: forward declare LatexRunParams.
4103 * encoding.h: remove #include "lyxrc.h".
4104 * lyxtext.h: remove #include "LColor.h".
4105 * lyxtextclass.h: remove #include "support/types.h".
4106 * trans.h: remove #include "tex-accent.h".
4107 * trans_mgr.h: remove #include "tex-accent.h".
4108 * insets/inset.h: remove #include "support/types.h", <vector>.
4109 * insets/insetcollapsable.h: remove #include "LColor.h".
4110 * insets/insetinclude.h: remove #include "dimension.h".
4111 * insets/insetlatexaccent.h: remove #include "dimension.h".
4112 * insets/insetoptarg.h:: remove #include "insettext.h".
4113 * insets/insettext.h: remove #include "dimension.h",
4114 <boost/shared_ptr.hpp>
4116 * insets/renderers.h: add #include "dimension.h".
4117 * insets/updatableinset.h: add #include "support/types.h".
4119 * many .C files: Associated changes.
4121 2003-09-06 Angus Leeming <leeming@lyx.org>
4123 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4124 one, inside testInvariant.
4126 * PrinterParams.C: new file.
4127 * PrinterParams.[Ch]: move the function bodies out of line.
4129 2003-09-06 Angus Leeming <leeming@lyx.org>
4131 * ParagraphParameters.h: forward declare ParameterStruct rather than
4132 including its header file.
4133 (depth): moved out-of-line.
4135 2003-09-06 Angus Leeming <leeming@lyx.org>
4137 * BufferView_pimpl.h:
4140 * lyxfunc.h: forward declare LyXKeySym rather than
4141 #include "frontends/LyXKeySym.h".
4143 * BufferView_pimpl.C:
4146 * lyxfunc.C: associated changes.
4148 2003-09-06 Angus Leeming <leeming@lyx.org>
4150 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4151 As a result, can remove the #include "insets/inset.h" from BufferView.h
4153 2003-09-06 Angus Leeming <leeming@lyx.org>
4155 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4156 As a result, can remove the #include "insets/inset.h" from BufferView.h
4158 2003-09-06 Angus Leeming <leeming@lyx.org>
4164 * bufferview_funcs.C:
4165 * BufferView_pimpl.C:
4170 * ParagraphParameters.C:
4175 * frontends/controllers/ControlDocument.C:
4176 * insets/insetcaption.C: rearrange the #includes into some sort of
4179 * buffer.h: remove #includes ErrorList.h, undo.h
4181 2003-09-06 Angus Leeming <leeming@lyx.org>
4183 * support/types.h: add a 'depth_type' typedef, used to store the
4184 nesting depth of a paragraph.
4187 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4188 defining explicitly.
4191 * paragraph_funcs.h:
4192 * ParagraphParameters.h:
4193 * sgml.h: use lyx::depth_type rather than Paragraph or
4194 ParameterStruct's depth_type.
4197 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4200 * BufferView_pimpl.C:
4202 * ParagraphParameters.C:
4205 * bufferview_funcs.C:
4212 * frontends/LyXView.C:
4213 * frontends/controllers/ControlDocument.C:
4214 * frontends/controllers/ControlErrorList.C:
4215 * insets/insetbibitem.C:
4216 * insets/insetbranch.C:
4217 * insets/insetcaption.C:
4218 * insets/insetcollapsable.C:
4219 * insets/insetenv.C:
4220 * insets/insetert.C:
4221 * insets/insetfloat.C:
4222 * insets/insetfoot.C:
4223 * insets/insetfootlike.C:
4224 * insets/insetnewline.C:
4225 * insets/insetquotes.C:
4226 * insets/insettabular.C:
4227 * insets/insettext.C:
4228 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4230 * frontends/controllers/ControlChanges.C: #include "changes.h".
4232 2003-09-06 Angus Leeming <leeming@lyx.org>
4234 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4235 than #including paragraph.h.
4238 * RowList.h: deleted. Superfluous.
4248 * insets/insettext.h: use ParagraphList_fwd.h rather than
4251 * paragraph.h: don't forward declare ParagraphList.
4254 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4255 rather than ParagraphList.h. paragraph.h is still needed for the
4256 Paragraph::depth_type parameters.
4258 * textcursor.h: enable it to compile stand-alone in light of the
4261 * bufferview_funcs.C:
4273 * frontends/controllers/ControlParagraph.C:
4274 * frontends/controllers/ControlTabular.C:
4275 * insets/insetmarginal.C:
4276 * insets/insetminipage.C:
4277 * insets/insetnote.C:
4278 * insets/insetoptarg.C: add header files needed to compile again.
4280 2003-09-06 Angus Leeming <leeming@lyx.org>
4282 * RowList_fwd.h: new file, forward-declaring Row rather than
4283 #including lyxrow.h.
4288 * insets/insettext.h: use it instead of RowList.h
4290 * bufferview_funcs.C:
4297 * text3.C: #include "RowList.h".
4299 2003-09-05 Angus Leeming <leeming@lyx.org>
4301 * factory.C (createInset):
4302 * vspace.C (c-tor): replace sscanf call with an istringstream.
4303 * ispell.C: re-add missing HP/UX headers.
4304 * lyxserver.C: re-add missing os2 headers.
4306 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4315 * text3.C: re-add missing system headers, needed for 2.95.2.
4317 2003-09-05 Angus Leeming <leeming@lyx.org>
4319 Changes most place everywhere due to the removal of using directives
4320 from support/std_sstream.h.
4322 2003-09-05 Angus Leeming <leeming@lyx.org>
4324 Replace LString.h with support/std_string.h,
4325 Lsstream.h with support/std_sstream.h,
4326 support/LIstream.h with support/std_istream.h,
4327 support/LOstream.h with support/std_ostream.h.
4329 Changes resulting throughout the tree.
4331 2003-09-05 Angus Leeming <leeming@lyx.org>
4333 * sgml.h: ensure that the header file can be compiled stand-alone.
4334 * *.C: strip out redundant #includes. (320 in total.)
4336 2003-09-04 Angus Leeming <leeming@lyx.org>
4338 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4339 here (from getPackages).
4341 * debug.[Ch]: add a new EXTERNAL tag.
4343 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4345 * text2.C (cursorEnd): simplify
4347 (getColumnNearX): adjust
4349 * text.C (computeBidiTables): adjust
4352 * rowpainter.C (paintChars): adjust
4353 (paintSelection): adjust
4354 (paintChangeBar): adjust
4357 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4359 (numberOfSeparators): adjust
4361 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4367 * text3.C: Restricts the mouse click functionality
4368 of insets like bibtex, include, toc and floatlist to the visible
4369 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4370 up the dialogs. Cursor has to be in front of the inset (i.e.
4371 start of row) for this to function.
4373 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4375 * bufferview_funcs.C (currentState): output row information
4377 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4379 * bufferview_funcs.C (currentState): output paragraph position
4381 2003-09-04 Angus Leeming <leeming@lyx.org>
4383 * FloatList.h: move out #include "Floating.h".
4384 * LaTeX.h: move out #include "DepTable.h".
4385 * LyXAction.h: move out #include "funcrequest.h".
4386 * buffer.h: move out #include "author.h", "iterators.h".
4387 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4388 * lyx_main.h: move out #include "errorlist.h".
4389 * lyxfunc.h: move out #include "FuncStatus.h".
4390 * lyxtext: move out #include "lyxcursor.h".
4391 * paragraph_pimpl.h: move out #include "counters.h".
4393 2003-09-03 Angus Leeming <leeming@lyx.org>
4395 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4396 preamble_snippets list, enabling us to add snippets to the preamble
4397 only if the snippet was not there already.
4399 2003-09-04 Angus Leeming <leeming@lyx.org>
4401 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4403 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4405 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4408 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4410 * BranchList.C: point fix, earlier forgotten
4412 2003-09-02 Angus Leeming <leeming@lyx.org>
4414 * box.C (contains): renamed from 'contained' after a fantastic
4417 2003-09-02 John Levon <levon@movementarian.org>
4423 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4425 2003-09-02 John Levon <levon@movementarian.org>
4427 * text2.C: simplification of cursorEnd(), including partial
4430 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4432 * buffer.C (readFile): add a space
4434 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4436 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4438 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4440 * buffer.C (readFile): new function, take a filename and a
4441 ParagraphList::iterator
4443 (readFile): adjust, make it private. don't use setStream, make
4444 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4445 always contain the filename.
4447 * BufferView.C (insertLyXFile): simplify and make it work for
4450 2003-08-30 John Levon <levon@movementarian.org>
4452 * Makefile.am: fix dist (from Kayvan)
4454 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4456 * most files: change to use const Buffer refs
4458 2003-08-27 André Pönitz <poenitz@gmx.net>
4460 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4461 on top of ownerPar().
4463 2003-08-27 John Levon <levon@movementarian.org>
4465 * funcrequest.C: properly initialise POD members
4467 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4469 * lyxtext.h (top_y): move top_y from here
4474 * BufferView_pimpl.[Ch]: to here
4475 * frontends/screen.C:
4476 * insets/insettabular.C:
4477 * insets/insettext.C: adjust
4478 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4480 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4483 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4485 2003-08-26 André Pönitz <poenitz@gmx.net>
4487 * paragraph_func.[Ch] (outerPar): new function
4490 * paragraph_funcs.C:
4491 * paragraph_funcs.h:
4492 * paragraph_pimpl.C:
4493 * text2.C: remove Inset::par_owner
4495 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4500 * text2.C: eliminates the needFullRow/display() stuff
4501 altogether, putting the logic in metrics/draw in the insets.
4503 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4505 * text2.C (redoParagraphInternal, redoParagraphs):
4506 * text.C (redoParagraph): add a call to updateRowPositions at the
4507 end of each 'metrics-like' call. Remove all others.
4508 (getRow): remove the 'y-computing' version.
4509 (getRowNearY): do not compute nor return the real y. Solve the
4510 'y < 0' problem and simplify.
4512 2003-08-22 Angus Leeming <leeming@lyx.org>
4514 * *.[Ch]: clean-up of licence and author blurbs.
4515 Also move config.h out of a few .h files and into a few .C files.
4517 2003-08-22 André Pönitz <poenitz@gmx.net>
4519 * lyxrow.[Ch]: add x_ and *fill_ members
4524 * text2.C: adjust/remove prepareToPrint() calls
4526 2003-08-22 André Pönitz <poenitz@gmx.net>
4528 * lyxrow.[Ch]: add end_ member
4530 * lyxrow_funcs.C: use LyXRow::end_
4532 * lyxtext.h (singleWidth): add LyXFont parameter
4535 * text2.C: adjust LyXText::singleWidth() calls
4537 * text.C (redoParagraph): simplify row breaking logic
4540 2003-08-19 André Pönitz <poenitz@gmx.net>
4542 * funcrequest.C: initialize button_ member
4545 * rowpainter.[Ch]: interface consolidation
4547 2003-08-18 André Pönitz <poenitz@gmx.net>
4550 * BufferView_pimpl.C:
4552 * paragraph_funcs.C:
4554 * text3.C: remove LyXScreen::draw() and fitCursor calls
4556 * BranchList.h: remove spurious semicolons
4558 * MenuBackend.C: fix branchlist related crash
4560 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4568 * bufferparams.[Ch]:
4572 * text3.C: implements the 'branch inset'
4573 idea. This allows the output of various versions of a document
4574 from a single source version, selectively outputing or suppressing
4575 output of parts of the text.
4576 This implementation contains a 'branch list editor' in a separate
4577 tab of the document settings dialog. Branches are user definable
4578 and have a "display colour" to distinguish them on-screen.
4580 ColorHandler was somewhat cleaned up.
4581 (1) make possible a dynamically growing LColor list by allowing
4582 the graphic context cache to grow along (vector);
4583 (2) eliminate an IMHO unnecessary step in colour allocation.
4585 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4587 * BufferView_pimpl.C: compile fix
4589 2003-08-15 André Pönitz <poenitz@gmx.net>
4591 * rowpainter.C: remove extra metrics calls
4593 * lyxtext.h: merge the two constructors into a single one,
4594 pass reference to owner's par list
4596 * BufferView_pimpl.C:
4600 2003-08-15 André Pönitz <poenitz@gmx.net>
4602 * lyxrow_funcs.[Ch]:
4605 * paragraph_funcs.C:
4610 * text_funcs.C: split LyXText::rowlist_ into individual
4611 Paragraph::rows_ chunks
4614 * BufferView_pimpl.[Ch]:
4617 * text3.C: remove toggleSelection()
4619 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4621 * bufferlist.C: beautify two alerts (shorter text of buttons)
4622 * buffer.C: Remove redundant ' ' from message
4624 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4625 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4626 rename VALIGN_CENTER to VALIGN_MIDDLE
4628 2003-08-11 André Pönitz <poenitz@gmx.net>
4630 * lyxtext.h (getPar):
4631 * text.C: new function
4633 2003-08-11 André Pönitz <poenitz@gmx.net>
4636 * tracer.[Ch]: remove unneeded files
4638 * InsetList.[Ch]: remove resizeInsetsLyXText()
4643 * text3.C: merge insertParagraphs() and appendParagraph()
4644 remove breakAgain(), update()
4646 * BufferView_pimpl.[Ch]:
4647 * bufferview_funcs.[Ch]:
4651 * tabular.C: adjust after text & InsetList changes.
4653 2003-08-08 André Pönitz <poenitz@gmx.net>
4655 * text.C (insertChar, backspace): replace rowlist fiddling
4656 with rebreak of full par
4659 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4660 checkParagraph, updateInset): removed
4662 2003-08-07 André Pönitz <poenitz@gmx.net>
4665 * text3.C: merge some LFUN handlers, remove dead code
4667 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4669 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4671 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4673 * text2.C (DEPM): fix part of bug 1255 and 1256
4675 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4677 * BufferView_pimpl.C (workAreaDispatch): change to use
4678 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4679 that are no mouse related.
4681 2003-08-05 André Pönitz <poenitz@gmx.net>
4684 * BufferView_pimpl.[Ch]:
4685 * bufferview_funcs.C:
4687 * text3.C: rip out "deep update"
4689 * textcursor.[Ch] (last_sel_cursor): remove unused member
4691 2003-08-04 André Pönitz <poenitz@gmx.net>
4694 * BufferView_pimpl.[Ch]:
4695 * ParagraphParameters.C:
4696 * bufferview_funcs.C:
4702 * text3.C: replace "complicated" BufferView::update(...) calls with
4705 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4707 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4709 * Makefile.am (lyx_SOURCES): add paper.h
4711 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4713 * Makefile.am: move things around so that both lyx-qt and
4714 lyx-xforms can be built (according to --with-frontend). Then lyx
4715 is a symbolic link to lyx-[firstfrontend]
4717 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4719 * Always use std::endl with lyxerr
4721 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4723 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4725 2003-08-01 André Pönitz <poenitz@gmx.net>
4728 * BufferView_pimpl.[Ch]:
4730 * text3.C: merge BufferView::repaint() and BufferView::update()
4732 2003-08-01 José Matos <jamatos@lyx.org>
4734 * buffer.[Ch]: file_format is no longer a buffer data element.
4736 2003-08-01 André Pönitz <poenitz@gmx.net>
4741 * text2.C: make redoParagraph more independent of current cursor
4743 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4745 * text2.C: remove unneeded members
4747 2003-07-30 André Pönitz <poenitz@gmx.net>
4749 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4751 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4752 create a single function...
4754 * paragraph_funcs.C (moveItem): ... here.
4757 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4759 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4761 * LColor.[Ch]: Add comment and greyedout logical colors.
4763 2003-07-30 André Pönitz <poenitz@gmx.net>
4765 * tabular.C: don't use Assert too heavily. This crashes where it
4768 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4770 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4771 is disabled (bug 1232)
4773 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4775 * factory.C: limited 'arg' scope
4777 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4779 * factory.C: fixed Note submenu issues
4781 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4783 * factory.C: submenu for Note/Comment/Greyedout
4785 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4788 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4790 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4793 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4794 greyedout. Patch provided by Jürgen Spitzmüller.
4796 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4798 * kbmap.C (read): fix error message when reading bind files
4800 2003-07-29 Angus Leeming <leeming@lyx.org>
4802 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4803 certainly does not do what it purports to do. I am doing it, and
4804 us, a favour by killing it.
4806 2003-07-28 José Matos <jamatos@lyx.org>
4808 * buffer.C (readBody, do_writeFile):
4809 * paragraph.C(readParagraph): \end_document replaces \the_end.
4811 2003-07-29 André Pönitz <poenitz@gmx.net>
4814 * BufferView_pimpl.[Ch]:
4818 * textcursor.[Ch]: remove toggleToggle & Co
4820 2003-07-28 José Matos <jamatos@fep.up.pt>
4822 * buffer.C (readParagraph):
4823 * params_func (readParToken, readParagraph):
4824 * paragraph.C (write): \layout -> \begin_layout.
4826 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4828 * lyxlex_pimpl.C (setFile): clean up slightly.
4830 * bufferparams.h: add compressed var
4832 * buffer_funcs.C (readFile): adjust for LyXLex change
4833 (newFile): ditto + simplify
4835 * buffer.C (writeFile): handle writing of compressed files
4837 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4838 Check if the file is compressed and set a bufferparm if so.
4840 * Makefile.am (lyx_LDADD): remove explicit -lz
4842 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4844 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4845 makeDocBookFile): put the real LyX version in the first line of
4849 * version.C.in: remove lyx_docversion
4851 * tabular.C (write_attribute): add a template-based version to
4852 write enums properly
4854 2003-07-28 André Pönitz <poenitz@gmx.net>
4859 * text3.C: use doubles again for x-coordinates. They are needed.
4861 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4863 * messages.C (getLocaleDir): use lyx_localedir()
4865 * lyxlex_pimpl.C (setFile): compress stuff
4867 * buffer.C (writeFile): add some compression stuff
4868 (do_writeFile): new func, dont call expliti close... will this
4871 * Makefile.am (lyx_LDADD): add -lz
4873 2003-07-28 José Matos <jamatos@fep.up.pt>
4875 * buffer.C: increment file format.
4876 * paragraph_funcs (readParagraph, readParToken):
4877 * paragraph.C (readParagraph): add \end_layout.
4879 2003-07-27 Angus Leeming <leeming@lyx.org>
4881 * Makefile.am: remove special casing for configure-time setting of
4882 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4884 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4885 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4887 2003-07-26 André Pönitz <poenitz@gmx.net>
4889 * paragraph_func.[Ch]:
4890 * paragraph.C (realizeFont): inline it whereever it is used
4895 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4898 2003-07-26 André Pönitz <poenitz@gmx.net>
4902 * text2.C: get rid of LyXText::need_break_row
4904 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4906 * toc.[Ch]: put namespace toc inside namespace lyx
4908 * MenuBackend.C (expandToc2): adjust for lyx::toc
4911 * lyxfunc.C (dispatch): adjust for lyx::find
4913 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4914 lyx::find instead. Reorganize a bit.
4915 (LyXReplace): rename to replace
4916 (LyXFind): rename to find
4918 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4921 2003-07-26 André Pönitz <poenitz@gmx.net>
4923 * text.C (setHeightOfRow): restrict scope of temporary variable
4925 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4926 code (never has been used?)
4928 2003-07-27 Asger Alstrup <alstrup@local>
4930 * text.C (fill): Optimise algorithm to exploit that we can reuse
4931 the LyXFont for many characters.
4932 (setHeightOfRow): Same thing.
4933 (rowBreakPoint): Same thing.
4935 2003-07-26 Asger Alstrup <alstrup@local>
4937 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4939 * text.C (singleWidth): Spurious font copying in hot-spot
4940 singleWidth avoided. Reorder tests for arabic for efficiency.
4942 * text.C (fill): handle empty paragraphs better.
4944 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4947 * encoding.h: add includes
4949 * lyxrc.C: remove reading of bind files
4951 * lyx_main.C (init): setup bindings and menus only if we have a
4954 * kbmap.C (read): new method. Do the actual reading of bind
4957 * converter.C (dvipdfm_options):
4960 (output): adapt PAPER_* enums.
4962 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4964 * bufferparams.h: remove paper-related enums from there
4966 * paper.h: New file. A trivial header file to hold paper-related
4967 enums. It should later expand to contain many paper-related
4970 * lyxrc.C: declare extern displayTranslator
4972 2003-07-27 José Matos <jamatos@fep.up.pt>
4974 * tabular.[Ch] (linuxdoc): add support for tables and figures
4977 2003-07-27 José Matos <jamatos@fep.up.pt>
4979 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4980 consistency in both functions.
4981 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4983 2003-07-26 Asger Alstrup <alstrup@local>
4985 * rowpainter.C (paintRows): Change algorithm to work directly on
4986 the insets rather than asking every character in the document
4987 whether its an inset.
4989 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4991 * buffer.C (openFileWrite): factorize some code
4993 2003-07-26 Angus Leeming <leeming@lyx.org>
4996 * lyx_main.[Ch]: replace occurances of system_tempdir with
4999 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5001 * rename Inset to InsetOld
5003 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5005 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5006 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5007 which I think is a bit clearer. EDIT is gone, since it was
5008 premature optimisation, and broken for mathed anyway.
5009 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5010 with cursor positioning in insets as well (math insets still do not
5011 work, but that's a different story anyway.) It mysteriously
5012 crashes sometimes with undo in the first paragraph, but I'm fairly
5013 confident that this is a compiler bug.
5015 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5017 * paragraph.C (Paragraph): adjust for new clone return type
5019 (copyIntoMinibuffer): ditto
5021 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5023 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5024 by not having a special case, and always doing a full rebreak of
5025 the document after undo.
5027 2003-07-23 Angus Leeming <leeming@lyx.org>
5029 * factory.C (createInset): InsetExternal::setParams now takes a
5032 2003-07-23 Angus Leeming <leeming@lyx.org>
5034 * factory.C (createInset): changed interface to the external and
5035 graphics mailers' string2params functions.
5037 2003-07-23 Angus Leeming <leeming@lyx.org>
5039 * factory.C (createInset): pass a
5040 Buffer const * parameter to InsetExternalMailer's string2params.
5042 2003-07-22 John Levon <levon@movementarian.org>
5044 * Thesaurus.h: include the right aiksaurus header
5046 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5048 * MenuBackend.C (expand): check menu shortcuts unconditionally
5050 2003-07-21 Angus Leeming <leeming@lyx.org>
5052 * factory.C (createInset): pass a
5053 buffer_path parameter to InsetGraphicsMailer's string2params.
5055 2003-07-21 Angus Leeming <leeming@lyx.org>
5057 * BufferView_pimpl.C (buffer):
5060 * lyxfunc.C (dispatch):
5061 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5062 rather than the grfx shortcut.
5064 2003-07-21 André Pönitz <poenitz@gmx.net>
5066 * rowpainter.C: remove unused variables
5069 * tabular_funcs.h: move to tabular.C
5070 * Makefile.am: adjust
5072 * tabular.[Ch]: basic optical cleaning
5074 * author.h: pass references, not values
5076 2003-07-18 André Pönitz <poenitz@gmx.net>
5084 * text3.C: two-phase drawing for InsetText and InsetTabular
5085 some float -> int changes.
5087 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5089 * lyx_main.C: fix the fix
5091 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5093 * lyx_main.C: fix a crash in batch mode if no files specified
5096 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5098 * format.[Ch] (papersize): moved to BufferParams
5099 * converter.[Ch] (dvips_options): moved to BufferParams
5100 (dvipdfm_options): moved to anon namespace
5101 * bufferparams.[Ch]: added above functions.
5103 2003-07-17 André Pönitz <poenitz@gmx.net>
5107 * text2.C: don't call inset->update() anymore
5109 * metricsinfo.[Ch]: add convenience constructor
5111 2003-07-16 André Pönitz <poenitz@gmx.net>
5116 * text2.C: replace the LyXCursor::irow_ member with
5117 on-demand computation of the value
5119 2003-07-16 John Levon <levon@movementarian.org>
5121 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5123 2003-07-15 André Pönitz <poenitz@gmx.net>
5126 * text2.C: remove no more needed refresh_row
5128 2003-07-15 André Pönitz <poenitz@gmx.net>
5133 * text3.C: refresh_status tristate -> need_update bool
5135 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5137 * lyxtext.h (init): remove reinit argument (act as if always true)
5138 * text2.C: adjust to that
5140 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5142 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5143 * text3.C: use it to delete selections in some cases
5144 (bugs 441, 673, 702, 954).
5146 2003-07-14 André Pönitz <poenitz@gmx.net>
5148 * rowpainter.[Ch]: reduce interface
5150 2003-07-14 André Pönitz <poenitz@gmx.net>
5152 * BufferView_pimpl.C:
5153 * text2.C: adjust after removing unused BufferView * argument
5155 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5157 * text2.C (init): fix a crash fired on resize
5159 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5161 * buffer.[Ch]: added new closing signal
5162 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5163 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5164 BufferView::Pimpl via the closing the signal
5166 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5168 * buffer.[Ch]: take out all bv-related from buffer
5170 * BufferView_pimpl.[Ch]: connect to new signals
5171 * CutAndPaste.C: removed useless asserts
5172 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5175 * lyxfunc.C: moved view-related funciontality from vc here
5176 * paragraph.C: removed outdated comments
5179 2003-07-10 André Pönitz <poenitz@gmx.net>
5181 * BufferView_pimpl.C:
5185 * text2.C: remove InsetText::InnerCache, clean up consequences
5187 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5189 * ispell.C: fix two typos in error messages
5191 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5193 * Extend Note inset to other forms of annotation like Comment
5194 and Greyedout. Right button click gives dialog.
5196 Files modified or added (+):
5200 * ControlNote.[Ch] +
5202 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5203 frontends/controllers
5207 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5209 * aspell.C: add missing namespace lyx::support
5211 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5213 * BufferView.[Ch] (newFile): Add
5214 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5215 * LaTeX.[Ch] (message): added this signal and use it
5216 * buffer.[Ch] (busy, message): added these signals and use them
5217 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5221 * importer.C: use buffer signals instead of direct bv calling
5222 * lyx_cb.[Ch] (ShowMessage): removed
5225 * paragraph_funcs.C:
5226 * text2.C: use buffer signals
5228 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5230 * introduce namespace lyx::graphics
5232 2003-07-02 André Pönitz <poenitz@gmx.net>
5234 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5236 2003-07-01 André Pönitz <poenitz@gmx.net>
5243 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5244 text*.C to text_func.C
5246 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5248 * introduce namespace lyx::support
5250 2003-06-30 André Pönitz <poenitz@gmx.net>
5255 * text.C: re-enable --with-included-string
5257 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5259 * textcursor.C: add <config.h>
5261 * text.C (getWord): remove const from word_location arg
5263 * lyxvc.C (getLogFile): fix const type order
5265 * lyxtext.h: remove const from word_location arg, add arg name
5267 * lyxlayout.h: currect type on labeltype.
5269 * importer.C: correct \file
5271 * converter.C (intToFormat): use std:: on ret val, ws changes
5273 * bufferlist.h: correct \file
5275 * buffer.C (makeLinuxDocFile): fix const type order
5276 (makeDocBookFile): ditto
5277 (fillWithBibKeys): use std:: on stdlib args.
5279 * CutAndPaste.C: fix authors.
5280 (availableSelections): use std:: on return vector
5282 2003-06-27 André Pönitz <poenitz@gmx.net>
5284 * BufferView_pimpl.C:
5285 * bufferview_funcs.C:
5293 * text3.C: remove LyXCursor::row_ member
5296 * text.C: rename fullRebreak() to partialRebreak() and implement
5297 a fullRebreak() that really bereks fully
5299 * textcursor.h: new struct for cursor-related data
5301 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5303 * lyx_main.C (LyX): get full path of document loaded on the
5306 2003-06-26 André Pönitz <poenitz@gmx.net>
5308 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5309 remove unused/broken operator>,<,>=.
5311 * text.C: remove only use of broken operator<= in an Assert().
5313 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5315 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5316 moved errorlist_.clear to showErrorList
5318 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5320 * converter.C (scanLog, runLaTeX):
5321 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5322 move the bv->showErrorList call to the callers
5323 * lyxfunc.C: i.e. here...
5325 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5326 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5327 namespace, the second to...
5328 * buffer_funcs (BufferFormat, parseErrors): added
5329 * errorlist.C (ErrorList(TeXErrors const &)): removed
5331 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5333 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5335 2003-06-24 "Garst R. Reese" <reese@isn.net>
5339 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5341 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5343 * version.C.in: change docversion to 1.4
5345 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5347 * buffer.C: fix a bug just introduced
5349 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5351 * buffer.[Ch]: added the parseError signal and use it, removed
5353 * BufferView.[Ch] (addError): moved to ...
5354 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5355 to the Buffer::parseError signal to catch (guess what) parse errors
5356 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5358 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5360 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5361 ability to create a buffer and to return an existing one from
5362 the list. Moved these functions to...
5363 * buffer_funcs.[Ch]: added
5364 * BufferView.[Ch] (loadLyXFile): added
5365 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5366 job removed from bufferlist::loadLyXFile.
5367 * buffer.C (setReadOnly): make it work without view
5368 (i.e added an if (users))
5370 2003-06-19 Angus Leeming <leeming@lyx.org>
5373 * LyXAction.C (init):
5374 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5375 with LFUN_DIALOG_SHOW <name> <data>.
5377 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5379 * CutAndPaste.C (availableSelections): small compilation fix for
5380 ancient (gcc 2.9x) compilers
5382 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5384 * text3.C (cursorNext): add tmp var
5386 * text2.C (updateCounters): for function calling out of for clause
5387 (replaceSelectionWithString): ditto
5388 (insertStringAsParagraphs): ditto
5389 (getColumnNearX): add tmp var
5390 (setCursorFromCoordinates): add tmp var
5391 (cursorDownParagraph): add tmp var
5392 (deleteEmptyParagraphMechanism): add tmp var
5394 * text.C (insertChar): add tmp var
5396 * rowpainter.C (paintDepthBar): add tmp var
5398 * CutAndPaste.C (availableSelections): potentially check all
5399 paragraphs in a cut to fill the shown strings.
5401 2003-06-18 André Pönitz <poenitz@gmx.net>
5403 * kbmap.[Ch]: use vector<> instead of list<>
5405 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5407 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5408 pasteSelection with index
5410 * text2.C (pasteSelection): modify, call pasteSelection with index
5412 * paragraph.C (asString): reimplement version with no interval to
5413 call the one with interval.
5415 * lyxtext.h: add index arg to pasteSelection
5417 * MenuBackend.C (MenuItem): handle PasteRecent
5418 (Menu::read::Menutags): add md_pasterecent
5420 (expandPasteRecent): new function
5423 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5425 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5427 (availableSelections): new function
5429 2003-06-17 Angus Leeming <leeming@lyx.org>
5431 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5433 2003-06-17 Angus Leeming <leeming@lyx.org>
5436 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5438 * lyxfunc.C (dispatch): invoke it.
5440 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5442 * iterators.C (operator++, ParPosition): reintroduce some
5443 const_cast for the benefit of older compilers.
5445 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5447 * text3.C (dispatch): do not modify clipboard when doing
5448 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5449 LFUN_DELETE_SKIP on a selection selection
5451 2003-06-16 André Pönitz <poenitz@gmx.net>
5457 * tabular.[Ch]: IU of clone() and getLabelList();
5459 2003-06-13 André Pönitz <poenitz@gmx.net>
5461 * tabular.h: compactification
5463 2003-06-12 André Pönitz <poenitz@gmx.net>
5467 * tabular_funcs.h: some renaming plus whitespace
5469 2003-06-12 André Pönitz <poenitz@gmx.net>
5472 * BufferView_pimpl.C:
5478 * toc.C: Return a Paragraph & for ParIterator::operator*()
5480 2003-06-11 John Levon <levon@movementarian.org>
5484 * ToolbarBackend.C: add "Toolbars" section and
5487 2003-06-10 Angus Leeming <leeming@lyx.org>
5490 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5492 * lyxfunc.C (dispatch): invoke it.
5494 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5496 * main.C: protect <ios> with HAVE_IOS
5497 (main): protect sync_with_stdio with HAVE_IOS
5499 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5501 * text2.C (cutSelection): adjust
5502 (pasteSelection): adjust
5504 * messages.C: handle get of empty string
5506 * main.C (main): use sync_with_stdio(false)
5508 * lyxfunc.C (dispatch): adjust
5510 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5511 (WriteAs): remove unneeded BufferView arg.
5513 * bufferparams.h: use correct types on papersize, papersize2 and
5516 * bufferparams.C (readToken): adjust for type
5517 (writeLaTeX): add missing cases to switch.
5519 * bufferlist.C (quitWriteBuffer): adjust
5522 * buffer.C (asciiParagraph): remove some commented code.
5524 * CutAndPaste.C: remove current_view extern variable.
5525 (cutSelection): add BufferParams arg.
5526 (eraseSelection): add BufferParams arg.
5527 (pasteSelection): add Buffer const & arg
5529 2003-06-07 John Levon <levon@movementarian.org>
5532 * paragraph_funcs.C:
5533 * paragraph_pimpl.C:
5537 * paragraph.C: allow InsetERT to freely space lines,
5538 and some consolidation of code
5540 2003-06-06 José Matos <jamatos@fep.up.pt>
5542 * buffer.C (makeDocBookFile): fix bug #821
5544 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5546 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5548 2003-06-04 Angus Leeming <leeming@lyx.org>
5550 * buffer.C: bump format to 224.
5552 2003-06-05 André Pönitz <poenitz@gmx.net>
5554 * text2.C (redoParagraphs): remove two const_cast<>
5556 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5558 * ParagraphList.h: remove last remnants of NO_STD_LIST
5560 2003-06-03 Angus Leeming <leeming@lyx.org>
5562 * factory.C (createInset): small change to the way InsetExternal's params
5565 2003-06-04 André Pönitz <poenitz@gmx.net>
5567 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5569 * paragraph_pimpl.h:
5570 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5572 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5574 * undo_funcs.C: make some simple cases of undo work again
5576 2003-06-03 John Levon <levon@movementarian.org>
5578 * ispell.C: HPUX doesn't have sys/select.h
5581 2003-06-03 John Levon <levon@movementarian.org>
5583 * CutAndPaste.C: update tabular and include inset
5588 * paragraph.C: remove owningBuffer(), don't pass Buffer
5591 * factory.C: insetGraphicsParams changed
5593 2003-06-02 John Levon <levon@movementarian.org>
5599 * text3.C: remove insetparent
5601 2003-06-02 John Levon <levon@movementarian.org>
5604 * buffer.C: fix inset_iterator.end(), move out of line
5607 2003-06-01 John Levon <levon@movementarian.org>
5609 * text3.C: use a proper cut/paste when doing inset
5610 insert (from Jürgen Spitzmüller)
5612 2003-06-01 John Levon <levon@movementarian.org>
5614 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5616 2003-05-30 André Pönitz <poenitz@gmx.net>
5618 * rowpainter.C: unify second drawing phase
5620 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5622 * trans_mgr.C: remove one case of current_view
5624 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5626 * paragraph_funcs.h: remove paragraph.h include
5628 * paragraph.h: delete NO_STD_LIST stuff
5630 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5632 * buffer.h: remove paragraph.h include
5634 * ParagraphList.C: delete file
5636 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5638 * toc.C (getTocList): adjust
5640 * paragraph_pimpl.C (validate): adjust
5642 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5644 * paragraph.C (Paragraph): adjust
5645 (getPositionOfInset): use const_iterator, adjust
5646 (bibitem): use const_iterator, adjust
5647 (setInsetOwner): adjust
5649 * iterators.C (operator++): adjust
5651 * InsetList.[Ch]: Replace selfmade iterator with standard
5652 vector::iterator also introduce const_iterator. Remove getPos,
5653 getInset and setInset from InsetTable. Adjust accordingly.
5655 * BufferView.C (lockInset): adjust
5656 (ChangeInsets): adjust
5658 * tabular.[Ch]: delete commented same_id functions
5660 2003-05-28 John Levon <levon@movementarian.org>
5662 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5664 2003-05-28 André Pönitz <poenitz@gmx.net>
5666 * metricsinfo.[Ch]: remove 'fullredraw' member
5668 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5670 * lyxtextclass.C (operator): remove caching.
5672 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5676 * text2.C (cursorBottom): adjust
5677 (setCounter): use ParagraphList::find, adjust
5679 * text.C (workWidth): use ParagraphList::find, adjust
5681 * lyxcursor.C (LyXCursor): adjust
5683 * buffer.C (inset_iterator): adjust
5685 * ParagraphList.h: make iterator(value_type) private, make
5686 ParagraphList a friend of iterator.
5688 * ParagraphList.C (find): new function
5690 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5692 2003-05-27 André Pönitz <poenitz@gmx.net>
5694 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5696 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5698 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5700 2003-05-26 John Levon <levon@movementarian.org>
5702 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5704 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5706 * remove same_id from function signatures, adjust.
5708 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5710 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5712 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5714 * paragraph.C (Paragraph): get rid of same_ids parameter
5716 * ParagraphList.C (insert): adjust
5719 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5721 * paragraph_funcs.C (breakParagraph): adjust
5722 (breakParagraphConservative): adjust
5724 * buffer.C (readParagraph): adjust
5726 * ParagraphList.C (insert): take a reference instead of a pointer
5729 * paragraph.[Ch] (id): new function
5731 * bufferlist.C (newFile): adjust
5733 * ParagraphList.C (ParagraphList): adjust
5735 (push_back): take a reference instead of a pointer.
5737 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5739 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5742 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5743 set else use old code.
5745 * ParagraphList.C: remove all NO_NEXT code and only compile this
5746 code of NO_STD_LIST is set.
5748 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5750 * BufferView_pimpl.C:
5760 * graphics/GraphicsConverter.C:
5761 * graphics/PreviewLoader.C: header adjustment
5763 2003-05-23 Angus Leeming <leeming@lyx.org>
5765 * LaTeXFeatures.[Ch] (useBabel): new method.
5766 * bufferparams.C (writeLaTeX): use it.
5768 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5770 * ParagraphList.h (set): remove unused function.
5772 2003-05-23 André Pönitz <poenitz@gmx.net>
5775 * BufferView_pimpl.C:
5779 * undo_funcs.C: setUndo reworked
5781 * iterators.[Ch]: add access to topmost ParagraphList
5783 * lyxtext.[Ch] (workWidth): add a const
5785 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5787 * texrow.[Ch] (increasePos): remove function
5788 * exporter.C (export): removed unused var and outdated comment
5790 2003-05-23 Angus Leeming <leeming@lyx.org>
5792 * latexrunparams.h: rename fragile as moving_arg.
5793 * paragraph.C (simpleTeXOnePar): ditto.
5794 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5796 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5798 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5800 (textUndoOrRedo): comment out a currently unused var.
5802 * paragraph.h (NO_NEXT): enable NO_NEXT
5804 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5806 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5808 * exporter.C (Export): adjust for removeAutoInsets removal.
5810 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5812 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5814 * BufferView.[Ch] (removeAutoInsets): delete function
5816 2003-05-22 Angus Leeming <leeming@lyx.org>
5818 * latexrunparams.h: add a free_spacing variable.
5820 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5821 to pass moving_arg, as the data is stored in runparams.fragile.
5823 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5824 to Inset::latexOptional or to simpleTeXOnePar.
5826 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5827 free_spacing arg to Inset::latexOptional.
5829 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5832 2003-05-22 Angus Leeming <leeming@lyx.org>
5834 * latexrunparams.h: add fragile and use_babel variables.
5836 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5837 * buffer.C (makeLaTeXFile): store this returned value in
5838 runparams.use_babel, thus passing it to the inset::latex methods.
5840 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5841 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5843 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5844 longer has a fragile arg, as it is stored in runparams.fragile.
5846 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5847 moving_arg parameter as the data is stored in runparams.fragile.
5849 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5850 a fragile parameter as the data is stored in runparams.fragile.
5852 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5854 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5856 2003-05-22 Angus Leeming <leeming@lyx.org>
5858 * latexrunparams.h: add a 'bool nice' which defaults to false.
5860 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5861 now encapsulated within runparams.
5863 * bufferlist.C (updateIncludedTeXfiles):
5864 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5866 2003-05-22 Angus Leeming <leeming@lyx.org>
5868 * latexrunparams.h: new file containing struct LatexRunParams.
5869 * Makefile.am: add new file.
5871 * LaTeX.[Ch] (c-tor, run):
5872 * buffer.[Ch] (makeLaTeXFile):
5873 * bufferlist.[Ch] (updateIncludedTeXfiles):
5874 * converter.C (convert, scanLog):
5875 * converter.[Ch] (runLaTeX):
5876 * exporter.C (Export):
5877 * paragraph.[Ch] (simpleTeXOnePar):
5878 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5879 * paragraph_funcs.[Ch] (latexParagraphs):
5880 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5881 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5882 pass around a LatexRunParams parameter.
5884 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5886 * paragraph.[Ch]: remove unused constructor
5888 * ParagraphList.C (erase): new function, taking two iterators
5890 2003-05-22 André Pönitz <poenitz@gmx.net>
5892 * undo_funcs.C: remove duplicated code
5894 * iterator.[Ch]: operator=
5896 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5898 * tabular.C (SetMultiColumn): ws changes
5900 * rowpainter.C (paintFirst): get rid of a ->previous
5902 * lyx_cb.C (getPossibleLabel): parlist simplification
5904 * BufferView.C (ChangeInsets): simplify slightly.
5906 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5908 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5909 * lfuns.h: new LFUN_SPACE
5910 * lyxfunc.C: protected space has a new lfun
5911 * paragraph_funcs.C: read new space insets
5913 * factory.C: handle new space insets
5915 2003-05-22 André Pönitz <poenitz@gmx.net>
5918 * BufferView_pimpl.C:
5921 * undo_funcs.C: return a ParIterator from getParFromID.
5923 * iterators.[Ch]: add two const's
5925 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5927 * toc.C (getTocList): adjust
5929 * iterators.[Ch]: rework for parlist
5931 * buffer.C (par_iterator_begin): adjust
5932 (par_iterator_end): adjust
5934 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5936 * BufferView.C (removeAutoInsets): adjust
5937 (ChangeInsets): adjust
5939 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5941 * text.C (top_y): fix bug 1110
5943 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5945 * errorlist.[Ch]: added
5948 * BufferView_pimpl.C:
5949 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5952 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5954 * Makefile.am: ensure that lyx is relinked upon changes to the
5955 various "convenience" libs.
5957 2003-05-20 Angus Leeming <leeming@lyx.org>
5959 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5960 files are compiled in alphabetical order again.
5962 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5964 2003-05-19 Angus Leeming <leeming@lyx.org>
5966 * gettext.[Ch]: remove "char const * _(char const *)".
5968 2003-05-19 André Pönitz <poenitz@gmx.net>
5970 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5979 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5981 2003-05-19 André Pönitz <poenitz@gmx.net>
5985 * lyxtextclass.[Ch]:
5987 * paragraph_funcs.[Ch]:
5989 * text3.C: more insetenv work
5991 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5993 * ParagraphParameters.C (params2string): small bug fixed
5995 2003-05-16 André Pönitz <poenitz@gmx.net>
5998 * bufferview_funcs.C: patch from Kornel Benko to prevent
5999 crash when _(...) is called twice in a statement
6001 2003-05-16 André Pönitz <poenitz@gmx.net>
6008 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6010 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6012 * lyx_main.C (init): remove spurious static_cast
6014 2003-05-14 André Pönitz <poenitz@gmx.net>
6016 * BufferView.C: fix format string
6018 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6020 * BufferView.[Ch] (insertErrors): removed
6021 * BufferView.[Ch] (showErrorList): added
6022 * buffer.C (runChkTeX):
6023 * converter.C (scanLog): call showErrorList instead of inserterrors
6025 2003-05-13 André Pönitz <poenitz@gmx.net>
6027 * BufferView_pimpl.C:
6029 * bufferview_func.C:
6036 * tabular_funcs.h: tostr() from its own header
6038 * ParagraphParameters.C:
6043 * text3.C: STRCONV()
6045 2003-05-12 André Pönitz <poenitz@gmx.net>
6048 * BufferView_pimpl.C:
6052 * ParagraphParameters.C:
6056 * bufferview_funcs.C:
6069 * paragraph_funcs.C:
6073 * text3.C: boost::format -> bformat all over the place
6076 2003-05-09 André Pönitz <poenitz@gmx.net>
6078 * LColor.[Ch]: Pimpl the #include <map> away
6080 2003-05-09 John Levon <levon@movementarian.org>
6082 * bufferlist.C: never remove emergency saves
6084 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6086 * Makefile.am: better lib building
6088 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6090 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6092 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6093 (simpleTeXSpecialChars): adjust
6094 (simpleTeXSpecialChars): adjust
6095 * paragraph.C (simpleTeXOnePar): adjust
6096 * buffer.C (makeLaTeXFile): adjust
6098 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6100 * text2.C (changeDepth): parlist cleanup
6101 (getColumnNearX): ditto
6103 * rowpainter.C (getLabelFont): parlist cleanup
6105 * bufferlist.C (newFile): parlist cleanup
6107 * CutAndPaste.C (eraseSelection): parlist cleanup
6109 * BufferView_pimpl.C (trackChanges): parlist cleanup
6112 * BufferView.C (lockInset): parlist cleanup.
6113 (ChangeInsets): ditto
6115 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6117 * CutAndPaste.h: Update file header.
6119 * CutAndPaste.C: Update file header.
6120 Store the parts cut out of the Document in a limited_stack.
6121 (copySelection): adjust
6122 (pasteSelection): new function, takes the index in the limited stack.
6123 (nrOfParagraphs): adjust
6124 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6125 simplify error inset insertion.
6126 (checkPastePossible): adjust
6128 2003-05-06 John Levon <levon@movementarian.org>
6130 * text2.C: don't cast wrap inset to float
6132 2003-05-05 André Pönitz <poenitz@gmx.net>
6135 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6137 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6138 few naked Paragraph *.
6140 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6142 * bufferparams.C: Output warning if a document with missing
6143 TeX document class is loaded
6144 * exporter.C: Disable TeX exports if the document class is missing
6147 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6148 isTeXClassAvailable()
6150 2003-05-03 John Levon <levon@movementarian.org>
6153 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6154 explicit cursor show/hide
6156 * BufferView_pimpl.h:
6157 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6158 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6160 * lyxfunc.C: hide cursor before dispatching.
6165 * text3.C: remove explicit cursor hides
6167 2003-05-02 André Pönitz <poenitz@gmx.net>
6169 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6172 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6175 * text2.C: tiny whitespace
6177 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6179 * undo_funcs.C: almost only ws changes.
6181 * ParagraphList.C (splice): just return if pl is empty.
6183 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6185 * ParagraphList.C (splice): new function.
6187 * CutAndPaste.C (pasteSelection): use it
6189 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6191 * CutAndPaste.C (pasteSelection): remove the last next and
6192 previous from this file.
6194 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6196 * CutAndPaste.C (pasteSelection): more clean up, user proper
6197 ParagraphList functions for pasteing.
6199 * ParagraphList.C (insert): new function, three arg insert
6201 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6203 * ParagraphList.C (insert): new function, three arg insert
6205 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6208 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6210 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6212 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6214 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6216 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6218 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6219 (copySelection): clean up a bit.
6220 (pasteSelection): use make_pair
6222 * ParagraphList.C (ParagraphList): implement copy constructor
6223 (operator=): implement, base on copy constructor.
6226 * paragraph.C (erase): return a bool
6228 * paragraph_pimpl.C (erasePos): remove function, move contents...
6229 (erase): ... here. Return a bool.
6230 (erase): call erase instead of erasePos.
6232 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6234 * ParagraphList.h: define PitPosPair
6235 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6236 ParagraphList, fix a bug on pasting multiple pars
6237 * text2.C: change interface to C&P
6239 2003-04-30 André Pönitz <poenitz@gmx.net>
6241 * undo_func.C: revert part of yesterday's patch 2
6243 2003-04-30 John Levon <levon@movementarian.org>
6245 * LColor.C: s/tabular/table/
6247 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6249 * text3.C (dispatch): do not convert iterator -> pointer
6250 * undo_funcs.C (setCursorParUndo): ditto
6251 * text_funcs.C (transposeChars): ditto
6253 * text2.C (setLayout): ws changes only
6255 * text.C (breakParagraph): do not convert iterator -> pointer
6257 (acceptChange): ditto
6258 (rejectChange): ditto
6263 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6266 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6268 * text3.C (gotoInset): YABG (yet another bad getChar)
6270 2003-04-29 André Pönitz <poenitz@gmx.net>
6272 * paragraph.h: make operator= private unimplemented as long as
6275 * ParagraphList.C: whitespace
6278 * paragraph_pimpl.[Ch]:
6279 * paragraph_funcs.C:
6281 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6284 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6286 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6288 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6289 * paragraph.[Ch] (erase):
6290 * paragraph_pimpl.[Ch] (erase): change return type and value
6291 * text2.C (cutSelection): some rework
6293 2003-04-28 John Levon <levon@movementarian.org>
6295 * bufferlist.C: changes for unsaved changes dialog
6297 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6299 * bufferlist.C (newFile): set language (messages_) for new
6302 * buffer.C (readFile): ws changes only.
6304 2003-04-28 André Pönitz <poenitz@gmx.net>
6309 * BufferView_pimpl.C:
6310 * BufferView.C: getParFromID related ParagraphList::iterator changes
6312 2003-04-28 André Pönitz <poenitz@gmx.net>
6314 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6317 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6319 * messages.C: remove one more localedir class variable.
6321 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6323 * messages.C (getLocaleDir): singleton generation function
6325 (Messages): add a default constructor.
6327 * main.C (main): do not setup localedir here, do not call
6330 * gettext.C (_): use it.
6331 (gettext_init): delete funciton
6333 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6335 * gettext.C (getLyXMessages): new singleton generating function.
6337 * buffer.C (updateDocLang): adjust
6339 * Makefile.am (messages.o): add target
6340 (main.o): remove target
6342 2003-04-27 John Levon <levon@movementarian.org>
6347 * lyxvc.C: specify cancel button in Alert::prompt
6349 2003-04-26 John Levon <levon@movementarian.org>
6354 * LyXAction.C: add LFUN_INSET_SETTINGS
6356 * lyxfunc.C: don't enable tabular-feature when there's
6357 just any locking inset
6359 2003-04-26 John Levon <levon@movementarian.org>
6361 * bufferlist.C: re-add Cancel to buffer close question
6363 * lyxfunc.C: fix import UI a bit
6365 2003-04-25 John Levon <levon@movementarian.org>
6367 * gettext.C: remove the broken asserts for now
6369 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6371 * messages.C: make case where setlocale cannot comply work better.
6373 * buffer.C (updateDocLang): new function
6374 (changeLanguage): use it
6377 * text2.C (setCounter): use B_ a bit.
6379 * lyxlayout.C (Read): be sure to trim the label strings.
6381 * messages.C (Messages): fix typo in comment
6383 * buffer.C (readFile): set message_ after file is loaded.
6384 (makeDocBookFile): remove double return
6385 (changeLanguage): reset message_ upon language change.
6386 (B_): new func, use this to get translated buffer strings.
6388 * main.C: add myself and Jean Marc as authors.
6390 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6392 * messages.[hC]: pimplify Messages, and three different pimpls to be
6393 used in different circumstances.
6395 * gettext.[Ch]: change for use with new message code.
6397 2003-04-24 André Pönitz <poenitz@gmx.net>
6399 * factory.C: support for eqref
6401 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6403 * messages.[Ch]: add missing char
6405 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6407 * messages.[Ch]: New files
6409 2003-04-18 John Levon <levon@movementarian.org>
6413 * BufferView_pimpl.C:
6417 * text2.C: remove layout-copy/paste (bug 778)
6419 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6421 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6423 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6425 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6426 if they succeed. Act accordingly.
6428 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6430 * text2.C (setCharFont): adjust
6431 (setCounter): adjust
6432 (insertStringAsLines): adjust
6434 * text.C (leftMargin): adjust
6435 (setHeightOfRow): adjust
6437 * rowpainter.C (paintFirst): adjust
6440 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6442 (isFirstInSequence): ditto
6443 (getEndLabel): ditto
6446 * paragraph.C (getParLanguage): comment out some hard stuff.
6448 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6450 (simpleDocBookOnePar): ditto
6451 (makeDocBookFile): use ParagraphList::iterator
6453 * CutAndPaste.C (pasteSelection): adjust
6455 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6457 * text2.C (getFont): adjust
6458 (getLayoutFont): adjust
6459 (getLabelFont): adjust
6461 * paragraph_funcs.C (TeXOnePar): adjust
6463 * buffer.C (simpleLinuxDocOnePar): adjust
6464 (simpleDocBookOnePar): adjust
6466 * CutAndPaste.C (pasteSelection): adjust
6468 * BufferView.C (getEncoding): adjust
6470 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6472 2003-04-16 John Levon <levon@movementarian.org>
6474 * lyxfind.C: use parlist stuff for search/changes
6476 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6478 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6480 * text2.C (deleteEmptyParagraphMechanism): adjust
6482 * text2.[Ch] (ownerParagraph): delete func (both of them
6484 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6486 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6488 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6490 * ParagraphList.C: prepare for NO_NEXT
6492 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6494 * text2.C (getFont): adjust
6495 (getLayoutFont): adjust
6496 (getLabelFont): adjust
6498 * paragraph.C (getFont): adjust
6499 (getLabelFont): adjust
6500 (getLayoutFont): adjust
6502 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6504 2003-04-15 John Levon <levon@movementarian.org>
6508 * lyx_main.C: handle Include in .ui files
6510 2003-04-15 John Levon <levon@movementarian.org>
6512 * MenuBackend.C: make the doc files length shorter
6515 * ToolbarBackend.C: handle toolbar placement flags,
6518 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6520 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6523 * paragraph_funcs.C (TeXOnePar): adjust
6525 * paragraph.C (getLabelFont): add outerfont arg, adjust
6526 (getLayoutFont): ditto
6527 (simpleTeXOnePar): adjust
6529 * paragraph_pimpl.C (realizeFont): delete func
6531 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6533 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6534 row argument, constify cur argument.
6536 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6538 * text2.C (getFont): adjust
6539 (getLayoutFont): adjust
6540 (getLabelFont): adjust
6542 * paragraph_funcs.C (TeXOnePar): adjust
6543 (outerFont): new func...
6544 (realizeFont): ...moved out from here, changed this to facilitate
6547 * paragraph.C (getFont): take outerfont as arg, adjust
6548 (simpleTeXOnePar): add outerfont arg, adjust
6550 * buffer.C (simpleLinuxDocOnePar): adjust
6551 (simpleDocBookOnePar): adjust
6553 * CutAndPaste.C (pasteSelection): adjust
6555 * BufferView.C (getEncoding): adjust
6557 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6559 * text2.C (setCharFont): adjust
6560 (setCounter): adjust
6562 * text.C (leftMargin): adjust
6563 (setHeightOfRow): adjust
6565 * rowpainter.C (paintFirst): adjust
6568 * paragraph_pimpl.C (realizeFont): adjust
6570 * paragraph.C (isFirstInSequence): move from here...
6571 * paragraph_funcs.C (isFirstInSequence): ...to here
6573 * paragraph.C (outerHook): move from here...
6574 * paragraph_funcs.C (outerHook): ...to here
6576 * paragraph.C (depthHook): move from here...
6577 * paragraph_funcs.C (depthHook): ...to here
6579 * paragraph.C (getEndLabel): move from here...
6580 * paragraph_funcs.C (getEndLabel): ...to here
6582 * text2.C (realizeFont): move from here...
6583 * paragraph_funcs.C (realizeFont): ...to here
6585 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6587 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6589 2003-04-14 Angus Leeming <leeming@lyx.org>
6591 * LColor.[Ch]: scrap LColor mathcursor.
6593 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6595 * lyxlex.[Ch] (text): delete function
6596 * trans.C (Load): adjust
6597 * paragraph_funcs.C (readParToken): adjust
6599 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6601 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6602 vector<char> instead of a char[].
6604 * lyxlex_pimpl.C (getString): adjust
6606 (lex): use getString
6610 * lyxlex.C (text): use pimpl_->getString()
6614 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6616 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6617 (makeFontEntriesLayoutSpecific): temp var for par.size()
6618 (setLayout): temp var for ownerParagraphs().end()
6619 (fullRebreak): temp var for rows().end()
6620 (selectionAsString): temp var for boost::next(startpit), realize
6621 that the while really is a regular for loop.
6622 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6623 setCursor in one place.
6624 (setParagraph): temp vr for ownerParagraphs().end()
6625 (updateCounters): make the while loop a for loop
6626 (cutSelection): temp var for ownerParagraphs().end()
6627 (updateInset): make the do {} while() a regular for loop
6628 (getCursorX): use temp vars
6629 (setCurrentFont): use temp vars
6630 (getColumnNearX): use temp vars
6632 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6634 * text.C (transformChar): use temp var for getChar
6635 (computeBidiTables): use temp var for row->par()
6636 (fill): move temp vars for row->par() and pit->layout() earlier in
6638 (labelFill): use temp var for row->par()
6639 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6640 asc and desc, realize that pit never changes and that firstpit is
6641 just a duplicate and not needed. Exchange rit->par() with pit in a
6643 (breakAgain): use a temp var for boost::next(rit)
6644 (breakAgainOneRow): ditto
6645 (breakParagraph): use a temp var for rows().begin()
6646 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6647 (cursorRightOneWord): use temp var for cursor.par() and
6648 cursor.pos(), remove usage of tmpcursor.
6649 (cursorLeftOneWord): use temp var for cursor.par() and
6650 cursor.pos() only set cur at end of function.
6652 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6654 * text.C, text2.C: exchange all usage of Paragraph::next with
6655 boost::next(ParagraphList::iterator)
6657 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6659 * text2.C (cursorTop): simplify implementation
6660 (cursorBottom): ditto
6661 (setParagraph): use ParagraphList::iterator
6662 (setCurrentFont): adjust
6663 (getColumnNearX): adjust
6664 (cursorRight): adjust
6665 (cursorLeft): remove usage of Paragraph::previous
6666 (cursorUpParagraph): ditto
6667 (deleteEmptyParagraphMechanism): slight cleanup
6669 * text.C (isBoundary): take a Paragraph const & instead of a
6671 (addressBreakPoint): ditto
6672 (leftMargin): remove usage of Paragraph::previous.
6673 (setHeightOfRow): ditto
6674 (cursorLeftOneWord): ditto
6675 (selectNextWordToSpellcheck): ditto
6678 (breakParagraph): remove one usage of Paragraph::next
6679 (redoParagraph): ditto
6680 (acceptChange): ditto
6681 (insertChar): adjust
6682 (rowBreakPoint): adjust
6684 * bufferview_funcs.C (toggleAndShow): adjust
6686 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6688 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6689 methods to access it.
6691 * text.C: Added updateRowPositions to compute all row positions.
6692 Make top_y and getRowNearY() to use the cached y position
6694 2003-04-11 John Levon <levon@movementarian.org>
6696 * text.C (rowBreakPoint): reintroduce the labelEnd
6697 checks, code copied from the row fill stuff. Deep voodoo.
6699 * text.C (fill): add a comment and debugging for the
6702 2003-04-11 John Levon <levon@movementarian.org>
6704 * text.C: make sure fullrow insets get wrapped to the next line,
6705 even when they're in a manual label
6707 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6709 * text2.C (insertParagraph): make it take ParagraphList::iterator
6711 (setLayout): make it return ParagraphList::iterator
6712 (redoParagraphs): ditto
6714 (checkParagraph): ditto
6716 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6718 * text2.C: adjust several funcs.
6719 (realizeFont): take a ParagraphList::iterator as arg.
6720 (getLayoutFont): ditto
6721 (getLabelFont): ditto
6722 (setCharFont): ditto
6724 * text.C: adjust several funcs.
6726 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6728 * text.C (selectNextWordToSpellcheck): don't accidentally
6731 2003-04-10 John Levon <levon@movementarian.org>
6733 * ToolbarBackend.C (getIcon): special handling for
6736 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6738 * text2.C (cursorRight): a getChar assert fixed
6740 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6742 * text2.C (getFont): change to take a ParagraphList::iterator
6743 instead of Paragraph*
6744 Adjust several functions.
6746 * text.C (transformChar): change to take a ParagraphList::iterator
6747 instead of Paragraph*
6748 (singleWidth): ditto
6749 Adjust several functions.
6751 * rowpainter.C: adjust several functions
6752 * rowpainter.h:store a ParagraphList::iterator and not a
6756 2003-04-09 John Levon <levon@movementarian.org>
6761 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6762 and the "help" bits as well
6764 2003-04-09 John Levon <levon@movementarian.org>
6767 * ToolbarBackend.C: allow multiple toolbars
6769 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6771 * undo_funcs.C (setCursorParUndo): adjust
6773 * text_funcs.C (transposeChars): adjust
6775 * text3.C (gotoNextInset): adjust
6778 * text2.C (setLayout): adjust
6779 (changeDepth): adjust
6781 (redoParagraphs): adjust
6782 (selectionAsString): adjust
6783 (setParagraph): adjust
6784 (insertInset): adjust
6785 (cutSelection): adjust
6786 (copySelection): adjust
6787 (pasteSelection): adjust
6788 (insertStringAsLines): adjust
6789 (updateInset): adjust
6790 (setCursor): change to take a ParagraphList::iterator parameter
6791 (setCursorIntern): change to take a ParagraphList::iterator parameter
6792 (setCurrentFont): adjust
6793 (cursorLeft): adjust
6794 (cursorRight): adjust
6795 (deleteEmptyParagraphMechanism): adjust
6797 * text.C (breakParagraph): adjust
6798 (insertChar): adjust
6799 (acceptChange): adjust
6800 (rejectChange): adjust
6801 (selectNextWordToSpellcheck): adjust
6802 (changeCase): adjust
6806 * lyxfind.C (SearchForward): adjust
6807 (SearchBackward): adjust
6808 (nextChange): adjust
6810 * lyxcursor.C (par): adjust
6812 * lyxcursor.h: store a ParagraphList::iterator instead of a
6815 * lyx_cb.C (getPossibleLabel): adjust
6817 * bufferview_funcs.C (toggleAndShow): adjust
6819 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6822 * BufferView.C (removeAutoInsets): adjust
6823 (lockedInsetStoreUndo): adjust
6825 2003-04-09 John Levon <levon@movementarian.org>
6827 * ToolbarBackend.C: try icon without argument
6828 if with argument fails
6830 2003-04-08 John Levon <levon@movementarian.org>
6833 * ToolbarBackend.C: add getIcon(), handle tooltip,
6834 and change from "Icon" to "Item".
6836 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6838 * BufferView.C (lockInset): another bad getchar crunched
6840 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6842 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6845 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6847 * lyxfind.C (searchForward, searchBackwards): bug 782
6849 2003-04-07 John Levon <levon@movementarian.org>
6851 * paragraph.C: remove dead comment
6853 * text.C: remove troublesome depth-fiddling code
6854 in leftMargin() and rightMargin() (bug 1017)
6856 * text.C: fix breaking of rows in nested lists
6859 * text2.C (updateCounters): fix up depth values
6862 2003-04-07 John Levon <levon@movementarian.org>
6864 * BufferView_pimpl.C: clear message when doc finishes resizing,
6865 and after a mouse event
6867 * lyxfunc.C: clear message after exiting inset
6869 2003-04-07 John Levon <levon@movementarian.org>
6871 * bufferview_funcs.C: show math status not outside
6872 status in the statusbar
6874 2003-04-07 John Levon <levon@movementarian.org>
6876 * lyxfunc.C: note status changed after a depth change
6878 2003-04-04 Angus Leeming <leeming@lyx.org>
6880 * LaTeX.h: move AuxInfo operator==, != out of line.
6881 Remove LaTeX virtual destructor; nothing derives from it.
6882 Move operator()() out of public area and rename it startscript().
6883 Change protected for private.
6885 2003-04-04 Angus Leeming <leeming@lyx.org>
6888 * text2.C: remove unneeded #includes.
6890 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6892 * text2.C (dEPM): fix the heigth of the next row
6894 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6896 * text.C: squashed an invalid getChar requester + some ws changes
6898 2003-04-03 John Levon <levon@movementarian.org>
6900 * bufferview_funcs.h:
6901 * bufferview_funcs.C:
6904 * text2.C: make getStatus work for the env depth lfuns
6906 2003-04-03 John Levon <levon@movementarian.org>
6908 * bufferview_funcs.h:
6909 * bufferview_funcs.C:
6912 * text2.C: parlistize decDepth(), by merging it with incDepth()
6914 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6916 * lyxrow.h: store a ParagraphList::iterator instead of a
6917 Paragraph* and adjust other class functions to suit.
6919 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6922 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6924 * text2.C (setCursor): do not anchor to cursor row for the time being
6926 2003-04-02 John Levon <levon@movementarian.org>
6933 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6935 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6937 * paragraph.h: make ParagraphList and ParagraphList::iterator
6938 friends of Paragraph.
6940 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6942 * ParagraphList.C: Use the private next_ and previous_ from
6945 2003-04-01 John Levon <levon@movementarian.org>
6949 * Makefile.am: rename, remove defaults gunk
6952 * MenuBackend.C: remove defaults gunk
6955 * Languages.C: remove defaults gunk
6958 * lyx_main.C: error out if files couldn't be found.
6960 2003-04-02 John Levon <levon@movementarian.org>
6962 * text2.C: make incDepth() use parlist
6964 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6966 * undo_funcs.C (firstUndoParagraph): adjust
6968 * text3.C (gotoInset): adjust
6969 (dispatch): adjust, and rewrite loop.
6971 * text2.C (init): adjust, and rewrite loop.
6972 (redoParagraphs): adjust
6973 (updateInset): adjust, and rewrite loop.
6974 (deleteEmptyParagraphMechanism): adjust
6976 * tabular.C (LyXTabular): adjust
6977 (SetMultiColumn): adjust
6980 * lyxtext.[Ch] (ownerParagraph): delete function
6981 (ownerParagraphs): new function returns a ParagraphList.
6983 * BufferView.C (removeAutoInsets): adjust
6984 (insertErrors): adjust
6985 (setCursorFromRow): adjust
6987 2003-04-01 Angus Leeming <leeming@lyx.org>
6989 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6992 2003-04-02 John Levon <levon@movementarian.org>
6998 * text_funcs.C: make transposeChars a free function
7000 * lyxrow_funcs.C: remove wrong comment
7002 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7005 * rowpainter.C: adjust
7010 * lyxrow_funcs. [Ch]: new files
7012 * lyxrow.[Ch]: remove next and previous pointers
7013 (next,previous): remove accessor functions
7014 (isParEnd): move to lyxrow_funcs
7015 (lastPos): move to lyxrow_funcs
7016 (nextRowIsAllInset): move to lyxrow_funcs
7017 (lastPrintablePos): move to lyxrow_funcs
7018 (numberOfSeparators): move to lyxrow_funcs
7019 (numberOfHfills): move to lyxrow_funcs
7020 (numberOfLabelHfills): move to lyxrow_funcs
7021 (hfillExpansion): move to lyxrow_funcs
7025 * bufferview_funcs.C (toggleAndShow): adjust
7027 * RowList.h: Remove class RowList from file leave just a
7030 * RowList.C: delete file
7032 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7035 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7037 * text3.C (cursorPrevious): adjust
7038 (cursorNext): adjust
7041 * text2.C (redoHeightOfParagraph): adjust
7042 (redoDrawingOfParagraph): adjust
7045 * text.C (breakParagraph): adjust
7046 (insertChar): adjust
7049 * rowpainter.C (RowPainter): adjust
7050 (leftMargin): simplify and adjust
7051 (most rowpainter functions): adjust.
7053 * rowpainter.h: store the row as RowList::iterator not as Row*
7055 * lyxcursor.C (row): taka RowList::iterator as arg
7058 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7061 2003-04-01 Angus Leeming <leeming@lyx.org>
7063 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7064 stuff like bool Bool.
7066 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7068 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7071 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7073 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7076 * lyxtext.h (rows): drop one version and leve a const variant that
7077 returns a RowList::iterator.
7079 2003-03-31 Angus Leeming <leeming@lyx.org>
7081 * text.C (fill): ensure that the signature is the same as that in the
7084 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7086 * text2.C (redoParagraphs): adjust
7087 (updateCounters): adjust
7088 (checkParagraph): adjust
7089 (getColumnNearX): adjust and reformat a bit.
7091 * text.C (top_y): adjust
7093 (leftMargin): adjust
7094 (prepareToPrint): adjust
7096 (getRowNearY): adjust
7098 * lyxtext.h: make rowlist_ mutable.
7100 * RowList.h: add const_iterator
7101 * RowList.C: adjust for RowList::const_iterator.
7103 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7106 2003-03-31 John Levon <levon@movementarian.org>
7109 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7111 * lyx_main.C: set default fonts from using lyx_gui funcs
7113 * exporter.C: pdf_mode moved from lyxrc
7116 * lyxfunc.C: changes from above
7118 2003-03-31 John Levon <levon@movementarian.org>
7120 * lyx_main.C: fix to the last fix
7122 2003-03-31 John Levon <levon@movementarian.org>
7124 * bufferlist.C: "Load original" -> "Load Original"
7130 * format.C: more Alert cleanups
7132 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7134 * text2.C (removeParagraph): make it take a RowList::iterator as
7136 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7137 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7139 * text.C (anchor_row): make it take a RowList::iterator as arg,
7141 (computeBidiTables): make it take a const reference to Row instead
7142 of Row pointer, adjust.
7143 (leftMargin): make it take a RowList::iterator as arg, adjust.
7144 (rowBreakPoint): adjust
7145 (breakAgainOneRow): make it take a RowList::iterator as arg,
7147 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7149 * bufferview_funcs.C (toggleAndShow): adjust
7151 2003-03-30 John Levon <levon@movementarian.org>
7155 * boost-inst.C: moved to support
7157 * several files: changes as a result
7159 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7161 * text2.C (LyXText): adjust.
7163 (removeRow): make it take a RowList::iterator as arg, adjust.
7164 (fullRebreak): adjust
7165 (deleteEmptyParagraphMechanism): adjust
7166 (clearPaint): adjust
7169 * text.C (top_y): adjust
7170 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7171 (breakAgain): make it take a RowList::iterator as arg, adjust.
7172 (breakParagraph): adjust
7173 (insertChar): adjust
7176 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7177 need_break_row, and refresh_row.
7179 * text3.C (dispatch): adjust
7181 * text2.C (checkParagraph): adjust
7183 (setCursorFromCoordinates): adjust
7185 * text.C (top_y): adjust
7187 (getRow): make it return a RowList::iterator, adjust
7188 (getRowNearY): make it return a RowList::iterator, adjust
7190 * text2.C (init): adjust
7191 (insertRow): remove function
7192 (insertParagraph): adjust
7193 (redoParagraphs): adjust
7194 (fullRebreak): adjust
7195 (updateCounters): adjust
7197 * text.C (top_y): rewrite to use RowList iterators.
7199 (setHeightOfRow): rewrite to sue RowList iterators.
7200 (appendParagraph): adjust
7201 (breakAgain): adjust
7202 (breakAgainOneRow): adjust
7203 (breakParagraph): adjust
7205 (getRowNearY): adjust, and remove commented code.
7207 * lyxtext.h (firstRow): delete function
7208 (lastRow): delete function
7209 (rows): new function (const and non-const versions.)
7210 (insertRow): delete function
7212 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7214 2003-03-29 John Levon <levon@movementarian.org>
7216 * BufferView_pimpl.C: always update scrollbar top
7217 because pasting text when we're anchored could mean we
7218 miss an update altogether
7220 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7222 * text2.C (init): use rowlist_.end() and not 0.
7223 (insertRow): change to take a RowList::iterator as arg, adjust
7225 (insertParagraph): change to take a RowList::iterator as arg,
7227 (redoParagraphs): remove some debug msgs.
7229 * text.C (appendParagraph): change to take a RowList::iterator
7230 arg, adjust for this.
7231 (breakAgain): add an assert
7232 (breakAgainOneRow): ditto
7234 2003-03-29 John Levon <levon@movementarian.org>
7236 * text2.C: do not clear selection after inc/decDepth
7239 2003-03-29 John Levon <levon@movementarian.org>
7242 * buffer.C: fix broken strerrors according to Lars
7244 2003-03-29 John Levon <levon@movementarian.org>
7246 * converters.C: more Alert cleanups
7248 2003-03-29 John Levon <levon@movementarian.org>
7250 * bufferview_funcs.C: remove pointless Alert
7252 * buffer.C: fix confusing error message when
7253 a template is chmoded 000
7255 2003-03-29 John Levon <levon@movementarian.org>
7259 * BufferView_pimpl.C: Alert fixes
7263 * tabular-old.C: remove unused table compat reading
7265 2003-03-29 John Levon <levon@movementarian.org>
7270 * lyx_cb.C: more Alert cleanups
7272 * lyxfunc.C: don't allow chktex if not latex document
7274 2003-03-29 John Levon <levon@movementarian.org>
7278 * buffer.C: warnings pushed down from support/,
7281 2003-03-29 John Levon <levon@movementarian.org>
7283 * lyxfunc.C: safety check for C-r (revert)
7285 2003-03-29 John Levon <levon@movementarian.org>
7288 * bufferlist.C: several UI fixes using Alert::prompt.
7289 Fix the pointless looping quit code. Fix stupid revert
7294 * lyx_cb.C: use Alert::prompt
7296 * lyx_main.C: remove a silly question
7298 * lyxfunc.C: remove a couple of silly questions,
7301 2003-03-28 John Levon <levon@movementarian.org>
7303 * text2.C: fix bug 974 (End on empty par)
7305 2003-03-28 John Levon <levon@movementarian.org>
7307 * BufferView_pimpl.C:
7309 * lfuns.h: remove do-nothing math greek lfuns
7311 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7313 * lyxgluelength.h (isValidGlueLength): add default arg on
7314 parameter 2. Remove default arg from friend in class.
7316 * lyxlength.h (isValidLength): add default arg on parameter 2.
7317 Remove default arg from friend in class.
7319 * text2.C (LyXText): adjust, initialize refresh_row.
7323 (insertParagraph): adjst
7324 (redoParagraphs): adjust
7325 (fullRebreak): adjust
7326 (updateCounters): adjust
7327 (deleteEmptyParagraphMechanism): first attempt at fixing a
7330 * text.C (top_y): adjust
7331 (setHeightOfRow): adjust
7333 (getRowNearY): adjust
7335 * lyxtext.h: include RowList.h
7336 (~LyXText): not needed anymore, deleted.
7337 (firstRow): modify for RowList
7338 (lastRow): new function
7339 Delete firstrow and lastrow class variables, add a Rowlist
7340 rowlist_ class variable.
7342 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7345 * RowList.C (insert): fix case where it == begin().
7347 2003-03-26 Angus Leeming <leeming@lyx.org>
7349 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7350 the thesaurus dialog.
7352 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7354 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7356 * RowList.[Ch]: new files
7358 * ParagraphList.C (erase): handle the case where it == begin
7361 2003-03-25 John Levon <levon@movementarian.org>
7365 * aspell.C: add new aspell support
7368 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7371 2003-03-25 Angus Leeming <leeming@lyx.org>
7374 * LyXAction.C (init): new LFUN_INSET_INSERT.
7376 * BufferView_pimpl.C (dispatch): split out part of the
7377 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7379 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7382 2003-03-25 Angus Leeming <leeming@lyx.org>
7384 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7386 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7389 * text3.C: remove useless row->height(0)
7391 2003-03-25 John Levon <levon@movementarian.org>
7395 * text3.C: rename the refreshing stuff to better names
7397 2003-03-24 John Levon <levon@movementarian.org>
7399 * BufferView_pimpl.h:
7400 * BufferView_pimpl.C: update layout choice on a mouse
7403 2003-03-23 John Levon <levon@movementarian.org>
7405 * Makefile.am: fix commandtags.h reference
7407 2003-03-22 John Levon <levon@movementarian.org>
7409 * BufferView_pimpl.C:
7414 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7416 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7419 * text.C: take the rtl methods out of line
7421 2003-03-21 André Pönitz <poenitz@gmx.net>
7423 * metricsinfo.[Ch]: new files containing structures to be passed around
7424 during the two-phase-drawing...
7426 2003-03-21 André Pönitz <poenitz@gmx.net>
7428 * lyxtextclass.C: read 'environment' tag.
7430 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7432 * text2.C (removeRow): fix bug 964
7434 2003-03-20 John Levon <levon@movementarian.org>
7438 * text2.C: paint cleanups. Inset::update() dropped font
7441 2003-03-19 John Levon <levon@movementarian.org>
7443 * lyxfunc.C: only fitcursor/markDirty if available()
7445 2003-03-19 John Levon <levon@movementarian.org>
7447 * commandtags.h: rename to ...
7449 * lfuns.h: ... this, and renumber / cleanup
7451 2003-03-19 John Levon <levon@movementarian.org>
7453 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7454 fit the cursor after an lfun
7458 * BufferView_pimpl.h:
7459 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7461 * LyXAction.C: layout-character should have ReadOnly
7463 * ParagraphParameters.C:
7465 * bufferview_funcs.C:
7472 * undo_funcs.C: changes from above
7474 2003-03-18 John Levon <levon@movementarian.org>
7476 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7477 remove it from update()
7479 * lyxfunc.C: update layout choice after an lfun
7481 * text3.C: remove extra updateLayoutChoice()s
7483 2003-03-18 John Levon <levon@movementarian.org>
7485 * text.C: top_y change means full repaint, fix
7486 a drawing bug with cursor movement
7488 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7492 * text2.C: anchor row on setCursor
7494 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7496 * lyxtext.h: remove almost all mutable keywords
7499 * text3.C: remove const keywords accordingly
7501 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7503 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7505 (TeXEnvironment): ditto
7508 2003-03-17 John Levon <levon@movementarian.org>
7510 * text.C (rowBreakPoint): remove attempt to fix displayed
7511 math insets inside a manual label
7513 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7515 * lyxtext.h: remove BufferView* as first arg from almost all class
7517 * other files: adjust.
7519 2003-03-17 John Levon <levon@movementarian.org>
7523 * text2.C: more paint cleanups
7525 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7528 * rowpainter.C: remove "smart" background painting code
7530 2003-03-16 John Levon <levon@movementarian.org>
7535 * text3.C: add helper functions for setting refresh_row/y
7537 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7539 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7540 newline inset which *can* get inserted in the pass_thru layouts.
7541 This is primarily for literate documents.
7543 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7545 * buffer.C: increment LYX_FORMAT to 223
7547 2003-03-14 André Pönitz <poenitz@gmx.net>
7549 * textclass.h: prepare for environment handling, ws changes
7550 * lyxlayout.C: read latexheader and latexfooter tags
7552 2003-03-14 John Levon <levon@movementarian.org>
7554 * text2.C: rewrite ::status() a bit
7556 2003-03-13 John Levon <levon@movementarian.org>
7558 * lyxtext.h: add some docs
7560 2003-03-13 John Levon <levon@movementarian.org>
7565 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7567 2003-03-13 John Levon <levon@movementarian.org>
7569 * text3.C: fix appendix redrawing
7571 2003-03-13 John Levon <levon@movementarian.org>
7573 * text.C (setHeightOfRow):
7575 * rowpainter.C: make appendix mark have the text
7576 "Appendix" so the user knows what it is
7579 * LColor.C: s/appendixline/appendix/ from above
7581 2003-03-13 John Levon <levon@movementarian.org>
7583 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7585 * text.C: fix a getChar(pos) bug properly
7587 2003-03-13 Angus Leeming <leeming@lyx.org>
7590 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7591 Probably only temporary. Let's see how things pan out.
7593 * BufferView.C (unlockInset):
7594 * BufferView_pimpl.C (fitCursor):
7595 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7597 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7598 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7600 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7601 new functions that convert ParagraphParameters to and from a string.
7603 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7604 BufferView::Pimpl's dispatch.
7605 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7607 2003-03-13 André Pönitz <poenitz@gmx.net>
7611 * factory.C: make it aware of InsetEnv
7613 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7615 * text2.C (setCursor): never ask for one past last
7616 (setCursor): add some debugging messages.
7618 * text.C (singleWidth): never ask for one past last
7619 (singleWidth): ditto
7621 (rightMargin): ditto
7622 (rowBreakPoint): ditto
7623 (setHeightOfRow): ditto
7624 (prepareToPrint): ditto
7626 * rowpainter.C (paintBackground): never ask for one past last
7627 (paintText): never ask for one past last
7629 * paragraph_pimpl.C (getChar): make the assert stricter, never
7630 allow the one past last pos to be taken
7632 * paragraph.C (getChar): ws changes only
7634 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7635 (numberOfSeparators): ditto
7636 (numberOfHfills): ditto
7638 2003-03-12 John Levon <levon@movementarian.org>
7644 * paragraph_funcs.C: fix per-buffer authorlists
7646 2003-03-12 John Levon <levon@movementarian.org>
7648 * text.C: fix newline in right address
7650 2003-03-12 Angus Leeming <leeming@lyx.org>
7652 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7653 duplicate those in LyXFunc::dispatch.
7657 * ToolbarDefaults.C:
7658 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7659 Add LFUN_FONTFREE_UPDATE.
7661 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7662 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7664 * bufferview_func.[Ch]: several new functions to facilliate
7665 transfer of data to and from the character dialog.
7667 2003-03-12 John Levon <levon@movementarian.org>
7672 * paragraph_funcs.C:
7673 * paragraph_pimpl.C:
7677 * text3.C: remove META_NEWLINE in favour of an inset
7680 * rowpainter.C: remove paintNewline (done by inset)
7682 2003-03-12 John Levon <levon@movementarian.org>
7684 * paragraph_pimpl.C: complain about bad getChar()s
7685 for a while at least
7687 2003-03-12 John Levon <levon@movementarian.org>
7690 * buffer.C: move paragraph read into a separate function,
7691 a little renaming to reflect that.
7694 * bufferparams.C: remove the author_ids map, not necessary now
7697 * factory.C: moved Buffer::readInset to here
7699 * paragraph_funcs.h:
7700 * paragraph_funcs.C: readParagraph free function moved from
7703 * tabular.C: name change
7705 2003-03-12 John Levon <levon@movementarian.org>
7708 * ParagraphParameters.C: move par params input to
7711 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7712 behave like a normal read from the stream wrt reading
7713 a line vs. a \\token
7715 2003-03-12 John Levon <levon@movementarian.org>
7718 * ParagraphParameters.h:
7719 * ParagraphParameters.C: move output code to a
7722 2003-03-12 John Levon <levon@movementarian.org>
7724 * BufferView.C (insertLyXFile):
7727 * tabular.C: use a parlist iterator for creating the
7730 2003-03-12 John Levon <levon@movementarian.org>
7732 * buffer.C: make current_change static local not
7735 2003-03-12 John Levon <levon@movementarian.org>
7737 * buffer.C: fix insertStringAsLines for change tracking
7739 2003-03-12 John Levon <levon@movementarian.org>
7746 * bufferparams.C: move author list into params. Rename some
7747 functions. Move the header reading into a separate token
7748 loop. Move the header token reading into BufferParams.
7750 2003-03-12 John Levon <levon@movementarian.org>
7752 * changes.C: put debug inside lyxerr.debugging() checks
7754 2003-03-11 André Pönitz <poenitz@gmx.net>
7756 * factory.C: make it aware of InsetHFill
7758 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7760 * buffer.C (latexParagraphs): move function from here...
7761 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7764 2003-03-10 Angus Leeming <leeming@lyx.org>
7766 * LyXAction.C (init): fix bug in poplating array with multiple entries
7767 with the same LFUN (spotted by JMarc).
7769 2003-03-10 John Levon <levon@movementarian.org>
7772 * text2.C: move getColumnNearX() near its
7775 2003-03-10 John Levon <levon@movementarian.org>
7777 * text.C: fix break before a minipage
7779 2003-03-10 John Levon <levon@movementarian.org>
7781 * text.C: fix the last commit
7783 2003-03-09 John Levon <levon@movementarian.org>
7787 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7788 bug 365 (don't break before insets unless needed). Don't
7789 return a value > last under any circumstances.
7791 2003-03-09 Angus Leeming <leeming@lyx.org>
7793 * BufferView_pimpl.C (trackChanges, dispatch): call
7794 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7796 2003-03-09 Angus Leeming <leeming@lyx.org>
7798 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7799 than Dialogs::showAboutlyx().
7801 2003-03-09 Angus Leeming <leeming@lyx.org>
7803 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7804 than Dialogs::showTabularCreate().
7806 2003-03-09 John Levon <levon@movementarian.org>
7810 * text2.C: 3rd arg to nextBreakPoint was always the same.
7813 2003-03-08 John Levon <levon@movementarian.org>
7820 * text2.C: Remove the "main" bit from the "main body"
7823 2003-03-08 John Levon <levon@movementarian.org>
7825 * text.C (leftMargin): The left margin of an empty
7826 manual label paragraph should not include the label width
7829 * text.C (prepareToPrint): don't attempt to measure hfills
7830 for empty manual label paragraphs - the answer should be 0
7832 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7834 * CutAndPaste.C: remove commented code and reindent.
7836 2003-03-08 John Levon <levon@movementarian.org>
7839 * lyxfunc.C: move reloadBuffer()
7842 * BufferView.C: to here
7844 * lyxvc.C: add comment
7847 * vc-backend.C: call bv->reload() to avoid
7848 getStatus() check on MENURELOAD
7850 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7852 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7853 to an old format .dep file.
7855 2003-03-07 Angus Leeming <leeming@lyx.org>
7857 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7858 when the LFUN_MOUSE_RELEASE should have been handled by
7859 inset->localDispatch.
7861 2003-03-07 Angus Leeming <leeming@lyx.org>
7863 * BufferView_pimpl.C (dispatch):
7864 * LyXAction.C (init):
7865 * ToolbarDefaults.C (init):
7867 * lyxfunc.C (getStatus):
7868 remove LFUN_INSET_GRAPHICS.
7870 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7872 2003-03-07 Angus Leeming <leeming@lyx.org>
7875 * LyXAction.C (init):
7876 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7878 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7881 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7883 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7884 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7886 2003-03-07 Angus Leeming <leeming@lyx.org>
7888 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7891 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7893 * ParagraphList.C (front): new function
7896 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7898 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7899 and top_row_offset_. removed var first_y.
7901 * text2.C (LyXText, removeRow):
7903 * BufferView_pimpl.C:
7904 use these methods instead of using first_y
7906 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7908 * text2.C (pasteSelection): adjust for checkPastePossible
7910 * CutAndPaste.C: remove Paragraph * buf and replace with
7911 ParagraphList paragraphs.
7912 (DeleteBuffer): delete
7913 (cutSelection): change the tc type to textclass_type
7914 (copySelection): change the tc type to textclass_type
7915 (copySelection): adjust for ParagraphList
7916 (pasteSelection): change the tc type to textclass_type
7917 (pasteSelection): adjust for Paragraphlist
7918 (nrOfParagraphs): simplify for ParagraphList
7919 (checkPastePossible): simplify for ParagraphList
7920 (checkPastePossible): remove unused arg
7922 * ParagraphList.C (insert): handle the case where there are no
7925 * CutAndPaste.h: make CutAndPaste a namespace.
7927 * text3.C (dispatch): adjust
7929 * text.C (breakParagraph): add a ParagraphList as arg
7931 * paragraph_funcs.C (breakParagraph): change to take a
7932 BufferParams and a ParagraphList as args.
7933 (breakParagraphConservative): ditto
7934 (mergeParagraph): ditto
7935 (TeXDeeper): add a ParagraphList arg
7936 (TeXEnvironment): ditto
7939 * buffer.C (readLyXformat2): adjust
7940 (insertStringAsLines): adjust
7941 (latexParagraphs): adjust
7943 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7944 (cutSelection): adjust
7945 (pasteSelection): adjust
7947 * BufferView_pimpl.C (insertInset): adjust
7949 2003-03-05 Angus Leeming <leeming@lyx.org>
7952 * LyXAction.C (init):
7953 * BufferView_pimpl.C (dispatch):
7954 * lyxfunc.C (getStatus):
7955 remove LFUN_CHILD_INSERT.
7957 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7959 2003-03-05 Angus Leeming <leeming@lyx.org>
7962 * LyXAction.C (init):
7963 * src/factory.C (createInset):
7964 * lyxfunc.C (getStatus):
7965 * text3.C (dispatch):
7966 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7968 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7970 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7972 * ParagraphList.C (insert): handle insert right before end()
7973 (erase): fix cases where it can be first or last paragraph.
7975 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7977 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7978 Paragraph::next and Paragraph::previous
7981 * text.C (breakParagraph): adjust
7983 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7984 BufferParams& as arg.
7985 (breakParagraph): use ParagraphList::insert
7986 (breakParagraphConservative): take a Buffer* instead of a
7987 BufferParams& as arg.
7988 (breakParagraphConservative): use ParagraphList::insert.
7990 * buffer.C (insertStringAsLines): un-const it
7991 (insertStringAsLines): adjust
7993 * ParagraphList.C (insert): new function
7995 * CutAndPaste.C (pasteSelection): adjust
7997 * text.C (backspace): adjust
7999 * tabular.C (SetMultiColumn): adjust
8001 * CutAndPaste.C (cutSelection): adjust
8002 (pasteSelection): adjust
8004 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8005 Buffer const * as arg
8007 * ParagraphList.C (erase): new function
8008 * paragraph_funcs.C (mergeParagraph): use it
8009 (mergeParagraph): make it take a Buffer* instead of a
8010 BufferParams* as arg
8012 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8014 (breakParagraphConservative): ditto
8016 * paragraph.h: remove the breakParagraph friend
8018 * paragraph.C (eraseIntern): new function
8019 (setChange): new function
8021 * paragraph_funcs.C (mergeParagraph): make it take a
8022 ParagraphList::iterator instead of a Paragraph *, adjust
8025 * paragraph.h: move an #endif so that the change tracking stuff
8026 also works in the NO_NEXT case.
8028 2003-03-04 Angus Leeming <leeming@lyx.org>
8031 * LyXAction.C: new LFUN_INSET_MODIFY.
8033 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8034 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8036 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8038 * several files: ws changes only
8040 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8041 (TeXEnvironment): ditto
8044 * buffer.C (makeLaTeXFile): adjust
8045 (latexParagraphs): make it take ParagraphList::iterator as args
8047 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8049 * buffer.C (latexParagraphs): adjust
8051 * paragraph.C (TeXOnePar): move function...
8052 (optArgInset): move function...
8053 (TeXEnvironment): move function...
8054 * paragraph_pimpl.C (TeXDeeper): move function...
8055 * paragraph_funcs.C: ...here
8057 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8059 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8061 * buffer.C (readInset): remove compability code for old Figure and
8064 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8066 * buffer.C: ws changes
8069 * BufferView_pimpl.C: ditto
8072 * bufferlist.h: ditto
8076 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8078 * converter.[Ch]: split into itself +
8081 * Makefile.am: += graph.[Ch] + format.[Ch]
8088 * lyxrc.C: added #include "format.h"
8090 2003-02-27 Angus Leeming <leeming@lyx.org>
8092 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8095 * factory.C (createInset): add "label" to the factory.
8097 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8098 string and do no more.
8100 2003-02-27 Angus Leeming <leeming@lyx.org>
8103 * LyXAction.C (init):
8104 * factory.C (createInset):
8105 * BufferView_pimpl.C (dispatch):
8106 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8108 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8110 * lyxfunc.C (dispatch):
8111 * text3.C (dispatch): pass name to params2string.
8113 2003-02-26 Angus Leeming <leeming@lyx.org>
8115 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8117 Rearrange the ~includes. Strip out the unnecessary ones.
8119 * factory.C (createInset): reformat.
8120 create new insets for the various LFUN_XYZ_APPLY lfuns.
8122 2003-02-26 John Levon <levon@movementarian.org>
8125 * lyxrow.C: add isParStart,isParEnd helpers
8127 * paragraph.h: make isInserted/DeletedText take refs
8129 * paragraph_funcs.h:
8130 * paragraph_funcs.C: remove #if 0'd code
8135 * text.C: use lyxrow helpers above.
8136 Move draw and paint routines to RowPainter.
8137 Make several methods use refs not pointers.
8138 Make backgroundColor() const.
8139 Add markChangeInDraw(), isInInset().
8140 Merge changeRegionCase into changeCase.
8141 Make workWidth() shouldn't-happen code into an Assert.
8144 * rowpainter.C: new class for painting a row.
8147 * vspace.C: make inPixels take a ref
8149 2003-02-26 Angus Leeming <leeming@lyx.org>
8151 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8154 2003-02-25 John Levon <levon@movementarian.org>
8156 * ispell.C: give the forked command a more accurate name
8158 2003-02-22 John Levon <levon@movementarian.org>
8161 * toc.C: make TocItem store an id not a Paragraph *
8164 2003-02-21 Angus Leeming <leeming@lyx.org>
8166 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8167 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8168 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8169 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8170 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8171 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8173 * BufferView_pimpl.C (dispatch):
8174 * LyXAction.C (init):
8175 * factory.C (createInset):
8176 * lyxfunc.C (getStatus, dispatch):
8177 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8179 2003-02-21 Angus Leeming <leeming@lyx.org>
8181 * BufferView_pimpl.C (MenuInsertLyXFile):
8182 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8183 * lyxfunc.C (menuNew, open, doImport):
8184 no longer pass a LyXView & to fileDlg.
8186 2003-02-21 Angus Leeming <leeming@lyx.org>
8188 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8189 * LyXAction.C: change, BIBKEY to BIBITEM.
8190 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8191 Change InsetBibKey to InsetBibitem.
8192 Change BIBKEY_CODE to BIBITEM_CODE.
8193 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8194 * factory.C: replace insetbib.h with insetbibitem.h.
8195 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8196 * paragraph.C: replace insetbib.h with insetbibitem.h.
8197 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8198 Change bibkey() to bibitem().
8199 * text.C: remove insetbib.h.
8200 * text2.C: replace insetbib.h with insetbibitem.h.
8201 change bibkey() to bibitem().
8202 * text3.C: remove insetbib.h.
8203 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8205 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8207 * lyxrc.C (output): enclose user email in quotes (in case there are
8210 2003-02-18 John Levon <levon@movementarian.org>
8212 * buffer.h: add std::
8214 2003-02-17 John Levon <levon@movementarian.org>
8220 * pspell.C: reworking. Especially in ispell, a large
8221 number of clean ups and bug fixes.
8223 * lyxfunc.C: fix revert to behave sensibly
8225 2003-02-17 André Pönitz <poenitz@gmx.net>
8228 * commandtags.h: new LFUN_INSERT_BIBKEY
8238 * paragraph_func.C: remove special bibkey handling
8240 2003-02-17 John Levon <levon@movementarian.org>
8242 * text.C (Delete): fix case where delete at the end of
8243 the very first paragraph would not merge the pars
8245 2003-02-17 John Levon <levon@movementarian.org>
8247 * lyxrow.C: fix lastPrintablePos()
8249 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8251 * bufferparams.C (writeLaTeX): add a std:here
8253 * buffer.C: and remove a using directive there
8255 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8257 * buffer.C (makeLaTeXFile): move the code that generates the
8260 * bufferparams.C (writeLaTeX): ... in this new method
8262 * LaTeXFeatures.C (getEncodingSet): make const
8263 (getLanguages): make const
8265 * MenuBackend.C (binding): returns the binding associated to this
8267 (add): sets the status of each item by calling getStatus. Adds
8269 (read): add support for OptSubMenu
8270 (expand): remove extra separator at the end of expanded menu
8272 2003-02-15 John Levon <levon@movementarian.org>
8275 * BufferView_pimpl.C:
8277 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8278 inset code that had no actual effect. Remove unneeded status
8281 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8283 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8286 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8288 * text.C (drawLengthMarker): also draw an arrow marker for
8289 symbolic lengths (medskip...)
8291 2003-02-14 John Levon <levon@movementarian.org>
8294 * tabular.C: better method names
8296 2003-02-14 John Levon <levon@movementarian.org>
8298 * BufferView_pimpl.C:
8303 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8304 it's a more accurate name. Remove some pointless uses.
8306 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8308 * text2.C (LyXText): change order of initilizers to shut off
8311 2003-02-14 John Levon <levon@movementarian.org>
8313 * buffer.C: use ParIterator for getParFromID()
8317 * paragraph_pimpl.h:
8318 * paragraph_pimpl.C: remove unused getParFromID()
8320 2003-02-14 John Levon <levon@movementarian.org>
8322 * buffer.C: remove some very old #if 0'd parse code
8324 2003-02-13 John Levon <levon@movementarian.org>
8328 * text2.C: move hfillExpansion(), numberOfSeparators(),
8329 rowLast(), rowLastPrintable(), numberofHfills(),
8330 numberOfLabelHfills() ...
8333 * lyxrow.C: ... to member functions here.
8338 * text.C: remove LyXText::beginningOfMainBody(), and call
8339 p->beginningOfMainBody() directly. Move the check for
8340 LABEL_MANUAL into the latter.
8347 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8353 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8354 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8356 2003-02-13 John Levon <levon@movementarian.org>
8358 * CutAndPaste.C: remove debug
8360 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8362 * paragraph.C (asString): remove two unused variables
8364 * lyxtextclass.C (readTitleType):
8366 (LyXTextClass): handle new members titletype_ and titlename_
8368 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8370 2003-02-09 John Levon <levon@movementarian.org>
8373 * buffer.C: replace hand-coded list with a map for the dep clean
8375 2003-02-08 John Levon <levon@movementarian.org>
8377 * LaTeX.C: consolidate code into showRunMessage() helper
8379 2003-02-08 John Levon <levon@movementarian.org>
8384 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8385 and pass the size in explicitly
8387 * BufferView_pimpl.h:
8388 * BufferView_pimpl.C:
8390 * BufferView.C: add getCurrentChange()
8392 * BufferView_pimpl.h:
8393 * BufferView_pimpl.C: handle change lfuns
8395 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8396 for changes. Mark pasted paragraphs as new.
8398 * support/lyxtime.h:
8399 * support/lyxtime.C:
8400 * DepTable.C: abstract time_t as lyx::time_type
8403 * LColor.C: add colours for new text, deleted text, changebars
8405 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8406 package use "usenames" option.
8410 * LyXAction.C: add change lfuns
8414 * author.C: author handling
8417 * buffer.C: add a per-buffer author list, with first entry as
8418 current author. Handle new .lyx tokens for change tracking. Output
8419 author list to .lyx file. Output dvipost stuff to .tex preamble.
8420 Bump lyx format to 222.
8423 * bufferlist.C: add setCurrentAuthor() to reset current author details
8427 * bufferparams.C: add param for tracking
8429 * bufferview_funcs.C: output change info in minibuffer
8433 * changes.C: add change-tracking structure
8436 * debug.C: add CHANGES debug flag
8439 * lyxfind.C: add code for finding the next change piece
8442 * lyxrc.C: add user_name and user_email
8445 * lyxrow.C: add a metric for the top of the text line
8448 * text.C: implement accept/rejectChange()
8451 * text.C: paint changebars. Paint new/deleted text in the chosen
8452 colours. Strike through deleted text.
8456 * paragraph_pimpl.h:
8457 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8458 in the current change to the insert functions. Rework erase to
8459 mark text as deleted, adding an eraseIntern() and a range-based
8460 erase(). Implement per-paragraph change lookup and
8463 * paragraph_funcs.C: Fixup paste for change tracking.
8465 * tabular.C: mark added row/columns as new.
8467 * text.C: fix rowLast() to never return -1. Don't allow
8468 spellchecking of deleted text. Track transpose changes. Don't
8469 allow paragraph break or merge where appropriate.
8471 * text2.C: leave cursor at end of selection after a cut.
8473 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8475 * text.C (getLengthMarkerHeight):
8476 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8477 visible on screen too.
8479 2003-02-07 John Levon <levon@movementarian.org>
8481 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8483 2003-02-05 Angus Leeming <leeming@lyx.org>
8485 * lyxserver.C (read_ready): revert my patch of 11 September last year
8486 as it sends PC cpu through the roof. Presumably this means that
8487 the lyxserver will no longer run on an Alpha...
8489 2003-01-30 Angus Leeming <leeming@lyx.org>
8491 * factory.C (createInset): create an InsetCommandParam of type "index"
8492 and use it to 'do the right thing'.
8494 * text2.C (getStringToIndex): ensure that cursor position is always
8495 reset to the reset_cursor position.
8497 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8499 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8502 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8506 * lyxfunc.C: Output messages with identical spelling, punctuation,
8509 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8511 * MenuBackend.C (expandFormats): List only viewable export formats
8514 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8517 * lyxfunc.C (getStatus): Make sure that formats other than
8518 "fax" can also be disabled
8520 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8522 * text3.C (dispatch): put the lfuns that insert insets in 3
8523 groups, and call doInsertInset with appropriate arguments.
8524 (doInsertInset): new function, that creates an inset and inserts
8525 it according to some boolean parameters.
8527 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8529 * buffer.C (readFile): remember to pass on 'par' when calling
8530 readFile recursively.
8532 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8534 * MenuBackend.C (expandFormats): add "..." to import formats.
8536 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8538 * paragraph.C (asString): Remove XForms RTL hacks.
8540 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8541 * buffer.C: fix typo
8543 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8545 * Makefile.am (LIBS): delete var
8546 (lyx_LDADD): add @LIBS@ here instead.
8548 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8550 * Clarify the meaning of "wheel mouse jump"
8552 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8554 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8557 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8559 * importer.C (Loaders): do not preallocate 3 elements in the
8560 vector, since one ends up with 6 elements otherwise
8562 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8564 * DepTable.C (write): write the file name as last element of the
8565 .dep file (because it may contain spaces)
8566 (read): read info in the right order
8568 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8570 * paragraph_pimpl.C (simpleTeXBlanks):
8571 (simpleTeXSpecialChars):
8572 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8574 * tabular.C (latex): add some missing case statements. Reindent.
8576 * MenuBackend.C (expandToc): remove unused variable.
8578 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8587 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8590 2003-01-05 John Levon <levon@movementarian.org>
8593 * BufferView.C: add getEncoding()
8596 * kbsequence.C: do not store last keypress
8599 * lyxfunc.C: store last keypress here instead. Pass encoding
8602 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8604 * lyx_main.C (init): remove annoying error message when following
8605 symbolic links (bug #780)
8607 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8609 * text.C (insertChar):
8610 * lyxrc.C (getDescription): remove extra spaces
8612 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8614 * lyxrc.C (getDescription): remove extra spaces
8616 2002-12-20 John Levon <levon@movementarian.org>
8618 * text3.C: hack fix for page up/down across tall rows
8620 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8622 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8625 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8627 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8628 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8629 thesaurus is not compiled in
8631 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8633 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8635 2002-12-16 Angus Leeming <leeming@lyx.org>
8638 * lyx_main.C (init): remove override_x_deadkeys stuff.
8640 2002-12-12 John Levon <levon@movementarian.org>
8642 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8643 insert. Only remove shift modifier under strict
8646 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8648 * MenuBackend.C (expandToc): fix crash.
8650 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8652 * MenuBackend.C (expandToc): gettext on float names.
8654 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8656 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8657 implement bool empty() [bug 490]
8659 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8661 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8663 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8665 * several files: ws changes
8667 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8669 * text2.C (setCounter): clean up a bit, use boost.format.
8670 (updateCounters): initialize par upon declaration.
8672 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8673 if the layout exists. We do not just store the layout any more.
8674 (SwitchLayoutsBetweenClasses): use boost.format
8676 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8678 * converter.C (convert): if from and to files are the same, use a
8679 temporary files as intermediary
8681 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8684 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8686 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8688 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8690 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8692 * tabular.C (asciiPrintCell): use string(size, char) instead of
8695 * sgml.C (openTag): fix order of arguments to string constructor
8698 * lyxfunc.C (dispatch): use boost.format
8700 * lots of files: change "c" -> 'c'
8702 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8704 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8706 2002-11-25 Angus Leeming <leeming@lyx.org>
8708 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8710 * lyx_main.C (init): compile fix.
8712 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8714 * lyx_cb.C (start): boost.formatify
8715 do not include <iostream>
8717 * lengthcommon.C: ws only
8719 * boost-inst.C,BoostFormat.h: add more explict instantations
8721 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8723 * lots of files: handle USE_BOOST_FORMAT
8725 2002-11-21 John Levon <levon@movementarian.org>
8727 * pspell.C: fix compile
8729 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8731 * lyxfunc.C (dispatch): use boost::format
8735 * lyxfont.C (stateText): use boost::format
8737 * lyx_main.C (LyX): use boost::format
8739 (queryUserLyXDir): ditto
8742 (typedef boost::function): use the recommened syntax.
8744 * importer.C (Import): use boost::format
8746 * debug.C (showLevel): use boost::format
8748 * converter.C (view): use boost::format
8753 * bufferview_funcs.C (currentState): use boost::format
8755 * bufferlist.C (emergencyWrite): use boost::format
8757 * buffer.C (readLyXformat2): use boost::format
8758 (parseSingleLyXformat2Token): ditto
8760 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8762 * LaTeX.C (run): use boost::format
8764 * Chktex.C (scanLogFile): use boost::format
8766 * BufferView_pimpl.C (savePosition): use boost::format
8767 (restorePosition): ditto
8768 (MenuInsertLyXFile): ditto
8770 * BoostFormat.h: help file for explicit instation.
8772 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8774 * tabular.C (latex): Support for block alignment in fixed width
8777 2002-11-17 John Levon <levon@movementarian.org>
8779 * BufferView_pimpl.C:
8781 * lyxfunc.C: split filedialog into open/save
8783 2002-11-08 Juergen Vigna <jug@sad.it>
8785 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8786 by my last patch (hopefully).
8788 2002-11-08 John Levon <levon@movementarian.org>
8797 * toc.C: ParConstIterator, and use it (from Lars)
8799 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8801 * lyxtextclass.[Ch]: revise and add doxygen comments
8803 2002-11-07 John Levon <levon@movementarian.org>
8805 * text.C: fix progress value for spellchecker
8807 * toc.C: fix navigate menu for insetwrap inside minipage
8809 * paragraph_funcs.C: added FIXME for suspect code
8811 2002-11-07 John Levon <levon@movementarian.org>
8813 * BufferView_pimpl.C: fix redrawing of insets
8816 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8818 * text2.C (updateCounters): fix bug 668
8820 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8822 * text3.C (dispatch): Do not make the buffer dirty when moving the
8825 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8827 * vc-backend.C: STRCONV
8830 * text2.C (setCounter): STRCONV
8832 * paragraph.C (asString): STRCONV
8834 * lyxlength.C (asString): STRCONV
8835 (asLatexString): ditto
8837 * lyxgluelength.C (asString): STRCONV
8838 (asLatexString): ditto
8840 * lyxfunc.C (dispatch): STRCONV
8843 * lyxfont.C (stateText): STRCONV
8845 * importer.C (Import): STRCONV
8847 * counters.C (labelItem): STRCONV
8848 (numberLabel): ditto
8849 (numberLabel): remove unused ostringstream o
8854 * bufferview_funcs.C (currentState): STRCONV
8856 * buffer.C (readFile): STRCONV
8857 (asciiParagraph): ditto
8858 (makeLaTeXFile): ditto
8860 * Spacing.C (writeEnvirBegin): STRCONV
8862 * LaTeXFeatures.C (getLanguages): STRCONV
8863 (getPackages): ditto
8865 (getBabelOptions): ditto
8866 (getTClassPreamble): ditto
8867 (getLyXSGMLEntities): ditto
8868 (getIncludedFiles): ditto
8872 (scanAuxFile): ditto
8875 * LString.h: add the STRCONV macros
8877 * BufferView_pimpl.C (savePosition): STRCONV
8878 (restorePosition): ditto
8879 (MenuInsertLyXFile): ditto
8881 * vc-backend.C (scanMaster): change from submatch[...] to
8884 * funcrequest.C: include config.h
8886 * factory.C: include config.h
8888 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8890 * box.C: include config.h
8892 * LaTeX.C (scanAuxFile): change from submatch[...] to
8896 2002-10-25 Angus Leeming <leeming@lyx.org>
8898 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8900 * ispell.[Ch] (setError): new method.
8901 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8902 Use setError() insetead of goto END.
8904 * lyx_cb.C (AutoSave): move out child process into new class
8907 2002-10-30 John Levon <levon@movementarian.org>
8909 * text3.C: make start appendix undoable
8911 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8913 * lyxlength.C (inPixels): Fix returned value.
8915 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8918 2002-10-24 Angus Leeming <leeming@lyx.org>
8920 * lyxgluelength.h: no need to forward declare BufferParams
8921 or BufferView, so don't.
8923 2002-10-21 John Levon <levon@movementarian.org>
8925 * BufferView.C: menuUndo ->undo, redo
8927 * BufferView.h: document, remove dead, make some methods private
8929 * paragraph_funcs.h:
8930 * paragraph_funcs.C:
8931 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8936 * sgml.C: move sgml open/close tag into sgml.C
8938 * bufferview_funcs.h: unused prototype
8941 * lyxfunc.C: remove unused
8944 * text.C: remove unused
8946 2002-10-21 John Levon <levon@movementarian.org>
8950 * BufferView_pimpl.h:
8951 * BufferView_pimpl.C: fix mouse wheel handling based on
8952 patch from Darren Freeman
8954 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8956 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8958 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8960 * lyxlength.C (inPixels): Fix hanfling of negative length.
8961 Fix LyXLength::MU case.
8963 2002-10-16 John Levon <levon@movementarian.org>
8965 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8967 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8969 * converter.C (view): add support for $$i (file name) and $$p
8970 (file path) for the viewer command. If $$i is not specified, then
8971 it is appended to the command (for compatibility with old syntax)
8973 2002-10-14 Juergen Vigna <jug@sad.it>
8975 * undo_funcs.C (textHandleUndo): alter the order in which the
8976 new undopar is added to the LyXText, as we have to set first
8977 the right prev/next and then add it as otherwise the rebuild of
8978 LyXText is not correct. Also reset the cursor to the right paragraph,
8979 with this IMO we could remove the hack in "redoParagraphs()".
8981 2002-10-09 Angus Leeming <leeming@lyx.org>
8983 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8984 to turn off an optimisation if a new inset is to be inserted.
8986 2002-10-11 André Pönitz <poenitz@gmx.net>
8988 * lyxtext.h: make some functions public to allow access
8989 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8991 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8993 * text3.C (dispatch): when changing layout, avoid an infinite loop
8996 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8998 * lyxrc.C (read): treat a viewer or converter command of "none" as
9001 * MenuBackend.C (expandFormats): for an update, also allow the
9002 formats that are not viewable
9004 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9005 script if it is newer than the lyxrc.defaults in user directory
9007 2002-10-07 André Pönitz <poenitz@gmx.net>
9009 * text.C: Vitaly Lipatov's small i18n fix
9011 2002-09-25 Angus Leeming <leeming@lyx.org>
9013 * ispell.h: doxygen fix.
9015 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9017 * buffer.h (readFile): Add a new argument to the method, to allow
9018 reading of old-format templates.
9020 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9022 * toc.C (getTocList): Get TOC from InsetWrap.
9024 2002-09-16 John Levon <levon@movementarian.org>
9026 * lyxfunc.C: check tabular for cut/copy too
9028 2002-09-12 John Levon <levon@movementarian.org>
9033 * factory.C: add header
9035 * paragraph_funcs.h:
9036 * paragraph_funcs.C: cleanup
9038 2002-09-11 John Levon <levon@movementarian.org>
9040 * PrinterParams.h: odd/even default to true
9042 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9044 * PrinterParams.h: update printer parameters for new xforms dialog
9046 2002-09-11 Angus Leeming <leeming@lyx.org>
9048 * lyxserver.C (read_ready): re-write to make it more transparent
9049 and to make it work in coherent fashion under Tru64 Unix.
9051 2002-09-11 André Pönitz <poenitz@gmx.net>
9055 * text3.C: implement LFUN_WORDSEL
9057 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9059 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9060 make floatlist_ a boost::shared_ptr<FloatList>
9062 * lyxtextclass.C: include FloatList.h
9063 (LyXTextClass): initialize floatlist_
9064 (TextClassTags): add TC_NOFLOAT
9065 (Read): match "nofloat" to TC_NOFLOAT and use it.
9066 (readFloat): modify call to floatlist_
9070 * FloatList.[Ch] (FloatList): remove commented out float
9072 (erase): new function
9074 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9076 * MenuBackend.C (expandToc): fix crash when there is no document
9079 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9081 * many files: Add insetwrap.
9083 2002-09-09 John Levon <levon@movementarian.org>
9085 * text2.C: remove confusing and awkward depth wraparound
9087 2002-09-09 John Levon <levon@movementarian.org>
9089 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9092 * buffer.C: remove getIncludeonlyList()
9095 * lyxfunc.C: remove headers
9097 2002-09-09 Juergen Vigna <jug@sad.it>
9099 * text.C (getColumnNearX): fix form Michael this is most
9100 probably a cut&paste bug.
9102 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9104 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9106 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9107 references, ws changes.
9109 * text2.C (init): update counters after init
9110 (insertParagraph): no need to set counter on idividual paragraphs.
9111 (setCounter): access the counters object in the textclass object
9112 on in the buffer object.
9113 (updateCounters): ditto
9115 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9116 shared_ptr<Counters> to avoid loading counters.h in all
9118 (LyXTextClass): initialize ctrs_
9119 (TextClassTags): add TC_COUNTER, and ...
9120 (Read): use it here.
9121 (CounterTags): new tags
9122 (readCounter): new function
9123 (counters): new funtion
9124 (defaultLayoutName): return a const reference
9126 * counters.C (Counters): remove contructor
9127 (newCounter): remove a couple of unneeded statements.
9128 (newCounter): simplify a bit.
9129 (numberLabel): some small formatting changes.
9131 * buffer.[Ch]: remove all traces of counters, move the Counters
9132 object to the LyXTextClass.
9134 2002-09-06 Alain Castera <castera@in2p3.fr>
9136 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9137 package to set the horizontal alignment on fixed width columns.
9140 * lyx_sty.h: added tabularnewline macro def.
9142 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9144 2002-09-06 John Levon <levon@movementarian.org>
9146 * LyXAction.C: tooltips for sub/superscript
9148 * MenuBackend.C: a bit more verbose
9150 * lyxfunc.C: tiny clean
9152 * undo_funcs.C: document undo_frozen
9154 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9156 * counters.C (Counters): add missing algorithm counter.
9158 * text2.C (setCounter): lookup the counter with layouts latexname
9159 instead of by section number.
9160 (setCounter): use a hackish way to lookup the correct enum
9162 a float name->type change
9163 reset enum couners with counter name directly instead of depth value.
9165 * counters.C (Counters): remove the push_backs, change to use the
9166 float type not the float name.
9167 (labelItem): remove unused string, float name->type change
9169 * counters.h: don't include vector, loose the enums and sects vectors
9171 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9173 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9174 (Read): add float->TC_FLOAT to textclassTags
9175 (Read): and handle it in the switch
9176 (readFloat): new function
9178 * FloatList.C (FloatList): comment out the hardcoded float
9181 * lyxlayout.h: ws change.
9183 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9185 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9187 2002-09-03 Angus Leeming <leeming@lyx.org>
9189 * BufferView_pimpl.h: qualified name is not allowed in member
9190 declaration: WorkArea & Pimpl::workarea() const;
9192 * factory.C: added using std::endl directive.
9194 * text3.C: added using std::find and std::vector directives.
9196 2002-08-29 André Pönitz <poenitz@gmx.net>
9199 * text2.C: remove unused member number_of_rows
9202 * BufferView2.C: remove file, move contents to...
9203 * BufferView.C: ... here
9205 * BufferView_pimpl.C:
9206 * factory.C: move more inset creation to factory
9208 * vspace.C: avoid direct usage of LyXText, ws changes
9211 don't provide direct access to WorkArea, use two simple
9212 acessors haveSelction() and workHeight() instead
9215 2002-08-29 John Levon <levon@movementarian.org>
9217 * BufferView_pimpl.C (dispatch): do not continue when
9220 2002-08-28 André Pönitz <poenitz@gmx.net>
9222 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9225 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9227 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9229 * buffer.C: increment LYX_FORMAT to 221
9231 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9232 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9234 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9236 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9238 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9240 * factory.C (createInset): use LyXTextClass::floats
9242 * MenuBackend.C (expandFloatListInsert):
9243 (expandFloatInsert):
9246 * text2.C (setCounter):
9248 * LaTeXFeatures.C (useFloat):
9249 (getFloatDefinitions):
9251 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9253 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9254 floatlist_, with accessor floats().
9256 * FloatList.h: remove global FloatList
9258 2002-08-26 André Pönitz <poenitz@gmx.net>
9260 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9264 * BufferView_pimpl.C:
9265 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9267 2002-08-25 John Levon <levon@movementarian.org>
9269 * LyXAction.C: fix margin note description
9271 2002-08-24 John Levon <levon@movementarian.org>
9275 * bufferview_funcs.C:
9277 * undo_funcs.C: cleanups
9279 * lyxfunc.C: disable CUT/COPY when no selection
9281 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9283 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9284 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9286 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9287 Add backward compatibility to "mono", "gray" and "no".
9289 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9291 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9292 (and file_format >= 200).
9294 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9296 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9298 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9300 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9302 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9304 * BufferView_pimpl.C:
9311 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9312 inset and code to make it work with the paragraph code. The inset
9313 can be anywhere in the paragraph, but will only do the expected
9314 thing in LaTeX if the layout file contains the parameter line
9316 (or more generally, a nonzero value) for that layout.
9318 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9320 * paragraph.h: remove the declaration of undefined counters class
9323 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9325 * text2.C (setCounter): fixed enumeration mis-count as reported by
9326 Dr. Richard Hawkins.
9328 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9330 * paragraph_funcs.h: remove some unneeded includes
9332 * text.C (backspace): pasteParagraph now in global scipe
9334 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9335 (pasteSelection): ditto
9337 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9338 * paragraph_funcs.C (pasteParagraph): ... here
9340 2002-08-20 André Pönitz <poenitz@gmx.net>
9342 * commandtags.h: new LFUNs for swapping/copying table row/colums
9345 * lyxfunc.C: support for new lfuns
9347 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9350 * buffer.[Ch]: remove NO_COMPABILITY stuff
9352 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9354 * boost.C (throw_exception): new file, with helper function for
9355 boost compiled without exceptions.
9360 * ParameterStruct.h:
9361 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9363 * bufferlist.C (emergencyWriteAll): use boost bind
9365 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9367 * text.C: include paragraph_funcs.h
9368 (breakParagraph): breakParagraph is now in global scope
9370 * paragraph_funcs.[Ch]: new files
9372 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9375 * buffer.C: include paragraph_funcs.h
9376 (insertStringAsLines): breakParagraph is now in global scope
9378 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9381 * CutAndPaste.C: include paragraph_funcs.h
9382 (cutSelection): breakParagraphConservative is now in global scope
9383 (pasteSelection): ditto
9385 * buffer.h: declare oprator== and operator!= for
9386 Buffer::inset_iterator
9388 * bufferlist.C (emergencyWrite): don't use fmt(...)
9390 * text3.C: add using std::endl
9392 * BufferView.C (moveCursorUpdate): remove default arg
9394 2002-08-20 André Pönitz <poenitz@gmx.net>
9396 * buffer.[Ch]: move inline functions to .C
9399 * BufferView_pimpl.C:
9401 * buffer.[Ch]: use improved inset_iterator
9404 * paragraph.[Ch]: write one paragraph at a time
9406 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9408 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9409 style if style is not specified.
9411 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9413 * text2.C (setCounter): when searching for right label for a
9414 caption, make sure to recurse to parent insets (so that a caption
9415 in a minipage in a figure float works) (bug #568)
9417 2002-08-20 André Pönitz <poenitz@gmx.net>
9419 * text3.C: new file for LyXText::dispatch() and helpers
9421 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9423 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9425 2002-08-19 André Pönitz <poenitz@gmx.net>
9428 * text.C: new LyXText::dispatch()
9430 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9432 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9434 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9436 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9439 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9441 * Makefile.am: use $(variables) instead of @substitutions@
9443 2002-08-15 André Pönitz <poenitz@gmx.net>
9446 * BufferView_pimpl.C: streamlining mathed <-> outer world
9450 * LyXAction.C: remove unused LFUN_MATH
9452 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9454 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9456 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9458 * paragraph.C (Paragraph): reformat a bit
9459 (cutIntoMinibuffer): use builtin InsetList function instad of
9463 * buffer.C: include boost/bind.hpp, add using std::for_each
9464 (writeFileAscii): use ParagraphList iterators
9465 (validate): use for_each for validate traversal of paragraphs
9466 (getBibkeyList): use ParagraphList iterators
9467 (resizeInsets): use for_each to resizeInsetsLyXText for all
9469 (getParFromID): use ParagraphList iterators
9471 * BufferView2.C (lockInset): use paragraph list and iterators
9473 2002-08-14 John Levon <levon@movementarian.org>
9475 * lyxserver.C: remove spurious xforms include
9477 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9479 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9481 2002-08-13 André Pönitz <poenitz@gmx.net>
9484 * lyxfunc.C: further cleaning
9486 2002-08-13 André Pönitz <poenitz@gmx.net>
9488 * funcrequest.h: new constructor
9490 * funcrequest.C: move stuff here from .h
9493 * BufferView_pimpl.C:
9496 * lyxfunc.C: subsequent changes
9498 * lyxfunc.h: new view() member function
9500 * lyxfunc.C: subsequent changes
9502 2002-08-13 Angus Leeming <leeming@lyx.org>
9505 * BufferView_pimpl.C:
9513 changes due to the changed LyXView interface that now returns references
9514 to member variables not pointers.
9516 2002-08-13 Angus Leeming <leeming@lyx.org>
9518 * WordLangTuple (word, lang_code): return references to strings,
9523 * lyxtext.h: forward-declare WordLangTuple.
9528 * text.C: #include "WordLangTuple.h".
9531 * text.C: (selectNextWordToSpellcheck): constify return type.
9533 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9539 * paragraph_pimpl.h:
9542 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9544 Made updateCounter always count from start of buffer, and removed
9545 second argument (par).
9546 Reverted floats number display to '#'. Perhaps I'll try again when the
9547 code base is sanitized a bit.
9549 2002-08-12 Angus Leeming <leeming@lyx.org>
9551 * buffer.[Ch] (getLabelList): constify.
9553 2002-08-07 André Pönitz <poenitz@gmx.net>
9555 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9557 * funcrequest.h: extension to keep mouse (x,y) position
9559 2002-08-12 Juergen Vigna <jug@sad.it>
9561 * BufferView2.C (insertErrors): forbid undo when inserting error
9564 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9566 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9568 * ParagraphList.[Ch]: new files
9570 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9572 * BufferView2.C (lockInset): ParagraphList changes
9575 * bufferlist.C: ditto
9579 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9581 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9582 unused class variable counter_,
9584 * paragraph.[Ch] (getFirstCounter): delete unused function
9586 * counters.C: include LAssert.h
9587 (reset): add a new function with no arg, change other version to
9588 not have def. arg and to not allow empty arg.
9590 * text2.C (setCounter): remove empty arg from call to Counters::reset
9592 2002-08-11 John Levon <levon@movementarian.org>
9594 * Makefile.am: add WordLangTuple.h
9596 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9598 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9599 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9601 * insets/insettext.C: InsetList changes
9603 * graphics/GraphicsSupport.C (operator()): InsetList changes
9605 * toc.C (getTocList): InsetList changes
9607 * paragraph_pimpl.[Ch]: InsetList changes
9609 * paragraph.[Ch]: InsetList changes
9611 * buffer.C (inset_iterator): InsetList changes
9612 (setParagraph): ditto
9613 * buffer.h (inset_iterator): ditto
9614 * iterators.C (operator++): ditto
9615 * iterators.h: ditto
9617 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9619 * InsetList.[Ch]: new files, most InsetList handling moved out of
9622 * BufferView2.C (removeAutoInsets): InsetList changes
9624 (ChangeInsets): ditto
9626 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9628 * paragraph_pimpl.h (empty): new function
9630 * paragraph.[Ch] (empty): new function
9632 * other files: use the new Paragraph::empty function
9634 2002-08-09 John Levon <levon@movementarian.org>
9636 * lyxtext.h: remove unused refresh_height
9638 2002-08-09 John Levon <levon@movementarian.org>
9645 * paragraph.C: move sgml char escaping out of paragraph
9648 * paragraph.C: remove id setter
9652 * paragraph_pimpl.C: remove dead tex_code_break_column
9654 * bufferview_funcs.C: small cleanup
9656 * lyxfunc.C: remove dead proto
9658 * lyxtext.h: make some stuff private. Remove some dead stuff.
9660 * lyxgluelength.C: make as[LyX]String() readable
9662 2002-08-08 John Levon <levon@movementarian.org>
9667 * ToolbarDefaults.C:
9670 * toc.C: lyxaction cleanup
9672 2002-08-08 John Levon <levon@movementarian.org>
9674 * BufferView2.C: small cleanup
9677 * lyxfind.C: move unnecessary header into the .C
9679 2002-08-08 John Levon <levon@movementarian.org>
9681 * funcrequest.h: just tedious nonsense
9684 * lyx_main.C: cleanups
9687 * vspace.C: remove dead header lyx_main.h
9689 2002-08-07 Angus Leeming <leeming@lyx.org>
9692 * paragraph_pimpl.h:
9693 Forward declare class Counters in paragraph.h by moving the ctrs member
9694 variable into Paragraph::Pimpl.
9695 (counters): new method, returning a reference to pimpl_->ctrs.
9697 * text2.C: ensuing changes.
9699 2002-08-07 John Levon <levon@movementarian.org>
9701 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9703 * BufferView_pimpl.C: announce X selection on double/triple
9706 * lyx_main.C: use correct bool in batch dispatch
9708 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9710 2002-08-07 André Pönitz <poenitz@gmx.net>
9712 * funcrequest.h: new class to wrap a kb_action and its argument
9715 * BufferView_pimpl[Ch]:
9719 * lyxrc.C: subsequent changes
9722 2002-08-07 John Levon <levon@movementarian.org>
9724 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9725 document options change.
9727 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9732 * makefile.am: move counters functionality over from
9733 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9735 2002-08-06 John Levon <levon@movementarian.org>
9737 * WordLangTuple.h: new file for word + language code tuple
9748 * BufferView2.C: use WordLangTuple
9751 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9753 2002-08-06 John Levon <levon@movementarian.org>
9755 * lyx_main.C: fix cmdline batch handling
9757 2002-08-06 André Pönitz <poenitz@gmx.net>
9759 * lyxrc.C: set default for show_banner to true
9761 2002-08-06 John Levon <levon@movementarian.org>
9763 * pspell.C: fix a crash, and allow new aspell to work
9765 2002-08-06 John Levon <levon@movementarian.org>
9768 * kbmap.C: small cleanup
9771 * vspace.C: add const
9773 2002-08-05 John Levon <levon@movementarian.org>
9775 * LyXAction.C: back to tabular-insert
9777 2002-08-04 John Levon <levon@movementarian.org>
9780 * BufferView.C: cosmetic change
9782 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9792 * BufferView2.C: purge all "Lyx" not "LyX" strings
9795 * lyxcursor.C: attempt to add some documentation
9800 * ToolbarDefaults.C:
9801 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9802 merge with LFUN_TABULAR_INSERT
9809 * pspell.C: split up i/pspell implementations into separate
9810 files, many cleanups
9812 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9814 * text2.C: some cleanup
9816 * lyxfunc.C: don't check for isp_command == "none" any more, it
9817 didn't make any sense
9819 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9824 * makefile.am: move counters functionality over
9825 from text2.C/paragraph.[Ch] to counters.[Ch], and
9827 2002-08-02 John Levon <levon@movementarian.org>
9829 * buffer.C: s/lyxconvert/lyx2lyx/
9831 2002-08-02 Angus Leeming <leeming@lyx.org>
9833 * lyxlex.C: revert John's change as it breaks reading of the user
9836 2002-08-02 Angus Leeming <leeming@lyx.org>
9838 * importer.C (Import):
9839 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9840 changes due to LyXView::view() now returning a boost::shared_ptr.
9842 2002-08-02 John Levon <levon@movementarian.org>
9844 * lyxlex.C: small cleanup
9846 2002-08-02 John Levon <levon@movementarian.org>
9848 * text2.C (status): small cleanup, no logic change
9850 2002-08-01 John Levon <levon@movementarian.org>
9853 * buffer.C (writeFile): don't output alerts, caller
9857 * lyx_cb.C: from above
9859 * lyxfunc.C: allow to open non-existent files
9861 2002-07-31 John Levon <levon@movementarian.org>
9863 * lyxserver.C: don't let incidental errors get
9866 2002-07-30 John Levon <levon@movementarian.org>
9868 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9870 2002-07-30 John Levon <levon@movementarian.org>
9873 * lyxserver.C: remove I/O callback too
9875 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9877 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9880 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9882 * many files: strip,frontStrip -> trim,ltrim,rtrim
9884 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9886 * PrinterParams.h: remove extern containsOnly, and include
9887 support/lstrings.h instead.
9889 * LaTeX.C (scanAuxFile): modify because of strip changes
9891 * buffer.C (makeLaTeXFile): ditto
9892 * bufferparams.C (writeFile): ditt
9893 * lyxfont.C (stateText): ditto
9894 * lyxserver.C (read_ready): ditto
9895 * vc-backend.C (scanMaster): ditto
9897 * BufferView_pimpl.h: ws changes
9899 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9901 2002-07-26 André Pönitz <poenitz@gmx.net>
9903 * kb_sequence.C: remove unnedred usings
9905 2002-07-26 Juergen Vigna <jug@sad.it>
9907 * lyxfind.C (LyXReplace): we have to check better if the returned
9908 text is not of theLockingInset()->getLockingInset().
9910 2002-07-25 Juergen Vigna <jug@sad.it>
9912 * lyxfind.C (LyXReplace): don't replace if we don't get the
9915 * undo_funcs.C (createUndo): remove debugging code.
9917 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9919 * buffer.C (parseSingleLyXformat2Token): Use default placement
9920 when reading old floats.
9922 * FloatList.C (FloatList): Change the default placement of figure
9923 and tables to "tbp".
9925 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9927 * MenuBackend.C: using std::max
9929 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9931 * MenuBackend.C (expandToc):
9932 (expandToc2): code moved from xforms menu frontend. It is now
9933 generic and TOCs are transparent to menu frontends.
9935 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9937 * toc.C (getTocList): protect against buf=0
9939 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9940 Menu as first parameter. Now, this calls itself recursively to
9941 expand a whole tree (this will be useful for TOC handling)
9942 (expandFloatInsert): remove 'wide' version of floats
9944 * MenuBackend.h (submenuname): returns the name of the submenu.
9945 (submenu): returns the submenu itself, provided it has been
9946 created by MenuBackend::expand
9948 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9950 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9951 insets which have noFontChange == true. (bug #172)
9953 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9955 * BufferView_pimpl.C: add connection objects and use them...
9958 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9960 * MenuBackend.C (expandLastfiles):
9963 (expandFloatListInsert):
9964 (expandFloatInsert):
9965 (expand): split expand in parts
9967 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9969 * lyx_gui.C: use lyx_gui::exit()
9971 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9973 * LyXAction.C: show the failing pseudo action
9975 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9977 * buffer.C (readFile): Run the lyxconvert script in order to read
9980 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9984 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9986 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9990 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9992 2002-07-22 Herbert Voss <voss@lyx.org>
9995 * lyxlength.[Ch]: add support for the vertical lengths
9997 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9999 * toc.[Ch]: std:: fixes
10001 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10003 * lyxrc.C: do not include lyx_main.h
10005 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10011 * BufferView2.C: include "lyxlex.h"
10014 * bufferparams.h: do not #include "lyxlex.h"
10016 * lyxtextclasslist.C (Add): remove method
10017 (classlist): renamed to classlist_
10019 * paragraph_pimpl.C:
10023 * bufferview_funcs.C:
10028 * toc.C (getTocList): use BufferParams::getLyXTextClass
10030 * toc.C (getTocList): use InsetFloat::addToToc
10032 * toc.[Ch]: new files, containing helper functions to handle table
10035 * lyxfunc.C (dispatch): no need to remove spaces around command
10037 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10038 first command of the sequence; it is not very clever, but I do not
10039 have a better idea, actually
10041 * LyXAction.C (LookupFunc): make sure to remove space at the
10042 beginning and end of the command
10044 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10046 * MenuBackend.C (getMenubar): new method: return the menubar of
10048 (read): treat differently reading of menu and menubar (in
10049 particular, the menubar has no name now)
10050 (Menu::menubar): remove
10052 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10055 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10057 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10058 a bibitem inset in a RTL paragraph.
10060 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10062 * paragraph_pimpl.C: constify
10064 * BufferView_pimpl.C:
10066 * lyxfunc.C: fix dispatch in a nicer way
10068 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10070 * lyxfunc.C (dispatch):
10071 * BufferView_pimpl.C:
10072 * BufferView_pimpl.h:
10074 * BufferView.h: rename Dispatch() to dispatch()
10076 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10078 * lyxlayout.C (Read): honor DependsOn tag
10080 * lyxlayout.[Ch] (depends_on): new method
10082 * version.C.in: update lyx_docversion
10084 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10086 * paragraph.C (validate): remove from here...
10087 * paragraph_pimpl.C (validate): ... and move here
10088 (isTextAt): make it const
10090 * buffer.C (getLists): ws cleanup
10092 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10094 * language.C (read): Use iso8859-1 encoding in latex_lang
10095 (this prevents LyX from crashing when using iso10646-1 encoding).
10097 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10099 * text2.C (toggleInset): if cursor is inside an inset, close the
10100 inset and leave cursor _after_ it
10102 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10104 * lyxfunc.C: move minibuffer completion handling out of here
10106 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10108 * BufferView_pimpl.C:
10109 * LaTeX.C: fix dispatch calls
10111 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10113 * text.C (drawChars): Fix Arabic text rendering.
10115 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10119 * lyxfunc.C: remove message-push/pop
10123 * lyxfunc.C: rationalise some code by removing verboseDispatch
10124 in favour of a bool argument to dispatch()
10126 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10128 * lyx_main.C (init): make sure to read symlinks as absolute paths
10130 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10133 * lyxfunc.C: no need for commandshortcut to be a member
10135 2002-07-15 André Pönitz <poenitz@gmx.net>
10137 * converter.C: add support for $$s (scripts from lib/scripts dir)
10138 * lyx_main.C: white space
10140 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10144 * lyxrc.C: remove second exit confirmation
10146 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10151 * BufferView_pimpl.h:
10152 * BufferView_pimpl.C:
10153 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10155 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10157 * MenuBackend.C (expand): add numeric shortcuts to document menu
10159 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10161 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10163 * lyxfont.C (setLyXFamily):
10170 * buffer.C (asciiParagraph): use ascii_lowercase
10172 2002-07-15 Mike Fabian <mfabian@suse.de>
10174 * lyxlex_pimpl.C (search_kw):
10175 * lyxlex.C (getLongString):
10176 * converter.h (operator<):
10177 * converter.C (operator<):
10178 * buffer.C (parseSingleLyXformat2Token):
10180 * ToolbarDefaults.C (read):
10181 * MenuBackend.C (checkShortcuts):
10183 * LColor.C (getFromGUIName):
10184 (getFromLyXName): use the compare_ascii_no_case instead of
10185 compare_no_case, because in turkish, 'i' is not the lowercase
10186 version of 'I', and thus turkish locale breaks parsing of tags.
10188 2002-07-16 Angus Leeming <leeming@lyx.org>
10190 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10191 now takes a Buffer const & argument.
10193 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10195 * BufferView.C (resize): check there's a buffer to resize
10197 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10199 * lyxfunc.C: remove dead code
10202 * lyxserver.C: use lyx_guii::set_read_callback
10204 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10206 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10207 an inset in a RTL paragraph.
10209 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10211 * lyxfunc.C: repaint after a font size update
10213 2002-07-15 André Pönitz <poenitz@gmx.net>
10215 * lyxlength.C: inBP should be able to return negative values
10217 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10219 * lyxfunc.C: use lyx_gui::update_fonts()
10221 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10223 * lyxfunc.C: use lyx_gui::update_color()
10225 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10231 * lyxrc.C: remove file->new asks for name option, and let
10232 buffer-new take an argument
10234 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10236 * BufferView_pimpl.C: remove unneeded extra repaint()
10238 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10240 * LyXAction.C: allow command-sequence with NoBuffer
10242 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10244 2002-07-10 Angus Leeming <leeming@lyx.org>
10246 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10248 2002-07-09 Angus Leeming <leeming@lyx.org>
10250 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10252 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10254 * lengthcommon.h: whitespace
10256 * lyxfunc.C: update scrollbar after goto paragraph
10258 * lyxtext.h: factor out page break drawing, and fix it so
10259 page break/added space paints as selected nicely
10261 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10263 * BufferView_pimpl.C: add FIXMEs, clean up a little
10265 2002-07-09 André Pönitz <poenitz@gmx.net>
10267 * lyxfont.[Ch]: support for wasy symbols
10269 2002-07-08 André Pönitz <poenitz@gmx.net>
10271 * BufferView_pimpl.C: apply John's patch for #93.
10273 2002-07-05 Angus Leeming <leeming@lyx.org>
10275 * BufferView_pimpl.C (buffer): generate previews if desired.
10277 * LColor.h: add "preview" to the color enum.
10279 * LColor.C (LColor): add a corresponding entry to the items array.
10281 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10284 2002-07-05 Angus Leeming <leeming@lyx.org>
10286 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10287 The body of the code is now in the method that is passed an ostream &
10288 rather than a file name.
10289 Pass an additional only_preamble parameter, useful for the forthcoming
10292 2002-07-03 André Pönitz <poenitz@gmx.net>
10294 * lyxfunc.C: simplify getStatus() a bit for math stuff
10296 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10298 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10300 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10302 * text.C (changeRegionCase): do not change case of all the
10303 document when region ends at paragraph end (bug #461)
10305 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10307 * paragraph.C (startTeXParParams):
10308 (endTeXParParams): add \protect when necessary
10310 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10312 * BufferView_pimpl.C (workAreaExpose): remove warning
10314 2002-06-27 Angus Leeming <leeming@lyx.org>
10316 * Makefile.am: add lyxlayout_ptr_fwd.h.
10318 2002-06-26 André Pönitz <poenitz@gmx.net>
10320 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10322 2002-06-25 Angus Leeming <leeming@lyx.org>
10324 * lyxfunc.C (dispatch): Comment out the call to
10325 grfx::GCache::changeDisplay. The method no longer exists now that the
10326 pixmap generation part of the graphics loader has been moved into
10329 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10331 * text2.C: layout as layout
10333 * text.C: layout as layout
10335 * tabular.C (OldFormatRead): layout as layout
10337 * paragraph_pimpl.C (TeXDeeper): layout as layout
10338 (realizeFont): layout as layout
10340 * paragraph.C (writeFile): layout as layout
10341 (validate): layout as layout
10342 (getFont): layout as layout
10343 (getLabelFont): layout as layout
10344 (getLayoutFont): layout as layout
10345 (breakParagraph): layout as layout
10346 (stripLeadingSpaces): layout as layout
10347 (getEndLabel): layout as layout
10348 (getMaxDepthAfter): layout as layout
10349 (applyLayout): layout as layout
10350 (TeXOnePar): layout as layout
10351 (simpleTeXOnePar): layout as layout
10352 (TeXEnvironment): layout as layout
10353 (layout): layout as layout
10354 (layout): layout as layout
10356 * lyxtextclass.C (compare_name): new functor to work with
10357 shared_ptr, layout as layout
10358 (Read): layout as layout
10359 (hasLayout): layout as layout
10360 (operator): layout as layout
10361 (delete_layout): layout as layout
10362 (defaultLayout): layout as layout
10364 * lyxlayout_ptr_fwd.h: new file
10366 * lyxlayout.C (Read): layout as layout
10368 * lyx_cb.C (MenuInsertLabel): layout as layout
10370 * bufferlist.C (newFile): layout as layout
10372 * buffer.C (readLyXformat2): layout as layout
10373 (parseSingleLyXformat2Token): layout as layout
10374 (insertStringAsLines): layout as layout
10375 (asciiParagraph): layout as layout
10376 (latexParagraphs): layout as layout
10377 (makeLinuxDocFile): layout as layout
10378 (simpleLinuxDocOnePar): layout as layout
10379 (makeDocBookFile): layout as layout
10380 (simpleDocBookOnePar): layout as layout
10381 (getLists): layout as layout
10383 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10385 * CutAndPaste.C (cutSelection): layout as layout
10386 (pasteSelection): layout as layout
10387 (SwitchLayoutsBetweenClasses): layout as layout
10389 * BufferView_pimpl.C (Dispatch): layout as layout
10390 (smartQuote): layout as layout
10392 * BufferView2.C (unlockInset): layout as layout
10394 2002-06-24 André Pönitz <poenitz@gmx.net>
10396 * lyxfunc.C: fix #487
10398 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10402 * lyxfunc.C: remove display_shortcuts, show_banner
10404 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10406 * Buffer_pimpl.C: oops, update on resize
10408 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10415 * BufferView.C: use repaint()
10417 * BufferView_pimpl.h:
10418 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10419 as it's a clearer description. Remove superfluous
10422 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10424 * text.C: fix bug 488. Not ideal, but getting
10425 getWord() to work properly for the insets that
10426 matter is more difficult ...
10428 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10430 * BufferView_pimpl.C:
10433 * lyxfunc.C: remove the six million index lyxfuncs to just
10434 one, and DTRT (bug 458)
10436 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10440 * BufferView_pimpl.h:
10441 * BufferView_pimpl.C: clean up resize() stuff,
10442 and unnecessary updateScreen()s
10444 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10448 * BufferView_pimpl.h:
10449 * BufferView_pimpl.C:
10452 * minibuffer.C: remove focus management of workarea,
10453 not needed. Use screen's greyOut()
10455 2002-06-17 Herbert Voss <voss@lyx.org>
10457 * converter.C: (convert) do not post a message, when converting
10458 fails, let the calling function decide what to do in this case
10460 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10462 * lyxfunc.C: tidy up a little
10464 2002-06-16 <alstrup@diku.dk>
10466 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10467 Got rid of FORMS_H_LOCATION include. Now we are
10470 2002-06-15 LyX Development team <lyx@rilke>
10472 * buffer.[Ch] (sgmlOpenTag):
10473 (sgmlCloseTag): Added support for avoiding pernicious mixed
10474 content. Return number of lines written.
10476 (makeLinuxDocFile):
10477 (makeDocBookFile): Fixed calls to sgml*Tag.
10478 Simple white space clean.
10480 (simpleDocBookOnePar): Simple white space clean.
10482 * tabular.[Ch] (docBook): Renamed to docbook and got another
10483 argument to related with the pernicious mixed content.
10485 (docbookRow): Fixed calls for docbook inset method.
10487 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10489 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10490 so it's X11 independent.
10494 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10496 2002-06-15 Lyx Development team <lyx@electronia>
10498 * intl.h: Renamed getTrans to getTransManager.
10500 2002-06-14 Angus Leeming <leeming@lyx.org>
10502 * Makefile.am: nuke forgotten stl_string_fwd.h.
10504 2002-06-12 Angus Leeming <leeming@lyx.org>
10506 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10508 2002-06-13 Angus Leeming <leeming@lyx.org>
10511 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10513 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10515 * kbmap.C (getiso): add support for cyrillic and greek
10517 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10521 * BufferView_pimpl.h:
10522 * BufferView_pimpl.C: move bogus scrolling logic
10525 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10528 * BufferView_pimpl.C: view->resize() change
10530 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10532 * BufferView_pimpl.C: topCursorVisible
10535 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10539 * lyx_gui.C: move to frontends/
10543 * lyx_main.C: changes from above
10545 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10552 * lyx_main.C: minor tidy
10554 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10556 * BufferView_pimpl.h:
10557 * BufferView_pimpl.C:
10559 * BufferView.C: make painter() const,
10562 * BufferView2.C: use screen() accessor
10565 * lyx_main.C: some minor cleanup
10567 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10569 * BufferView_pimpl.h:
10570 * BufferView_pimpl.C: remove enter/leaveView,
10573 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10578 * BufferView_pimpl.h:
10579 * BufferView_pimpl.C: only construct screen once,
10582 * lyxrc.C: remove pointless comment
10584 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10587 * BufferView.C: remove active() and belowMouse()
10589 * BufferView_pimpl.h:
10590 * BufferView_pimpl.C: use workarea() not workarea_,
10591 and make it use a scoped_ptr instead
10593 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10595 * lyx_gui.C: add debug message on BadWindow
10597 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10599 * sp_spell.C: fdopen is not part of the C++ standard.
10601 * paragraph.C (InsetIterator): use >= instead of ==
10603 2002-06-07 Angus Leeming <leeming@lyx.org>
10605 Fixes needed to compile with Compaq cxx 6.5.
10606 * BufferView_pimpl.C:
10613 * lyxtextclasslist.C:
10618 all c-library variables have been moved into namespace std. Wrap
10619 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10624 Add a using std::abs declaration.
10626 * kbmap.h (modifier_pair):
10627 * paragraph.h (InsetTable, InsetList):
10628 * lyxfont.h (FontBits):
10629 type definition made public.
10631 * bufferlist.C (emergencyWriteAll): the compiler complains that
10632 there is more than one possible lyx::class_fun template to choose from.
10633 I re-named the void specialisation as lyx::void_class_fun.
10635 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10637 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10638 the compiler is is unable to find tostr in write_attribute.
10640 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10642 * buffer.C (sgmlError): hide #warning
10644 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10646 * xtl/*: get rid of xtl, which is not in use anyway
10648 * LyXAction.C (init):
10649 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10650 were unimplemented xtl experimentation
10652 2002-06-04 André Pönitz <poenitz@gmx.net>
10654 * lyxfunc.C: disable array operation on simple formulae
10656 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10658 * converter.C: constify a bit
10660 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10662 * lyx_gui.C: check xforms version correctly
10664 2002-04-30 Herbert Voss <voss@lyx.org>
10666 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10669 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10671 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10672 attempt to register it with a VCS)
10674 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10676 * lyx_main.C (init): honor variables LYX_DIR_13x and
10679 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10683 * lyx_main.C: fix a crash on bad command line,
10684 and give a useful exit status on error
10686 * lyxfunc.C (doImport): allow -i lyx to work
10688 2002-03-30 André Pönitz <poenitz@gmx.net>
10690 * lyxfunc.C: mathed font changes
10692 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10707 * trans_mgr.h: srcdocs, and some minor cleanups
10709 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10711 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10712 call getFont all the time)
10714 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10716 * switch from SigC signals to boost::signals
10718 2002-05-29 André Pönitz <poenitz@gmx.net>
10720 * paragraph_pimpl.C (getChar): don't call size() too often...
10722 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10724 * paragraph_pimpl.C (insertChar): do not try to update tables when
10725 appending (pos == size())
10727 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10728 in order to reduce drastically the number of comparisons needed to
10729 parse a large document
10731 2002-05-29 André Pönitz <poenitz@gmx.net>
10737 * textclasslist.[Ch]:
10738 * sp_ispell.h: whitespace change
10740 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10742 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10743 lyxaction directly now.
10745 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10749 * lyxvc.C: remove unused headers
10751 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10758 * undo_funcs.C: some cleanups. Use shared_ptr
10759 and a template for the undo stacks.
10761 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10763 * BufferView_pimpl.h:
10764 * BufferView_pimpl.C:
10771 * text2.C: use key_state/mouse_state
10773 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10775 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10778 * chset.C: change include order
10779 (loadFile): use boost regex and get rid of LRegex and LSubstring
10781 * Makefile.am (BOOST_LIBS): new variable
10782 (lyx_LDADD): use it
10784 * LaTeX.C: change include order.
10785 (scanAuxFile): use boost regex and get rid of LRegex and
10789 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10794 * FontInfo.C: moved to frontends/xforms/
10797 * FontLoader.C: moved into frontends for GUIIzation
10802 * lyxfunc.C: changes from above
10804 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10806 * LColor.C: remove spurious X include
10808 * BufferView_pimpl.C:
10813 * text2.C: move font metrics to frontends/
10815 2002-05-24 Juergen Vigna <jug@sad.it>
10817 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10818 setting the undo_cursor.
10820 * ParagraphParameters.h: include local includes first.
10822 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10824 * BufferView_pimpl.C:
10825 * BufferView_pimpl.h:
10829 * screen.C: move WorkArea into frontends/
10835 * BufferView2.C: move LyXScreen into frontends/
10839 * lyx_gui.C: move lyxlookup into frontends/xforms/
10841 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10844 * BufferView_pimpl.C:
10854 * bufferview_funcs.C:
10867 * vc-backend.C: move LyX/XFormsView into frontends/
10869 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10881 * text2.C: move Painter to frontends/
10883 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10885 * buffer.C: comment out some some code that depend upon lyx_format
10888 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10889 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10891 * buffer.h (NO_COMPABILITY): turn off compability
10893 * ColorHandler.C: include scoped_array.hpp
10895 * font.C: Use more specific smart_ptr header.
10898 * ShareContainer.h: ditto
10899 * lyx_main.h: ditto
10901 * FontInfo.h: ditto
10902 * BufferView_pimpl.h: ditto
10903 * ColorHandler.h: ditto
10905 * kbmap.C (defkey): change call to shared_ptr::reset
10907 2002-05-21 Juergen Vigna <jug@sad.it>
10909 * buffer.C (insertErtContents): fix to insert ert asis if it is
10910 non empty. Skip it completely if it contains only whitespaces.
10912 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10914 * BufferView_pimpl.C:
10915 * BufferView2.C: clear selection on paste (bug 393)
10917 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10919 * DepTable.C: include ctime
10921 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10923 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10925 2002-05-14 Juergen Vigna <jug@sad.it>
10927 * text.C (breakParagraph): fixed function to honor the keepempty
10928 layout in the right maner and also to permit the right breaking
10929 algorithm on empty or non empyt keepempty paragraphs.
10931 * paragraph.C (breakParagraph): we have to check also if the par
10932 is really empty (!size()) for isempty otherwise we do the wrong
10935 2002-05-10 Juergen Vigna <jug@sad.it>
10937 * buffer.[Ch] : The following are only changes to the ert
10938 compatibility read reading old LaTeX layout and font stuff and
10939 convert it to ERTInsets.
10941 * buffer.h: added isErtInset().
10943 * buffer.C (struct ErtComp): add a fromlayout bool to check
10944 if we're inside a LaTeX layout.
10945 (isErtInset): new helper function.
10946 (insertErtContents): look for other ert insets before this one
10947 and insert the contents there, so that we don't have subsequent
10948 ERT insets with nothing between them. This way we create only one
10949 inset with multiple paragraphs. Also check if we don't insert only
10950 spaces ' ' as they are ignored anyway afterwards in the .tex file
10951 so if we have only spaces we will ignore this latex part in the
10953 (parseSingleLyXformat2Token \\layout): better compatibility when
10954 reading layout-latex stuff.
10955 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10957 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10958 stuff after reading the inset only get the information back from
10961 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10963 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10965 * LaTeXFeatures.C (getBabelOptions): New method.
10967 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10969 * BufferView_pimpl.C (Dispatch): work around missing argument for
10972 2002-05-08 Juergen Vigna <jug@sad.it>
10974 * text.C (leftMargin): handle paragraph leftindent.
10976 * paragraph.C (writeFile): write the new \\leftindent tag.
10977 (validate): handle leftindent code.
10978 (TeXEnvironment): handle paragraphleftindent code again.
10980 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10982 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10983 for paragrap_extra indent code and new token \\leftindent.
10984 (latexParagraphs): handle the leftindent as environment.
10986 * ParameterStruct.h: added leftindent support.
10988 * ParagraphParameters.C (leftIndent): added support functions for
10989 the paragraph left indent.
10991 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10994 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10996 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10999 * text.C (computeBidiTables): No bidi in insetERT.
11001 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11004 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11006 * version.C.in: pre 5
11008 2002-05-02 José Matos <jamatos@fep.up.pt>
11009 * buffer.C (makeDocBookFile): white space changes, add newline to
11011 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11013 * tabular.C (docBook): fix typo.
11015 2002-05-03 Juergen Vigna <jug@sad.it>
11017 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11018 change in LyXText as we can not be sure it was not freed.
11019 (drawOneRow): remove unused code.
11021 * text.C (drawInset): redo the calculation of the need_break_row as
11022 it could have a row which was already freed.
11023 (draw): look at the return value of drawInset and return false if
11024 it also returned false.
11025 (paintRowText): look at the return value of draw and return false if
11026 it also returned false.
11028 * lyxtext.h: added bool return type to drawInset() and draw() so that
11029 if we have a change in the row so that the rowbreak has to be redone
11030 we abort drawing as it will be called again.
11032 2002-05-02 Juergen Vigna <jug@sad.it>
11034 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11035 a change in the maintext also if we're inside an inset.
11036 (Dispatch): set the cursor again after a break line and after the
11037 screen has been updated as it could be we're in a different row.
11039 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11040 to set the cursor behind the pargraph with > size().
11041 (setCursor): check also for the same paragraph when checking where
11042 to put the cursor if we have a NFR inset.
11044 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11045 parts of layout read further up as it still was in the wrong
11048 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11050 * screen.C (drawFromTo): change sine fullRebreak always return
11053 * buffer.C (parseSingleLyXformat2Token): reindent some
11055 * BufferView_pimpl.C (update): change since fullRebreak always
11057 (Dispatch): git rid of the last hardcoded "Standard"s.
11059 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11061 * text2.[Ch] (fullRebreak): make it return void now that we always
11064 2002-04-30 Juergen Vigna <jug@sad.it>
11066 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11067 ert compatibility check for "latex" layout.
11069 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11071 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11072 minipages: use col% instead of p%, and also use the current font.
11073 (makeLaTeXFile): Fix use babel condition.
11074 (parseSingleLyXformat2Token): Correct font when reading old floats.
11076 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11078 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11079 inserting list of floats.
11081 2002-04-25 Herbert Voss <voss@lyx.org>
11083 * MenuBackend.C (expand): don't add the graphics extensions to the
11086 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11088 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11089 non-existing layout, do not complain if it was the default layout
11090 of the original class (bug #342)
11092 2002-04-24 Juergen Vigna <jug@sad.it>
11094 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11095 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11097 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11099 * buffer.C (getBibkeyList): If using \bibliography, return the
11100 option field with the reference itself. Enables us to provide natbib
11101 support when using \bibliography.
11103 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11105 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11107 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11108 natbib is provided by the LaTeX class.
11110 2002-04-23 Juergen Vigna <jug@sad.it>
11112 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11115 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11117 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11119 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11121 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11122 ensuremath around textordmasculine, textordfeminine and
11125 2002-04-19 Juergen Vigna <jug@sad.it>
11127 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11128 reinitializing the buffer otherwise row-dimensions may be wrong.
11129 (update): reset also the selection cursors if they do exits otherwise
11130 their x/y positions may be wrong.
11132 * text2.C (cursorDown): don't enter the inset if we came from a row
11133 above and are one row over the inset.
11135 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11136 really leaving an inset.
11138 2002-04-18 Juergen Vigna <jug@sad.it>
11140 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11141 of the selected paragraph does not have the selected layout also if
11144 * text2.C (setLayout): fixed bug which did not change last selected
11147 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11148 changed the read and substituted \\end_float with \\end_inset!
11150 * BufferView_pimpl.C (cursorPrevious):
11151 (cursorNext): fixed to make it work with rows heigher than the work
11152 area without moving the cursor only the draw of the row.
11153 (workAreaMotionNotify): fix jumping over high rows.
11155 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11157 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11160 2002-04-16 Juergen Vigna <jug@sad.it>
11162 * text2.C (setCursor): set also the irow().
11163 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11165 (cursorDown): support for locking an inset if the x_fix value goes
11166 inside it. That way I can transverse insets too with cursor up/down.
11168 * lyxrow.h: added irow helper function same as other (i) functions.
11170 * BufferView_pimpl.C (cursorPrevious):
11171 (cursorNext): fixed for insets!
11173 2002-04-15 Juergen Vigna <jug@sad.it>
11175 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11176 position otherwise it is wrong in some cases.
11178 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11179 inside the inset before the call.
11181 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11183 * buffer.[Ch] (getBibkeyList): make it const.
11185 2002-04-12 Juergen Vigna <jug@sad.it>
11187 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11189 * text2.C (getCursorX): new helper function
11190 (setCursor): compute also ix_
11191 (setCursorFromCoordinates): set also ix.
11193 * lyxcursor.h: added ix_ and helper functions.
11195 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11197 * buffer.C (insertStringAsLines): dont break paragraph if the this
11198 paragraph is inside an inset which does not permit it!
11200 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11201 also with no chars on this paragraph.
11202 (paintRowText): only paint stuff if it's inside the workarea!
11204 * paragraph.C (breakParagraph): honor keepempty flag and break the
11205 paragraph always below not above.
11207 * BufferView2.C (unlockInset): update the paragraph layout on inset
11208 unlock as we changed paragraph in such a case.
11210 * lyxfind.C (LyXFind): clear the former selection if not found!
11212 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11213 again called in insertChar().
11215 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11216 an inset which uses the whole row!
11217 (rightMargin): ditto.
11218 (insertChar): force a rebreak if we inserted an inset!
11220 2002-03-28 Herbert Voss <voss@lyx.org>
11222 * lyxlength.[Ch]: add inBP() to get the right PS-point
11223 units (BigPoint). With inPixels we have rounding errors
11225 2002-04-11 Juergen Vigna <jug@sad.it>
11227 * text2.C (setCursorFromCoordinates): set iy to the right value.
11228 (setCursor): add check if row->previous exists!
11230 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11231 an old float_type as this was the case in the old code!
11233 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11235 * BufferView2.C (showLockedInsetCursor): use iy
11236 (fitLockedInsetCursor): ditto
11238 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11239 locked insets as there we have the right value now.
11241 * lyxcursor.C: added iy_ variable and iy functions to set to the
11242 baseline of cursor-y of the locked inset.
11244 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11245 (setCursor): fixed for insets which need a full row.
11247 * text.C (rowLastPrintable): don't ignore the last space when before
11248 an inset which needs a full row.
11249 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11250 as last character of a row when before a inset which needs a full row.
11252 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11254 * version.C.in: update date
11256 * text2.C (fullRebreak): try to always return true and see what
11259 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11261 * MenuBackend.C (expand): use Floating::listName
11263 * FloatList.C (FloatList): add listName argument to the built-in
11266 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11267 text associated with the float.
11269 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11271 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11273 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11275 * ShareContainer.h: add a couple of missing typenames.
11277 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11279 * lyxrc.C (getDescription): use _() correctly rather than N_().
11281 2002-03-28 Herbert Voss <voss@lyx.org>
11283 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11284 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11286 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11288 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11289 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11291 2002-03-29 Juergen Vigna <jug@sad.it>
11293 * lyxfunc.C (dispatch): add a missing fitCursor call.
11295 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11296 it was scrolled by a cursor move, so return the bool status.
11298 * BufferView.C (fitCursor): return the bool flag also to the outside
11299 world as this is needed.
11301 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11303 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11304 call the edit() as it is not needed (and wrong) IMO.
11305 (workAreaButtonPress): set the screen_first variable before evt.
11306 unlock the inset as this may change screen_first and then we have
11307 a wrong y position for the click!
11309 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11311 * MenuBackend.C (expand): another translation that I missed
11313 2002-03-28 Juergen Vigna <jug@sad.it>
11315 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11317 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11319 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11321 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11323 * MenuBackend.C (expand): fix export/view/update when there is no
11326 2002-03-27 Herbert Voss <voss@lyx.org>
11328 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11331 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11333 * bufferview_funcs.C (currentState): only show paragraph number
11334 for is DEVEL_VERSION is set.
11336 * lyxfunc.C (dispatch): put warning in INFO channel
11338 * MenuBackend.C (expand): translate the name of floats
11340 * FloatList.C (FloatList): mark the float names for translation
11342 * converter.C (convert): use LibScriptSearch
11344 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11346 * MenuBackend.C (defaults): fix default menu (we might as well get
11349 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11351 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11354 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11356 * lyxvc.C: reorder includes.
11358 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11360 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11363 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11365 * CutAndPaste.C: change layouts earlier on paste
11366 to avoid crashing when calling getFont()
11368 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11370 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11373 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11375 * WorkArea.C: remove 'Pending' debug message.
11377 * most files: ws cleanup
11379 * buffer.[Ch]: ws changes
11381 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11383 2002-03-21 Juergen Vigna <jug@sad.it>
11385 * tabular.C (SetMultiColumn): collapse also the contents of the
11386 cells and set the last border right. Added a Buffer const * param.
11388 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11390 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11393 2002-03-19 Juergen Vigna <jug@sad.it>
11395 * text2.C (clearSelection): reset also xsel_cache.
11397 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11398 where it needs to be called (John tells us to do so too :)
11399 (selectionLost): reset sel_cache.
11401 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11403 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11405 * text2.C (setCursorIntern): put debuging code in INSETS channel
11407 2002-03-19 André Pönitz <poenitz@gmx.net>
11409 * lyxfunc.C: tiny whitespace change
11411 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11413 * ToolbarDefaults.C (init):
11414 * LyXAction.C (init):
11416 * BufferView_pimpl.C (Dispatch):
11417 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11419 2002-03-19 Allan Rae <rae@lyx.org>
11421 * exporter.C (Export): removeAutoInsets before doing anything else.
11422 While I've just introduced a dependency on BufferView this really is
11423 the best place to clean the buffer otherwise you need to cleanup in
11424 a dozen places before calling export or cleanup in a dozen functions
11427 * converter.C (runLaTeX):
11428 (scanLog): Better handling of removeAutoInsets and screen updates.
11430 * lyxfunc.C (dispatch): small whitespace changes
11432 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11434 * WorkArea.C (C_WorkAreaEvent): return a value.
11435 (event_cb): return 1 if we handled the event, 0 otherwise.
11437 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11439 2002-03-18 Juergen Vigna <jug@sad.it>
11441 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11442 (GetAdditionalWidth): ditto.
11443 (RightLine): ditto.
11446 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11447 inset if we're there actually (probably not used right now but this
11448 is the direction to go for unifying code).
11449 (paste): disable code to clear the selection.
11451 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11452 inside an InsetText and move the check further up as it is in the
11455 * text2.C (pasteSelection): set a selection over the pasted text.
11457 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11459 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11460 and libgraphics to build on Cygwin.
11462 2002-03-15 Juergen Vigna <jug@sad.it>
11464 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11465 inserting an Inset into the paragraph. I know this is not the best
11466 fix but we already use current_view in CutAndPaste so we will remove
11467 all of it's using at the same time.
11469 * buffer.C (sgmlError): deactivated function till it is rewritten in
11470 the right mode, now it can create problems.
11472 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11473 before accessing it.
11475 2002-03-14 Juergen Vigna <jug@sad.it>
11477 * undo_funcs.C (textHandleUndo): do the right thing when updating
11478 the inset after the undo/redo.
11480 * text2.C (setCursor): just some testcode for #44 not ready yet.
11482 * undo_funcs.C (textHandleUndo): set the next() and previous()
11483 pointers of the paragraph to 0 before deleting otherwise we have
11484 problems with the Paragraph::[destructor].
11486 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11487 on a paragraph insertion.
11489 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11491 * buffer.C (asciiParagraph): use += operator for char append to
11494 * paragraph.C (getFontSettings): compare >= not just >
11495 (highestFontInRange): ditto
11498 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11500 * paragraph.C: change several algorithm to be more appripriate for
11501 the problem domain. This is lookip in FontList and in the InsetList.
11503 2002-03-13 André Pönitz <poenitz@gmx.net>
11506 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11508 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11513 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11515 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11517 * Painter.C (display): anon helper function, adjust code for this
11519 (pixmap): remove function.
11521 * Painter.h: remove private display variable.
11523 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11525 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11527 * WorkArea.[Ch]: remove figinset_canvas cruft.
11529 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11531 * lyxtextclass.C (operator): add one item cache optimization.
11533 * bufferlist.h: doxy changes
11535 * bufferlist.C: ws changes
11537 * DepTable.[Ch] (ext_exist): place const in the right spot.
11539 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11541 (workAreaExpose): call resizeInsets when the with BufferView changes.
11542 (Dispatch): adjust for protectedBlank removal
11543 (specialChar): call updateInset if the insert went ok.
11545 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11546 specialChar instead.
11548 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11550 * BufferView.h: doxy change
11552 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11554 * lyxtextclass.C (operator[]): remove non-const version
11555 (defaultLayout): remove non-const version
11557 2002-03-12 Juergen Vigna <jug@sad.it>
11559 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11560 did resize the LyXText too.
11562 * buffer.C (readLyXformat2): set layout information on newly allocated
11565 * tabular.C (OldFormatRead): set layout information on the paragraph.
11567 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11569 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11571 2002-03-11 Juergen Vigna <jug@sad.it>
11573 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11575 (resizeCurrentBuffer): force also the insets to resize themselfes.
11576 (moveCursorUpdate): fixed up for InsetText.
11578 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11581 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11582 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11583 value of Dialogs::tooltipsEnabled().
11584 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11586 2002-03-08 Juergen Vigna <jug@sad.it>
11588 * BufferView_pimpl.C (updateInset): update inset inside inset also
11589 if it isn't inside theLockingInset().
11591 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11593 * buffer.C (asciiParagraph): redo some of the word and line length
11595 (getLists): look for Caption instead of caption.
11597 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11599 * buffer.C (Buffer): initialize niceFile to true
11601 (makeLinuxDocFile):
11602 (makeDocBookFile): make sure niceFile is true on exit
11604 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11606 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11608 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11610 * LyXSendto.C: remove.
11611 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11612 * lyx_gui.C: remove now-redundant comment.
11613 * ColorHandler.h: remove forward declaration of class WorkArea.
11614 * lyxfunc.C: remove #include "WorkArea.h".
11616 2002-03-07 Juergen Vigna <jug@sad.it>
11618 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11619 got moved away with the DEPM and also set the inset_owner always
11620 right which before could have been omitted.
11622 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11624 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11625 wanted layout is not found.
11627 2002-03-07 Juergen Vigna <jug@sad.it>
11629 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11631 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11633 * paragraph.C (breakParagraph): use default layout not layout of
11635 (Paragraph): clear ParagraphParameters.
11637 2002-03-06 Juergen Vigna <jug@sad.it>
11639 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11640 otherwise it would not be a valid lenght. Fixed a special case in
11641 the minipage compatibility read where we end the document with a
11644 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11645 was set as it could be 0 for InsetTexts first entry.
11647 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11649 * paragraph.C (writeFile): if layout is empty write out
11650 defaultLayoutName().
11652 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11653 file without named layout we set layout to defaultLayoutName().
11655 2002-03-06 Juergen Vigna <jug@sad.it>
11657 * CutAndPaste.C (copySelection): set layout for new paragraph.
11659 * text.C (prepareToPrint): leave ERT inset left aligned
11660 (leftMargin): don't indent paragraphs inside ERT insets
11662 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11664 * paragraph.C (breakParagraph): dont call clear do the work manually
11666 * paragraph.[Ch] (clear): remove function
11668 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11670 * paragraph.C (Paragraph): dont call clear, the work has already
11673 * lyxtextclass.C (operator): assert if n is empty
11675 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11676 work manually instead.
11678 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11680 * BufferView_pimpl.C: protect selectionLost against text == 0
11682 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11684 * text.C (breakParagraph): fix a setting layout to '0' problem.
11686 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11688 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11689 final location of file, for the included files, and graphics.
11691 2002-03-05 Juergen Vigna <jug@sad.it>
11693 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11695 2002-03-04 Juergen Vigna <jug@sad.it>
11697 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11699 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11700 last column of multicolumn cells.
11701 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11703 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11705 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11706 file if it doesn't go to a temporary file.
11708 * buffer.C (sgmlOpenTag):
11709 (sgmlCloseTag): remove extra newline insertion.
11711 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11713 * text.C (getRowNearY): comment out debug msg
11715 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11717 * text2.C: first -> first_y
11719 * text.C (getRowNearY): add some attemts at a possible
11720 optimization, not working.
11722 * tabular.[Ch]: add BufferParams to several function so that newly
11723 created paragraph can be initialized to he default layotu for the
11726 * tabular-old.C (ReadOld): add buf->params to call of Init
11728 * screen.C: rename text->first to text->first_y
11730 * paragraph.C (breakParagraph): always set layout in the broken
11733 * lyxtextclass.C (Read): remove lowercase
11736 (delete_layout): ditto
11738 * lyxtext.h: rename first -> first_y
11740 * lyxlayout.C (Read): remove lowercase
11743 (obsoleted_by): ditto
11745 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11747 * buffer.C (insertErtContents): add params are to InsetERT
11748 (parseSingleLyXformat2Token): add code to check if a paragraphs
11749 layout really exist.
11750 (parseSingleLyXformat2Token): add params to several inset
11752 (asciiParagraph): remove lowercase, do the layout comparisons with
11755 * BufferView_pimpl.C (cursorNext): first -> first_y
11756 (resizeCurrentBuffer): first -> first_y
11757 (updateScrollbar): first -> first_y
11758 (scrollCB): first -> first_y
11759 (workAreaMotionNotify): first -> first_y
11760 (workAreaButtonPress): first -> first_y
11761 (checkInsetHit): first -> first_y
11762 (cursorPrevious): first -> first_y
11763 (cursorNext): first -> first_y
11764 (Dispatch): add buffer_->params to severl inset contructors
11766 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11768 * lyxlayout.C (Read): remove some debug info that I forgot.
11770 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11771 clean up the code slightly.
11772 (makeLinuxDocFile): ditto
11773 (makeDocBookFile): ditto
11775 * text2.C: layout as string
11777 * text.C: layout as string
11779 * paragraph_pimpl.C: layout as string
11781 * paragraph.[Ch]: layout as string
11783 * lyxtextclasslist.[Ch]: layout as string
11785 * lyxtextclass.[Ch]: layout as string
11787 * lyxtext.h: layout as string
11789 * lyxlayout.[Ch]: layout as string
11791 * lyx_cb.C: layout as string
11793 * bufferview_funcs.C: layout as string
11795 * bufferparams.C: layout as string
11797 * buffer.C: layout as string
11799 * LyXView.[Ch]: layout as string
11801 * LaTeXFeatures.[Ch]: layout as string
11803 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11805 * BufferView_pimpl.C: change current_layout to string, remove
11810 (workAreaButtonRelease): layout as string
11812 * BufferView2.C (unlockInset): adjust
11814 * vspace.C (asLatexCommand): use an explict temp variable.
11816 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11818 * Makefile.am: use FRONTEND_*
11820 2002-03-01 Juergen Vigna <jug@sad.it>
11822 * tabular.C (SetWidthOfMulticolCell): changed to something better
11823 I hope but still work in progress.
11824 (recalculateMulticolumnsOfColumn): renamed function from
11825 recalculateMulticolCells as it is more appropriate now.
11826 (SetWidthOfCell): calculate multicols better.
11828 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11830 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11832 * lyxfunc.C (processKeySym): print sequence also if it is
11833 `deleted' (complete)
11835 * kbsequence.C (print): print sequence even if it is deleted
11836 (complete would be a better word, actually).
11838 * lyxfunc.C (dispatch): print complete options after a prefix key
11840 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11842 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11844 * text2.C (setCharFont): eliminate setCharFont code duplication.
11846 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11848 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11849 LFUN_TABULAR_FEATURE (bug #177)
11851 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11853 * Makefile.am: remove figure.h
11855 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11857 * Bufferview_pimpl.C:
11869 * text2.C: remove #include "lyx_gui_misc.h".
11871 * LaTeX.C: added #include <cstdio>
11873 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11875 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11876 that the paragraph following this one can have.
11878 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11880 * vspace.C (asLatexCommand): fix bogus gcc warning
11882 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11884 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11886 * text2.C (setLayout): get rid of redundant code
11888 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11890 * text2.C (incDepth): make sure depth cannot be increased beyond
11893 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11895 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11896 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11898 * PainterBase.h (image):
11899 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11900 a LyXImage const *.
11902 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11906 * BufferView_pimpl.C:
11907 * BufferView_pimpl.h:
11927 * sp_spell.C: remove fig inset, and the crap house of
11928 cards that follows it
11930 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11935 * os2_errortable.h:
11936 * nt_defines.h: move .h into support/
11938 * vms_defines.h: remove
11940 * WorkArea.C: add space in debug output
11944 * buffer.C: add WITH_WARNINGS
11948 * bufferlist.C: s/retrive/retrieve/, add docs
11957 * chset.C: add docs
11959 * lyxgui.C: add ID to X error handler
11961 * lyxtestclass.c: fix typo
11963 2002-02-26 Juergen Vigna <jug@sad.it>
11965 * tabular_funcs.C (write_attribute): changed so that some default
11966 attributes are not written at all.
11967 (getTokenValue): set default values before trying to read the
11968 value so we have the return value always set as default if we don't
11969 find the token we search for.
11971 * tabular.C (Write): write bools as bools not as strings!
11973 2002-02-22 Juergen Vigna <jug@sad.it>
11975 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11976 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11978 * text.C (leftMargin): don't add an indent for paragraphs inside
11979 tabular cells (fix #208).
11981 2002-02-21 José Matos <jamatos@fep.up.pt>
11983 * tabular.C (docBook): fixed support for long tables.
11985 2002-02-20 Juergen Vigna <jug@sad.it>
11987 * text2.C (getFont): get the drawing font of the Inset if this
11988 paragraph is inside an inset (only important for InsetERT for now).
11990 * buffer.C (insertErtContents): use new lanugage params in ERT
11993 * CutAndPaste.C: commenting out seemingly uneeded code.
11995 2002-02-19 Allan Rae <rae@lyx.org>
11997 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11998 Iterators might be simple to use but they also get invalidated.
11999 (removeAutoInsets): renamed saved cursor tracking variables and added
12000 some comments to clarify what everything does.
12002 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12009 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12010 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12013 * vc-backend.h: remove #include "support/syscall.h"
12017 * converter.C: rearrange #includes in Lars' approved fashion.
12019 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12020 forward declare class Timeout in the header file.
12022 * XFormsView.C: changes due to the above.
12024 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12025 similar to LyXView.
12027 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12028 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12030 2002-02-18 José Matos <jamatos@fep.up.pt>
12032 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12035 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12037 * a lot of small ws changes
12038 * add a lot of using std::XXX
12039 * use std construcs some places where approp.
12040 * use some exisint stuff from lyxfunctional where approp.
12041 * Make file changes to use partial linking (lets test this now...)
12043 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12047 remove #include "support/syscontr.h" as it's redundant. Always has been.
12055 change Systemcalls::System to Systemcalls::Wait and
12056 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12057 No change of functionality, just reflects the stripped down Systemcalls
12060 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12062 * debug.[Ch]: add a GRAPHICS type to the enum.
12064 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12066 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12068 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12071 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12073 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12074 match the changes below.
12076 * text2.C (toggleInset): if there is not editable inset at cursor
12077 position, try to see if cursor is _inside_ a collapsable inset
12080 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12082 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12083 document menu has a nice checkbox
12085 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12087 * lyxlength.C (asLatexString): change PW to output as percent of
12090 * lengthcommon.C: change '%' to 't%'
12092 * lyxfunc.C (dispatch): a few comments from Martin
12094 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12098 * BufferView_pimpl.h:
12099 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12102 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12104 * vspace.C (inPixels): fix compiler warning
12106 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12108 * lyxfunc.C (getStatus): fix status message for disabled commands.
12110 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12112 * BufferView_pimpl.C: fix crash on close buffer
12113 during selection (#227)
12115 2002-01-27 Herbert Voss <voss@lyx.org>
12117 * buffer.C: link old Figure to new graphic inset
12119 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12121 * FontLoader.C (getFontinfo): Change the latex font names in order
12122 to match the names of type1inst.
12124 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12126 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12128 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12129 (extchanged): ditto
12131 (remove_files_with_extension): ditto
12132 (remove_file): ditto
12135 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12136 document is smaller than the work area height. Do not initialize
12137 static variables to 0.
12139 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12141 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12143 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12144 LFUN_LAYOUT_PARAGRAPHS.
12146 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12147 tabular. It is possible to provide a possible cell, which will
12148 typically be the actcell from the corresponding insettabular
12150 * lyxfunc.C (getStatus): small cleanup; disable
12151 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12154 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12156 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12158 * paragraph.C (startTeXParParams):
12159 (endTeXParParams): new methods. The LaTeX code to
12160 start/end paragraph formatting
12161 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12162 empty (fixes bug #200)
12164 * vspace.C (inPixels): adapt to the change below
12165 (inPixels): [later] more cleanups (remove unused variables)
12167 * lyxlength.C (inPixels): change to use a width and a height as
12170 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12172 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12173 Replaced with \paperwidth
12175 * DepTable.C (insert): add std:: qualifier
12177 2002-01-18 Allan Rae <rae@lyx.org>
12179 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12182 * text.C (drawInset): Turned out I didn't know enough about how
12183 rebreaking worked. This fixes most of the redraw problems. I see
12184 an occasional cursor trail when a line is broken now and the cursor
12185 placement can seem out by a few pixels also after a rebreak.
12187 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12189 * buffer.C (parseSingleLyXformat2Token): update because minipage
12190 width is now a LyXLength
12192 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12194 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12197 2002-01-17 Juergen Vigna <jug@sad.it>
12199 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12201 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12202 is set correctly and the inset is updated correctly.
12204 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12206 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12207 the beginning of the loop.
12209 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12211 * lyxrc.C: improve help for use_scalable_fonts
12213 2002-01-17 Allan Rae <rae@lyx.org>
12215 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12217 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12219 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12220 make sure to set their inset_owner to the right value (bug #171)
12222 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12225 * DepTable.C: Implement mtime checking to reduce time spent doing
12228 2002-01-16 Juergen Vigna <jug@sad.it>
12230 * tabular.C (GetAdditionalHeight): one of error fixed.
12232 * lyxrc.C (output): small fix in writing use_pspell.
12234 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12236 * sp_base.h: #include LString.h
12238 2002-01-16 Allan Rae <rae@lyx.org>
12240 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12241 Can someone check this please?
12243 * text.C (drawInset): It was possible that p.row would be removed by
12244 breakAgainOneRow upsetting a few other settings. There may be another
12245 small tweak possible by setting need_break_row = 0 when p.row has been
12246 removed but I don't know enough about the logic here.
12248 2002-01-15 Allan Rae <rae@lyx.org>
12250 * text.C (insertChar): removed conditional truism.
12252 * BufferView2.C (removeAutoInsets): More tweaks.
12253 cur_par_prev could be a stray pointer. Check for trailing empty line
12254 in case last line was cur_par and only had an error inset on it.
12256 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12258 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12261 * vc-backend.C (most methods):
12262 * exporter.C (Export):
12263 * converter.C (convert):
12265 * LyXSendto.C (SendtoApplyCB):
12266 * lyxfunc.C (dispatch):
12270 * lyx_cb.C (AutoSave):
12272 * BufferView_pimpl.C (MenuInsertLyXFile):
12273 * buffer.C (runChktex): use Buffer::filePath().
12275 * buffer.h: rename filename to filename_; rename filepath to
12276 filepath_ and make it private
12277 (filePath): new method
12279 * buffer.C (writeFile): use fileName()
12282 * lyx_main.C (init): fix starting of LyX when the binary is a
12283 link from so,ewhere else.
12285 * minibuffer.C: include <cctype> for isprint
12287 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12289 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12290 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12291 name clash with InsetCollapsable's width function.
12293 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12295 * lastfiles.C: include <iterator>
12297 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12299 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12302 * buffer.C (makeLaTeXFile): ditto.
12303 Also make loop operation more transparent.
12305 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12307 * ToolbarDefaults.C: remove trailing comma closing namespace.
12309 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12311 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12314 * trans.C (Load): comment out unused variable, allowed.
12316 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12318 * minibuffer.[Ch] (append_char): new method to recieve input from the
12319 drop-down completion browser. If a key was pressed, then recieve this
12320 char and append it to the existing string.
12321 (peek_event): modify the positioning data passed to the completion
12322 browser so that it can be placed above the minibuffer rather than below.
12323 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12325 * LyXAction.C (init): alloe error-next for readonly documents.
12327 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12330 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12332 * bufferlist.C (readFile): create the buffer _after_ checking that
12335 * lyxfunc.C (verboseDispatch): fix handling of arguments
12337 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12339 * lyxrc.C: use string::erase() instead of initializing to "".
12342 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12344 * BufferView_pimpl.h:
12345 * BufferView_pimpl.C:
12348 * text2.C: tell X when we have made a selection for copying
12350 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12352 * BufferView_pimpl.C (MenuInsertLyXFile):
12353 * lyxfunc.C (menuNew):
12355 (doImport): add shortcuts to directory buttons
12357 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12360 * lyxfunc.C (setStatusMessage):
12361 (getStatusMessage): new methods
12362 (getStatus):use setStatusMessage instead of setErrorMessage
12363 (dispatch): when function is disabled, set error message here
12364 [instead of in getStatus previously]
12366 * BufferView_pimpl.C (workAreaButtonRelease): update
12367 toolbar/menubar here too.
12369 2002-01-13 Allan Rae <rae@lyx.org>
12371 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12372 Now seems indestructible. Remaining task is to audit all other
12373 code affected by deleteEmptyParagraphMechanism. One small quirk
12374 left is that an empty document with an error in the preamble can
12375 be made to report an error but no error box appears. I don't know
12377 (removeAutoInsets): Improved comments.
12379 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12382 * Thesaurus.C: update for Aiksaurus 0.14
12384 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12386 * text2.C (firstParagraph): removed member function, all uses
12387 replaces with ownerParagraph
12388 (redoParagraphs): here
12389 (updateInset): here
12390 (toggleAppendix): here
12391 * BufferView2.C (insertErrors): here
12392 (setCursorFromRow): here
12394 2002-01-13 Allan Rae <rae@lyx.org>
12396 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12397 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12398 There is still a way to segfault this although you may have to do this
12399 multiple times: Have an InsetERT with an unknown command in it.
12400 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12401 <down-arrow>, <Enter> again, View->DVI, BANG!
12403 * text2.C (setCursor):
12404 (deleteEmptyParagraphMechanism):
12405 * lyxtext.h (setCursor):
12406 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12407 Making use of the return value may help fix other bugs.
12409 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12411 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12413 * LyXView.C (updateMenubar): call MenuBar::update here
12414 (updateToolbar): but not here
12415 (showState): do not update toolbar/menubar
12417 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12418 should need to care about that.
12420 * lyxfunc.C (verboseDispatch): simplify a bit
12421 (getStatus): have a version which takes a pseudoaction, and
12422 another which requires a (kb_action,string).
12424 * LyXAction.C (retrieveActionArg): make it work also when action
12425 is not a pseudo-action.
12426 (getActionName): simplify a bit
12429 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12431 * lyxfunc.C (verboseDispatch): new families of methods with
12432 several ways to specify a command and a bool to indicate whether
12433 the command name and shortcut should be displayed in minibuffer
12434 (eventually, we could extend that to a finer bitmask like
12435 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12436 (dispatch): the pristine dispatch command which just, well,
12437 dispatchs! Note it still sets its result to minibuffer; I'm not
12440 * lyxfunc.h: remove setHintMessage
12442 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12444 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12446 * BufferView_pimpl.C (specialChar): delete new inset if we have
12447 not been able to insert it.
12449 * kbmap.C: revert to using int instead of kb_action, since all we
12450 are dealing with is pseudo-actions.
12452 * LyXAction.C (searchActionArg): change to return int instead of
12453 kb_action, since the result is a pseudoaction.
12455 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12457 * buffer.C (insertErtContents): Fix (partially) the font bug.
12459 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12461 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12462 as the other one is broken on my machine!
12464 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12467 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12469 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12471 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12472 reflect their actual use. Provide compatibility code for older lyxrc
12475 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12477 change names of popup font variables in line with the changes to lyxrc.C
12479 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12481 * buffer.C (asciiParagraph): avoid outputing a word twice after
12484 * lyxrc.C (getDescription): document that document_path and
12485 template_path can be empty.
12487 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12489 * LaTeXFeatures.C (getMacros):
12490 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12492 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12494 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12496 (getPackages): rename feature "floats" to "float". Use an array to
12497 iterate over 'simple' features (i.e. just a \usepackage). Add
12498 handling of "amsmath" (renamed from "amsstyle").
12500 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12502 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12505 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12507 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12508 FuncStaus::FuncStatus & FuncStaus::some_method().
12510 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12512 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12513 of the func_satus stuff. Edited and massaged in various ways by
12516 * lyxfunc.C (getStatus): use FuncStatus
12518 2002-01-08 Juergen Vigna <jug@sad.it>
12520 * text.C (nextBreakPoint): use function Inset::isChar().
12522 * paragraph.C (TeXOnePar): use function
12523 Inset::forceDefaultParagraphs.
12525 * buffer.C (latexParagraphs): use function
12526 Inset::forceDefaultParagraphs.
12528 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12530 * lyx_gui.C (init): set the style of the menu popups to
12531 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12533 2002-01-07 Juergen Vigna <jug@sad.it>
12535 * text.C (setHeightOfRow): small fix
12536 (prepareToPrint): don't look at alignment if we don't have the place
12539 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12541 * box.C: New file. Move the Box methods and functions out of box.h,
12542 following Lars' suggestion.
12544 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12546 * box.h: #include "support/LOstream.h", needed for inlined function.
12549 * lyxtextclasslist.C: added some using std declarations.
12551 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12553 * box.h: make signed dimensions to allow insets wider than
12554 the screen (bug #162)
12556 * BufferView_pimpl.C: add some insetHit debug
12558 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12560 * vc-backend.C: add FIXME
12562 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12564 * lyxfunc.C (getStatus): enable code for showing math font status
12567 2002-01-07 Juergen Vigna <jug@sad.it>
12569 * text.C (nextBreakPoint): removed debug output not needed anymore.
12571 2002-01-06 Juergen Vigna <jug@sad.it>
12573 * text.C (nextBreakPoint): fixed up this function we had this bug
12574 since ever but now hopefully we break row better.
12575 (insertChar): we have to check if an inset is the next char as it
12576 could now happen that a large inset is causing a break.
12578 2002-01-05 Juergen Vigna <jug@sad.it>
12580 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12581 if it doesn't like to be drawed.
12583 2002-01-04 Juergen Vigna <jug@sad.it>
12585 * BufferView2.C (lockInset): forgot to set a cursor.
12587 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12589 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12591 * FormMathsPanel.C:
12594 * form_maths_panel.C:
12595 * form_maths_panel.h:
12596 * form_maths_panel.fd: implemented sub- and super- buttons in math
12599 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12600 (or ^ space) to be used as in TeX (req'd by André).
12602 * lyxfunc.C: Allow ^ and _ again to be used both as
12603 super/subscript (mathed) and as themselves (in text).
12605 2002-01-03 Allan Rae <rae@lyx.org>
12607 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12608 "LyX" or the filename of the current buffer if it has one. This is a
12609 modified form of John Levon's patch.
12611 * XFormsView.C (setWindowTitle): also set icon title.
12613 * LyXView.h (setWindowTitle): signature changed.
12614 * XFormsView.h (setWindowTitle): ditto.
12616 2002-01-02 Juergen Vigna <jug@sad.it>
12618 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12620 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12622 * screen.C (topCursorVisible): introduce a temp var for
12623 text->cursor.row(), handle the case where this row is null. (kindo
12626 * text2.C (setCursor): add a couple of asserts.
12628 * paragraph.h (inset_iterator): add -> operator
12630 * paragraph.[Ch] (autoDeleteInsets): remove member function
12632 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12633 cursor pos correctly and handle inset deletion by itself.
12634 (insertErrors): move iterator declaration out of for expression
12636 * lyxtextclass.C: add <algorithm>
12638 * Makefile.am: added the new files to sources, removed layout.C
12640 * layout.C: removed file
12642 * layout.h: remove LYX_DUMMY_LAYOUT
12644 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12648 * lyxtextclass.[Ch]:
12649 * lyxtextclasslist.[Ch]: new files
12651 * include order changes to a lot of files, also changes because of
12654 2001-12-27 Juergen Vigna <jug@sad.it>
12656 * buffer.C (asciiParagraph): more fixes.
12658 * tabular.C (ascii): make ascii export support export of only the
12659 data separated by a column-delimiter.
12660 (ascii): better support for ascii export.
12662 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12664 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12666 * tabular_funcs.C: use a "using std::getline" instead of the
12667 previous fix from Angus (necessary for cxx + lyxstring)
12669 2001-12-24 Juergen Vigna <jug@sad.it>
12671 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12673 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12674 problems. First check a minipage also if we have some ert-contents
12675 (not only on par->size(), second set the right depth of the paragraph
12676 on the relink to the root-paragraph-list!
12678 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12679 which then did not anymore update the main paragraphs on undo/redo!
12681 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12683 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12684 code. Support all font-changing funcs (even those which are not in
12685 menu currently). Support for reporting font settings in
12686 mathed (disabled until Andre provides a function on mathed's side).
12688 * func_status.h (toggle): small helper function to set toggle
12691 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12693 * tabular_funcs.C: getline -> std::getline
12695 2001-12-21 Juergen Vigna <jug@sad.it>
12697 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12698 accessed and could be 0 (I couldn't generate this but it seems
12701 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12703 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12704 * tabular_funcs.h: here and include iosfwd
12706 2001-12-20 Juergen Vigna <jug@sad.it>
12708 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12709 inside inset but undo_par was.
12711 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12713 * Thesaurus.C: always include <config.h> in sources.
12717 * box.h: do not include <config.h> in header files
12719 * text.C (paintLastRow): remove unused variable
12721 * text.C (transformChar):
12723 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12725 * Painter.C (text):
12726 * font.C (width): rewrite to use uppercase() instead of
12729 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12731 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12733 * lyxfind.C: clean up of find failure position change
12735 2001-12-20 Juergen Vigna <jug@sad.it>
12737 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12739 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12740 (TeXRow): added to LaTeX a single tabular row.
12741 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12742 (Latex): simplified and finally good LT-h/f support.
12743 (various_functions): just small adaptions for LT-h/f support.
12745 * tabular_funcs.[hC]: added and moved here all not classfunctions
12748 2001-12-19 Juergen Vigna <jug@sad.it>
12750 * tabular.[Ch]: better support for longtabular options (not finished
12753 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12755 * text.C (paintLastRow): use the label font instead of the font of
12756 the last character to compute the size of *_BOX. This makes more
12757 sense and avoids a crash with empty paragraphs.
12758 Use Painter::rectangle to draw EMPTY_BOX.
12760 2001-12-19 Juergen Vigna <jug@sad.it>
12762 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12763 the paragraphs if the replaced paragraph is not the first one!
12764 Tried to delete not used paragraphs but does not work yet so for
12765 now it's inside #ifdef's and by default off!
12767 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12769 * MenuBackend.C: include "lyx_main.h" instead of declaring
12770 lastfiles (actually was declared as LastFiles* instead of a
12773 2001-12-17 Juergen Vigna <jug@sad.it>
12775 * tabular.C (AppendColumn): applied John's fix
12777 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12781 * BufferView_pimpl.h:
12782 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12785 * box.h: new start of class for above
12787 * lyxfunc.C: ignore space-only minibuffer dispatches.
12788 Show the command name when it doesn't exist
12790 * minibuffer.C: don't add empty lines to the history
12792 * minibuffer.C: add a space on dropdown completion
12794 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12796 * text.C: fix line above/below drawing in insets
12798 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12800 * lyxlength.C (LyXLength): Initialize private variables.
12802 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12804 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12805 when inserting error insets.
12807 2001-12-13 Juergen Vigna <jug@sad.it>
12809 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12810 actually sometimes the before-paragraph.
12811 (setUndo): don't clear the redostack if we're not actually undoing!
12813 2001-12-06 Juergen Vigna <jug@sad.it>
12815 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12816 and fixed redoing of main paragraph, so we can use it now ;)
12818 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12820 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12822 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12825 2001-12-13 André Pönitz <poenitz@gmx.net>
12828 * undo_func.C: minor cleanup
12830 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12832 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12833 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12834 font in urw-fonts package which is marked as -urw-fontspecific and
12835 does not work (incidentally, changing the encoding in the
12836 fonts.dir of this package to -adobe-fontspecific fixes the
12839 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12840 is a crash when undoing first paragraph (Juergen, please take a
12841 look). THis does not mean the undo fix is wrong, just that it
12844 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12845 the (Paragraph*) version when needed instead of duplicating the
12848 * text.C (workWidth): use Inset::parOwner to find out where the
12849 inset has been inserted. This is a huge performance gain for large
12850 documents with lots of insets. If Inset::parOwner is not set, fall
12851 back on the brute force method
12853 * paragraph_pimpl.C (insertInset):
12854 * paragraph.C (Paragraph):
12855 (cutIntoMinibuffer): set parOwner of insets when
12856 inserting/removing them
12858 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12860 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12866 * mathed/formulabase.C:
12867 * mathed/math_cursor.[Ch]:
12868 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12871 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12873 * lyxlength.[Ch] (operator!=): new function
12875 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12877 * text.C (workWidth): use Inset::parOwner to find out where the
12878 inset has been inserted. This is a huge performance gain for large
12879 documents with lots of insets. If Inset::parOwner is not set, fall
12880 back on the brute force method
12882 * paragraph_pimpl.C (insertInset):
12883 * paragraph.C (Paragraph):
12884 (cutIntoMinibuffer): set parOwner of insets when
12885 inserting/removing them
12887 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12889 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12891 * tabular-old.C (getTokenValue):
12892 * tabular.C (getTokenValue):
12893 (write_attribute): new versions for LyXLength
12894 (everywhere): adjust the use of widths
12896 * tabular.h: change the type of widths from string to LyXLength
12898 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12900 * paragraph.C: fixed missing line number count when exporting
12901 Environments to LaTeX file
12903 * buffer.C: added informational message for checking line numbers.
12905 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12907 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12908 paragraph, do the 'double space' part, but not the 'empty
12911 * text.C (workWidth): small optimization
12912 (getLengthMarkerHeight): use minimal size for negative lengths.
12914 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12916 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12918 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12920 2001-12-11 André Pönitz <poenitz@gmx.net>
12923 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12925 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12927 * text2.C: keep selection on a setFont()
12929 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12931 * lyx_cb.C: another bv->text misuse, from insert label
12933 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12936 * kbsequence.C: re-instate nmodifier mask
12938 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12940 * lyx_main.h: make lyxGUI private.
12942 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12944 * lyxfind.C: place the cursor correctly on failed search
12946 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12948 * text.C (getLengthMarkerHeight): for small heights, the arrows
12949 are not always on top/bottom of the text
12950 (drawLengthMarker): smaller arrows; take the left margin in
12951 account; draw also vfills.
12953 (paintLastRow): remove special code for vfill and standard spaces,
12954 since everything is handled in drawLengthMarker now.
12956 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12958 * buffer.C (insertErtContents): try to handle font and language
12959 interaction a bit better.g
12961 * ColorHandler.C (updateColor): change the hash to cover the whole
12962 LColor enum, ws cleanup
12963 (getGCLinepars): ditto
12964 (getGCLinepars): only lookup in the linecache once.
12966 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12968 * iterators.C (operator++): Make the iterator more robust
12970 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12972 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12974 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12977 * text.C: better added space drawing
12979 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12982 * BufferView2.C: fix layout combo update on inset unlock
12984 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12986 * Makefile.am: don't compile unused files
12988 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12992 * LyXAction.C: remove old LFUN_LAYOUTNO
12994 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12996 * paragraph_pimpl.h:
12997 * paragraph_pimpl.C: isTextAt() doesn't need font param
12999 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13002 * lyxlex.C: little cleanup
13004 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13006 * BufferView_pimpl.C: fix insertAscii for insets
13008 2001-12-05 Juergen Vigna <jug@sad.it>
13010 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13011 set the right font on the "multi" paragraph paste!
13013 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13019 * lyxlength.C: remove out-commented code.
13021 * BufferView_pimpl:
13035 * vc-backend.C: change "while(" to "while ("
13037 * lyxlength.[Ch]: add zero function to check if length is zero or
13039 * lyxgluelength.C: use it
13041 2001-12-05 Allan Rae <rae@lyx.org>
13043 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13044 Works for 2.95.3, from what I understand of Garst's reports this should
13045 work for other g++ versions. We're screwed if the abs(int) definition
13046 changed between bugfix releases of gcc.
13048 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13050 * text.C: fix chapter label offset !
13052 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13055 * text.C: fix hfill at end of line, clean up
13057 2001-12-04 Juergen Vigna <jug@sad.it>
13059 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13060 that we force an update of the inset and it's owners if neccessary.
13062 2001-12-03 Juergen Vigna <jug@sad.it>
13064 * text.C (rowLast): simplified code
13066 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13068 * lyxfunc.C: fix show options on timeout
13070 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13072 * screen.C (topCursorVisible): scroll half a page when the cursor
13073 reached top of bottom of screen
13075 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13077 * minibuffer.C: deactivate on loss of focus
13079 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13081 * vspace.[Ch] (operator!=): add operator.
13083 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13085 * BufferView_pimpl.C: refuse to open an inset when
13086 there's a selection.
13088 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13090 * BufferView_pimpl.C: allow to click on RHS of full row insets
13092 2001-11-30 Juergen Vigna <jug@sad.it>
13094 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13095 insets for undo reasons.
13097 2001-11-28 André Pönitz <poenitz@gmx.net>
13099 * vspace.[Ch]: cosmetical changes
13101 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13111 * kbsequence.C: part re-write of old kb code
13114 * WorkArea.C: remove Lgb_bug_find_hack
13116 2001-11-30 José Matos <jamatos@fep.up.pt>
13118 * buffer.C (makeDocBookFile): add a comment to point a hack.
13119 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13120 Fixed a double write of labels.
13122 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13125 * LaTeX.h Fixed bug in LaTeX class where it would not
13126 re-run latex if no depfiles were changed, but the .dvi was removed.
13128 2001-11-28 André Pönitz <poenitz@gmx.net>
13130 * all the files from the change on 2001/11/26:
13131 use lyx::layout_type instead of LyXTextClass::size_type
13132 use lyx::textclass_type instead of LyXTextClassList::size_type
13134 2001-11-29 Juergen Vigna <jug@sad.it>
13136 * text.C: added support for paragraph::isFreeSpacing()
13138 * buffer.C: same as above
13140 * paragraph.h: inserted isFreeSpacing() function to enable
13141 FreeSpacing inside InsetERT.
13143 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13144 of the paragraph's in the cut/copy buffer to 0!
13146 * text2.C (removeRow): remove the assert as it can!
13148 * lyxtext.h: added helper function firstRow returning firstrow and
13149 made firstrow private again.
13151 * BufferView2.C (lockInset): don't relock if we're already locked!
13153 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13154 the only paragraph.
13155 (removeRow): added Assert::(firstrow)
13157 * debug.C: forgot to add INSETTEXT here.
13159 2001-11-28 Juergen Vigna <jug@sad.it>
13161 * sp_spell.C (initialize): changed error text to more general
13162 spellchecker command use (not only ispell!)
13164 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13166 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13168 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13170 * vspace.C: initialise lyxgluelength on failure
13172 2001-11-28 Allan Rae <rae@lyx.org>
13174 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13175 declaration & definition that looks like a function declaration.
13177 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13179 * BufferView2.C (copy):
13180 (copyEnvironment): do not clear the selection when doing a copy.
13182 * text.C (paintFirstRow): compilation fix
13184 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13186 * tabular.C (Latex): correct line count when writing latex.
13188 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13190 * paragraph_pimpl.h:
13191 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13194 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13198 * LColor.C: change vfillline->added_space
13200 * text.C: add markers and text for added space
13202 * vspace.C: fix comment
13204 2001-11-28 André Pönitz <poenitz@gmx.net>
13206 * paragraph.C: whitespace changes
13207 * all the other files from the change on 2001/11/26:
13208 change *::pos_type into lyx::pos_type
13210 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13212 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13213 language of the document when inserting error insets.
13215 2001-11-26 André Pönitz <poenitz@gmx.net>
13217 * BufferView_pimpl.[Ch]:
13225 * paragraph_pimpl.[Ch]:
13228 * text2.C: reduce header dependencies, introduce type for positions
13230 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13232 * <various>: change to use Alert.h
13234 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13236 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13237 when encountering an unknown token.
13238 (readLyXformat2): Show an error message if there were unknown tokens.
13240 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13243 * BufferView_pimpl.C:
13247 * text2.C: use par->isInset()
13249 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13251 * paragraph_pimpl.h:
13252 * paragraph_pimpl.C: cleanup
13254 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13256 * text2.C (removeRow):
13257 * text.C (setHeightOfRow): remove useless (and costly) call to
13260 2001-11-20 Allan Rae <rae@lyx.org>
13262 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13263 Now need Inset*::checkInsertChar() to return true for appropriate
13264 cases so that the characters in the minibuffer will actually be
13267 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13269 * text.C: change the order of the includes.
13270 (workWidth): initialize it at once.
13271 (workWidth): make maxw unsigned
13272 (setHeightOfRow): remove unused variable (inset)
13273 (selectSelectedWord): remove unused variable (inset)
13274 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13276 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13278 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13279 server is not running.
13281 (closeConnection): add debug info when server is disabled.
13283 * ColorHandler.C (getGCForeground): send debug message to GUI
13286 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13288 * kbmap.C (bind): modify because return conventions of
13289 kb_sequence::parse have changed.
13291 * kbsequence.C (parse): only ignore spaces and not any stupid
13292 control character. This avoids tests like s[i] <= ' ', which are
13293 guaranteed to fail with 8bit characters and signed chars.
13294 Change return code to string::npos when there have been no error
13295 (0 was a bad idea when error is at first character)
13297 2001-11-14 José Matos <jamatos@fep.up.pt>
13300 * buffer.C (simpleDocBookOnePar): removed unused argument.
13302 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13304 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13305 insets which are part of a word. Paragraph::isLetter takes care of
13306 that now. Use Paragraph::isInset to identify insets.
13307 (selectSelectedWord): do not test for hyphenation break.
13309 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13310 that protected spaces are considered as spaces.
13312 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13315 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13318 * lyxserver.C: fix it. and small cleanup.
13320 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13322 * BufferView_pimpl.C: use inline helpers
13325 * LaTeXFeatures.C: fix typos
13328 * Spacing.C: move spacing_string into class
13330 * ToolbarDefaults.C: move stuff into namespace anon
13332 * layout.h: update enum
13334 * lyxfunc.C: use better debug
13336 * minibuffer.h: fix typo
13340 * WorkArea.C: add and use Debug::WORKAREA
13344 * text2.C: code re-organisation, inline helpers
13346 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13348 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13349 std::vector.empty().
13351 2001-11-09 Allan Rae <rae@lyx.org>
13353 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13354 '\n's after tables. Tabular and ERT inset work now makes this no
13357 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13360 * minibuffer.C: fix crash, improve drop-down completion
13362 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13365 * lyxserver.C: invalidate fd's when doing endPipe()
13367 2001-11-08 José Matos <jamatos@fep.up.pt>
13369 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13370 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13373 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13375 2001-11-07 José Matos <jamatos@fep.up.pt>
13378 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13381 * buffer.C (sgmlOpenTag):
13382 * buffer.C (sgmlCloseTag): removed debug info.
13384 * buffer.h (sgmlOpenTag):
13385 * buffer.h (sgmlCloseTag): made public.
13387 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13389 * buffer.C (saveParamsAsDefaults):
13390 * lyx_cb.C (MenuLayoutSave): remove
13392 * LyXAction.C (init):
13394 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13396 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13398 * buffer.C (setPaperStuff): removed from here...
13400 * bufferparams.C (setPaperStuff): ... and moved there.
13402 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13406 * XFormsView.C: add support for drop-down completion
13408 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13410 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13413 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13415 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13418 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13420 * lyx_main.C: change ref to known bugs
13422 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13424 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13425 to work around older babel problems.
13427 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13429 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13431 2001-10-24 Juergen Vigna <jug@sad.it>
13433 * tabular-old.C (ReadOld): below variable changes reflected.
13435 * tabular.[Ch]: added ltType struct for longtable header/footer
13436 defines and changed all instances where they are used. Added
13437 future support for double top/bottom rows.
13439 2001-10-24 José Matos <jamatos@fep.up.pt>
13441 * buffer.h (docbookHandleCaption):
13442 * buffer.C (docbookHandleCaption): removed unused function.
13443 (makeDocBookFile): moved docbook supported version to v4.1.
13445 2001-10-24 José Matos <jamatos@fep.up.pt>
13448 * tabular.C (docbookRow): new function to export docbook code of a row.
13449 (DocBook): now honors the longtable flags.
13451 2001-10-23 José Matos <jamatos@fep.up.pt>
13454 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13455 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13457 * buffer.C (makeLinuxDocFile):
13458 (makeDocBookFile): reworked the preamble, more clean, and with
13459 support for lyx defined entities. Changed the document declaration
13460 to be more XML friendly.
13462 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13463 if we need to output XML that should be done with a filter.
13465 2001-10-22 Juergen Vigna <jug@sad.it>
13467 * sp_pspell.h (class PSpell): add alive function needed in the
13468 controller to see if the spellchecker could be started.
13470 2001-10-22 Juergen Vigna <jug@sad.it>
13472 * buffer.C (insertStringAsLines): modify the font for inserting
13473 chars in certain conditions by calling checkInsertChar(font).
13475 2001-10-19 Juergen Vigna <jug@sad.it>
13477 * text.C (workWidth): use getRow instead of wrong algorithm.
13478 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13480 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13485 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13487 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13489 * text.C (workWidth): do not search for the exact row when
13490 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13491 optimization for big documents.
13493 2001-10-18 Juergen Vigna <jug@sad.it>
13495 * text.C (workWidth): new function with added Inset * parameter.
13497 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13499 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13501 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13502 change return type of getColumnNearX.
13505 * text.C (changeRegionCase): use uppercase/lowercase instead of
13508 (rightMargin): simplify code by factoring out the uses of
13513 (appendParagraph): use Paragraph::size_type
13515 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13517 * vspace.C (asLatexString): add a missing break
13519 2001-10-15 Herbert Voss <voss@perce.de>
13521 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13523 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13525 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13528 2001-10-10 André Pönitz <poenitz@gmx.net>
13530 * lyxfunc.C: removed greek_kb_flag.
13532 2001-10-10 Herbert Voss <voss@perce.de>
13534 * lyx_main.C: delete global string help_lyxdir.
13536 2001-10-09 Herbert Voss <voss@perce.de>
13538 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13540 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13542 * lyx_main.C: added global string help_lyxdir.
13544 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13546 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13548 * lyxrc.C (set_font_norm_type): support iso8859-4
13550 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13552 * LaTeX.C (deplog): add another regex for MikTeX
13554 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13556 * lyxrc.C (set_font_norm_type): support iso8859-3
13558 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13560 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13562 * LaTeXFeatures.C: remove special case of french and index
13564 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13565 before \begin{document}). This solves several incompatibilities.
13567 2001-10-03 Garst Reese <reese@isn.net>
13569 * lyx_cb.C: change CheckTex error msg.
13571 2001-10-03 José Matos <jamatos@fep.up.pt>
13573 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13575 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13577 * .cvsignore: update
13579 * lyx_main.C (commandLineVersionInfo): use new style version info.
13581 * buffer.C (writeFile):
13583 (makeLinuxDocFile):
13584 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13586 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13588 * version.h: update to use stuff in version.C
13590 * version.C.in: new file. Contains version information determined
13591 at compile time. This is a merging of version.h and
13594 2001-10-03 Juergen Vigna <jug@sad.it>
13596 * BufferView_pimpl.C (update): don't change "dirty" status in
13599 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13601 * WorkArea.C (c-tor): re-position version string slightly.
13603 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13605 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13606 revert to previous code.
13608 WorkArea.[Ch]: (show, destroySplash): methods removed.
13610 WorkArea.C: rework code so that it's an amalgam of the codes before and
13611 after the splash screen was moved to WorkArea.
13613 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13616 * vspace.C (inPixels):
13619 * buffer.C (insertStringAsLines):
13620 (asciiParagraph): fix types to be large enough
13622 * lyxlex_pimpl.h: change member status from short to int
13624 * layout.h: fix type of endlabeltype
13627 * kbsequence.C (parse): change return type to string::size_type
13629 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13632 * Bullet.C (bulletSize):
13633 (bulletEntry): do not use short ints as parameters
13635 * BufferView2.C (insertLyXFile): change a char to an int.
13637 * WorkArea.C (WorkArea): remove unneeded floats in computation
13639 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13641 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13643 * paragraph.C (asString): Do not ignore newline/hfill chars when
13644 copying to the clipboard.
13646 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13648 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13649 after a multi-line inset.
13651 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13653 * paragraph.C (validate): Set NeedLyXFootnoteCode
13655 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13657 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13658 and decrease-error to decrease.
13660 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13662 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13663 it more readable (should be equivalent)
13665 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13667 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13669 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13671 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13672 of a cursor (row, etc.) after a character has been deleted
13673 (deleteEmptyParagraphMechanism): call the method above on _all_
13674 cursors held by the LyXText when a double space has been
13677 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13679 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13681 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13683 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13684 background. Use greyOut() and the new show() methods to toggle between
13685 the foreground and background. Add code to remove the splash after
13686 its initial showing.
13688 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13689 (create_forms): no longer call Dialogs::showSplash.
13691 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13693 * .cvsignore: add version_info.h
13695 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13697 * version_info.h.in: new file
13699 * Makefile.am: add version_info.h.in
13701 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13702 version_info.h instead of VERSION_INFO
13704 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13706 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13707 The ERT inset now returns string().
13709 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13711 * lyxtext.h, text.C (selectNextWord): renamed as
13712 selectNextWordToSpellcheck.
13714 * text.C (selectNextWordToSpellcheck): Modified to not select
13715 words inside an ERT inset.
13717 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13719 * lyx_cb.C (MenuLayoutSave): change a bit the question
13721 * sp_base.h: include <sys/types.h>
13723 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13725 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13727 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13729 * several files: fix typos in user-visible strings
13731 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13733 * text2.C (pasteSelection): do not set the selection, since it
13734 will be cleared later. Actually, the intent was to fix the way the
13735 selection was set, but I figured rmoving the code was just as good.
13737 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13739 * FontLoader.C (available): Check if font is available without
13742 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13744 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13746 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13748 * lyxrc.[Ch]: added display_graphics variable and associated code.
13750 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13752 * bufferparams.C (hasClassDefaults): new method. Returns true if
13753 the buffer parameters correspond to known class defaults
13755 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13757 * XFormsView.C (show): set minimum size to the main window.
13759 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13761 * text2.C (copySelection):
13763 * lyxfind.C (LyXReplace):
13764 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13765 LyXText::selectionAsString.
13767 * paragraph.C (asString): add "label" argument to the second form
13769 * text2.C (selectionAsString): add "label" argument and pass it to
13770 Paragraph::asString.
13772 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13774 * lyx_main.C (commandLineHelp): remove version information
13776 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13778 * lyx_main.C: add -version commandline option
13780 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13782 * paragraph.h: make the optional constructor arg required instead.
13783 some modifications to other files because of this.
13785 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13787 * lyxserver.C (C_LyXComm_callback): make it static
13789 * lyx_main.C (error_handler): make it static
13791 * lyx_gui.C (LyX_XErrHandler): make it static
13793 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13795 * WorkArea.C: make the extern "C" methods static.
13797 * Makefile.am (lyx_LDADD): simplify
13799 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13801 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13802 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13804 * LyXAction.C (init):
13805 * lyxfunc.C (dispatch): associated code removal.
13807 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13809 * lyxfont.h (isSymbolFont): shut off warning
13811 * text.C (setHeightOfRow):
13812 (getVisibleRow): fix crash with empty paragraphs which have a
13815 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13817 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13820 2001-09-04 José Matos <jamatos@fep.up.pt>
13823 * tabular.C (docbook): rename docBook method to docbook.
13825 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13827 * Makefile.am: add dependencies to main.o.
13829 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13831 * FontLoader.C (available): Return false if !lyxrc.use_gui
13833 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13835 * FontInfo.C (query):
13836 * converter.C (view):
13837 * importer.C (Import):
13838 * exporter.C (Export): Can not -> cannot.
13840 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13842 * BufferView_pimpl.C: allow to create index inset even if
13845 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13847 * buffer.C (getLists): replace boost::tie code with an explicit pair
13848 as boost::tie can break some compilers.
13850 * iterators.h: Added a std:: declaration to the return type of
13853 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13855 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13858 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13860 * iterators.[Ch]: New files. Provide paragraph iterators.
13862 * buffer.C (changeLanguage): Use paragraph iterators.
13863 (isMultiLingual): ditto
13865 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13867 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13869 * FontLoader.C: Support for cmr font.
13871 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13873 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13874 (available): New method.
13876 * FontInfo.C (getFontname): Use scalable fonts even when
13877 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13880 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13882 * converter.C (Formats::view): reverted! Incorrect fix.
13884 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13886 * converter.C (Formats::view): only output the -paper option
13887 if the dvi viewer is xdvi, thereby fixing bug #233429.
13889 2001-08-23 Herbert Voss <voss@perce>
13891 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13893 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13895 * Spacing.h (Spacing): Set space to Default on in the default
13898 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13900 * vc-backend.h (RCS::versionString): add RCS to version
13901 (CVS::versionString): add CVS to version
13903 * vc-backend.C (scanMaster): do not add CVS to version.
13904 (scanMaster): do not add RCS to version
13906 * lyxvc.C (versionString): new method
13908 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13910 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13912 * Spacing.C (set): initialize fval
13914 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13916 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13919 2001-08-16 Juergen Vigna <jug@sad.it>
13921 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13923 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13925 * BufferView_pimpl.C:
13928 * text2.C: setParagraph takes linespacing now
13930 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13932 * LyxAction.C: add internal LFUN_CITATION_INSERT
13934 * LyXView.C: actually apply fix
13936 * bufferlist.C: fix open non-existent file
13938 * lyxfind.C: fix indentation
13940 * lyxfunc.C: remove unneeded assert, fix typo
13942 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13944 * MenuBackend.C: use "Floatname List"
13946 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13948 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13949 when converting LaTeX layout to insetERT.
13950 Generate a non-collapsed float when reading old float
13952 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13954 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13957 2001-08-13 Juergen Vigna <jug@sad.it>
13959 * text.C (fill): return 0 instead of 20 as this seems to be the more
13962 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13964 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13967 2001-08-13 Juergen Vigna <jug@sad.it>
13969 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13971 (SearchBackward): comment out the unlocking of the inset_owner this
13972 should not be needed!
13974 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13976 * Many files: Remove inherit_language, and add latex_language
13978 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13979 collapsible insets.
13981 2001-08-10 Juergen Vigna <jug@sad.it>
13983 * text.C (prepareToPrint): fixed hfill-width in draw!
13985 * BufferView2.C (selectLastWord): save the selection cursor as this
13986 now is cleared in the function LyXText::clearSelection!
13988 2001-08-08 Juergen Vigna <jug@sad.it>
13990 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13991 BACKSPACE type functions.
13993 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13994 is only cutted from the document but not put in the cut-buffer, where
13995 still the old stuff should be.
13997 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13999 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14001 * tabular.C (SetWidthOfCell): fixed special case where the width
14003 (LeftLine): handle '|' in align_special.
14005 (LeftAlreadyDrawed): ditto
14006 (SetWidthOfCell): ditto
14008 2001-08-07 Juergen Vigna <jug@sad.it>
14010 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14012 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14014 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14015 * lyxlex.[hC]: ditto
14017 2001-08-06 Juergen Vigna <jug@sad.it>
14019 * text.C (getVisibleRow): fix up row clearing a bit.
14021 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14023 * minibuffer.C: make sure the X server sees the changes in the input.
14025 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14027 * paragraph.C (getFont): split into...
14028 (getLabelFont): this
14029 (getLayoutFont): and this
14030 * paragraph_pimpl.C (realizeFont): calling this
14032 * text2.C (getFont): split into...
14033 (getLayoutFont): this
14034 (getLabelFont): and this
14035 (realizeFont): all three calling this
14037 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14040 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14042 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14044 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14046 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14047 layouts from the Quote inset insertion.
14049 2001-08-03 Juergen Vigna <jug@sad.it>
14051 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14053 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14054 only if status not is already CHANGED_IN_DRAW (second level).
14056 * text.C (draw): don't set the need_break_row when inside an
14059 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14061 * buffer.C (parseSingleLyXformat2Token): handle more latex
14064 * bufferview_funcs.[hC]: change function names to
14065 begin with small char, adjust other files.
14067 2001-08-02 André Pönitz <poenitz@gmx.net>
14070 BufferView_pimpl.C: remove broken special code for math-greek
14072 2001-08-02 Juergen Vigna <jug@sad.it>
14074 * BufferView_pimpl.C (update): redone this function so that we
14075 update the text again if there was a CHANGE_IN_DRAW.
14077 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14078 (drawFromTo): added a new internal bool which is used by draw() and
14080 (general): some cursor drawing problems fixed.
14082 2001-08-01 Juergen Vigna <jug@sad.it>
14084 * lyxfind.C (LyXFind): fixed
14085 (SearchForward): ditto
14086 (SearchBackward): ditto
14088 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14089 spurius drawing of the cursor in the main area.
14091 * text2.C (status): small fix which could lead to a segfault!
14092 (clearSelection): remove unneeded BufferView param.
14094 2001-08-01 André Pönitz <poenitz@gmx.net>
14096 * lyxfunc.C: small change due to changed mathed interface
14098 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14100 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14102 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14104 * lyxfunc.c: fail gracefully if file doesn't exist
14109 * BufferView_pimpl.C: IsDirWriteable() proto changed
14111 * LyXView.C: fix updateWindowTitle() to store the last title
14113 2001-07-31 Juergen Vigna <jug@sad.it>
14115 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14116 the font (wrong since using of Paragraph::highestFontInRange).
14118 * paragraph.C (highestFontInRange): added a default_size parameter.
14120 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14121 (setHeightOfRow): reformat
14123 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14125 * converter.[hC] + affected files: move to (inital-char)lowercase
14128 * ParagraphParameters.C (ParagraphParameters): remove commented code
14130 * PainterBase.[Ch]: remove commented code
14132 * LaTeXFeatures.h: add "bool floats" for float.sty
14134 * LaTeXFeatures.C (LaTeXFeatures): init floats
14135 (require): handle float
14136 (getPackages): do it with floats
14138 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14140 * BufferView_pimpl.C (Dispatch): improve handling of
14141 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14143 * commandtags.h: #include lyxfont.h here temporarily to avoid
14146 * bufferlist.h: include LString.h here.
14148 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14150 * text2.C (getStringToIndex): new method.
14152 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14154 * *: Reduced header file dependencies all over.
14156 2001-07-30 Baruch Even <baruch@lyx.org>
14158 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14160 2001-07-29 Baruch Even <baruch@lyx.org>
14162 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14164 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14166 * ParameterStruct.h (endif): add a default constructor to make
14167 sure that all variables is initialized.
14169 * ParagraphParameters.C (ParagraphParameters): adjust
14171 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14173 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14174 index; also, check that there is something to index, and that it
14175 does not span over several paragraphs.
14176 (doubleClick): use WHOLE_WORD_STRICT for double click.
14178 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14180 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14183 2001-07-26 Baruch Even <baruch@lyx.org>
14185 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14186 an InsetFig figure, backwards compatible reading of old figure code.
14188 2001-07-27 Juergen Vigna <jug@sad.it>
14190 * text2.C: font.realize function adaption.
14192 * text.C (draw): add a warnings lyxerr text if needed.
14194 * layout.C: font.realize function adaption.
14196 * language.C: add inherit_language and implement it's handlings
14198 * bufferview_funcs.C (StyleReset): remove language parameter from
14199 font creation (should be language_inherit now).
14201 * bufferparams.C (writeFile): handle ignore_language.
14203 * paragraph.C (getFontSettings): the language has to be resolved
14204 otherwise we have problems in LyXFont!
14206 * lyxfont.C (lyxWriteChanges): added document_language parameter
14207 (update): removed unneeded language parameter
14209 * paragraph.C (validate): fixed wrong output of color-package when
14210 using interface colors for certain fonts in certain environments,
14211 which should not seen as that on the final output.
14213 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14215 * BufferView_pimpl.C:
14220 * LyXAction.C: add thesaurus support
14223 * lyxfind.C: add "once" parameter, for thesaurus, to not
14224 move to the next match
14226 2001-07-26 Juergen Vigna <jug@sad.it>
14228 * lyxfont.C (realize): honor ignore_language too!
14231 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14233 * text.C (draw): one place more for ignore_language to not draw
14236 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14238 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14240 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14242 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14243 the minipage conversion problem.
14245 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14247 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14250 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14252 * BufferView.h: don't forward declare WorkArea
14254 * BufferView.C: don't include WorkArea.h
14256 2001-07-25 André Pönitz <poenitz@gmx.net>
14260 * lyxfunc.C: new LFUN 'math-space'
14262 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14264 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14266 * text2.C (toggleInset): call open/close
14268 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14270 * lyxfunc.C (dispatch): add debug for the disabled case
14272 * font.C (buttonText): make similar to rectText
14274 * buffer.C (readInset): comment out parsing of insetlist and
14277 * PainterBase.C (rectText): small correction
14279 * BufferView_pimpl.C: comment out insettheorem and insetlist
14280 * LyXAction.C: ditto
14281 * commandtags.h: ditto
14283 2001-07-24 Juergen Vigna <jug@sad.it>
14285 * text.C (draw): honor the ignore_language.
14287 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14289 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14291 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14294 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14296 * lyxtext.h: remove unused (and unimplemented) methods
14298 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14300 * text.C (getVisibleRow): honor background color
14303 * Painter.h: remove default color argument for fillRectangle
14305 * text.C (backgroundColor): new method
14307 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14309 * text.C (getVisibleRow): adjust
14311 * font.[Ch] (rectText): new method, metrics
14312 (buttonText): new method, metrics
14314 * PainterBase.[hC]: make rectText and buttonText always draw and take
14317 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14319 * ToolbarDefaults.C (read):
14320 * MenuBackend.C (read): allow escaping in all strings
14322 * BufferView_pimpl.C (insertAndEditInset): new method.
14323 (Dispatch): use insertAndEditInset whenever appropriate.
14325 * BufferView_pimpl.C (insertNote): removed
14327 * BufferView_pimpl.C (smartQuote): new method, moved from
14328 BufferView; if an insetquote cannot be inserted, insert a '"'
14331 * BufferView2.C: remove insertCorrectQuote();
14333 * lyxfunc.C (getStatus): Add support for all remaingin
14334 inset-insert lfuns.
14336 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14338 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14339 command (necessary to pass " as parameter of self-insert.
14341 * text.C (selectWordWhenUnderCursor):
14342 (selectWord): add word_location parameter
14343 (selectWordWhenUnderCursor): same + remove special code for word
14345 (selectNextWord): use kind() to guess type of insetspecialchar,
14348 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14349 (insertErtContents): create ert insets as collapsed.
14350 (readInset): better compatibility code for Info inset.
14352 2001-07-20 Juergen Vigna <jug@sad.it>
14354 * lyxfunc.C (dispatch): use always LyXFind now!
14356 * text2.C (init): add a reinit flag so that the LyXText can be
14357 reinited instead of deleted and reallocated (used in InsetText).
14359 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14365 2001-07-18 Juergen Vigna <jug@sad.it>
14367 * text.C (selectNextWord): handle insets inside inset by calling
14368 always the bv->text functions so that we can go up the_locking_inset!
14370 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14371 in strange locations when inside an inset!
14373 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14374 handling to include insets.
14376 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14378 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14380 * LyXAction.C (init):
14382 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14383 LIGATURE_BREAK, since the name is so stupid.
14385 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14387 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14390 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14392 * sp_form.[Ch]: remove.
14394 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14396 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14399 * src/buffer.C (readInset): ditto.
14401 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14403 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14404 menuSeparator(), endOfSentenceDot(), ldots() and
14405 hyphenationPoint(), which are therefore removed.
14406 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14408 * LyXAction.C (init):
14409 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14411 * paragraph.C (getWord): removed.
14413 * BufferView_pimpl.C (Dispatch): use last word or selection for
14414 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14416 * lyx_main.C (queryUserLyXDir): do not ask before creating
14417 user_dir, except if it has been named explicitely.
14419 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14421 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14422 a document of zero size.
14424 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14426 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14427 approriately in the c-tor and in require().
14428 (getPackages): output the appropriate LaTeX for natbib support.
14430 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14431 variables "use_natbib" and "use_numerical_citations" when reading the
14433 (readInset): read the various natbib cite commands.
14434 (validate): white-space change.
14436 * bufferparams.[Ch]: new variables "bool use_natbib" and
14437 "bool use_numerical_citations".
14438 (writeFile): output them in the LyX file.
14440 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14442 * lyxfunc.C (getStatus): add support for all the inset insertion
14445 * text2.C (insertInset):
14446 * paragraph.C (insetAllowed):
14447 * BufferView_pimpl.C (insertInset): update to take in account the
14448 renaming of insertInsetAllowed
14450 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14452 * text2.C (getInset): new method. returns inset at cursor position.
14454 * BufferView_pimpl.C (Dispatch): changes because of this.
14456 * LyXAction.C (init): rename open-stuff to inset-toggle.
14458 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14460 * text2.C (toggleInset): renamed from openStuff; use
14463 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14465 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14467 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14469 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14471 * buffer.C (readLyXformat2): Add filename to the error dialog
14473 2001-07-18 Juergen Vigna <jug@sad.it>
14475 * tabular.C (GetCellNumber): put an assert here instead of the check!
14477 2001-07-17 Juergen Vigna <jug@sad.it>
14479 * BufferView_pimpl.C (toggleSelection): adapted too.
14481 * text.C (selectNextWord): adapted for use with insets.
14482 (selectSelectedWord): ditto
14484 2001-07-17 Juergen Vigna <jug@sad.it>
14486 * sp_spell.C (PSpell): fix initialitation order.
14488 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14490 * paragraph.C: spacing
14492 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14494 * sp_spell.C: repair language selection for pspell
14496 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14498 * lyxfunc.h: change more methods to begin with lower char.
14500 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14502 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14503 for unknown layouts.
14505 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14507 * buffer.C (readLyXformat2): Generate an error dialog if there are
14510 2001-07-16 Juergen Vigna <jug@sad.it>
14512 * sp_spell.C: always compile ISpell part.
14514 * lyxrc.C: added use_pspell entry and it's handling.
14516 2001-07-13 Juergen Vigna <jug@sad.it>
14518 * sp_spell.C: removed double includes.
14520 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14522 Consistent use of Lsstream.h:
14523 * Lsstream.h: added using std::stringstream for consistencies sake.
14525 * buffer.C: removed using std::stringstream
14527 * lyxfont.C (stateText):
14528 * paragraph.C (asString):
14529 * text.C (selectNextWord, selectSelectedWord):
14530 * text2.C (setCounter):
14531 * vspace.C (asString, asLatexString):
14532 std::ostringstream -> ostringstream.
14534 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14536 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14537 * commandtags.h: add LFUN_HELP_ABOUTLYX
14538 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14540 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14542 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14544 * lyx_gui_misc.C: remove spellchecker
14545 * lyxfunc.C: showSpellchecker
14547 * sp_ispell.h: added
14548 * sp_pspell.h: added
14549 * sp_spell.C: added
14550 * sp_form.[Ch]: removed
14551 * spellchecker.[Ch]: removed
14553 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14555 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14557 (simpleTeXSpecialChars): Simply print the input character without
14558 any special translation if pass_thru is set.
14560 * layout.h: Added bool pass_thru to layout class for being able to
14561 implement pass through of a paragraph for Literate Programming.
14563 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14564 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14565 * layout.C (Read): add "passthru" to list of layout tags and add
14566 code to set the pass_thru boolean when it is read.
14568 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14570 * trans_decl.h: remove allowed from KmodInfo
14572 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14573 remove allowed code
14576 * paragraph_pimpl.C (erase): use boost::prior
14578 * Painter.C (text): use data() instead of c_str() when length is
14580 * WorkArea.C (putClipboard): ditto
14581 * font.h (width): ditto
14583 * BufferView2.C: use it-> instead of (*it). for iterators
14585 * paragraph_pimpl.C: ditto
14586 * paragraph.C: ditto
14587 * minibuffer.C: ditto
14588 * language.C: ditto
14590 * encoding.C: ditto
14591 * counters.C: ditto
14592 * converter.C: ditto
14594 * Variables.C: ditto
14595 * TextCache.C: ditto
14596 * MenuBackend.C: ditto
14597 * LyXAction.C: ditto
14599 * FloatList.C: ditto
14600 * DepTable.C: ditto
14601 * ColorHandler.C (LyXColorHandler): ditto
14603 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14605 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14607 * text2.C (openStuff): reintroduce this method (which had been
14608 nuked in NEW_INSETS frenzy).
14610 * lyxfunc.C (Dispatch): when an action has not been handled, use
14611 its name in the error message, not its number.
14613 * paragraph.C (inInset): change method name to begin with lowercase.
14616 * text2.C: updates because of this.
14618 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14620 * ToolbarDefaults.C (add): add spaces in error message
14622 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14624 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14625 (readLyXformat2): rename return_par to first_par, use lyxlex's
14626 pushToken and remove the manual push handling.
14627 (parseSingleLyXformat2Token): add another ert comp. variable:
14628 in_tabular, rename return_par to first_par. handle newlines better
14630 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14632 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14634 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14636 * text2.C (getParFromID): removed
14638 * buffer.C (getParFromID): new method moved form lyxtext.
14639 * BufferView2.C (insertErrors): adjust
14640 (setCursorFromRow): adjust
14641 * BufferView_pimpl.C (restorePosition): adjust
14642 * lyxfunc.C (Dispatch): adjust
14643 * undo_funcs.C (textUndo): adjust
14645 (textHandleUndo): adjust
14646 (textHandleUndo): adjust
14648 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14650 * buffer.C: up' the LYX_FORMAT
14652 * lyxfont.h: turn NO_LATEX on as default
14654 * buffer.C (insertErtContents): new methods of tex style compability.
14655 (parseSingleLyXformat2Token): use it several places.
14656 * tabular.C (OldFormatRead): and here
14658 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14660 * text2.C: remove some commented code.
14663 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14664 * trans.C: changes because of the above.
14666 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14668 * text2.C (setCounter): Fix counters bug with bibliography layout.
14670 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14672 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14673 own member functions
14674 (simpleTeXSpecialChars): ditto
14676 2001-07-06 Juergen Vigna <jug@sad.it>
14678 * a lot of files: changed the access to LyXText::status and the
14679 call of undo-functions.
14681 * undo.[Ch]: added a inset_id to the undo informations.
14683 * undo_funcs.[Ch]: added and moved here all undo functions.
14685 * lyxtext.h: give the status enum a weight, made status_ a private
14686 variable and made accessor functions for it, removed the whole bunch
14687 of undo-functions as they are now in their own file, make some
14688 functions publically available. Added function ownerParagraph with
14691 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14692 made InInset() a const function, added getParFromID() function.
14694 * buffer.[Ch]: added const version for inset_iterator functions,
14695 added getInsetFromID() function.
14697 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14698 changed undo functions for new version.
14700 2001-07-05 Juergen Vigna <jug@sad.it>
14702 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14703 unknow mechanism does not call the proper constructor but only this
14704 one also if I request the other!?
14706 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14708 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14710 * text2.C (LyXText): use initialization lists.
14712 * lyxtext.h (Selection): initialize set_ and mark_
14713 (init): remove method
14715 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14717 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14719 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14721 * screen.[Ch]: change method names to begin with lowercase
14723 * BufferView_pimpl.C (updateScrollbar): simplify further and
14724 hopefully make it a bit faster.
14726 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14728 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14729 calling directly xforms functions.
14731 * Painter.C (Painter):
14732 * lyx_cb.C (MenuWrite):
14733 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14736 * lyx_gui.C: remove bogus guiruntime extern declaration.
14738 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14740 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14742 (redoDrawingOfParagraph): ditto
14743 (redoParagraphs): ditto
14744 (cutSelection): don't create a object for CutAndPaste use the
14745 static method directly
14746 (pasteSelection): ditto
14748 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14751 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14753 * modifications to some other files because of this.
14755 * Makefile.am (lyx_SOURCES): add XFormsView
14757 * XFormsView.[Ch]: new files
14759 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14760 the main window. Move the gui dependent stuff to XFormsView
14762 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14764 * tabular.C (GetCellInset): update cur_cell also in the row/col
14765 version of this function.
14767 * lyxfunc.C: no need to include figure_form.h here.
14773 * lyxvc.C: no need to include forms.h here.
14775 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14777 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14779 * lyxfunc.C (Dispatch):
14781 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14782 constructor argument.
14784 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14786 * paragraph.C (Paragraph): dont't clear, and just set layout.
14787 (makeSameLayout): use params's copy contructor.
14789 * ParagraphParameters.[Ch] (makeSame): delete method
14791 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14793 * Variables.[Ch]: fix indentation, rename set to isSet
14795 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14797 * lyxfunc.C (Dispatch): fix typo
14799 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14801 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14804 * bufferlist.C: include assert.h for emergencyWrite().
14806 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14808 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14809 give up at last (bug #425202) !
14811 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14817 * spellchecker.C: strip spellchecker options and bring up
14818 preferences tab instead
14820 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14822 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14823 the istringstream constructor
14825 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14827 * paragraph.C (getLayout): fix return value
14829 * paragraph.h: do not declare getLayout as inline.
14831 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14833 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14835 * lyxcursor.h (operator<): new func
14836 (operator>): new func
14837 (operator>=): new func
14838 (operator<=): new func
14840 * text.C (changeCase): use selection.start and selection.end
14841 (changeRegionCase): require from to be <= to. Require par to be a
14844 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14846 2001-06-27 Juergen Vigna <jug@sad.it>
14848 * text.C (cursorLeftOneWord): changed to return the cursor and added
14849 overlay with BufferView * parameter which calls this one.
14851 (selectWord): use new getWord function.
14852 (changeCase): renamed from changeWordCase as and extended to work
14853 also on selections.
14855 * lyxtext.h: added enum word_location
14857 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14858 changeCase as this operates now also on selections.
14860 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14862 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14864 * many files: send debug output to Debug::INFO instead of
14867 * converter.C (View):
14869 (Move): send debug output to Debug::FILES instead of console.
14871 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14873 * lyxfunc.C (getStatus): use func_status
14875 * func_status.h: new header, describing the results of
14876 LyXFunc::getStatus;
14878 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14881 2001-06-25 The LyX Project <jug@sad.it>
14883 * buffer.C (sgmlOpenTag):
14885 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14887 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14889 * text2.C: remove some dead code
14891 * tabular.C (GetCellInset): store the last cell checked (gotten)
14893 * tabular.h: add the helper for the speedup
14895 * lyxtext.h: remove some dead code
14897 2001-06-26 The LyX Project <Asger>
14899 * paragraph.C: Change export to LaTeX of alignment to
14900 \begin{center} and family for better roundtrip work with reLyX.
14902 * Tune the math drawing a bit.
14904 2001-06-25 The LyX Project <Asger>
14906 * LColor.C (LColor): New color for math background. New color
14909 2001-06-25 The LyX Project <jug@sad.it>
14911 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14913 * lyxfunc.C (Open):
14914 * bufferlist.C (newFile): do not restrict to files ending with
14917 * BufferView_pimpl.C (MenuInsertLyXFile):
14919 2001-06-24 The LyX Project <jug@sad.it>
14921 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14924 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14926 * lyxtext.h: rename most methods to begin with a small char.
14927 Lots of changes because of this.
14929 * paragraph.C (Paragraph): do not call fitToSize
14930 (erase): call Pimpl::erase
14931 (insertChar): call Pimpl::insertChar
14932 (insertInset): call Pipl::insertInset
14933 (breakParagraph): do not call fitToSize
14934 (breakParagraphConservative): do not call fitToSize
14935 (fitToSize): remove method
14937 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14939 2001-06-24 The LyX Project <Asger>
14941 * Fix Qt compilation^2
14943 2001-06-24 The LyX Project <jug@sad.it>
14945 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14946 depthHook(getDepth()-1).
14949 * ParagraphParameters.h:
14950 * ParameterStruct.h: change type of depth to unsigned int ==
14951 depth_type. Many adaptations to other files before of that.
14953 2001-06-24 The LyX Project <Asger>
14955 * Fix Qt compilation.
14957 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14959 * paragraph.h: renamed several methods to begin with small letter.
14960 several changes to many parts of the code because of this.
14962 2001-06-23 The LyX Project <jug@sad.it>
14964 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14965 rewritten to discard all double spaces when KeepEmpty is off
14966 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14967 to only handle newlines but not fiddle with spaces and friends.
14969 * lyxfunc.C (MenuNew): when doing 'new from template', use
14970 template_path as default directory
14972 2001-06-23 The LyX Project <Asger>
14974 * Clean-up of header file includes all over
14975 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14977 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14979 * paragraph.h: renamed from lyxparagraph.h
14981 2001-06-23 Asger <lyx@violet.home.sad.it>
14983 * Buffer.h: Removed Buffer::resize
14984 * BufferList.h: Removed BufferList::resize
14985 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14986 the document lazily when we change the width, or the font settings.
14988 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14990 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14992 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14994 * buffer.h: remove out of date comment
14996 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14999 * screen.C: fix "theoretical" GC leak
15001 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15003 * LaTeX.C (scanAuxFile):
15004 (deplog): remove trailing \r when reading stream (useful under
15007 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15009 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15010 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15011 and BufferView::theLockingInset(Inset*), so should use them and not
15012 access bv_->text->the_locking_inset directly.
15014 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15016 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15019 * tex-defs.h: remove old unused file
15021 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15023 * BufferView_pimpl.C: fix typo, remove minibuffer message
15024 when buffer has loaded
15026 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15028 * lyxfunc.C (Dispatch): use stringstream
15029 (MenuNew): use stringstream
15030 (Open): use stringstream
15032 * importer.C (Import): use stringstream
15034 * bufferview_funcs.C (CurrentState): use stringstream
15036 * LaTeX.C (run): use stringstream
15038 * BufferView_pimpl.C (savePosition): use stringstream
15039 (restorePosition): use stringstream
15040 (MenuInsertLyXFile): use stringstream
15042 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15055 * vspace.C: removed // -*- C++ -*- as first line.
15058 * version.h: added // -*- C++ -*- as first line.
15060 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15062 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15064 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15067 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15069 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15072 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15074 * gettext.C: include LString.h even when --disable-nls is on.
15076 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15078 * converter.h (Get): changed argument type from int to
15079 FormatList::size_type to avoid unnecessary conversion.
15081 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15084 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15086 * gettext.h: include LString.h even when --disable-nls is on.
15088 2001-06-07 Juergen Vigna <jug@sad.it>
15090 * text.C (BreakAgain): subst spaces with tabs.
15092 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15093 (resizeInsetsLyXText): set force on resizeLyXText.
15095 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15097 * gettext.h (gettext_init):
15098 (locale_init): use a real definition instead of a macro
15100 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15102 * Bufferview_pimpl.C:
15104 * LColor.C: further lcolor tidies
15106 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15108 * BufferView_pimpl.C (updateScrollbar): simplify.
15110 * BufferView2.C: don't include insets/insetinfo.h, change
15111 prototype for insertInset and call the Pimpl version. let
15112 updateInset call Pimpl version.
15114 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15115 gotoInset to BufferView::Pimpl
15117 2001-06-01 Juergen Vigna <jug@sad.it>
15119 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15120 inside a LockingInset (is the update needed at all?).
15122 2001-05-31 Juergen Vigna <jug@sad.it>
15124 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15125 here not the old one otherwise how should we compare it afterwards
15128 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15133 * FontInfo.C: bring C functions into global namespace when
15136 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15138 * LString.h: make sure config.h has been loaded before LString.h.
15140 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15141 (one for each char read by EatLine!).
15143 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15146 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15148 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15149 to the same as the par we break from
15151 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15153 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15155 * MenuBackend.C (expand): also create menu entries for wide
15156 versions of the floats.
15158 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15160 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15162 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15163 frontends/Makefile.am
15169 * tabular.C (getTokenValue): add std::
15171 * tabular-old.C (getTokenValue): add std::
15172 (getTokenValue): ditto
15173 (getTokenValue): ditto
15175 * screen.C (ToggleSelection): adjust
15177 * lyxtext.h: put selection cursors inside a Selection struct.
15179 * lyxfunc.C (moveCursorUpdate): adjust
15181 * lyxfont.C (latexWriteStartChanges): add std::
15183 * lyxfind.C: adjust
15185 * font.h: delete with(char const *, LyXFont const &)
15187 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15189 * FontInfo.C (getFontname): add std::
15191 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15192 (workAreaButtonPress): adjust
15193 (tripleClick): adjust
15195 (moveCursorUpdate): adjust
15198 * BufferView2.C (gotoInset): adjust
15200 2001-05-30 Juergen Vigna <jug@sad.it>
15202 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15203 to check pspell I add this as default as I now have new pspell
15204 libraries and they seem to use this.
15206 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15208 * text2.C (CutSelection): make the cursor valid before the call to
15211 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15213 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15214 relied on 0 terminated strings and other horrors. Bug found due to
15215 the new assert in lyxstring!
15217 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15220 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15222 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15225 * lyxfunc.C (processKeySym): change method of getting to the
15228 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15229 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15230 * BufferView_pimpl.[Ch]: here as private methods.
15232 2001-05-28 Juergen Vigna <jug@sad.it>
15234 * text.C (SetHeightOfRow): added the update() call again as it is
15235 needed to initialize inset dimensions!
15237 2001-05-16 Juergen Vigna <jug@sad.it>
15239 * text2.C (SetCharFont): Add new function with BufferView * and
15240 bool toggleall parameters for setting insets internal fonts.
15241 (SetFont): Freeze the undo as we may change fonts in Insets and
15242 all this change should be inside only one Undo!
15244 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15245 setting font's in insets as for them we have the SetFont function!
15247 2001-05-15 Juergen Vigna <jug@sad.it>
15249 * text2.C (ClearSelection): to be sure we REALLY don't have any
15252 * tabular.C (TeXCellPreamble): fixed the left border problem for
15255 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15257 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15260 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15262 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15263 LFUN_BREAKPARAGRAPH.
15265 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15266 help test to "internal only", similar for LFUN_INSERT_URL
15268 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15269 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15270 auto_region_delete and deadkeys.
15272 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15275 * LColor.C: remove some dead entries, tidy a little
15277 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15279 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15281 (Dispatch): implement LFUN_ESCAPE
15283 * commandtags.h: add LFUN_ESCAPE
15285 * LyXAction.C (init): add entry for LFUN_ESCAPE
15287 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15288 Remove commented code.
15289 (insertNote): moved here
15290 (open_new_inset): moved here
15292 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15295 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15297 * kbmap.C (findbinding): clean it up and make it work correctly.
15299 * lyx_main.C (init): do not pass argc and argv as parameters
15301 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15303 * buffer.C: fix path for OS/2 & Win32
15307 * lyx_main.C: Added os:: class.
15309 * os2_defines.h: update
15311 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15313 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15314 better by trying again with reduced state.
15316 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15318 * lyxrc.C (read): print error about invalid key sequence only when
15319 debugging (because not all latinX keysyms are known to some X
15322 * kbsequence.C (getiso): add a few std:: qualifiers
15323 (getiso): comment out extra return statement.
15325 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15327 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15329 (Dispatch): enhance the accent inset a bit. (not perfect)
15331 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15333 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15335 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15337 * bufferlist.C (emergencyWrite): fix assert() call
15339 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15341 * text.C (InsertChar): Added trivial patch to only send the "you
15342 can not do multiple spaces this way" message once during a
15345 2001-05-08 Baruch Even <baruch@lyx.org>
15347 * Makefile.am: Changed order of libraries to get LyX to link properly
15348 with the gnome frontend.
15350 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15352 * LaTeXFeatures.h: add a std:: qualifier
15354 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15356 * paragraph.C (String): use stringstream
15358 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15360 * paragraph.C (writeFile): remove footflag arg
15362 * buffer.C (makeLaTeXFile): use stringstream
15363 (latexParagraphs): remove footnot gurba
15365 * LaTeXFeatures.C (getPackages): use stringstream
15366 (getMacros): likewise
15367 (getTClassPreamble): likewise
15368 (getFloatDefinitions): new method
15370 * paragraph.C (writeFile): reindent
15373 * WorkArea.h: revert the xpos + etc changes.
15375 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15377 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15379 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15380 (pasteSelection): likewise
15381 * text2.C (CreateUndo): likewise
15383 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15385 * minibuffer.C (peek_event): temporarily reduce the functionality
15386 of the minibuffer (to allow args on lfuns)
15388 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15389 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15391 * buffer.C (readInset): add compability reading of old float
15392 lists, add reading of new style float list.
15393 (readInset): avoid reevaluation of inscmd.getCmdName()
15394 (getLists): reindent
15396 * MenuBackend.C (MenuItem): implement parsing of
15397 md_floatlistinsert and md_floatinsert.
15398 (expand::LastFiles): move initalizaton of iterators out of loop,
15399 avoid reevaluation.
15400 (expand::Documents): introduce typdedef vector<string> Strings,
15402 (expand::ExportFormats): introduce typedef vector<Format const *>
15403 Formats, and use it.
15404 (expand): implement FloatListInsert and FloatInsert.
15406 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15407 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15408 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15410 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15412 (Dispatch::LFUN_FLOAT_LIST): implement
15414 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15416 * LaTeX.C (run): Fix problem with --export code.
15418 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15420 * BufferView.[Ch] (workarea): removed.
15421 (getClipboard) new method; wrapper for workarea()->getClipboard()
15423 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15426 * WorkArea.h (width, height, xpos, ypos): These methods all
15427 returned the dimensions of the work_area sub-area of WorkArea,
15428 resulting in a position error if the WorkArea were resized. Now
15429 return the dimensions of the entire WorkArea.
15431 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15433 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15435 * LaTeX.C (deplog): correct the syntax of regex reg1
15437 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15439 * undo.C: remove !NEW_INSETS cruft
15441 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15443 * text2.C: remove !NEW_INSETS cruft
15445 * text.C: remove !NEW_INSETS cruft
15447 * tabular.C: remove !NEW_INSETS cruft
15449 * spellchecker.C: remove !NEW_INSETS cruft
15451 * lyxtext.h: remove !NEW_INSETS cruft
15453 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15455 * lyxfunc.C: remove !NEW_INSETS cruft
15457 * lyxfind.C: remove !NEW_INSETS cruft
15459 * lyx_cb.C: remove !NEW_INSETS cruft
15461 * figureForm.C: remove !NEW_INSETS cruft
15463 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15465 * buffer.[Ch]: remove !NEW_INSETS cruft
15467 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15469 * CutAndPaste.C: remove !NEW_INSETS cruft
15471 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15473 * BufferView2.C: remove !NEW_INSETS cruft
15475 * BufferView.h: remove !NEW_INSETS cruft
15477 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15479 * Lsstream.h: include LString.h before the sstream headers to
15480 fix problem with gcc 2.95.3 and lyxstring
15482 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15484 * lyx_main.C: add using directives when needed for C functions
15485 declared in std:: namespace.
15487 2001-04-27 Juergen Vigna <jug@sad.it>
15489 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15490 (SetHeightOfRow): comment out the update call should not be needed!
15492 2001-04-13 Juergen Vigna <jug@sad.it>
15494 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15495 (LyXTabular): tried to minimize operator= operations (and realized
15496 hopfully Lars wish).
15498 2001-04-27 Juergen Vigna <jug@sad.it>
15500 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15502 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15504 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15506 * buffer.C (readInset): hack to make listof algorithm work
15508 * BufferView_pimpl.C: hack to make listof algorithm work
15510 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15512 * LyXAction.C: removed all !NEW_INSETS cruft
15513 (init): moved lfun_item in method
15515 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15517 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15519 * BufferView2.C (theLockingInset): white space.
15521 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15523 * minibuffer.C: include <iostream>
15525 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15527 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15529 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15531 * text.[Ch] (TransposeChars): new method
15533 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15535 * call message directly through LyXView instead of through LyXFunc
15536 * BufferView2.C: adjust
15537 * BufferView_pimpl.C: adjust
15538 * FontLoader.C: adjust
15540 * bufferview_funcs.C: adjust
15541 * converter.C: adjust
15542 * figureForm.C: adjust
15543 * importer.C: adjust
15545 * lyx_gui_misc.C: adjust
15546 * lyxfunc.C: adjust
15549 + more files in subdirs
15551 * lyxparagraph.h (size): move up int file
15554 * adjust all uses of Assert to lyx::Assert.
15556 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15557 lyxfunctional in namespace lyx
15558 * layout.C (hasLayout): ditto
15561 (delete_layout): ditto
15562 (NumberOfClass): ditto
15563 * converter.C (GetFormat): ditto
15568 * bufferlist.C (getFileNames): ditto
15569 (emergencyWriteAll): ditto
15572 * MenuBackend.C (hasSubmenu): ditto
15575 * BufferView_pimpl.C (getInsetByCode): ditto
15577 2001-04-18 Juergen Vigna <jug@sad.it>
15579 * vspace.C (asLatexString): fixed the 100% problem.
15581 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15583 * lyxfunc.C (Dispatch):
15585 * minibuffer.h: add a few std:: qualifiers
15587 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15589 * minibuffer.[Ch]: reimplement so that commands is initiated and
15590 run from lyxfunc, simplified som handling, and made the completion
15591 and history code for complete. wip.
15593 * lyxfunc.C (processKeySym): call message
15594 (miniDispatch): new temporary method
15595 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15596 (LFUN_MESSAGE): implement
15597 (LFUN_MESSAGE_PUSH): implement
15598 (LFUN_MESSAGE_POP): implement
15599 (initMiniBuffer): the initial/defualt minibuffer message.
15601 * lyxfont.[Ch]: inline some more getters
15603 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15605 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15607 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15608 (AutoSave): use LFUN_MESSAGE
15609 (Reconfigure): ditto
15611 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15613 * figureForm.C: use LFUN_MESSAGE
15615 * converter.C (runLaTeX): use LFUN_MESSAGE
15617 * bufferview_funcs.C: use LFUN_MESSAGE
15619 (changeDepth): ditto
15621 * bufferparams.h: use boost::
15623 * bufferlist.h: inherit privately from noncopyable
15625 * bufferlist.C (loadLyXFile): remove some commented code.
15627 * buffer.C (runChktex): use LFUN_MESSAGE
15629 * ShareContainer.h: inherit privately from noncopyable
15631 * ParagraphParameters.[hC] (depth): inline it.
15633 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15635 (message): new method
15636 (messagePush): ditto
15637 (messagePop): ditto
15638 (show): init minibuffer
15639 (showState): direct call
15641 * LaTeX.[Ch]: inherit privately from noncopyable
15642 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15643 instead of WriteStatus.
15645 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15647 * BufferView_pimpl.C (buffer): don't init minibuffer
15648 (workAreaButtonPress): use LFUN_MESSAGE
15649 (workAreaButtonRelease): ditto
15650 (savePosition): ditto
15651 (restorePosition): ditto
15652 (MenuInsertLyXFile): ditto
15653 (workAreaExpose): don't init minibuffer
15654 (update): remove commented code, simplify
15656 * BufferView2.C (openStuff): use LFUN_MESSAGE
15657 (toggleFloat): ditto
15660 (copyEnvironment): ditto
15661 (pasteEnvironment): ditto
15666 (updateInset): remove some commented code
15668 * lastfiles.h: inherit privately from noncopyable
15671 * lyx_main.h: ditto
15673 * lyxlex_pimpl.h: ditto
15675 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15676 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15677 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15679 * LyXAction.h: inherit privately from noncopyable, add methods
15680 func_begin, func_end, returning iterators to the func map.
15682 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15683 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15684 (func_begin): new method
15685 (func_end): new method
15687 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15689 (copySelection): ditto
15690 (pasteSelection): ditto
15692 * BufferView.C: whitespace change
15693 * BufferView.h: inherit privately from noncopyable
15695 2001-04-16 Allan Rae <rae@lyx.org>
15697 * tabular-old.C (l_getline):
15698 * spellchecker.C (sc_check_word):
15699 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15700 an unrecognised preprocessor directive. So ensure they're wrapped.
15702 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15704 * src/exporter.C (Export): Give an error message when path to file
15707 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15709 * LaTeX.C (deplog): Always check that foundfile exists.
15711 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15714 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15716 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15718 * tabular.[Ch] (getLabelList): implement new method
15720 * minibuffer.h: comment ouf setTiimer
15722 * minibuffer.C (ExecutingCB): constify res
15723 (peek_event): constify s
15724 (Set): constify ntext
15725 (Init): constify nicename
15727 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15729 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15730 (savePosition): use two params to Minibuffer::Set
15731 (restorePosition): ditto
15733 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15735 * lyx_main.C: include language.h
15737 * Makefile.am (lyx_main.o): add language.h
15739 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15745 * CutAndPaste.C: include gettext.h
15747 * lyxfont.h: remove old hack with ON and OFF.
15750 * lyxfont.h: do not include language.h...
15755 * bufferview_funcs.C:
15761 * paragraph.C: ... but do it here instead
15763 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15765 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15767 * tabular.C: small reformat
15769 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15772 (BreakParagraph): ditto
15773 (SetOnlyLayout): ditto
15776 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15779 * lastfiles.C: removed most using decl, add std:: where needed
15781 * buffer.C: ws changes
15783 * MenuBackend.C (class compare_format): put into anon namespace
15784 (expand): constify label, names, action, action2
15787 * text.C (SingleWidth): constify font
15788 (IsBoundary): constify rtl2
15789 (GetVisibleRow): constify ww
15791 * LaTeX.C (deplog): constify logfile
15793 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15795 (workAreaExpose): constify widthChange, heightChange
15797 * lyxrow.C (par): moved
15800 * lyxrow.h: as inlines here
15802 * lyxfont.h (shape): moved from lyxfont.C
15803 (emph): moved from lyxfont.C
15805 * lyxfont.C (LyXFont): use initialization list for all
15807 (shape): move to lyxfont.h as inline
15808 (emph): move to lyxfont.h as inline
15811 2001-04-04 Juergen Vigna <jug@sad.it>
15813 * vspace.C: had to include stdio.h for use of sscanf
15815 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15818 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15819 independent of xforms.
15821 2001-04-02 Juergen Vigna <jug@sad.it>
15823 * spellchecker.C: fixed namespace placing!
15825 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15827 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15828 the LyXParagraph * is 0.
15830 2001-03-29 Juergen Vigna <jug@sad.it>
15832 * vspace.C: added support for %, c%, p%, l%.
15833 (stringFromUnit): added helper function.
15834 (asLatexString): changed to give right results for the %-values.
15836 * buffer.C: convert the widthp in a width%.
15838 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15840 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15843 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15844 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15846 * lyx_cb.[Ch]: see above.
15848 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15852 * lyx.[Ch]: replaced by figure_form.[Ch].
15856 * lyxfunc.C: changed headers associated with above changes.
15858 2001-03-27 Juergen Vigna <jug@sad.it>
15860 * BufferView_pimpl.C: set the temporary cursor right!
15862 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15864 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15866 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15868 * LString.h: removed "using std::getline"!
15870 * BufferView_pimpl.C (Dispatch): changes due to changes in
15871 InsetInclude::Params.
15873 * buffer.C (tag_name): removed redundant break statements as they were
15874 producing lots of warnings with my compiler.
15876 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15878 * LString.h: add "using std::getline" when using the real <string>.
15880 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15882 * buffer.C: removed bitset usage.
15883 PAR_TAG moved to an anonymous name space.
15884 (tag_name): new funtion, also in the anonymous namespace.
15885 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15886 (makeDocBookFile): clean code. Completed transition from string arrays
15888 (SimpleDocBookOnePar): code clean.
15890 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15892 * tabular.C: add some comments.
15894 2001-03-22 Juergen Vigna <jug@sad.it>
15896 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15897 compatibility read a bit and fixed bug with minipage in different
15900 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15902 * buffer.C (pop_tag): removed.
15903 (push_tag): removed.
15904 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15905 array replaced with vector. Added support for CDATA sections.
15906 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15908 (makeDocBookFile): XML conformant declaration of CDATA section,
15909 fixed bug related to <emphasis> in the first paragraph char.
15910 (sgmlOpenTag): exclude empty tags.
15911 (sgmlCloseTag): ditto.
15913 * buffer.h (pop_tag): removed.
15914 (push_tag): removed.
15916 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15918 * language.h (Languages): added size_type and size().
15920 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15922 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15923 response on compability reading of minipages. One probliem is that
15924 the old usage of minipages was «flertydig»
15926 * several files here and in subdirs: don't use static at file
15927 scope use anon namespaces instead.
15929 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15931 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15932 LaTeX output. This is necessary for Literate document
15935 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15937 * buffer.C: insert hfill when needed.
15939 * tabular.C (l_getline): use string::erase, small whitespace change.
15941 * BufferView_pimpl.C: try the anon namespace.
15942 * WorkArea.C: ditto
15944 2001-03-16 Juergen Vigna <jug@sad.it>
15946 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15947 otherwise it won't open options-dialogs.
15949 * buffer.C: honor pextraWidth(p) on converting minipages.
15951 * tabular.C (l_getline): changed the functions to strip trailing \r.
15953 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15955 * BufferView_pimpl.C:
15956 * minibuffer..C: added "using SigC::slot" declaration.
15958 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15960 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15966 * paragraph.C: ditto
15968 * lyxtext.h: NO_PEXTRA
15970 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15972 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15973 * ParameterStruct.h: ditto
15974 * ParagraphParameters.h: ditto
15975 * lyxparagraph.h: ditto
15977 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15979 * buffer.C: add compability for minipage alignment.
15980 (latexParagraphs): remove unwanted pextra check.
15982 * several files: remove CXX_WORKING_NAMESPACES
15984 * buffer.C (pop_tag): tie is in namespace boost
15986 * BufferView.h: noncopyable is in namespace boost
15988 * lyx_main.h: ditto
15991 * lastfiles.h: ditto
15992 * bufferlist.h: ditto
15993 * ShareContainer.h: ditto
15995 * LyXAction.h: ditto
15998 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16000 * Merging changes from BRANCH_MVC back into HEAD.
16002 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16004 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16006 * BufferView_pimpl.C: change from intl.C
16010 * Makefile.am: move combox.*
16016 * intl.C: remove dialog (covered by prefs)
16018 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16020 * lyxfunc.C (Dispatch): removed redundant break statement.
16022 2001-03-14 Juergen Vigna <jug@sad.it>
16024 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16026 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16028 * buffer.C: add hack to fix compability reading of minipages.
16030 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16032 * buffer.C (getLists): Cleanup.
16034 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16036 * lyxfont.C (update): don't honor toggleall on font size.
16038 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16042 * Makefile.am: moved to frontends/xforms/
16046 * BufferView_pimpl.C: changes for moved mathpanel
16048 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16050 * gettext.h: fix gettext_init() in --disable-nls
16052 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16054 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16056 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16059 * lyx.h: strip external form
16061 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16063 * BufferView_pimpl.C: add comment, destroySplash()
16065 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16067 * BufferView_pimpl.C:
16071 * lyxfunc.C: use re-worked insetinclude
16073 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16075 * buffer.C: add using std::stringstream.
16077 * lyx_cb.C: readd using std::ios.
16079 * buffer.C: add using std::map.
16081 * BufferView_pimpl.C: add using std::vector.
16083 * ShareContainer.h: add std:: to swap.
16085 * buffer.h: add some typedefs
16086 * buffer.C (getLists): use them
16087 (getLists): renamed from getTocList.
16088 add a counter for the different float types and use it in the
16090 (getLists): use the same counter for the NEW_INSETS and the "non"
16093 * lyx_cb.h: remove unused items, includes, using etc.
16095 * ShareContainer.h: remove some commented code, add more comments
16096 and "documentation".
16098 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16100 * buffer.C (getTocList): make the list also when NEW_INSETS is
16103 * buffer.h: remove TocType
16105 * buffer.C (getTocList): change to return a map<string,
16106 vector<TocItem> >, implement for dynamic number of list.
16108 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16109 * text2.C (PasteSelection): adjust
16110 * CutAndPaste.C (pasteSelection): adjust
16112 * FloatList.C (FloatList): update from the new_insets branch.
16113 * Floating.[Ch]: ditto
16114 * LaTeXFeatures.C: ditto
16116 * lyxlex_pimpl.C: ditto
16118 * paragraph.C (Last): remove when NEW_INSETS is defined.
16120 * other file: changes because of the above.
16122 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16124 * lyxparagraph.h: rename next to next_, previous to previous_,
16125 make them private for NEW_INSETS. Rename Next() to next(),
16126 Previous() to previous().
16128 * other files: changes because of the above.
16130 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16133 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16136 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16138 * main.C (main): pass lyx_localedir to gettext_init().
16140 * gettext.h: remove locale_init and gettext_init macros
16142 * gettext.C (locale_init): new function
16143 (gettext_init): new function
16145 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16148 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16150 * Moved credits to frontends:
16151 * credits.[Ch]: removed
16152 * credits_form.[Ch]: removed
16153 * lyx_gui_misc.C: remove credits stuff
16156 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16158 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16160 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16161 unneeded destructor.
16163 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16164 a standalone pointer again.
16166 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16168 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16174 * ToolbarDefaults.C:
16183 * BufferView_pimpl.C: use new file dialog in GUII
16186 * lyx_cb.C: remove LayoutsCB to Toolbar
16188 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16190 * ShareContainer.h (get): add std:: qualifier
16192 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16194 * ShareContainer.h: define a proper ShareContainer::value_type
16195 type (and use typename to please compaq cxx)
16197 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16199 * lyxparagraph.h: move serveral local vars to
16200 ParameterStruct/ParagraphParameters., use ShareContainer in
16201 FontTable., make vars in FontTable private and add getter and
16204 * paragraph.C: changes because of the above.
16206 * lyxfont.h: remove copy constructor and copy assignment. (the
16207 default ones is ok), move number inside FontBits. move inlines to
16210 * lyxfont.C: add number to initializaton of statics, move several
16211 inlines here. constify several local vars. some whitespace
16212 cleanup. Dont hide outerscope variables.
16214 * Spacing.h: add two new constructors to match the set methods.
16216 * ShareContainer.h: new file, will perhaps be moved to support
16218 * ParameterStruct.h: new file
16220 * ParagraphParameters.h: new file
16222 * ParagraphParameters.C: new file
16224 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16225 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16227 * BufferView_pimpl.C: ParagraphParameter changes.
16228 * buffer.C: Likewise.
16229 * bufferview_funcs.C: Likewise.
16230 * text.C: Likewise.
16231 * text2.C: Likewise.
16233 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16235 * lyxfind.C (LyXReplace): do not redefine default argument in
16237 (IsStringInText): ditto
16238 (SearchForward): ditto
16239 (SearchBackward): ditto
16241 2001-03-06 Juergen Vigna <jug@sad.it>
16243 * lyxfind.C (IsStringInText): put parentes around expressions.
16245 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16247 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16249 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16251 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16253 * stl_string_fwd.h: add comment
16255 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16258 * tabular.C: remove unused DocBook methods
16264 killed DO_USE_DEFAULT_LANGUAGE
16266 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16268 * lyx_gui.C: do not include language.h.
16270 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16271 arguments in function implementation.
16273 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16275 * BufferView_pimpl.C: add <ctime>
16277 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16279 * BufferView_pimpl.C: add using std::find_if
16281 2001-02-27 José Matos <jamatos@fep.up.pt>
16283 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16286 2001-02-11 José Matos <jamatos@fep.up.pt>
16288 * buffer.C (makeDocBookFile): command styles now have a parameter as
16289 "title" by default.
16291 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16293 * layout_forms.[Ch]: removed
16294 * lyx_cb.[Ch]: out character
16295 * lyx_gui.C: out character
16296 * lyx_gui_misc.C: out character
16297 * bufferview_funcs.C: : out character,
16298 added toggleall as parameter in ToggleAndShow
16300 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16302 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16304 * text2.C (SetCurrentFont): Disable number property at boundary.
16306 2001-02-26 Juergen Vigna <jug@sad.it>
16308 * lyxfunc.C (getStatus): added a string argument override function so
16309 that this is correctly called from LyXFunc::Dispatch if it contains a
16310 do_not_use_argument which is used!
16311 (Dispatch): added check for "custom" export and call appropriate func.
16313 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16315 * lyxrc.C: Add language_command_local, language_use_babel and
16316 language_global_options.
16318 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16320 * buffer.C (makeLaTeXFile): Use language_use_babel and
16321 language_global_options.
16323 2001-02-23 Juergen Vigna <jug@sad.it>
16325 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16326 which works with LyXText and putted it inside BufferView. Here now we
16327 only call for that part the BufferView::Dispatch() function.
16329 * BufferView.C (Dispatch): added.
16331 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16332 functions which needs to use a LyXText over from LyXFunc.
16333 (MenuInsertLyXFile): added
16334 (getInsetByCode): added
16335 (moveCursorUpdate): added
16336 (static TEXT): added
16338 2001-02-22 Juergen Vigna <jug@sad.it>
16340 * BufferView_pimpl.C (update): call a status update to see if LyXText
16343 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16345 * vc-backend.C (revert): implement for CVS
16346 (getLog): implement for CVS
16348 2001-02-20 Juergen Vigna <jug@sad.it>
16350 * text2.C (ClearSelection): added BufferView param for inset_owner call
16352 * lyxfunc.C (TEXT): added this function and use it instead of
16353 directly owner->view()-text of getLyXText().
16355 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16357 * src/layout_forms.C: out preamble
16358 * src/layout_forms.h: out preamble
16359 * src/lyx_cb.C: out preamble
16360 * src/lyx_cb.h: out preamble
16361 * src/lyx_gui.C: out preamble
16362 * src/lyx_gui_misc.C: out preamble
16363 * src/lyxfunc.C: connect with guii preamble
16365 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16367 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16369 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16371 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16372 whether to run bibtex.
16374 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16376 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16378 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16380 * Makefile.am (lyx_SOURCES): removed bibforms.h
16382 * vspace.h: doxygen
16384 * text.C (GetVisibleRow): make several local vars const
16386 * tabular.C: small cleanup.
16388 * lyxserver.C (callback): use compare instead of strncmp
16390 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16391 inlines to after class or to paragraph.C
16393 * lyxfont.h: remove friend operator!=
16395 * converter.h: move friend bool operator< to non friend and after
16398 * combox.h: small cleanup
16400 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16401 to inlines after class def.
16403 * buffer.C (pop_tag): use string operations instead of strcmp
16405 * bmtable.c: doxygen, small cleanup
16407 * LaTeX.h: remove friend operator==
16409 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16421 * BufferView_pimpl.C:
16422 * BufferView.[Ch]: remove cruft
16424 2001-02-14 Juergen Vigna <jug@sad.it>
16426 * lyxfunc.C: removed #if 0 unused code
16428 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16430 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16432 * text2.C (SetSelection): added a BufferView * parameter
16434 2001-02-13 Juergen Vigna <jug@sad.it>
16436 * lyxfunc.C (Dispatch): fixed protected blank problem.
16437 * BufferView2.C (protectedBlank): added LyxText * parameter.
16439 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16440 (AppendColumn): same as above for column_info.
16442 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16443 (moveCursorUpdate): use a LyXText param for support of InsetText.
16445 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16446 (tripleClick): ditto
16448 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16450 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16452 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16454 * text2.C (SetSelection): set correct update status if inset_owner
16455 (ToggleFree): ditto
16457 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16459 * tabular.C: remove some commented code.
16461 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16463 * BufferView_pimpl.C: call hideSplash()
16465 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16468 * bibforms.h: remove
16471 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16472 add LFUN_CHILD_CREATE
16474 * counters.h: fix tiny typo
16479 * lyx.C: move splash to frontends/xforms/
16481 * lyx_gui_misc.C: move Include and Bibform to frontends
16483 * lyxvc.h: clarify comment
16485 * vspace.C: tiny housekeeping
16487 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16489 * text.C (PrepareToPrint): RTL Fix.
16491 * paragraph.C (GetUChar): New method.
16492 (String): Use GetUChar.
16494 * buffer.C (asciiParagraph): Use GetUChar.
16496 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16498 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16500 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16503 * buffer.C: rename to getLogName(), handle
16504 build log / latex log nicely
16506 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16509 * MenuBackend.h: remove support for reference menuitem type.
16511 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16513 * BufferView_pimpl.C: housekeeping
16514 * BufferView_pimpl.h:
16519 * minibuffer.h: move Timeout GUI-I
16521 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16523 * lyxrc.C (read): Update converters data-structures.
16525 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16527 * LaTeX.h (operator!=): add operator != for Aux_Info
16529 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16531 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16533 * LaTeXLog.C: deleted, useful code moved to Buffer
16536 * buffer.C: new function getLatexLogName()
16542 * lyxfunc.C: use frontends for LaTeX and VC logs
16544 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16546 * LaTeX.h: yet another std:: that Allan forgot.
16548 * Variables.C (set): renamed from isset(), because this clashes
16549 with some HP-UX macros (grr).
16551 2001-02-06 Allan Rae <rae@lyx.org>
16553 * LaTeX.h: Another bug fix. Missing std:: this time.
16555 2001-02-04 Allan Rae <rae@lyx.org>
16557 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16558 floats problem. I've left it commented out because it's not quite
16559 correct. It should also test that the current object is a table or
16560 figure inset. But I haven't gotten around to figuring out how to do
16561 that. I *think* it'll be something like: "table" == inset.type()
16563 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16566 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16568 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16569 all the citation/databases/styles in the auxilary file.
16570 (run): Rerun latex if there was a babel language error.
16572 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16574 * text.C (Backspace): Preserve the font when changing newline char
16576 (BreakParagraph): If the cursor is before a space, delete the space.
16578 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16580 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16582 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16583 new argument (code).
16584 (ChangeCitationsIfUnique): New method.
16586 * paragraph.C (GetPositionOfInset): Handle bibkey.
16588 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16590 * BufferView_pimpl.h: change type of Position::par_pos to
16591 LyXParagraph::size_type.
16593 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16595 * BufferView_pimpl.C (savePosition, restorePosition): Write
16596 messages to minibuffer.
16598 2001-01-28 José Matos <jamatos@fep.up.pt>
16600 * buffer.C (makeDocBookFile): adds support for document language.
16601 A silly restriction on the name of LatexCommand types where removed.
16602 Added support for CDATA sections, allows to chars unescaped, used
16603 among others in code, to avoid escape < and >.
16605 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16607 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16608 saved positions instrad of a stack. Furthermore, a position is
16609 stored using paragraph id/paragraph position.
16611 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16612 Remove LFUN_REF_BACK.
16614 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16616 * converter.C (dvipdfm_options): New method.
16618 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16620 * vspace.C (isValidLength): Fix for empty input string.
16622 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16624 * LyXAction.C (init): change description of LFUN_FIGURE to
16627 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16629 * LaTeX.C: add using directive
16631 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16633 * MenuBackend.C (expand): Fix the sorting of the formats.
16635 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16637 * lyx_main.C: tiny error message fix
16639 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16641 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16642 calling fl_initialize(). This fixes the problem with ',' as
16643 decimal separator in text files.
16645 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16647 * trans.C (process): Fix the keymap bug.
16649 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16651 * LaTeX.C (scanAuxFiles): New method. Provides support for
16652 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16653 (scanLogFile) Scan for "run BibTeX" messages.
16655 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16656 OT1 font encoding. Also, load the aecompl package if the ae
16659 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16661 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16663 * texrow.C (increasePos): turn two error messages into debug
16666 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16668 * LaTeX.C (scanAux): Handle the \@input macro.
16669 (runBibTeX): Use scanAux().
16671 * language.C (latex_options_): New field.
16673 * LaTeXFeatures.C (getMacros): Add language macros.
16675 * buffer.C (makeLaTeXFile): Small fix.
16677 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16679 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16681 * text2.C: add a using directive.
16683 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16688 * lyxfunc.C: kill LyXBell.
16690 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16692 * text.C (IsBoundary): Remove the error message
16694 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16696 * lyxrc.C (setDefaults): Correct initialization value for
16699 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16701 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16704 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16705 and GotoNextNote().
16707 * src/LyXAction.C: Added reference-next.
16709 * text.C (InsertChar): Use contains instead of strchr.
16711 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16713 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16715 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16716 alignment commands (when needed).
16718 * text.C (InsertChar): Add ':' to number separator chars.