1 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
4 namespace, also more use of temp references and const
6 * cursor.[Ch] (getStatus): move to lyxfunc.C
8 * bufferparams.C: reformat slightly
10 * bufferview_funcs.C (font2string): constify arg
16 * buffer_funcs.C: (many funcs): constify arg on function
17 definitions, also make more local vars const, also add ASSERTS on
20 * buffer.C (LYX_FORMAT): put const in correct place
21 (many funcs): constify arg on function definitions, also make
24 * aspell_local.h: remove "struct" from typdef setup
26 * aspell.C (check): make word_ok const
27 (nextMiss): simplify slightly
30 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
32 * lyxrc.[Ch]: store all float values as strings.
33 use int (not float) for lyxrc.dpi.
35 2005-01-04 Angus Leeming <leeming@lyx.org>
37 * lyx_cb.C (Reconfigure):
38 * lyx_main.C (queryUserLyXDir):
39 to run the <system_lyxdir>/configure correctly on Windows, prefix
40 the path to the script with "sh " when generating the string that
41 is passed to system().
43 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
45 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
47 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
49 * lyxlength.C (asLatexString): get rid of setprecision
51 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
53 * text2.C (setLayout): remove unused variable endpit.
54 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
56 * paragraph.C (onlyText): remove unused variable style.
58 * cursor.C (bruteFind): remove unused variables beg and end.
60 * Makefile.am (dist_noinset_DATA): not needed anymore
64 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
66 * text3.C: fix LFUN_MATH_MODE.
68 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
70 * buffer_funcs.C (countWords): new function. Counts words between
73 * BufferView_pimpl.C (getStatus, dispatch): handle
77 * lfuns.h: add LFUN_WORDS_COUNT.
79 2004-12-19 Angus Leeming <leeming@lyx.org>
81 * buffer.C (save): s/slashify_path/internal_path/.
83 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
85 * lyxfind.C (findChange): do not search for end of pars, because
86 the change tracker cannot handle this (fixes bug 1719).
88 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
90 * paragraph.[Ch] (autoBreakRows): remove
92 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
94 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
95 avoid using the paragraph one
97 * text2.C (LyXText, insertStringAsLines): adjust
99 2004-12-16 Angus Leeming <leeming@lyx.org>
103 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
105 2004-12-14 Angus Leeming <leeming@lyx.org>
107 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
109 * bufferlist.C (emergencyWrite):
110 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
113 2004-12-14 Angus Leeming <leeming@lyx.org>
115 * main.C: (main): no longer pass pointers to os::init.
117 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
119 * undo.C (textUndoOrRedo): simplify logic, fix a crash
120 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
122 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
125 * text3.C: remove selection_possible global flag
127 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
129 * text2.C (getSelectionSpan): remove
130 (changeDepth, changeDepthAllowed): adjust
132 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
134 * Makefile.am (BOOST_LIBS): use boost variables
136 2004-12-03 José Matos <jamatos@lyx.org>
138 * buffer.C: format up to 238.
140 2004-12-03 José Matos <jamatos@lyx.org>
142 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
144 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
146 * cursor.C (goUpDown): remove call to idxUpDown2
148 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
150 * tabular.[Ch]: use size_t-like types for cell, row and column
153 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
155 * lyxfunc.C (getStatus): do not lose previous information when
156 calling BufferView::getStatus; do not set a default "Command
157 disabled" message at the beginning, but just before returning.
159 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
161 * cursor.h (getStatus): add better comment from src/cursor.C
163 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
165 * text3.C (getStatus): return false when the lfun is not handled
167 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
169 * broken_headers.h: remove
171 * Makefile.am (lyx_SOURCES): remove broken_headers.h
173 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
175 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
178 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
179 top_y_, merge fitcursor with update
180 (updateScrollbar, scrollDocView, fitCursor, center, update): new
183 (workAreaDispatch): adapt to new coord scheme
184 (redoCurrentBuffer): remove
186 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
188 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
191 * coordcache.[Ch]: add paragraph cache and helpers
193 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
196 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
197 (targetX, setTargetX): introduce
199 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
200 baseline -> ascent, as the rest of lyx
202 * lyxtext.h: remove redoParagraphs, updateParPositions,
203 fullRebreak, redoParagraphInternal. move dist to anon namespace in
204 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
205 have ascent/descent (ascent is ascent of first par)
207 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
210 * paragraph.[Ch]: unify dimension handling with the rest of lyx
212 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
214 * pariterator.C: fix infinite loop introduced in par->pit renaming
216 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
217 in insets and LyXText, draw two off-screen paragraphs using
218 NullPainter, and adapt to new coord scheme
222 * text3.C: adapt lfun handlers to the new coord scheme, which
223 means: there's only guaranteed coord information for onscreen pars
224 plus one above and one below. This implies that one can do search
225 from y coordinates in the range [-1,workHeight]
227 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
229 * rename a lot of InsetOld to InsetBase
231 2004-11-25 Angus Leeming <leeming@lyx.org>
233 * BufferView_pimpl.C:
235 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
237 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
239 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
240 call BufferView::getStatus if LCursor::getStatus did nothing
241 (setStatusMessage, getStatusMessage): removed.
243 * FuncStatus.C (message): new methods. Used to provide an error
244 message indicating why a command is disabled.
245 (clear, |=, FuncStatus): update for message.
247 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
249 * lyxfunc.C (dispatch): always call sendDispatchMessage
251 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
254 * BufferView_pimpl.C:
268 * undo.C: par->pit renaming
270 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
272 * tabular.C (cellstruct): use initialization, store a shared_ptr
273 to insettext instead of the insettext directly, adjust to fit.
274 (operator=): new function
276 (rowstruct): use initialization
277 (columnstruct): use initialization
278 (ltType): use initialization
281 * lyxlength.h (swap): new function
283 * LColor.[Ch] (operator=): use the common semantics
285 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
287 * lyxfind.C (findNextChange): update the bufferview after setting
290 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
292 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
293 number of InsetOptArgs has already been inserted.
295 * output_latex.C (latexOptArgInsets): new method. This outputs all
296 the optarg insets, up to the limit defined in the layout file.
297 (optArgInset): removed
298 (TeXOnePar): call latexOptArgInsets; correctly update texrow
300 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
302 * paragraph.C (isLetter): remove special spellchecker-related
303 code; return true also for digits
304 (isWord, isKomma): remove
306 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
307 * lyxfind.C (MatchString()): use isLetter instead of isWord
309 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
311 * pariterator.h (operatir=): comment out un-implemented member
314 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
317 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
319 * lyxfont.h: include LColor.h to satisfy concept checks.
321 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
323 * pariterator.h: add typdefs for value_type, difference_type,
324 pointer and reference to satisfy concept checks. Also add default
325 constructor for same reason.
327 * pariterator.C (operator++): add post-increment operator to
328 satisfy concept checks.
330 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
333 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
335 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
336 checks. Also rename base_type to BaseType to follow naming
339 * FloatList.h: include Floating.h to satisfy concept checks.
341 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
343 * lyxfunc.C (getStatus): when the origin of the request is menu or
344 toolbar, and the LyXView does not have focus, do as if there was
347 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
348 FuncRequest to individual entries of LFUN_SEQUENCE
350 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
352 * output_latex.C (TeXOnePar): override runparams.moving_arg
353 according to the needprotect value of the current paragraph (bug
356 * paragraph.C (simpleTeXOnePar): no need to override
357 runparams.moving_args here
359 2004-11-14 John Spray <spray_john@users.sourceforge.net>
361 * vspace.C: fix off-by-one-error, related to fix #1682
363 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
365 * lengthcommon.C: a more general fix for bug 1682
367 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
369 * text.C (backspace): fix crash
371 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
373 * format.[Ch] (getFormatFromFile): new method
374 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
376 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
378 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
380 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
382 * lyxfunc.C (dispatch): remove the verbose argument
383 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
386 * kbmap.C (defkey): set the origin of func to KEYBOARD
388 * MenuBackend.C (MenuItem):
389 * ToolbarBackend.C (add): set the origin of func to UI
391 * funcrequest.[Ch]: add origin member, which indicates which part
392 of LyX requests an action
394 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
396 * converter.C (move): don't lie in the error message
397 * converter.h (isReachable, move): document
399 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
401 * buffer.C: remove unused using lyx::support::atoi
402 * paragraph_funcs.C: ditto
404 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
406 * bufferlist.C (exists): use bind and equal_to instead of
409 * lyxtextclasslist.C (NumberOfClass): ditto
411 * cursor.C (insert): use for_each instead of explicit for loop
413 * bufferlist.C (getFileNames): use std::transform and
414 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
416 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
419 * buffer.C (changeLanguage): use for_each instead of explicit for
421 (hasParWithID): implement using getParFromID
423 * LaTeXFeatures.C: ws change only
425 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
428 * BufferView_pimpl.C (trackChanges): use for_each instead of
431 2004-11-04 André Pönitz <poenitz@gmx.net>
434 * undo.C (textUndoOrRedo): fix crash when creating undo information.
436 * dociterator.C (asDocIterator): use hard assert again.
438 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
440 * lyxlength.C (asLatexString): rewrite so that it does not use
443 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
445 * text3.C (specialChar, dispatch): make sure cursor moves to the
446 right after inserting an inset
448 2004-11-02 José Matos <jamatos@lyx.org>
450 * output_docbook.C (docbook):
451 * paragraph.C (getID):
452 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
453 garantee that the output is always legal.
455 * tabular.C (docbook):
456 * outputprams.[Ch]: remove mixed contents.
458 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
460 * text2.C (setCounter): prevent endless loop
462 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
464 * exporter.C (copyFile): use the mover instead of support::copy()
465 * exporter.C (Export): pass format and latex name to copyFile()
466 * exporter.h (addExternalFile): document
467 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
469 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
471 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
473 2004-10-30 José Matos <jamatos@lyx.org>
475 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
476 text and no inset or font change. This allows to use CDATA
477 sections just for the whole paragraph.
479 2004-10-30 José Matos <jamatos@lyx.org>
481 * paragraph.C (getFirstWord): remove unused variable.
483 2004-10-30 José Matos <jamatos@lyx.org>
485 * paragraph.C (getFirstWord): the content should always be escaped
487 (simpleDocBookOnePar):
488 * output_docbook.C (makeEnvironment): replace reference to CDATA
491 2004-10-30 José Matos <jamatos@lyx.org>
493 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
495 2004-10-30 José Matos <jamatos@lyx.org>
497 * output_docbook.C (makeParagraphs):
498 * paragraph.[Ch] (emptyTag): for docbook and company, if the
499 standard paragraph has only a given type of content drop the wrapper.
501 2004-10-29 José Matos <jamatos@lyx.org>
503 * output_docbook.C (makeEnvironment):
505 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
507 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
509 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
510 (cleanID): sanitize any id.
512 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
514 * buffer.C, lyxlex_pimpl.C:
515 * lyxlex_pimpl.C (setFile):
516 s/getExtFromContents/getFormatFromContents/
518 2004-10-28 José Matos <jamatos@lyx.org>
520 * output_docbook.C (makeEnvironment): move id to broadest possible
523 * sgml.C (openTag): apply substitution of <> for all attributes.
525 2004-10-28 José Matos <jamatos@lyx.org>
527 * buffer.C (makeLinuxDocFile, makeDocBookFile):
528 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
529 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
531 * sgml.[Ch]: new version for open and closeTag for paragraph and
532 for strings. Now they handle the ids of paragraphs.
534 2004-10-26 Angus Leeming <leeming@lyx.org>
536 * Makefile.am: add mover.[Ch].
538 * converter.C (convert, move): use the new Movers to move external
539 files to the temp directory.
541 * lyx_main.C (init): ensure that the global system_movers data
544 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
547 * mover.[Ch]: new files, defining a Mover as a utility to move an
548 external file between directories and, if necessary, manipulate this
549 file using a helper script.
551 2004-10-25 José Matos <jamatos@lyx.org>
553 * output_docbook.C (makeCommand): merge two if's that tested the
556 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
558 * sgml.C (escapeString): fix warning in a better way
560 2004-10-25 José Matos <jamatos@lyx.org>
562 * sgml.C (escapeString): import the require boosts header file for
563 tie, and avoid a signed unsigned comparison.
565 2004-10-25 José Matos <jamatos@lyx.org>
567 * sgml.h: add #include <string>
569 2004-10-25 José Matos <jamatos@lyx.org>
571 * sgml.[Ch] (escapeString): new function to escape all the string.
573 2004-10-24 José Matos <jamatos@lyx.org>
575 * paragraph.[Ch] (getFirstWord): new function to get the first
576 word. Useful for description.
577 (simpleDocBookOnePar): remove depth argument, add another that
578 says where to start the paragraph.
580 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
581 use the new functions to fix cleanly the support for descriptions.
583 2004-10-24 José Matos <jamatos@lyx.org>
585 * buffer.C (makeLinuxDocFile, makeDocBookFile):
586 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
587 * output_linuxdoc.C (linuxdocParagraphs):
588 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
589 add buffer as argument.
591 2004-10-24 José Matos <jamatos@lyx.org>
593 * output_docbook.C (makeEnvironment, searchEnvironment): place
594 CDATA inside paragraphs and fix scope for listitems.
596 2004-10-24 José Matos <jamatos@lyx.org>
598 * output_docbook.C: remove using statement for stack.
600 2004-10-23 José Matos <jamatos@lyx.org>
602 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
603 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
604 docbook. The new scheme is recursive and makes use of iterators, the
605 same as latex export works.
606 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
607 directly with the paragraph contents. This code was moved up to
608 output_docbook.C (docbookParagraphs).
609 * sgml.C (openTag, closeTag): removed unneeded newlines.
610 (closeEnvTags) removed.
612 2004-10-23 André Pönitz <poenitz@gmx.net>
614 * undo.C (textUndoOrRedo):
615 * dociterator.C (asDocIterator): work around crash
617 * cursor.C (getStatus): replace ASSERT by more verbose error message
618 and manual correction of the problem. Should increase stability
619 while providing more sensible information.
621 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
623 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
625 * bufferlist.C (previous, next): new methods
628 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
630 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
632 * buffer.C (makeDocBookFile): add dsssl stylesheet control
633 entities to preamble.
635 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
637 * messages.C (Pimpl): strip off translation context information
639 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
641 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
642 the cursor is correct (bug 1694)
644 2004-10-13 José Matos <jamatos@lyx.org>
646 * output_docbook.C (docbookParagraphs): fix closing tags in the
649 2004-10-09 José Matos <jamatos@lyx.org>
651 * buffer.C: format up to 237.
652 * bufferparams.C (write): use tostr to convert booleans to strings.
654 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
656 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
658 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
660 * LaTeX.C: implement use of babel language in xindy.
662 2004-10-05 José Matos <jamatos@lyx.org>
664 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
665 Add new translators to help reading and writing the lyx file.
667 2004-10-05 José Matos <jamatos@lyx.org>
669 * ParagraphParameters.C (read):
670 * text.C (readParToken): replace nexToken by more appropriate lex
673 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
675 * LaTeX.C (runMakeIndex):
676 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
677 (usually 'makeindex') configurable.
679 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
680 with a variable rather than with a number.
682 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
684 * output_latex.C (TeXOnePar): make sure font setting is the first
685 thing that gets output (and the last at the end). Should fix bug
688 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
690 * pch.h: use proper signal include
692 * LaTeX.h: Use preferred calling of Boost.Signal
695 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
697 * pch.h: dont include <boost/function/function0.hpp>
699 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
701 * paragraph_pimpl.h: remove usage of ShareContainer
703 * paragraph_pimpl.C: remove initialization of ShareContainer.
705 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
709 * BufferView.C (putSelectionAt): change the semantics when
710 backwards == true: now, this just swaps cursor and anchor wrt the
713 * BufferView.h (putSelectionAt): add some documentation
715 * lyxfind.C (findBackwards): rewrite using while(). In particular,
716 make sure backwardChar is done at least once (to avoid getting
718 (findNextChange): use putSelectionAt in the forward direction
719 (operator()): use Paragraph::isWord
721 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
723 * Spacing.C (set): c_str fix
725 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
727 * lyx_cb.C (Reconfigure): quote the name of configure script in
728 case it contains spaces
730 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
734 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
735 (BOOST_LIBS): use top_buildir when looking for the file
737 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
739 * pch.h: do not use include boost/format.hpp, multiple symbols
740 will result (gcc bug)
743 2004-08-23 José Matos <jamatos@lyx.org>
745 * bufferparams.C (readToken): fix reading of the author field.
747 2004-08-20 José Matos <jamatos@lyx.org>
749 * lyxrc.C: remove support/translator.h inclusion since it is not used.
751 2004-08-20 José Matos <jamatos@lyx.org>
753 * lyxlex.[Ch] (findToken): remove function.
755 * ParagraphParameters.C (findToken):
756 * bufferparams.C (findToken): replace call for previous function
757 with local copy. This local function has one more argument, the
758 read string argument.
760 2004-08-16 José Matos <jamatos@lyx.org>
762 * ParagraphParameters.C (write):
763 * Spacing.C (writeFile):
764 * bufferparams.C (writeLaTeX):
765 * lyx_cb.C (Reconfigure):
766 * paragraph.C (write):
767 * tabular.C (write): remove unnecessary space at end of line.
770 2004-08-16 José Matos <jamatos@lyx.org>
772 * text.C (readParagraph): remove debug message.
774 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
776 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
779 * output_plaintext.C (asciiParagraph): set depth correctly
781 * outputparams.h: add member depth
783 * paragraph_funcs.C (ownerPar): remove.
785 * text2.C (setCounter): remove first_pit; comment out some
786 non-working code that uses ownerPar
788 * BufferView.C (getParentLanguage): remove. Not used anymore, and
791 2004-08-16 José Matos <jamatos@lyx.org>
793 * text.C (readParToken, readParagraph, read): report all unknown tokens.
794 For the same level of importance use the same chanel to report problems.
795 (read): add code to deal with \begin_body and \end_body.
798 2004-08-15 José Matos <jamatos@lyx.org>
800 * lyxlex.C (getString): fix comment, buffer::readBody is now
803 * tex-strings.C (string_papersize): Default -> default,
804 Custom -> custom, for consistency with other options.
806 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
810 * Makefile.am: support pch
812 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
814 * text.C (readParToken): remove the static LyXFont variable and
815 pass it as a parameter instead. This fixes a nasty bug where an
816 inset will be inserted with a bad font in some situations
817 (readParagraph): adapt
819 * text2.C (setCounter): reduce number of calls to pars_[pit]
821 * text.C (singleWidth): add an assert, fix a test
823 * rowpainter.C (paintText): reduce number of calls to singleWidth
825 * paragraph.C (isHfill):
828 2004-08-14 André Pönitz <poenitz@gmx.net>
833 * lyxtext.h (several functions): use a Paragraph & argument
836 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
838 * metricsinfo.h: add a new field ltr_pos to PainterInfo
840 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
842 * text.C (singleWidth): remove useless test
844 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
846 * tabular.h: remove bogus comments
848 * tabular.C (getDescentOfRow):
849 (isPartOfMultiColumn): add assertions
851 * lyxlength.C (inPixels): remove #warning
853 2004-08-14 André Pönitz <poenitz@gmx.net>
855 * paragraph.h: inline getChar()
857 * BufferView.h: remove unused declarations
859 2004-08-14 José Matos <jamatos@lyx.org>
861 * Buffer.[Ch] (readDocument): new name for old readBody.
862 * Buffer.C: new file format, new keywords: \begin_document,
863 \begin_header, \begin_body, \end_body.
865 * bufferparams.C (readToken): replace all calls to lex.nextToken
866 by lex.next(). Do the same to eatLine except where really needed.
868 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
869 line when writing to the lyx file.
871 * output_plaintext.C (asciiParagraph): fix Bibliography style
874 * text.C (read): fix end of file handling.
876 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
878 * MenuBackend.C (Menu::operator[]): new method to access
879 individual menu items
880 (Menu::hasFunc): new method. search for an item that corresponds
882 (MenuBackend::specialMenu): new method
883 (MenuBackend::expand): if a special menu has been set, skip
884 entries whose func() appears in this menu
886 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
888 * text3.C: use Debug::DEBUG a bit more
890 * text.C (leftMargin): try to simplify a tiny bit change var x to
891 l_margin. Dont output the wide margins always.
892 (rightMargin): no margin in inner texts
894 * rowpainter.h (nestMargin): new func
895 (changebarMargin): new func
896 (rightMargin): new func
898 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
902 * factory.C (createInset): modify setDrawFrame
904 * cursor.C: use Debug::DEBUG a bit more
906 2004-08-14 André Pönitz <poenitz@gmx.net>
909 * Makefile.am: new files to accomodate an 'external' (x,y)-position
910 cache for all insets in (at least partially) visible (top-level)
913 * BufferView_pimpl.C: reset external coord cache before every update.
914 This means the coord cache only contains valid entries.
916 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
919 * BufferView_pimpl.C (getInsetByCode): move function out of class
920 and change in to a template in anon namespace. Also fix to do what
923 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
926 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
928 (breakParagraph): rename par to par_offset and use a local
929 reference. Add code to keep the language over a rebreak.
930 (breakParagraphConservative): rename par to par_offset, use a
932 (mergeParagraph): ditto
934 (isFirstInSequence): ditto
935 (outerFont): rename pit to par_offset
937 * paragraph.C: ws change
942 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
944 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
947 * paragraph.C (simpleTeXOnePar): when we have a \item with
948 optional argument, enclose the argument with curly brackets (in
949 case it contains a closing square bracket)
953 * text3.C (checkInsetHit): constify
955 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
957 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
960 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
962 Fix toggling of collapsable insets with the mouse (bug 1558)
964 * lyxfunc.C (dispatch): adapt to LCursor changes
966 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
967 make sure that dispatch is not invoked twice
969 * cursor.C (needsUpdate): new method
970 (dispatch): return void
971 (result): new method, to access the DispatchResult of the cursor.
973 2004-08-13 José Matos <jamatos@lyx.org>
975 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
977 2004-08-13 André Pönitz <poenitz@gmx.net>
979 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
981 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
984 2004-08-12 André Pönitz <poenitz@gmx.net>
986 * text3.C: take out the 'cursor right' form insertInset and only
987 do it in those places when it is really needed. Fixes crash on
990 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
992 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
994 * BufferView_pimpl.C (setBuffer): initialize the current font of
995 the underlying LyXText
997 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
999 * kbsequence.C (print): use UI native formatting for menu
1002 * text.C (insertChar): call Paragraph::insertChar with a font
1005 * paragraph.C (insertInset, insertChar): the version that takes a
1006 LyXFont argument is now a wrapper around the other one (the
1007 opposite used to be true).
1009 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1010 argument. Font setting is done in Paragraph now.
1012 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1014 * outputparams.h: add new members intitle and lang.
1016 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1017 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1019 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1021 * text3.C (dispatch): remove special handling of button 4 and 5,
1022 it is now taken care of in the frontend code.
1024 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1026 * Spacing.h: add <string> (STLPort compile fix)
1028 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1030 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1032 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1034 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1037 * converter.C (showMessage): inherit from unary_function, make
1040 * buffer.C (writeFile): initialize retval
1042 * InsetList.h: rename private variable list to list_
1043 * InsetList.[Ch]: adjust accordingly.
1045 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1047 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1048 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1049 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1050 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1051 * ParagraphParameters.C, LaTeXFeatures.C: replace
1052 "support/std_sstream.h" with <sstream>
1054 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1056 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1057 * lyxsocket.C (LyXServerSocket): ditto
1058 (serverCallback): ditto
1060 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1062 * LaTeXFeatures.C: check release date when loading jurabib.
1064 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1066 * lyxserver.C (startPipe): call register_socket_callback
1067 (endPipe): call unregister_socket_callback
1069 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1071 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1072 (LyXServerSocket): register the callback
1073 (LyXServerSocket): unregister the callback
1074 (fd): delete function
1075 (serverCallback): improve error checking and setup the callbacks.
1076 (dataCallback): change arg to fd.
1077 (writeln): new func (copied fro the client socket) used for server
1079 (LyXDataSocket): simplify
1080 (~LyXDataSocket): close ann unregiser callback
1081 (server): delete function
1082 (fd): delete function
1083 (readln): small changes, improve some std::string usage
1084 (writeln): constify a bit
1086 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1088 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1091 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1093 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1094 after it has been populated
1096 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1098 * text2.C (insertInset): move cursor when inserting inset.
1100 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1102 * kbmap.C (findbindings): a couple of new methods. returns a
1103 container of kb_sequence objects. The real work is done by the
1104 private recursive version
1105 (printbindings): uses findbindings to print out a bracketed list
1106 of bindings (renamed from findbinding).
1108 * MenuBackend.C (binding): use kb_keymap::findbindings
1110 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1112 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1114 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1116 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1118 * paragraph.C (isWord): return true on insets that report
1121 * text.C (getWord): use Paragraph::isWord to decide what is in a
1122 word and what is not; fix bug 1609.
1124 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1126 * tex-strings.C: add "none" to string_paperpackages[], fixes
1127 off-by-one-error in the paperpackage selection.
1130 * tex-strings.[Ch]: char const * string[n]
1131 -> char const * const string[]
1133 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1135 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1136 command, return early.
1138 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1140 * debug.h: add DEBUG to enum and fix size of ANY.
1142 * debug.C: add support for Debug::DEBUG
1143 (showTags): cast errorTags.level to unsigned int
1145 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1146 (redoCurrentBuffer): ditto
1147 (updateScrollbar): ditto
1148 * cursor.C (dispatch): ditto
1149 * text2.C (setLayout): ditto
1151 (updateCounters): ditto
1153 (deleteEmptyParagraphMechanism): ditto
1155 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1157 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1158 annotations to cleanup the Makefile slightly.
1160 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1162 * lyxrc.C: do not set user_email to a default value but use empty
1163 instead. The entry used to be translated, which does not work
1164 since at the point where lyxrc is constructed there is no
1165 translation service available
1167 * messages.C (getLocaleDir): remove and use directly
1168 lyx_localedir() instead
1170 2004-06-02 Angus Leeming <leeming@lyx.org>
1172 Fix crash caused by dereferencing null pointer 'exportdata' in
1173 OutputParams by creating a new ExportData variable on the heap,
1174 storing it in a boost::shared_ptr.
1175 The crash was triggered when generating an Instant Preview
1176 of an external inset.
1178 * Makefile.am: add outputparams.C
1180 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1181 (c-tor): allocate memory to it.
1183 * exporter.C (c-tor): associated changes.
1185 2004-06-01 Angus Leeming <leeming@lyx.org>
1187 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1188 contains data before calling isInset(0). (Bug 1513.)
1190 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1192 * exporter.C (checkOverwrite): new method
1193 * exporter.C (copyFile): new method
1194 * exporter.C (Export): copy referenced files to the document dir
1195 * exporter.[Ch]: new class ExportedFile
1196 * exporter.[Ch]: new class ExportData. Contains currently the
1197 names of referenced external files
1198 * outputparams.h: add exportdata member.
1200 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1202 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1205 2004-05-19 Angus Leeming <leeming@lyx.org>
1210 * lyxfunc.C: small changes due to the introduction of namespace
1211 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1213 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1215 * text3.C (dispatch): supress update when only moving the cursor
1216 * cursor.C (selHandle): remove commented code
1218 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1220 * paragraph.C (startTeXParParams): correct column count
1221 * CutAndPaste.C (pasteSelection): remove const_cast
1222 * output_docbook.C (docbookParagraphs): remove const_cast
1223 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1224 const_cast and return ParagraphList::const_iterator
1225 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1226 * output_plaintext.C (writeFileAscii): remove const_cast
1227 * paragraph.[Ch] (simpleTeXOnePar): make const
1228 * paragraph_funcs.C (outerPar): use const iterators
1229 * paragraph_pimpl.C (validate): use const iterators
1230 * text.C (setHeightOfRow): use const iterators
1232 2004-05-17 Angus Leeming <leeming@lyx.org>
1235 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1237 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1238 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1239 if the citation engine has changed.
1241 2004-05-14 José Matos <jamatos@lyx.org>
1243 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1244 if the textclass does not provide it. Have it different for sgml and
1246 support the language of document.
1247 * output_docbook.C (docbookParagraphs):
1248 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1249 first anchor as the id of the paragraph, remove special case code.
1250 * sgml.C (escapeChar): escape only < & >.
1252 2004-05-14 Angus Leeming <leeming@lyx.org>
1254 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1255 dependencies on src/frontends/controllers/biblio.h. Define a
1256 CiteEngine_enum wrapper class to enable the enum to be forward
1259 2004-05-12 Angus Leeming <leeming@lyx.org>
1261 * buffer.C: up LYX_FORMAT to 234.
1262 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1263 use_numerical_citations with a single biblio::CiteEngine cite_engine
1265 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1267 2004-05-13 José Matos <jamatos@lyx.org>
1270 * converter.C (Converter, readFlags): add xml member.
1271 * outputparams.h: add XML flavor.
1272 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1274 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1276 * lyxfunc.C (dispatch):
1277 (getStatus): fix handling of LFUN_SEQUENCE
1279 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1281 * debug.C (showLevel): do not forget the end-of-line marker
1283 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1285 * kbmap.C (read): do not stop parsing a bind file when an error
1288 2004-04-29 Angus Leeming <leeming@lyx.org>
1293 * text2.C: wrap a bunch of #warning statements
1294 inside #ifdef WITH_WARNINGS blocks.
1296 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1298 * buffer.C: increment format to 233.
1300 2004-04-28 Angus Leeming <leeming@lyx.org>
1302 * BufferView_pimpl.C:
1305 s/updateToolbar()/updateToolbars()/
1306 s/Toolbar.h/Toolbars.h/
1308 2004-04-28 Angus Leeming <leeming@lyx.org>
1310 * BufferView.[Ch] (c-tor):
1311 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1312 No longer passes these data to the WorkArea generator.
1314 2004-04-28 Angus Leeming <leeming@lyx.org>
1316 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1318 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1320 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1322 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1324 * output_latex.C (TeXEnvironment): make sure that there is a line
1325 break before \end{foo} for the last paragraph of a document
1326 (TeXOnePar): if the paragraph is at the end of the document (or
1327 inset) and the language has to be reset, then make sure that the
1328 line break is _before_ the language command, not after (fixes bug
1329 1225); also make sure that the language reset command is the first
1330 thing after the paragraph (to ensure proper nesting of
1331 environments and thus fix bug 1404)
1333 2004-04-21 John Levon <levon@movementarian.org>
1336 * ToolbarBackend.C: make "name" be a programmatic name
1337 and a gui_name field.
1339 * lyxfunc.C: display the minibuffer on M-x
1341 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1343 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1346 2004-04-19 Angus Leeming <leeming@lyx.org>
1348 * BufferView_pimpl.C (setBuffer): changed preview interface.
1350 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1353 2004-04-19 John Levon <levon@movementarian.org>
1355 * BufferView_pimpl.C:
1356 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1358 2004-04-05 Angus Leeming <leeming@lyx.org>
1360 * text.C (redoParagraphs): add call to updateCounters(), thereby
1361 fixing the missing "Figure #:" label from the caption of a
1364 2004-04-13 Angus Leeming <leeming@lyx.org>
1366 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1367 cursor is clicked out of an inset.
1369 2004-04-13 Angus Leeming <leeming@lyx.org>
1371 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1372 than an InsetOld one.
1374 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1376 * format.[Ch]: add editor to Format
1377 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1378 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1380 2004-04-08 André Pönitz <poenitz@gmx.net>
1382 * metricsinfo.h: remove PainterInfo::width member
1384 2004-04-08 Angus Leeming <leeming@lyx.org>
1386 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1387 "\providecommand" rather than "\newcommand", thereby preventing
1388 clashes with packages that define "\boldsymbol" themselves.
1391 2004-04-08 Angus Leeming <leeming@lyx.org>
1393 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1394 thereby squashing an unnecessary warning.
1396 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1398 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1401 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1403 * BufferView.C (setCursor): call redoParagraph (some insets could
1405 (putSelectionAt): remove the 'double update' trick
1407 * BufferView_pimpl.C (fitCursor): call refreshPar
1408 (workAreaDispatch): remove an uneeded update call
1409 (dispatch): remove some manual update calls
1411 * cursor.[Ch]: remove cached_y_, updatePos
1412 (selHandle): set noUpdate when appropriate
1414 * lyxfunc.C (dispatch): track if we need an update
1416 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1418 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1419 (paintSelection): cheap optimization, do not call cursorX when not
1421 (paintPars): change signature
1424 (paintTextInset): adjust
1428 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1430 * lengthcommon.C: compilation fix: remove explicit array size from
1431 unit_name[] and friends
1433 2004-04-05 Angus Leeming <leeming@lyx.org>
1435 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1437 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1438 present only for the preferences dialog.
1439 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1441 2004-04-05 Angus Leeming <leeming@lyx.org>
1443 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1444 to enable the frontends to export changes to lyxrc correctly.
1446 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1448 2004-04-07 André Pönitz <poenitz@gmx.net>
1450 * cursor.[Ch] (selClear, adjust): remove math
1452 * cursor_slice.C: more agressive assert
1455 * BufferView_pimpl.C: rework mouse event dispatch
1462 2004-04-05 André Pönitz <poenitz@gmx.net>
1464 * cursor.[Ch] (valign, halign...): remove unneeded functions
1466 2004-04-05 Angus Leeming <leeming@lyx.org>
1468 * lyxlength.[Ch] (unit_name et al.): const-correct.
1470 2004-04-05 Angus Leeming <leeming@lyx.org>
1472 * BufferView_pimpl.C:
1481 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1483 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1485 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1487 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1489 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1490 * BufferView_pimpl.[Ch] (getStatus)
1491 * BufferView.[Ch] (getStatus): add
1492 * lyxfunc.C (getStatus): move lfuns handled in
1493 BufferView::dispatch to te function above
1494 * Cursor.C (setSelection): set selection() = true
1496 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1498 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1500 2004-03-31 Angus Leeming <leeming@lyx.org>
1502 * lyxfunc.C (dispatch): Fall through to the generic
1503 Dialogs::show("preamble").
1505 2004-03-31 Angus Leeming <leeming@lyx.org>
1507 * lyxfunc.C (dispatch): Fall through to the generic
1508 Dialogs::show("spellchecker").
1510 2004-03-31 Angus Leeming <leeming@lyx.org>
1512 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1515 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1520 * insetiterator.[Ch]:
1525 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1527 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1529 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1530 insets where we are putting the cursor.
1532 2004-03-31 Angus Leeming <leeming@lyx.org>
1535 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1537 * lyxrc.[Ch] (read, write): overloaded member functions taking
1538 a std::[io]stream arguments.
1540 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1542 2004-03-31 Angus Leeming <leeming@lyx.org>
1544 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1545 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1547 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1548 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1550 2004-03-31 Angus Leeming <leeming@lyx.org>
1552 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1553 the LFUN_ALL_INSETS_TOGGLE code.
1555 2004-03-30 Angus Leeming <leeming@lyx.org>
1557 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1558 has died. Fall through to the generic Dialogs::show("document").
1560 2004-03-30 Angus Leeming <leeming@lyx.org>
1563 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1564 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1566 * lyxfunc.C (getStatus, dispatch): define the actions for these
1567 lfuns. Little more than a cut and pste job from ControlDocument.C
1569 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1571 2004-03-30 Angus Leeming <leeming@lyx.org>
1574 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1575 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1577 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1578 open/closed state of ollapsable insets. Usage:
1580 all-inset-toggle <state> <name>, where
1581 <state> == "open" || "closed" || "toggle" and
1582 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1584 * lyxtext.h, text2.C (toggleInset): removed.
1586 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1587 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1588 now passes LFUN_INSET_TOGGLE to the found inset.
1590 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1591 is now invoked as "all-insets-toggle toggle branch".
1593 2004-03-30 Angus Leeming <leeming@lyx.org>
1597 * pariterator.[Ch]: added/corrected header blurb.
1599 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1601 * dociterator.[Ch]: add an inset_ member
1602 (backwardPos): implemented
1603 (backwardPos, forwardPos): use inset_ when the stack is empty.
1604 (doc_iterator_begin, doc_iterator_end): implemented
1605 * pariterator.[Ch]: adjust, add begin, end
1606 * insetiterator.[Ch]: adjust, add begin, end
1610 * BufferView_pimpl.C:
1611 * CutAndPaste.C: adjust
1613 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1615 * buffer.C: increment file format to 232.
1616 * LaTeXFeatures.C: add bibtopic package.
1617 * bufferparams.[Ch]: param \use_bibtopic.
1619 * lyxrc.[Ch]: add lyxrc bibtex_command
1620 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1622 * buffer.C: increment file format to 231.
1624 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1626 * dociterator.C: implement forwardPar
1627 * iterators.[Ch]: remove, replaced by
1628 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1630 * BufferView_pimpl.C:
1633 * bufferview_funcs.C:
1639 * Makefile.am: adjust
1641 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1643 * CutAndPaste.C (pasteSelection): fix 2 crashes
1644 (eraseSelection): fix a crash
1645 * paragraph_funcs.C: remove a warning
1647 2004-03-28 Angus Leeming <leeming@lyx.org>
1650 * LyXAction.C (init): new LFUN_PRINT.
1652 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1654 2004-03-27 Angus Leeming <leeming@lyx.org>
1657 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1659 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1661 2004-03-27 Angus Leeming <leeming@lyx.org>
1663 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1664 insetlist always contains non-null pointers to insets.
1666 2004-03-26 Angus Leeming <leeming@lyx.org>
1668 * src/BufferView_pimpl.C:
1669 * src/CutAndPaste.C:
1672 * src/output_plaintext.C:
1673 * src/outputparams.h:
1674 * src/paragraph_funcs.C:
1678 * src/frontends/controllers/ControlErrorList.C:
1679 * src/frontends/gtk/FileDialogPrivate.C:
1680 * src/frontends/gtk/GPainter.C:
1681 * src/frontends/gtk/GToolbar.C:
1682 * src/frontends/qt2/QRef.C:
1683 * src/mathed/math_scriptinset.C: squash compiler warnings.
1685 2004-03-26 Angus Leeming <leeming@lyx.org>
1687 * ispell.C (LaunchIspell::start):
1688 * lyx_cb.C (AutoSaveBuffer::start):
1689 invoke run(DontWait) rather than runNonBlocking().
1691 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1693 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1695 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1697 * kbsequence.C (print): adjust
1699 * kbmap.C (printKeySym): rename and change signature
1700 (printKey): use LyXKeySym::print()
1702 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1704 * undo.C: add using std::advance to compile for stlport
1706 2004-03-24 Angus Leeming <leeming@lyx.org>
1708 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1709 it leads to a crash when no buffer is present.
1711 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1712 Martin Vermeer <martin.vermeer@hut.fi>
1714 * lyxfunc.C (dispatch):
1715 * bufferparams.C (readToken): use the new LColor::setColor
1717 * LColor.[Ch] (setColor): new version that takes two strings as
1718 argument and creates a new color entry if necessary
1720 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1722 * buffer.C (makeLaTeXFile): if the main latex file that is
1723 processed is usually a subdocument of some master, then pretend
1724 for a while that it is actually the master
1726 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1728 * buffer.C (getLabelList):
1729 (getBibkeyList): use getMasterBuffer()
1730 (getMasterBuffer): new method. Returns the main document in the
1731 case where one is using included documents.
1733 2004-03-25 André Pönitz <poenitz@gmx.net>
1737 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1739 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1741 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1742 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1744 * ParameterStruct.h: merge with ParagraphParameters
1746 * lyxtext.h: remove LyXText::parOffset() and getPar()
1748 * text3.C: Remove all 'manual' update calls. We do now one per user
1749 interaction which is completely sufficient.
1753 * BufferView_pimpl.C:
1754 * FontIterator.[Ch]:
1756 * ParagraphParameters.[Ch]:
1761 * cursor_slice.[Ch]:
1768 * output_docbook.[Ch]:
1769 * output_latex.[Ch]:
1770 * output_linuxdoc.[Ch]:
1771 * output_plaintext.[Ch]:
1773 * paragraph_funcs.[Ch]:
1774 * paragraph_pimpl.[Ch]:
1782 * frontends/controllers/ControlDocument.C:
1783 * frontends/controllers/ControlErrorList.C:
1784 * frontends/controllers/ControlSpellchecker.C:
1787 * insets/insetbase.h:
1788 * insets/insetbibitem.C:
1789 * insets/insetbox.C:
1790 * insets/insetbranch.C:
1791 * insets/insetcaption.C:
1792 * insets/insetcharstyle.C:
1793 * insets/insetcharstyle.h:
1794 * insets/insetcollapsable.C:
1795 * insets/insetcollapsable.h:
1796 * insets/insetert.C:
1797 * insets/insetfloat.C:
1798 * insets/insetfoot.C:
1799 * insets/insetmarginal.C:
1800 * insets/insetnote.C:
1801 * insets/insetoptarg.C:
1802 * insets/insettabular.C:
1803 * insets/insettext.C:
1804 * insets/insettext.h:
1805 * insets/insetwrap.C:
1806 * mathed/math_mboxinset.C:
1807 * mathed/math_nestinset.C:
1808 * mathed/math_scriptinset.C:
1809 * mathed/math_scriptinset.h:
1812 2004-03-24 Angus Leeming <leeming@lyx.org>
1814 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1815 deal with any child processes that have finished but are waiting to
1816 communicate this fact to the rest of LyX.
1818 2004-03-24 Angus Leeming <leeming@lyx.org>
1820 64-bit compile fixes.
1822 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1823 (c-tor): pass lyx::pos_types rather than ints.
1825 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1828 * text.C (Delete): compile fix.
1829 (getPar): ensure that function declaration is the same as that in
1832 2004-03-23 Angus Leeming <leeming@lyx.org>
1834 * ispell.C (LaunchIspell):
1835 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1836 a boost::shred_ptr rather than a std::auto_ptr.
1838 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1840 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1841 handle LFUN_FILE_INSERT_*
1843 * lyxrc.C (setDefaults, getDescription, output, read):
1844 * lyxrc.h: remove ps_command
1846 2004-03-22 Angus Leeming <leeming@lyx.org>
1848 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1849 Ensure that error_handler is processed once only and that all data
1850 is saved before attempting to output any warning messages.
1852 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1854 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1856 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1858 2004-03-19 André Pönitz <poenitz@gmx.net>
1860 * cursor.[Ch] (reset): take main text inset as argument
1862 * BufferView: adjust
1863 * BufferView_pimpl.C: adjust
1865 * paragraph.[Ch]: fix completely broken operator=()
1867 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1869 * LColor.C (getFromLyXName): make sure that the color name is used
1872 2004-03-17 Angus Leeming <leeming@lyx.org>
1875 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1877 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1878 dialog and to kill a forked process.
1880 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1882 * text2.C (setCursorFromCoordinates): fix font problem
1884 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1886 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1887 bogus "rebuild cursor" code
1889 2004-03-11 André Pönitz <poenitz@gmx.net>
1891 * buffer.[Ch]: use InsetText instead of LyXText as container for
1894 * dociterator.[Ch]: drop the BufferView * member which is not needed
1895 anymore after the change to buffer.C
1897 * paragraph_funcs.C:
1901 * BufferView_pimpl.[Ch]:
1903 * cursor_slice.[Ch]: adjust
1905 * text3.C: fix bug in mathDispatch
1907 2004-03-08 André Pönitz <poenitz@gmx.net>
1909 * undo.[Ch]: use 'StableDocumentIterator' as base for
1912 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1915 * bufferparams.[Ch]: add jurabib support and param.
1917 * LaTeX.C: add FIXME/comment.
1919 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1921 * buffer.C: increment file format to 230.
1923 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1925 * cursor.C (dispatch): avoid infinite loops
1927 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1929 * rowpainter.C (paintSelection): fix x coordinates
1931 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1933 * text.C (rowBreakPoint): fix breaking before displayed insets
1935 2004-03-01 André Pönitz <poenitz@gmx.net>
1937 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1939 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1943 * BufferView_pimpl.C:
1951 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1957 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1958 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1960 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1962 * Bidi.[Ch] (computeTables): const correctness
1963 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1964 fill_hfill, fill_label_hfill and x from Row
1965 * lyxtext.h: prepareToPrint returns a RowMetrics
1966 * rowPainter.C: adjust
1967 * text.C (prepareToPrint): use width, not textWidth. adjust
1968 (redoParagraphInternal, cursorX): adjust
1969 * text2.C (getColumnNearX): adjust
1970 (init): put a default value to the top LyXText::width
1972 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1974 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1976 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1978 * lyxtext.h: add FontIterator class
1980 * text.C (FontIterator, operator*, operator->, operator++): add
1981 (rowBreakPoint, setRowWidth): adjust (fixing a
1984 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1986 * BufferView_pimpl.C (workAreaDispatch): allow also
1987 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1989 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1991 * text.C (rowBreakPoint): fix a bug showing with very large insets
1993 2004-02-25 André Pönitz <poenitz@gmx.net>
1996 * cursor.[Ch]: move some mathed specific code to mathed
1998 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2000 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2001 use_tempdir in preferences
2002 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2004 * lyx_main.C: ensure that tempdir is valid
2005 * lyxlex.h: correct typo
2006 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2007 * paragraph.[Ch] (isMultiLingual): make const
2008 * cursor.[Ch] (openable): make const
2010 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2012 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2014 2004-02-20 André Pönitz <poenitz@gmx.net>
2016 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2018 * cursor.[Ch]: prepare for localized getStatus()
2024 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2026 2004-02-20 André Pönitz <poenitz@gmx.net>
2028 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2030 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2032 * text2.C (setCursorFromCoordinates): switch to absolute coords
2034 (cursorDown): adjust
2035 * text3.C (dispatch): adjust
2037 2004-02-16 André Pönitz <poenitz@gmx.net>
2039 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2042 * cursor_slice.[Ch]: remove unneeded acessor function
2044 * lyxtext.h: rename rtl() to isRTL()
2052 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2054 * rowpainter.C (paintSelection): coord fix
2056 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2058 * Spacing.C: compile fix
2060 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2062 * cursor.C (dispatch): restore current_ before returning
2064 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2066 * text2.C (cursorUp, cursorDown): fix coords
2069 2004-02-12 André Pönitz <poenitz@gmx.net>
2074 * text3.C: add LCursor & parameter to most cursor movement functions
2075 remove usage of LyXText::cursorRow() and cursorPar()
2077 * cursor.[Ch]: add textRow() needed members
2080 * BufferView_pimpl.C:
2083 * BufferView_pimpl.C: adjust
2085 2004-02-11 André Pönitz <poenitz@gmx.net>
2089 * BufferView_pimpl.C: shift undo/redo handling
2091 * cursor.[Ch]: fix mathed crash
2094 * lyxtext.h: move selectionAsText to LCursor
2102 * rowpainter.C: fix excessive drawing
2104 2004-02-06 André Pönitz <poenitz@gmx.net>
2107 * BufferView_pimpl.[Ch]:
2108 * text3.C: move some text specific LFUN handling
2110 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2112 * text3.C (checkInsetHit): adjust coords
2113 * text2.C (getColumnNearX): adjust coords
2114 (edit): adjust coords
2115 * text.C (getRowNearY): add two asserts
2117 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2120 * format.C: add using std::distance to compile on gcc 2.95/stlport
2122 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2124 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2126 2004-02-04 André Pönitz <poenitz@gmx.net>
2128 * BufferView.[Ch] (insertInset):
2129 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2134 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2136 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2137 on the default clause of the switch
2138 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2139 wasn't catched by LCursor::dispatch
2141 2004-02-03 André Pönitz <poenitz@gmx.net>
2144 * cursor.[Ch]: some additional asserts
2146 * undo.[Ch]: remove LyXText dependency in interface
2150 * lyxtext.h (firstPar, lastPar): remove dead functions
2155 * paragraph.[Ch]: adjust
2157 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2159 * lyxfind.C (find): fix argument order in call to ::find
2161 2004-02-02 André Pönitz <poenitz@gmx.net>
2163 * cursor.[Ch]: remove direct access to anchor
2165 * text.C: remove findText() hack
2167 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2169 * iterators.[Ch] (lockPath): remove in favour of...
2170 * BufferView.[Ch] (setCursor): this addition
2171 * BufferView.C (putSelectionAt): adjust
2172 * undo.C (performUndoOrRedo): adjust
2173 * lyxfunc.C (dispatch): adjust
2175 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2177 * iterators.C (lockPath): add a missing slice
2178 * undo.C (performUndoOrRedo): remove redundant positioning code
2180 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2182 * vc-backend.C (scanMaster): ";" -> ';'
2184 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2186 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2187 std::binary_function
2189 * lyxtextclass.C (compare_name): rename to...
2190 (LayoutNamesEqual): ...this
2192 * lyxlex_pimpl.C (compare_tags): inherit from
2193 std::binary_function, put back into anon namespace
2195 * lyxfind.C (MatchString): inherig from std::binary_function
2196 (findChange): use empty() istead of !size()
2198 * format.C (FormatNamesEqual): new functor
2205 * converter.C (compare_Converter): rename to...
2206 (ConverterEqual): ...this, and fixup a bit.
2207 (getConverter): use it, and make function const
2208 (getNumber): use it, and make function const
2212 * bufferlist.C: add using boost::bind
2214 * MenuBackend.C (MenuNamesEqual): new functor
2215 (hasMenu): use it, and make function const
2216 (hasSubmenu): use nested bind to get rid of compare_memfun.
2218 2004-01-30 André Pönitz <poenitz@gmx.net>
2220 * BufferView_pimpl.C:
2223 * cursor_slice.[Ch]:
2226 * paragraph_funcs.C:
2227 * paragraph_funcs.h:
2231 * text3.C: move some of the edit(x,y) handling to the insets
2232 some coordinate changes.
2234 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2236 * text.C: add using statements for std::advance and std::distance
2238 * paragraph.C: add using statement for std::distance
2240 * lyxfind.C: add using statement for std::advance
2242 * cursor.C (region): remove std:: from swap
2243 (openable): use nucleus in stead of operator->
2245 * BufferView.C: add using statements for std::distance and std::swap
2247 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2249 * iterators.C: Remove the pimple, move the needed structures to
2250 the header file. Create accessor for the positions stack.
2251 (asPosIterator): remove function
2253 * PosIterator.C (PosIterator): move constructors to top of file
2254 (PosIterator): reimplement the constructor taking a ParIterator in
2256 (setFrom): new function
2257 (operator!=): inline it
2259 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2261 * lyxfind.C (replaceAll): use std::advance
2263 * iterators.h: inherit from std::iterator.
2265 * PosIterator.C (advance, distance): remove
2266 * PosIterator.h: interit from std::iterator.
2268 2004-01-26 André Pönitz <poenitz@gmx.net>
2271 * BufferView_pimpl.[Ch]:
2275 * bufferview_funcs.C:
2285 * output_linuxdoc.C:
2286 * output_plaintext.C:
2288 * paragraph_funcs.[Ch]:
2289 * paragraph_pimpl.[Ch]:
2295 * text3.C: more IU: dumps most of the rest of the mathcursor
2296 implementation into cursor.[Ch]; "globalize" a bit of it.
2298 2004-01-25 Angus Leeming <leeming@lyx.org>
2300 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2302 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2304 * LaTeXFeatures.h: add nice_ and nice() const
2305 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2307 2004-01-20 André Pönitz <poenitz@gmx.net>
2310 * BufferView_pimpl.C:
2312 * bufferview_funcs.C:
2314 * cursor_slice.[Ch]:
2325 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2326 LCursor and mathcursor parts to LCursor and InsetBase.
2328 2004-01-15 André Pönitz <poenitz@gmx.net>
2330 * cursor_slice.[Ch]: add a few covienience functions
2332 * funcrequest.[Ch]: remove BufferView * member
2334 * BufferView_pimpl.C:
2341 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2343 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2345 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2346 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2348 2004-01-13 André Pönitz <poenitz@gmx.net>
2351 * lyxtext.h: hide cursor and selection anchor behind accessor function
2354 * BufferView_pimpl.[Ch]:
2356 * bufferview_funcs.C:
2366 * cursor_slice.[Ch]: some integer type changes for inset unification
2368 * lyxcursor.[hC]: remove, it's CursorSlice now.
2371 * BufferView_pimpl.[Ch]:
2372 * bufferview_funcs.C:
2378 * textcursor.[Ch]: adjust
2380 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2382 * text2.C (undoSpan): add and use
2383 * text.C (breakParagraph): use undoSpan (fix bug 578)
2386 2004-01-08 Angus Leeming <leeming@lyx.org>
2388 * BufferView_pimpl.C (MenuInsertLyXFile):
2389 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2390 * lyxfunc.C (menuNew, open, doImport):
2391 FileFilterList change to the FileDialog open and save functions.
2393 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2395 * ShareContainer.h: make isEqual and isUnique adaptable
2397 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2399 2004-01-07 Angus Leeming <leeming@lyx.org>
2402 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2404 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2406 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2407 functions replacing find, replace and replaceAll.
2409 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2410 LFUN_WORDFIND(FORWARD|BACKWARD).
2412 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2414 * text.C (breakParagraph): remove an outdated #warning
2416 2004-01-07 André Pönitz <poenitz@gmx.net>
2418 * lyxfind.C: somewhat clearer logic
2420 * text.C: prevent crash in cursorX on unitialized row cache
2422 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2424 * lyxcursor.[Ch] (operator>): add
2425 * textcursor.C (selStart, selEnd): use std::min and std::max
2427 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2429 * Chktex.C: include boost/format.hpp
2431 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2433 * InsetList.C: replace functor MathcIt with adaptable functor
2435 (insetIterator): modify accordingly
2437 * BranchList.h: move the BranchNamesEqual functor here from...
2438 * BranchList.C: ... to here
2440 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2442 (add): replace a finding loop with std::find_if.
2444 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2446 * output_docbook.C: moving LatexParam functionality into
2449 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2451 * buffer.C: increment format to 229.
2453 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2456 * lyx_sty.[Ch]: remove minipageindent_def
2462 * text3.C: remove LFUN_INSET_MINIPAGE
2464 2003-12-28 Angus Leeming <leeming@lyx.org>
2466 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2468 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2470 * text2.C (setParagraph): fix off-by-one crash
2472 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2474 * output_docbook.C: header stuff for AGU
2476 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2478 * text2.C (redoCursor): remove
2481 * BufferView_pimpl.C: remove calls to redoCursor and
2482 setCursor(cursor.par(), cursor.pos()) all around
2484 2003-12-15 Angus Leeming <leeming@lyx.org>
2486 * buffer.C: up the format to 228.
2488 2003-12-15 André Pönitz <poenitz@gmx.net>
2490 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2495 * BufferView_pimpl.C:
2504 2003-12-15 Angus Leeming <leeming@lyx.org>
2506 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2507 than getFromGUIName to manipulate the color.
2509 2003-12-14 Angus Leeming <leeming@lyx.org>
2511 * BranchList.[Ch]: minimize the API.
2512 (Branch::getBranch, getColor): now return a 'const &'.
2513 (Branch::setSelected) now returns a bool set to true if the
2514 selection status changes.
2515 (BranchList::clear, size, getColor, setColor, setSelected,
2516 allBranches, allSelected, separator): removed.
2517 (BranchList::find): new functions, returning the Branch with
2519 (BranchList::add, remove): return a bool indicating that
2520 the operation was successful.
2522 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2523 new InsetBranch::isBranchSlected member function.
2525 * LColor.[Ch]: mimimize the API.
2526 (fill): renamed as addColor and made private.
2527 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2528 versions of these functions taking a string arg have been removed.
2530 * bufferparams.C (readToken):
2531 * lyxfunc.C (dispatch):
2532 * lyxrc.C (read): changes due to the altered BranchList and
2535 * factory.C (createInset, readInset): changes due to altered
2538 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2541 * lyxfunc.C: remove insetminipage. "minipage-insert"
2542 now produces a frameless minipage box inset.
2544 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2546 * textcursor.[Ch] (selStart,selEnd): add new methods
2547 remove selection::start, end, use LyXCursor::operator<
2548 * lyxcursor.[Ch] (operator<): add
2549 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2550 * BufferView.[Ch] (unsetXSel): add
2551 * text2.C (clearSelection): use unsetXSel,adjust
2554 * rowpainter.C: adjust
2555 * bufferview_funcs.C (put_selection_at): adjust
2557 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2559 * BufferView_pimpl.C: small coord. correction
2561 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2563 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2564 dragging over the splash screen.
2566 2003-12-11 Angus Leeming <leeming@lyx.org>
2568 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2569 as it is now handled in LyXText::dispatch.
2571 * text3.C (doInsertInset): remove a level of nesting.
2573 2003-12-11 Angus Leeming <leeming@lyx.org>
2575 * factory.C (createInset): changes due to the changed interface to
2576 InsetCommandMailer::string2params.
2578 2003-12-10 Angus Leeming <leeming@lyx.org>
2580 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2581 'dialog-show-new-inset <inset name>'
2583 2003-12-10 Angus Leeming <leeming@lyx.org>
2585 * buffer.C: up the format to 227.
2587 * factory.C: the box inset is now identified simply by 'Box'.
2589 2003-12-10 Angus Leeming <leeming@lyx.org>
2591 * buffer.C: up the format to 226.
2593 * factory.C: the note inset is now identified simply by 'Note'.
2595 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2597 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2598 when a pit is enough. Standarize a couple of loops.
2600 2003-12-05 Angus Leeming <leeming@lyx.org>
2602 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2603 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2604 data to the re-worked "log" dialog.
2606 2003-12-03 André Pönitz <poenitz@gmx.net>
2612 * paragraph_funcs.C:
2614 * text2.C: use Inset::getText instead of Inset::getParagraph
2616 2003-12-03 André Pönitz <poenitz@gmx.net>
2620 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2621 InsetText::read() as LyXText::read()
2623 2003-12-02 Angus Leeming <leeming@lyx.org>
2625 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2626 type. Add a comment in the implementation that the function uses
2627 the stream's bad() function rather than fail() as the std::streams
2630 2003-12-02 André Pönitz <poenitz@gmx.net>
2632 * lyxlex.[Ch]: make interface more similar to std::stream
2634 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2636 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2638 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2640 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2642 * vspace.[Ch]: remove VSpace::NONE
2644 2003-12-01 André Pönitz <poenitz@gmx.net>
2647 * lyxtext.h: move ParagraphList member to LyXText
2648 rename LyXText::ownerParagraphs to LyXText::paragraph
2651 * bufferview_funcs.C:
2661 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2663 * undo.C: fix cursor positioning
2665 2003-12-01 John Levon <levon@movementarian.org>
2667 * BufferView_pimpl.C: fix a crash on exit with
2670 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2672 * BranchList.C: fix setSelected() method.
2674 2003-11-28 André Pönitz <poenitz@gmx.net>
2676 * ParagraphParameters.[Ch]:
2677 * ParameterStruct.h: remove space above/below from Paragraph to
2680 * BufferView_pimpl.C:
2686 * paragraph_funcs.C:
2692 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2694 * factory.C: Syntax change for CharStyles
2696 2003-11-28 André Pönitz <poenitz@gmx.net>
2701 * buffer.[Ch]: move LyXText member
2703 2003-11-28 André Pönitz <poenitz@gmx.net>
2705 * BufferView.[Ch]: make LyXText * text a private member
2707 * BufferView_pimpl.C:
2718 * output_plaintext.C: cleanup
2720 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2723 * lyxtextclass.[Ch]: parametrize SGML document header
2725 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2728 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2731 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2733 * text2.C (setFont): rework using PosIterator (no more recursive)
2734 (setCharFont): no more needed
2735 (setLayout): no more selection cursors fiddling (done by redoCursor)
2736 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2737 destroy remaining ones)
2739 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2741 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2743 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2746 * text3.C: adjust + re-allow multi par depth changes
2747 * textcursor.C: simplify a bit
2749 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2755 * src/output_docbook.C:
2756 * src/output_latex.C:
2761 * src/text2.C: Introducing a number of tags parametrizing various
2762 XML formats that we may want to support
2764 2003-11-25 André Pönitz <poenitz@gmx.net>
2766 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2768 * lyxtext.h (leftMargin/rightMargin): simplify interface
2775 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2777 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2778 master file to any child files. Fixes bug 546.
2780 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2782 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2784 2003-11-24 André Pönitz <poenitz@gmx.net>
2786 * rowpainter.C: simplification
2788 * text2.C (updateCounters): remove call to redoParagraph on
2789 changed labels as this is far too expensive.
2791 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2793 * converter.C (convert): fix a crash: this function gets
2794 called with buffer == 0 from importer code.
2796 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2798 * text3.C (cursorPrevious): make sure that we do not compare
2799 iterators form different containers.
2802 * rowpainter.C (paintSelection): make sure that we do not compare
2803 iterators from different containers.
2805 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2806 iterators from different ParagraphList containers.
2809 * text2.C (LyXText): change order of initialization slightly
2810 (operator=): new function. copy all variables except cache_par_
2811 (moveUp): make sure that we do not compare iterators from
2812 different ParagraphList constainers.
2815 * text.C (firstPar): new function
2816 (lastPar): new function
2817 (endPar): new function
2819 * lyxtext.h: move things around and group public functions, public
2820 variables, private functions, private variables
2822 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2824 * factory.C: change call to InsetERT constructor to avoid
2825 additional invocation of method status
2826 * text2.C (toggleInset): remove redundant update() call
2827 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2828 instead of a Bufferview pointer
2830 2003-11-21 André Pönitz <poenitz@gmx.net>
2832 * rowpainter.C: simplification
2834 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2836 * text3.C (dispatch): make possible to extend a word/row selection
2839 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2841 * lyxtext.h: x0_,y0_ -> xo_,yo_
2842 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2843 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2844 * rowpainter.C (paintRows): paint full paragraphs
2846 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2848 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2851 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2853 * lyxtext.h: add x0_, y0_
2854 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2855 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2857 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2859 * text2.C (setCursorIntern): move the x_target update here *
2860 * text3.C: change some bv() to true/false in calls to
2861 cursorUp/Down/Right/Left
2862 * cursor.C: use helper function.
2864 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2866 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2867 * paragraph_funcs.[Ch]: correct comment
2868 * rowpainter.C: do not paint selections away from bv->cursor()
2869 Fix a long standing selection painting bug.
2870 * text3.C: generalize mouse-selection code to LyXTexts other that
2872 * textcursor.C: do not use y coords if we can use par offsets
2874 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2876 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2877 cursor position after e.g. inset insert)
2879 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2881 * lyxfind.C (replace): adjust to locking removal + some
2884 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2886 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2889 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2892 * output_docbook.C: XML sanitation: new layout
2893 parameters InnerTag and CommandDepth
2895 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2897 * BufferView_pimpl.C:
2899 * text3.C: Fix the insertion and modification of button-style
2902 2003-11-13 André Pönitz <poenitz@gmx.net>
2904 * InsetList.[Ch]: remove deleteLyXText
2906 * paragraph.[Ch]: cache beginOfBody position
2911 * text3.C: remove superfluous update() calls
2915 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2917 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2918 * BufferView.C (fitLockedInsetCursor): remove
2919 * cursor.[Ch] (getDim): add
2920 * text.C (getRowNearY): add faster version
2921 * text3.C: remove some update calls
2923 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2935 * text3.C: The Character Style /XML short element patch.
2937 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2940 * factory.C: Small step to solving 'unable to insert some insets'
2943 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2945 * cursor.[Ch] (updatePos): new function for updating the y
2946 position of the tip inset
2947 * bufferview_funcs.C (put_selection_at):
2948 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2950 2003-11-11 André Pönitz <poenitz@gmx.net>
2952 * text.C: remove big comment on invalid Paragraph pointers as it is
2955 2003-11-11 André Pönitz <poenitz@gmx.net>
2957 * text_funcs.[Ch]: merge with ...
2965 * Makefile.am: remove text_funcs.[Ch]
2967 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2969 * cursor.C (getPos): return absolute cached y coord
2971 * BufferView_pimpl.C (fitCursor): new simplistic code
2972 (workAreaDispatch): add a fitCursor call
2974 2003-11-10 André Pönitz <poenitz@gmx.net>
2977 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2979 2003-11-10 André Pönitz <poenitz@gmx.net>
2981 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2982 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2983 indicate that the cursor needs to leave an inset
2985 * lyxtext.h: remove inset locking
2987 * cursor.[Ch]: re-implement functionality provided by inset locking
2990 * BufferView_pimpl.[Ch]:
2992 * bufferview_funcs.[Ch]:
3004 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3006 * PosIterator.[Ch]: replace the stack with a vector, add inset
3008 * iterators.[C]: adjust
3010 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3012 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3014 * paragraph_funcs.C (readParToken): put the correct id in the
3015 error item, not the id of the top paragraph
3017 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3019 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3020 * bufferview_funcs.C (put_selection_at): use the above
3022 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3024 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3026 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3028 * output_linuxdoc.h:
3029 * output_plaintext.h:
3031 * output_docbook.h: add #include statements
3033 2003-11-05 José Matos <jamatos@lyx.org>
3035 * output_docbook.[Ch]:
3036 * output_latex.[Ch]:
3037 * output_linuxdoc.[Ch]:
3038 * output_plaintext.[Ch]: New files for output formats.
3039 * output.[Ch]: New file for helper functions.
3042 * paragraph_funcs.[Ch]: output functions moved to new files.
3044 * outputparams.h: rename of latexrunparams.h
3052 * paragraph_funcs.[Ch]:
3053 * paragraph_pimpl.[Ch]:
3054 * tabular.[Ch]: rename ascii to plaintext
3055 and LatexRunParams to OutputParams.
3057 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3059 * iterators.[Ch] (text): require bv argument
3060 * undo.C (recordUndo):
3061 * lyxfunc.C (dispatch):
3062 * bufferview_funcs.C (put_selection_at): adjust
3064 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3066 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3068 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3070 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3073 2003-11-04 André Pönitz <poenitz@gmx.net>
3075 * cursor.[Ch]: restructure
3078 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3080 * iterators.[Ch] (asCursor): remove
3082 * lfuns.h: remove LFUN_INSET_EDIT
3088 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3090 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3092 * lyxfind.[Ch]: complete overhaul
3093 * BufferView_pimpl.C:
3095 * paragraph.[Ch] (insert): add
3097 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3101 * text.C: remove dead spellcheck code
3103 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3105 * dispatchresult.h: add a val setter
3107 * cursor.C (dispatch): use a tempvar for data_[i]
3109 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3111 * PosIterator.[Ch]: compile fix
3113 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3115 * text.C (cursorPar): deactivate the cursor cache
3117 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3119 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3121 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3123 * text3.C (dispatch): adjust for new DisptchResult semantics.
3125 * lyxfunc.C (dispatch): handle update when return from
3126 Cursor::dispatch, adjust for new DispatchResult semantics.
3128 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3129 DispatchResult(true) mean to not update. Add class functions for
3130 setting dispatched and update, as well as reading.
3132 * cursor.C (dispatch): don't handle update here
3134 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3136 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3137 * trans_mgr.C: adjust
3139 * paragraph_funcs.C (readParToken): exception safety
3141 * lyxvc.h: store the vcs pointer in a scoped_ptr
3144 * lyxsocket.C (serverCallback): exception safety
3146 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3148 * ispell.C (clone): make it return a auto_ptr
3150 * factory.C (createInset): exception safety
3151 (readInset): exception safety
3153 * bufferlist.C (newBuffer): exception safety
3155 * Thesaurus.C (Thesaurus): use initialization for aik_
3157 * MenuBackend.C (expandToc): exception safety.
3159 2003-11-03 André Pönitz <poenitz@gmx.net>
3163 * bufferview_funcs.C: remove getInsetFromId()
3166 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3172 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3174 * PosIterator.C (distance, advance): new
3175 * bufferview_funcs.[Ch] (put_selection_at): new
3176 * iterators.[Ch] (lockPath): new
3178 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3180 * iterators.[Ch] (asPosIterator): added
3181 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3182 * PosIterator.[Ch]: added
3184 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3188 * cursor.C (dispatch):
3189 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3191 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3192 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3193 contructor, add a class function dispatched. Remove operator>=
3195 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3197 * debug.C: only use the default constructor for debugstream
3200 * main.C (main): include debug.h and setup the lyxerr streambuf
3203 2003-10-31 José Matos <jamatos@lyx.org>
3205 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3207 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3208 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3209 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3210 * paragraph_pimpl.C (simpleTeXSpecialC):
3211 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3212 add LatexRunParams argument.
3214 * exporter.C (Export): change call accordingly.
3216 * latexrunparams.h: add new member to take care of the other backends.
3217 2003-10-30 José Matos <jamatos@lyx.org>
3219 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3220 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3221 factorise code for paragraph output.
3223 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3226 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3228 * text3.C (dispatch):
3229 * lyxfunc.C (dispatch):
3230 * cursor.C (dispatch):
3231 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3233 * dispatchresult.h: make the dispatch_result_t ctor explicit
3235 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3238 * buffer.C: small refactoring of docbook stuff
3240 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3242 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3245 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3247 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3248 operator dispatch_result_t, and operators for == != and >=
3250 * cursor.C (dispatch): adjust for operator dispatch_result_t
3251 removal. comment out call to update
3253 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3255 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3263 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3266 * dispatchresult.h: new file, DispatchResult broken out of
3269 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3271 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3273 * text.C (rowBreakPoint): put a hack inside #if 0
3275 2003-10-28 André Pönitz <poenitz@gmx.net>
3279 * paragraph_funcs.C:
3282 * text2.C: general cleanup (lots of small stuff)
3284 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3286 * text2.C (cursorEnd): simple fix to the "end key goes to one
3287 before the end on last row" bug
3289 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3291 * text.C (backspace): fix the "zombie characters"
3293 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3295 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3297 2003-10-27 André Pönitz <poenitz@gmx.net>
3299 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3301 * factory.C: handle new InsetPagebreak, InsetLine
3303 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3304 and move handling into new InsetPagebreak, InsetLine
3306 * BufferView_pimpl.C:
3308 * ParagraphParameters.C:
3309 * ParameterStruct.h:
3314 * paragraph_funcs.C:
3315 * paragraph_pimpl.C:
3321 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3324 * lyxrow_funcs.[Ch]:
3330 * text3.C: remove lastPos uses in favour of Row::endpos
3332 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3334 * undo.C (performUndoOrRedo): fix two crashes by setting a
3335 cursor by hand and reordering some calls. Use bv->lockInset instead
3336 of inset->edit because the latter loses cursor information
3338 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3340 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3342 (rowBreakPoint): fix width. change point to point + 1.
3343 Add a missing check.
3345 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3348 * lyxfunc.C: fix (at least partly) the problems
3349 with the Nav menu and headers inside branch insets
3352 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3354 * paragraph.C (getChar): add strong asserts
3356 * lyxrow_funcs.C (lastPos): remove hideous hack
3358 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3359 (fill): adjust to that (avoid an infinite loop)
3361 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3363 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3365 2003-10-23 André Pönitz <poenitz@gmx.net>
3367 * RowList_fwd.h: change list<> to vector<> to gain speed
3368 after suggestion from Alfredo
3370 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3372 * lyxtext.h: move the bidi stuff from here...
3375 * Bidi.[Ch]: ... to here
3377 2003-10-23 André Pönitz <poenitz@gmx.net>
3380 * text.C (isLastRow, isFirstRow): new functions
3382 * paragraph.h: new width cache member
3384 * rowpainter.C: replace RowList::iterator with Row & where possible
3386 * lyxfunc.C: replace several view()->text with a single call
3388 * toc.C: fix 'unused' warning
3390 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3392 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3393 when woring with stream::pos_type
3394 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3396 2003-10-22 André Pönitz <poenitz@gmx.net>
3399 * text.C: use Row & instead of RowList::iterator
3401 * lyxrow.h: rename end() to endpos()
3407 2003-10-22 Angus Leeming <leeming@lyx.org>
3409 * buffer.[Ch] (fully_loaded): new member function, returning true
3410 only when the file has been loaded fully.
3411 Used to prevent the premature generation of previews and by the
3412 citation inset to prevent computation of the natbib-style label.
3414 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3415 templates are all set up.
3417 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3419 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3421 * text.C: fixed an "oops" in the "is a bit silly"
3424 2003-10-21 André Pönitz <poenitz@gmx.net>
3426 * FuncStatus.[Ch]: small stuff, whitespace
3428 * lyxfont.[Ch]: operator<<() for debug reasons
3432 * lyxtext.h: whitespace, spelling
3434 * paragraph.C: naming of variables
3437 * text2.C: small stuff
3440 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3442 * text.C: (1) finish off the inset display() work;
3443 (2) fix the "is a bit silly" bug (accessing char
3446 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3448 * text.C: re-introduce display() for insets, fixing the
3449 various bugs (stretch of line above, math inset
3452 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3454 * text.C (rightMargin): remove spurious semicolon
3456 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3459 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3461 * text3.C: fix one crash due to wrong cursor def
3463 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3465 * vc-backend.C (scanMaster): make the regex static
3467 * LaTeX.C (scanAuxFile): make the regexs static
3469 * text3.C (doInsertInset, dispatch, dispatch):
3470 * text2.C (cursorUp, cursorDown):
3471 * text.C (selectNextWordToSpellcheck):
3472 * BufferView_pimpl.C (dispatch):
3473 * lyxfunc.C (dispatch): localDispatch -> dispatch
3475 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3477 * lyxsocket.C: include <cerrno>
3479 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3481 * lyxfunc.C (dispatch): remove textcache stuff
3483 * bufferlist.C (release): remove textcache stuff
3486 * TextCache.C: delete file
3487 * TextCache.h: delete file
3489 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3491 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3492 delete of the bv_->text.
3493 (resizeCurrentBuffer): remove texcache stuff
3494 (workAreaResize): ditto
3496 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3498 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3501 2003-10-16 André Pönitz <poenitz@gmx.net>
3508 * text3.C: speed up by storing y positions per paragraph plus per-row
3509 offset instead of having a 'full' y position in the row.
3511 2003-10-15 André Pönitz <poenitz@gmx.net>
3515 * undo.[Ch]: make undo aware of inner insets
3517 2003-10-14 Angus Leeming <leeming@lyx.org>
3519 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3520 static member functions LyX::ref() and LyX::cref.
3521 (lastfiles): new accessor functions for the new lastfiles_ member var.
3522 (addLyXView, views_): add a new LyXView to the list of views_.
3523 (updateInset): loop over all LyXViews to call their own updateInset
3524 member function, returning a pointer to the Buffer owning the inset.
3526 * BufferView_pimpl.C (loadLyXFile):
3527 * MenuBackend.C (expandLastfiles):
3528 * bufferlist.C (MenuWrite, QuitLyX):
3529 lastfiles is no longer a global variable.
3530 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3532 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3533 static function. Access through LyX::cref().emergencyCleanup().
3535 2003-10-14 André Pönitz <poenitz@gmx.net>
3537 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3539 * undo.[Ch]: restoring part of 'undo in insets'
3542 * undo_funcs.[Ch]: merge with undo.[Ch]
3544 * tabular.C: small cleansing stuff
3546 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3548 * paragraph_funcs.C (readParToken): report unknown insets as error
3549 boxes. Use the outer paragraph as location (also for unknown
3552 * factory.C (readInset): do not abort on reading an unknown inset.
3553 Eat it and return 0.
3555 2003-10-13 Angus Leeming <leeming@lyx.org>
3557 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3559 * lyxrc.C: displayTranslator is now a function,
3560 declared in GraphicsTypes.h.
3562 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3564 * format.C: new placeholder $$a to pass the socket address.
3566 * bufferlist.[Ch]: new function getBufferFromTmp.
3568 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3569 files in the temporary dir.
3571 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3573 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3575 * Makefile.am: add lyxsocket.[Ch].
3577 * lyx_main.C (error_handler): handle SIGPIPE.
3579 2003-10-13 André Pönitz <poenitz@gmx.net>
3581 * BufferView_pimpl.C:
3586 * undo_funcs.[Ch]: use paroffset_type instead of
3587 ParagraphList::iterators to prevent multiple conversion
3588 (and get a more robust interface)
3590 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3592 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3594 * text3.C (dispatch): ditto
3596 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3598 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3599 move the onlyfile, use onlyfile instead of foundfile in a couple
3602 * DepTable.C (update): flush the error stream a bit more
3604 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3606 * lyxserver.C (callback): adjust
3608 * lyxfunc.C (getStatus): add a missing brace in commented code
3609 (ensureBufferClean): reindent
3610 (dispatch): delete version taking a string
3612 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3614 * LaTeX.C (deplog): move found file handlig from here...
3615 (handleFoundFile): .. to new function here.
3616 (deplog): make sure to discover several files mentioned on the
3619 2003-10-10 André Pönitz <poenitz@gmx.net>
3626 * text3.C: fix some of the tabular crashes
3628 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3630 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3632 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3634 2003-10-09 André Pönitz <poenitz@gmx.net>
3636 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3639 * BufferView_pimpl.C:
3640 * bufferview_funcs.C:
3651 * undo_funcs.C: adjust
3653 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3655 * text2.C (incrementItemDepth): new function, use a backtracking
3656 algorithm to discover the correct item depth.
3657 (resetEnumCounterIfNeeded): new function, use a backtracking
3658 algorithm to discover if counter reset is needed.
3659 (setCounter): use them. Simplify a bit. Add different labels for
3660 different item depths for itemize.
3662 * paragraph.C (Paragraph): remove initialization of enumdepth
3665 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3666 enumerate and itemize. Change the type of itemdepth to signed char.
3668 2003-10-08 André Pönitz <poenitz@gmx.net>
3670 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3675 * tabular.[Ch]: fix crash after 'row-insert'
3677 2003-10-08 Angus Leeming <leeming@lyx.org>
3679 Fix doxygen warnings.
3681 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3682 Remove CutAndPaste:: prefix from header file declaration.
3684 * LColor.h (fill): remove LColor:: prefix from declaration.
3686 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3687 use lyx::depth_type rather than Paragraph::depth_type so that
3688 header file and .C file match.
3690 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3692 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3693 * aspell.C: \file aspell_local.C -> \file aspell.C
3694 * gettext.C: \file gettext.C -> \file src/gettext.C
3695 * gettext.h: \file gettext.h -> \file src/gettext.h
3696 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3697 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3698 * text.C: \file text.C -> \file src/text.C
3700 * toc.C: move comment so that doxygen is not confused.
3702 2003-10-07 Angus Leeming <leeming@lyx.org>
3704 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3706 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3709 * aspell_local.h: add forgotten std::string's.
3711 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3718 * text3.C: The Box patch. Fancybox support, minipage, parbox
3720 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3726 * ParagraphParameters.h:
3736 * lyxtextclasslist.h:
3739 * paragraph_pimpl.C:
3740 * textcursor.h: add <string> and other small fixes to make Lars'
3741 std::string patch compile with STLport.
3743 2003-10-06 Angus Leeming <leeming@lyx.org>
3745 * LColor.h: Add missing #include <string>.
3747 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3749 * All most all file in all subdirs: Make <string> be the prefered
3750 way of getting to std::string, add using declarations.
3752 2003-10-06 André Pönitz <poenitz@gmx.net>
3754 * metricsinfo.C: initialize LyXFont before changing attribute.
3755 (fixes the 'math in \emph is upright' bug)
3757 2003-10-06 André Pönitz <poenitz@gmx.net>
3759 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3761 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3764 * paragraph_pimpl.C: Small fixes to build using STLport
3766 2003-10-02 André Pönitz <poenitz@gmx.net>
3769 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3771 2003-10-01 André Pönitz <poenitz@gmx.net>
3773 * factory.C: assert early
3775 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3777 * lyx_main.C: remove the global debug object
3779 * debug.h: adjust for new debugstream
3781 * debug.C: adjust for new debugstream and keep the global debug
3784 2003-09-22 Angus Leeming <leeming@lyx.org>
3786 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3787 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3788 an incomplete class LyXFont.
3790 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3792 * factory.C: bug fix in branches
3794 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3796 * lyxfunc.C (processKeySym): adjust
3798 (dispatch): change arg name from ev to func, adjust
3799 (sendDispatchMessage): ditto
3801 * lyx_main.C (defaultKeyBindings): adjust keybindings
3802 (deadKeyBindings): ditto
3804 * kbsequence.C (addkey): return a FuncRequest
3806 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3808 * kbmap.C (bind): take a FuncRequest as arg, adjust
3811 (defkey): change to take a FuncRequest as arg, adjust
3812 (findbinding): take a FuncRequest as arg, adjust.
3814 * funcrequest.h (operator=): added
3816 * funcrequest.C (FuncRequest): default kb_action changed from
3817 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3819 * buffer.C (dispatch): simplify
3820 (dispatch): adjust to take a FuncRequest as arg, adjust
3822 * boost.C (assertion_failed): change assertion message slightly
3824 * ToolbarBackend.C (read): simplify
3826 * MenuBackend.C (binding): adjust call to findbinding, add a
3827 message if no binding is found.
3829 (expandToc): correct by adding a empty FuncRequest
3831 * LyXAction.C: include <boost/assert.hpp>
3832 (isPseudoAction): delete function
3833 (LookupFunc): change name to...
3834 (lookupFunc): this. change return type to FuncRequest.
3835 (getActionName): take kb_action as arg, simplify
3836 (funcHasFlag): add an assert, simplify.
3838 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3840 * toc.C (action): return a FuncRequest, simplify
3842 * lyxfunc.C (processKeySym): adjust
3843 (getStatus): delete version that takes an int.
3845 (dispatch): delete version that takes action as int
3847 (sendDispatchMessage): simplify and adjust
3849 * funcrequest.C (getArg): take unsigned int as arg
3851 * ToolbarBackend.C (read): adjust
3852 (add): delete version that takes func as a string.
3853 (getIton): take a FuncRequest as arg
3855 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3858 * MenuBackend.C (MenuItem): add a new construct that only takes a
3859 Kind, simplify the constructor use for submenus.
3861 (expandLastfiles): adjust
3862 (expandDocuments): adjust
3863 (expandFormats): adjust
3864 (expandFloatListInsert): adjust
3865 (expandFloatInsert): adjust
3866 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3868 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3869 Remove class variables lyx_pseudo_map and lyx_arg_map
3871 * LyXAction.C (searchActionArg): delete function
3872 (getPseudoAction): delete function
3873 (retrieveActionArg): delete function
3874 (LookupFunc): make it return kb_action, simplify.
3875 (getActionName): simplify
3877 * factory.C (createInset): fix new bug
3879 2003-09-19 Angus Leeming <leeming@lyx.org>
3881 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3882 masterFilename_ parameter in the include inset.
3884 * factory.C (createInset): changes due to the changes to InsetInclude.
3886 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3888 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3890 2003-09-18 Angus Leeming <leeming@lyx.org>
3893 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3894 Inset::fillWithBibKeys.
3895 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3897 2003-09-18 Angus Leeming <leeming@lyx.org>
3899 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3901 (ctor): pass and store a 'Buffer const &'
3902 (buffer): new member function.
3904 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3905 '*this' to the LaTeXFeatures ctor.
3907 2003-09-18 Angus Leeming <leeming@lyx.org>
3913 * text.C: rename EnumLColor as LColor_color.
3915 2003-09-18 Angus Leeming <leeming@lyx.org>
3917 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3918 remove #include "insets/insetbase.h" from cursor.h.
3920 2003-09-18 Angus Leeming <leeming@lyx.org>
3922 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3923 InsetOld_code to remove #include "inset.h".
3925 * iterators.C: add #include "insets/inset.h"
3927 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3929 * BufferView.C: remove more locking stuff that apparently doesn't
3930 do anything sensible.
3932 2003-09-16 André Pönitz <poenitz@gmx.net>
3935 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3938 2003-09-16 Angus Leeming <leeming@lyx.org>
3940 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3942 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3945 * paragraph.h: remove #include "lyxfont.h". Forward declare
3948 2003-09-16 Angus Leeming <leeming@lyx.org>
3950 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3951 of support/textutils.h.
3952 (isWord): move the contents of support/textutils.h's IsWordChar here.
3958 * text2.C: add #include "paragraph.h".
3961 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3963 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3969 * LaTeX.C: use namespace alias for lyx::support::os
3971 2003-09-16 Angus Leeming <leeming@lyx.org>
3974 * bufferview_funcs.C:
3977 * paragraph_pimpl.C:
3979 * text.C: add #include "LColor.h".
3981 2003-09-16 Angus Leeming <leeming@lyx.org>
3983 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3984 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3986 Store the FontBits::color variable as an int rather than as an
3987 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3990 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3991 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3992 string calls together.
3994 * lyxrc.C: add #include "LColor.h".
3996 2003-09-15 Angus Leeming <leeming@lyx.org>
3998 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4001 2003-09-15 Angus Leeming <leeming@lyx.org>
4003 * LColor.h: add an EnumLColor wrapper for LColor::color.
4005 * lyxfont.[Ch] (color, setColor, realColor):
4006 * lyxtext.h, text.C (backgroundColor):
4007 pass EnumLColor args to/from the functions, rather than LColor::color
4011 * lyxtext.h: forward declare EnumLColor.
4013 * lyx_main.C: add #include "LColor.h".
4015 2003-09-15 Angus Leeming <leeming@lyx.org>
4017 * .cvsignore: add lyx-gtk.
4019 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4024 * ParagraphParameters.C
4028 * bufferview_funcs.C
4038 * vc-backend.C: remove usage of STRCONV
4040 2003-09-15 Angus Leeming <leeming@lyx.org>
4042 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4043 explicitly define the color passed to the painter.
4045 2003-09-15 Angus Leeming <leeming@lyx.org>
4047 * bufferparams.C (BufferParams): reorder member initializers to avoid
4050 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4052 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4053 * text.C (updateRowPositions): remove an unusual nop
4055 2003-09-12 André Pönitz <poenitz@gmx.net>
4057 * BufferView_pimpl.C:
4066 * Counters.[Ch]: finish the 'automatic counters' job
4068 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4070 * aspell.C: include <boost/assert.cpp> (compile fix)
4072 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4074 * boost.C (assertion_failed): use lyx::support::abort instead of
4077 2003-09-10 Angus Leeming <leeming@lyx.org>
4079 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4080 with their _fwd progeny.
4082 2003-09-09 Angus Leeming <leeming@lyx.org>
4084 134 files throughtout the source tree: replace 'using namespace abc;'
4085 directives with the appropriate 'using abc::xyz;' declarations.
4087 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4089 * boost.C (emergencyCleanup): moved here from LAssert.c
4090 (assertion_failed): new function, called by BOOST_ASSERT
4092 * several files: change Assert to BOOST_ASSERT
4094 2003-09-09 Angus Leeming <leeming@lyx.org>
4096 * buffer.[Ch]: Add an Impl class and move Buffer's member
4097 variables into it. As a result move several header files out of
4100 Add header files to lots of .C files all over the tree as a result.
4102 2003-09-09 Angus Leeming <leeming@lyx.org>
4104 * buffer.[Ch]: make Buffer's member variables private. Add
4107 Lots of changes all over the tree as a result.
4109 2003-09-08 Angus Leeming <leeming@lyx.org>
4111 * graph.C: #include <config.h>.
4113 2003-09-08 Angus Leeming <leeming@lyx.org>
4117 * BufferView_pimpl.C:
4146 * toc.C: remove redundant using directives.
4148 2003-09-07 Angus Leeming <leeming@lyx.org>
4150 * LaTeXFeatures.h: remove #include "support/types.h".
4151 * ToolbarBackend.h: remove #include <algorithm>.
4152 * changes.h: remove #include <ctime>.
4153 * debug.h: remove #include <iosfwd>.
4154 * graph.h: remove #include "support/std_string.h".
4155 * lyx_main.h: remove #include <csignal>.
4156 * lyxlex_pimpl.h: remove #include <fstream>.
4157 * sgml.h: remove #include <algorithm>, <utility>.
4158 * toc.h: remove #include "support/std_ostream.h".
4159 Add #include <iosfwd>.
4161 2003-09-07 Angus Leeming <leeming@lyx.org>
4163 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4165 * converter.h: forward declare LatexRunParams.
4166 * encoding.h: remove #include "lyxrc.h".
4167 * lyxtext.h: remove #include "LColor.h".
4168 * lyxtextclass.h: remove #include "support/types.h".
4169 * trans.h: remove #include "tex-accent.h".
4170 * trans_mgr.h: remove #include "tex-accent.h".
4171 * insets/inset.h: remove #include "support/types.h", <vector>.
4172 * insets/insetcollapsable.h: remove #include "LColor.h".
4173 * insets/insetinclude.h: remove #include "dimension.h".
4174 * insets/insetlatexaccent.h: remove #include "dimension.h".
4175 * insets/insetoptarg.h:: remove #include "insettext.h".
4176 * insets/insettext.h: remove #include "dimension.h",
4177 <boost/shared_ptr.hpp>
4179 * insets/renderers.h: add #include "dimension.h".
4180 * insets/updatableinset.h: add #include "support/types.h".
4182 * many .C files: Associated changes.
4184 2003-09-06 Angus Leeming <leeming@lyx.org>
4186 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4187 one, inside testInvariant.
4189 * PrinterParams.C: new file.
4190 * PrinterParams.[Ch]: move the function bodies out of line.
4192 2003-09-06 Angus Leeming <leeming@lyx.org>
4194 * ParagraphParameters.h: forward declare ParameterStruct rather than
4195 including its header file.
4196 (depth): moved out-of-line.
4198 2003-09-06 Angus Leeming <leeming@lyx.org>
4200 * BufferView_pimpl.h:
4203 * lyxfunc.h: forward declare LyXKeySym rather than
4204 #include "frontends/LyXKeySym.h".
4206 * BufferView_pimpl.C:
4209 * lyxfunc.C: associated changes.
4211 2003-09-06 Angus Leeming <leeming@lyx.org>
4213 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4214 As a result, can remove the #include "insets/inset.h" from BufferView.h
4216 2003-09-06 Angus Leeming <leeming@lyx.org>
4218 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4219 As a result, can remove the #include "insets/inset.h" from BufferView.h
4221 2003-09-06 Angus Leeming <leeming@lyx.org>
4227 * bufferview_funcs.C:
4228 * BufferView_pimpl.C:
4233 * ParagraphParameters.C:
4238 * frontends/controllers/ControlDocument.C:
4239 * insets/insetcaption.C: rearrange the #includes into some sort of
4242 * buffer.h: remove #includes ErrorList.h, undo.h
4244 2003-09-06 Angus Leeming <leeming@lyx.org>
4246 * support/types.h: add a 'depth_type' typedef, used to store the
4247 nesting depth of a paragraph.
4250 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4251 defining explicitly.
4254 * paragraph_funcs.h:
4255 * ParagraphParameters.h:
4256 * sgml.h: use lyx::depth_type rather than Paragraph or
4257 ParameterStruct's depth_type.
4260 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4263 * BufferView_pimpl.C:
4265 * ParagraphParameters.C:
4268 * bufferview_funcs.C:
4275 * frontends/LyXView.C:
4276 * frontends/controllers/ControlDocument.C:
4277 * frontends/controllers/ControlErrorList.C:
4278 * insets/insetbibitem.C:
4279 * insets/insetbranch.C:
4280 * insets/insetcaption.C:
4281 * insets/insetcollapsable.C:
4282 * insets/insetenv.C:
4283 * insets/insetert.C:
4284 * insets/insetfloat.C:
4285 * insets/insetfoot.C:
4286 * insets/insetfootlike.C:
4287 * insets/insetnewline.C:
4288 * insets/insetquotes.C:
4289 * insets/insettabular.C:
4290 * insets/insettext.C:
4291 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4293 * frontends/controllers/ControlChanges.C: #include "changes.h".
4295 2003-09-06 Angus Leeming <leeming@lyx.org>
4297 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4298 than #including paragraph.h.
4301 * RowList.h: deleted. Superfluous.
4311 * insets/insettext.h: use ParagraphList_fwd.h rather than
4314 * paragraph.h: don't forward declare ParagraphList.
4317 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4318 rather than ParagraphList.h. paragraph.h is still needed for the
4319 Paragraph::depth_type parameters.
4321 * textcursor.h: enable it to compile stand-alone in light of the
4324 * bufferview_funcs.C:
4336 * frontends/controllers/ControlParagraph.C:
4337 * frontends/controllers/ControlTabular.C:
4338 * insets/insetmarginal.C:
4339 * insets/insetminipage.C:
4340 * insets/insetnote.C:
4341 * insets/insetoptarg.C: add header files needed to compile again.
4343 2003-09-06 Angus Leeming <leeming@lyx.org>
4345 * RowList_fwd.h: new file, forward-declaring Row rather than
4346 #including lyxrow.h.
4351 * insets/insettext.h: use it instead of RowList.h
4353 * bufferview_funcs.C:
4360 * text3.C: #include "RowList.h".
4362 2003-09-05 Angus Leeming <leeming@lyx.org>
4364 * factory.C (createInset):
4365 * vspace.C (c-tor): replace sscanf call with an istringstream.
4366 * ispell.C: re-add missing HP/UX headers.
4367 * lyxserver.C: re-add missing os2 headers.
4369 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4378 * text3.C: re-add missing system headers, needed for 2.95.2.
4380 2003-09-05 Angus Leeming <leeming@lyx.org>
4382 Changes most place everywhere due to the removal of using directives
4383 from support/std_sstream.h.
4385 2003-09-05 Angus Leeming <leeming@lyx.org>
4387 Replace LString.h with support/std_string.h,
4388 Lsstream.h with support/std_sstream.h,
4389 support/LIstream.h with support/std_istream.h,
4390 support/LOstream.h with support/std_ostream.h.
4392 Changes resulting throughout the tree.
4394 2003-09-05 Angus Leeming <leeming@lyx.org>
4396 * sgml.h: ensure that the header file can be compiled stand-alone.
4397 * *.C: strip out redundant #includes. (320 in total.)
4399 2003-09-04 Angus Leeming <leeming@lyx.org>
4401 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4402 here (from getPackages).
4404 * debug.[Ch]: add a new EXTERNAL tag.
4406 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4408 * text2.C (cursorEnd): simplify
4410 (getColumnNearX): adjust
4412 * text.C (computeBidiTables): adjust
4415 * rowpainter.C (paintChars): adjust
4416 (paintSelection): adjust
4417 (paintChangeBar): adjust
4420 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4422 (numberOfSeparators): adjust
4424 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4430 * text3.C: Restricts the mouse click functionality
4431 of insets like bibtex, include, toc and floatlist to the visible
4432 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4433 up the dialogs. Cursor has to be in front of the inset (i.e.
4434 start of row) for this to function.
4436 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4438 * bufferview_funcs.C (currentState): output row information
4440 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4442 * bufferview_funcs.C (currentState): output paragraph position
4444 2003-09-04 Angus Leeming <leeming@lyx.org>
4446 * FloatList.h: move out #include "Floating.h".
4447 * LaTeX.h: move out #include "DepTable.h".
4448 * LyXAction.h: move out #include "funcrequest.h".
4449 * buffer.h: move out #include "author.h", "iterators.h".
4450 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4451 * lyx_main.h: move out #include "errorlist.h".
4452 * lyxfunc.h: move out #include "FuncStatus.h".
4453 * lyxtext: move out #include "lyxcursor.h".
4454 * paragraph_pimpl.h: move out #include "counters.h".
4456 2003-09-03 Angus Leeming <leeming@lyx.org>
4458 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4459 preamble_snippets list, enabling us to add snippets to the preamble
4460 only if the snippet was not there already.
4462 2003-09-04 Angus Leeming <leeming@lyx.org>
4464 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4466 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4468 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4471 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4473 * BranchList.C: point fix, earlier forgotten
4475 2003-09-02 Angus Leeming <leeming@lyx.org>
4477 * box.C (contains): renamed from 'contained' after a fantastic
4480 2003-09-02 John Levon <levon@movementarian.org>
4486 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4488 2003-09-02 John Levon <levon@movementarian.org>
4490 * text2.C: simplification of cursorEnd(), including partial
4493 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4495 * buffer.C (readFile): add a space
4497 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4499 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4501 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4503 * buffer.C (readFile): new function, take a filename and a
4504 ParagraphList::iterator
4506 (readFile): adjust, make it private. don't use setStream, make
4507 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4508 always contain the filename.
4510 * BufferView.C (insertLyXFile): simplify and make it work for
4513 2003-08-30 John Levon <levon@movementarian.org>
4515 * Makefile.am: fix dist (from Kayvan)
4517 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4519 * most files: change to use const Buffer refs
4521 2003-08-27 André Pönitz <poenitz@gmx.net>
4523 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4524 on top of ownerPar().
4526 2003-08-27 John Levon <levon@movementarian.org>
4528 * funcrequest.C: properly initialise POD members
4530 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4532 * lyxtext.h (top_y): move top_y from here
4537 * BufferView_pimpl.[Ch]: to here
4538 * frontends/screen.C:
4539 * insets/insettabular.C:
4540 * insets/insettext.C: adjust
4541 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4543 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4546 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4548 2003-08-26 André Pönitz <poenitz@gmx.net>
4550 * paragraph_func.[Ch] (outerPar): new function
4553 * paragraph_funcs.C:
4554 * paragraph_funcs.h:
4555 * paragraph_pimpl.C:
4556 * text2.C: remove Inset::par_owner
4558 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4563 * text2.C: eliminates the needFullRow/display() stuff
4564 altogether, putting the logic in metrics/draw in the insets.
4566 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4568 * text2.C (redoParagraphInternal, redoParagraphs):
4569 * text.C (redoParagraph): add a call to updateRowPositions at the
4570 end of each 'metrics-like' call. Remove all others.
4571 (getRow): remove the 'y-computing' version.
4572 (getRowNearY): do not compute nor return the real y. Solve the
4573 'y < 0' problem and simplify.
4575 2003-08-22 Angus Leeming <leeming@lyx.org>
4577 * *.[Ch]: clean-up of licence and author blurbs.
4578 Also move config.h out of a few .h files and into a few .C files.
4580 2003-08-22 André Pönitz <poenitz@gmx.net>
4582 * lyxrow.[Ch]: add x_ and *fill_ members
4587 * text2.C: adjust/remove prepareToPrint() calls
4589 2003-08-22 André Pönitz <poenitz@gmx.net>
4591 * lyxrow.[Ch]: add end_ member
4593 * lyxrow_funcs.C: use LyXRow::end_
4595 * lyxtext.h (singleWidth): add LyXFont parameter
4598 * text2.C: adjust LyXText::singleWidth() calls
4600 * text.C (redoParagraph): simplify row breaking logic
4603 2003-08-19 André Pönitz <poenitz@gmx.net>
4605 * funcrequest.C: initialize button_ member
4608 * rowpainter.[Ch]: interface consolidation
4610 2003-08-18 André Pönitz <poenitz@gmx.net>
4613 * BufferView_pimpl.C:
4615 * paragraph_funcs.C:
4617 * text3.C: remove LyXScreen::draw() and fitCursor calls
4619 * BranchList.h: remove spurious semicolons
4621 * MenuBackend.C: fix branchlist related crash
4623 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4631 * bufferparams.[Ch]:
4635 * text3.C: implements the 'branch inset'
4636 idea. This allows the output of various versions of a document
4637 from a single source version, selectively outputing or suppressing
4638 output of parts of the text.
4639 This implementation contains a 'branch list editor' in a separate
4640 tab of the document settings dialog. Branches are user definable
4641 and have a "display colour" to distinguish them on-screen.
4643 ColorHandler was somewhat cleaned up.
4644 (1) make possible a dynamically growing LColor list by allowing
4645 the graphic context cache to grow along (vector);
4646 (2) eliminate an IMHO unnecessary step in colour allocation.
4648 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4650 * BufferView_pimpl.C: compile fix
4652 2003-08-15 André Pönitz <poenitz@gmx.net>
4654 * rowpainter.C: remove extra metrics calls
4656 * lyxtext.h: merge the two constructors into a single one,
4657 pass reference to owner's par list
4659 * BufferView_pimpl.C:
4663 2003-08-15 André Pönitz <poenitz@gmx.net>
4665 * lyxrow_funcs.[Ch]:
4668 * paragraph_funcs.C:
4673 * text_funcs.C: split LyXText::rowlist_ into individual
4674 Paragraph::rows_ chunks
4677 * BufferView_pimpl.[Ch]:
4680 * text3.C: remove toggleSelection()
4682 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4684 * bufferlist.C: beautify two alerts (shorter text of buttons)
4685 * buffer.C: Remove redundant ' ' from message
4687 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4688 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4689 rename VALIGN_CENTER to VALIGN_MIDDLE
4691 2003-08-11 André Pönitz <poenitz@gmx.net>
4693 * lyxtext.h (getPar):
4694 * text.C: new function
4696 2003-08-11 André Pönitz <poenitz@gmx.net>
4699 * tracer.[Ch]: remove unneeded files
4701 * InsetList.[Ch]: remove resizeInsetsLyXText()
4706 * text3.C: merge insertParagraphs() and appendParagraph()
4707 remove breakAgain(), update()
4709 * BufferView_pimpl.[Ch]:
4710 * bufferview_funcs.[Ch]:
4714 * tabular.C: adjust after text & InsetList changes.
4716 2003-08-08 André Pönitz <poenitz@gmx.net>
4718 * text.C (insertChar, backspace): replace rowlist fiddling
4719 with rebreak of full par
4722 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4723 checkParagraph, updateInset): removed
4725 2003-08-07 André Pönitz <poenitz@gmx.net>
4728 * text3.C: merge some LFUN handlers, remove dead code
4730 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4732 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4734 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4736 * text2.C (DEPM): fix part of bug 1255 and 1256
4738 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4740 * BufferView_pimpl.C (workAreaDispatch): change to use
4741 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4742 that are no mouse related.
4744 2003-08-05 André Pönitz <poenitz@gmx.net>
4747 * BufferView_pimpl.[Ch]:
4748 * bufferview_funcs.C:
4750 * text3.C: rip out "deep update"
4752 * textcursor.[Ch] (last_sel_cursor): remove unused member
4754 2003-08-04 André Pönitz <poenitz@gmx.net>
4757 * BufferView_pimpl.[Ch]:
4758 * ParagraphParameters.C:
4759 * bufferview_funcs.C:
4765 * text3.C: replace "complicated" BufferView::update(...) calls with
4768 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4770 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4772 * Makefile.am (lyx_SOURCES): add paper.h
4774 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4776 * Makefile.am: move things around so that both lyx-qt and
4777 lyx-xforms can be built (according to --with-frontend). Then lyx
4778 is a symbolic link to lyx-[firstfrontend]
4780 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4782 * Always use std::endl with lyxerr
4784 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4786 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4788 2003-08-01 André Pönitz <poenitz@gmx.net>
4791 * BufferView_pimpl.[Ch]:
4793 * text3.C: merge BufferView::repaint() and BufferView::update()
4795 2003-08-01 José Matos <jamatos@lyx.org>
4797 * buffer.[Ch]: file_format is no longer a buffer data element.
4799 2003-08-01 André Pönitz <poenitz@gmx.net>
4804 * text2.C: make redoParagraph more independent of current cursor
4806 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4808 * text2.C: remove unneeded members
4810 2003-07-30 André Pönitz <poenitz@gmx.net>
4812 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4814 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4815 create a single function...
4817 * paragraph_funcs.C (moveItem): ... here.
4820 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4822 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4824 * LColor.[Ch]: Add comment and greyedout logical colors.
4826 2003-07-30 André Pönitz <poenitz@gmx.net>
4828 * tabular.C: don't use Assert too heavily. This crashes where it
4831 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4833 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4834 is disabled (bug 1232)
4836 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4838 * factory.C: limited 'arg' scope
4840 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4842 * factory.C: fixed Note submenu issues
4844 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4846 * factory.C: submenu for Note/Comment/Greyedout
4848 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4851 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4853 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4856 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4857 greyedout. Patch provided by Jürgen Spitzmüller.
4859 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4861 * kbmap.C (read): fix error message when reading bind files
4863 2003-07-29 Angus Leeming <leeming@lyx.org>
4865 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4866 certainly does not do what it purports to do. I am doing it, and
4867 us, a favour by killing it.
4869 2003-07-28 José Matos <jamatos@lyx.org>
4871 * buffer.C (readBody, do_writeFile):
4872 * paragraph.C(readParagraph): \end_document replaces \the_end.
4874 2003-07-29 André Pönitz <poenitz@gmx.net>
4877 * BufferView_pimpl.[Ch]:
4881 * textcursor.[Ch]: remove toggleToggle & Co
4883 2003-07-28 José Matos <jamatos@fep.up.pt>
4885 * buffer.C (readParagraph):
4886 * params_func (readParToken, readParagraph):
4887 * paragraph.C (write): \layout -> \begin_layout.
4889 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4891 * lyxlex_pimpl.C (setFile): clean up slightly.
4893 * bufferparams.h: add compressed var
4895 * buffer_funcs.C (readFile): adjust for LyXLex change
4896 (newFile): ditto + simplify
4898 * buffer.C (writeFile): handle writing of compressed files
4900 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4901 Check if the file is compressed and set a bufferparm if so.
4903 * Makefile.am (lyx_LDADD): remove explicit -lz
4905 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4907 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4908 makeDocBookFile): put the real LyX version in the first line of
4912 * version.C.in: remove lyx_docversion
4914 * tabular.C (write_attribute): add a template-based version to
4915 write enums properly
4917 2003-07-28 André Pönitz <poenitz@gmx.net>
4922 * text3.C: use doubles again for x-coordinates. They are needed.
4924 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4926 * messages.C (getLocaleDir): use lyx_localedir()
4928 * lyxlex_pimpl.C (setFile): compress stuff
4930 * buffer.C (writeFile): add some compression stuff
4931 (do_writeFile): new func, dont call expliti close... will this
4934 * Makefile.am (lyx_LDADD): add -lz
4936 2003-07-28 José Matos <jamatos@fep.up.pt>
4938 * buffer.C: increment file format.
4939 * paragraph_funcs (readParagraph, readParToken):
4940 * paragraph.C (readParagraph): add \end_layout.
4942 2003-07-27 Angus Leeming <leeming@lyx.org>
4944 * Makefile.am: remove special casing for configure-time setting of
4945 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4947 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4948 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4950 2003-07-26 André Pönitz <poenitz@gmx.net>
4952 * paragraph_func.[Ch]:
4953 * paragraph.C (realizeFont): inline it whereever it is used
4958 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4961 2003-07-26 André Pönitz <poenitz@gmx.net>
4965 * text2.C: get rid of LyXText::need_break_row
4967 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4969 * toc.[Ch]: put namespace toc inside namespace lyx
4971 * MenuBackend.C (expandToc2): adjust for lyx::toc
4974 * lyxfunc.C (dispatch): adjust for lyx::find
4976 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4977 lyx::find instead. Reorganize a bit.
4978 (LyXReplace): rename to replace
4979 (LyXFind): rename to find
4981 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4984 2003-07-26 André Pönitz <poenitz@gmx.net>
4986 * text.C (setHeightOfRow): restrict scope of temporary variable
4988 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4989 code (never has been used?)
4991 2003-07-27 Asger Alstrup <alstrup@local>
4993 * text.C (fill): Optimise algorithm to exploit that we can reuse
4994 the LyXFont for many characters.
4995 (setHeightOfRow): Same thing.
4996 (rowBreakPoint): Same thing.
4998 2003-07-26 Asger Alstrup <alstrup@local>
5000 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5002 * text.C (singleWidth): Spurious font copying in hot-spot
5003 singleWidth avoided. Reorder tests for arabic for efficiency.
5005 * text.C (fill): handle empty paragraphs better.
5007 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5010 * encoding.h: add includes
5012 * lyxrc.C: remove reading of bind files
5014 * lyx_main.C (init): setup bindings and menus only if we have a
5017 * kbmap.C (read): new method. Do the actual reading of bind
5020 * converter.C (dvipdfm_options):
5023 (output): adapt PAPER_* enums.
5025 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5027 * bufferparams.h: remove paper-related enums from there
5029 * paper.h: New file. A trivial header file to hold paper-related
5030 enums. It should later expand to contain many paper-related
5033 * lyxrc.C: declare extern displayTranslator
5035 2003-07-27 José Matos <jamatos@fep.up.pt>
5037 * tabular.[Ch] (linuxdoc): add support for tables and figures
5040 2003-07-27 José Matos <jamatos@fep.up.pt>
5042 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5043 consistency in both functions.
5044 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5046 2003-07-26 Asger Alstrup <alstrup@local>
5048 * rowpainter.C (paintRows): Change algorithm to work directly on
5049 the insets rather than asking every character in the document
5050 whether its an inset.
5052 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5054 * buffer.C (openFileWrite): factorize some code
5056 2003-07-26 Angus Leeming <leeming@lyx.org>
5059 * lyx_main.[Ch]: replace occurances of system_tempdir with
5062 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5064 * rename Inset to InsetOld
5066 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5068 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5069 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5070 which I think is a bit clearer. EDIT is gone, since it was
5071 premature optimisation, and broken for mathed anyway.
5072 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5073 with cursor positioning in insets as well (math insets still do not
5074 work, but that's a different story anyway.) It mysteriously
5075 crashes sometimes with undo in the first paragraph, but I'm fairly
5076 confident that this is a compiler bug.
5078 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5080 * paragraph.C (Paragraph): adjust for new clone return type
5082 (copyIntoMinibuffer): ditto
5084 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5086 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5087 by not having a special case, and always doing a full rebreak of
5088 the document after undo.
5090 2003-07-23 Angus Leeming <leeming@lyx.org>
5092 * factory.C (createInset): InsetExternal::setParams now takes a
5095 2003-07-23 Angus Leeming <leeming@lyx.org>
5097 * factory.C (createInset): changed interface to the external and
5098 graphics mailers' string2params functions.
5100 2003-07-23 Angus Leeming <leeming@lyx.org>
5102 * factory.C (createInset): pass a
5103 Buffer const * parameter to InsetExternalMailer's string2params.
5105 2003-07-22 John Levon <levon@movementarian.org>
5107 * Thesaurus.h: include the right aiksaurus header
5109 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5111 * MenuBackend.C (expand): check menu shortcuts unconditionally
5113 2003-07-21 Angus Leeming <leeming@lyx.org>
5115 * factory.C (createInset): pass a
5116 buffer_path parameter to InsetGraphicsMailer's string2params.
5118 2003-07-21 Angus Leeming <leeming@lyx.org>
5120 * BufferView_pimpl.C (buffer):
5123 * lyxfunc.C (dispatch):
5124 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5125 rather than the grfx shortcut.
5127 2003-07-21 André Pönitz <poenitz@gmx.net>
5129 * rowpainter.C: remove unused variables
5132 * tabular_funcs.h: move to tabular.C
5133 * Makefile.am: adjust
5135 * tabular.[Ch]: basic optical cleaning
5137 * author.h: pass references, not values
5139 2003-07-18 André Pönitz <poenitz@gmx.net>
5147 * text3.C: two-phase drawing for InsetText and InsetTabular
5148 some float -> int changes.
5150 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5152 * lyx_main.C: fix the fix
5154 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5156 * lyx_main.C: fix a crash in batch mode if no files specified
5159 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5161 * format.[Ch] (papersize): moved to BufferParams
5162 * converter.[Ch] (dvips_options): moved to BufferParams
5163 (dvipdfm_options): moved to anon namespace
5164 * bufferparams.[Ch]: added above functions.
5166 2003-07-17 André Pönitz <poenitz@gmx.net>
5170 * text2.C: don't call inset->update() anymore
5172 * metricsinfo.[Ch]: add convenience constructor
5174 2003-07-16 André Pönitz <poenitz@gmx.net>
5179 * text2.C: replace the LyXCursor::irow_ member with
5180 on-demand computation of the value
5182 2003-07-16 John Levon <levon@movementarian.org>
5184 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5186 2003-07-15 André Pönitz <poenitz@gmx.net>
5189 * text2.C: remove no more needed refresh_row
5191 2003-07-15 André Pönitz <poenitz@gmx.net>
5196 * text3.C: refresh_status tristate -> need_update bool
5198 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5200 * lyxtext.h (init): remove reinit argument (act as if always true)
5201 * text2.C: adjust to that
5203 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5205 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5206 * text3.C: use it to delete selections in some cases
5207 (bugs 441, 673, 702, 954).
5209 2003-07-14 André Pönitz <poenitz@gmx.net>
5211 * rowpainter.[Ch]: reduce interface
5213 2003-07-14 André Pönitz <poenitz@gmx.net>
5215 * BufferView_pimpl.C:
5216 * text2.C: adjust after removing unused BufferView * argument
5218 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5220 * text2.C (init): fix a crash fired on resize
5222 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5224 * buffer.[Ch]: added new closing signal
5225 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5226 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5227 BufferView::Pimpl via the closing the signal
5229 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5231 * buffer.[Ch]: take out all bv-related from buffer
5233 * BufferView_pimpl.[Ch]: connect to new signals
5234 * CutAndPaste.C: removed useless asserts
5235 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5238 * lyxfunc.C: moved view-related funciontality from vc here
5239 * paragraph.C: removed outdated comments
5242 2003-07-10 André Pönitz <poenitz@gmx.net>
5244 * BufferView_pimpl.C:
5248 * text2.C: remove InsetText::InnerCache, clean up consequences
5250 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5252 * ispell.C: fix two typos in error messages
5254 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5256 * Extend Note inset to other forms of annotation like Comment
5257 and Greyedout. Right button click gives dialog.
5259 Files modified or added (+):
5263 * ControlNote.[Ch] +
5265 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5266 frontends/controllers
5270 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5272 * aspell.C: add missing namespace lyx::support
5274 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5276 * BufferView.[Ch] (newFile): Add
5277 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5278 * LaTeX.[Ch] (message): added this signal and use it
5279 * buffer.[Ch] (busy, message): added these signals and use them
5280 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5284 * importer.C: use buffer signals instead of direct bv calling
5285 * lyx_cb.[Ch] (ShowMessage): removed
5288 * paragraph_funcs.C:
5289 * text2.C: use buffer signals
5291 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5293 * introduce namespace lyx::graphics
5295 2003-07-02 André Pönitz <poenitz@gmx.net>
5297 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5299 2003-07-01 André Pönitz <poenitz@gmx.net>
5306 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5307 text*.C to text_func.C
5309 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5311 * introduce namespace lyx::support
5313 2003-06-30 André Pönitz <poenitz@gmx.net>
5318 * text.C: re-enable --with-included-string
5320 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5322 * textcursor.C: add <config.h>
5324 * text.C (getWord): remove const from word_location arg
5326 * lyxvc.C (getLogFile): fix const type order
5328 * lyxtext.h: remove const from word_location arg, add arg name
5330 * lyxlayout.h: currect type on labeltype.
5332 * importer.C: correct \file
5334 * converter.C (intToFormat): use std:: on ret val, ws changes
5336 * bufferlist.h: correct \file
5338 * buffer.C (makeLinuxDocFile): fix const type order
5339 (makeDocBookFile): ditto
5340 (fillWithBibKeys): use std:: on stdlib args.
5342 * CutAndPaste.C: fix authors.
5343 (availableSelections): use std:: on return vector
5345 2003-06-27 André Pönitz <poenitz@gmx.net>
5347 * BufferView_pimpl.C:
5348 * bufferview_funcs.C:
5356 * text3.C: remove LyXCursor::row_ member
5359 * text.C: rename fullRebreak() to partialRebreak() and implement
5360 a fullRebreak() that really bereks fully
5362 * textcursor.h: new struct for cursor-related data
5364 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5366 * lyx_main.C (LyX): get full path of document loaded on the
5369 2003-06-26 André Pönitz <poenitz@gmx.net>
5371 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5372 remove unused/broken operator>,<,>=.
5374 * text.C: remove only use of broken operator<= in an Assert().
5376 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5378 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5379 moved errorlist_.clear to showErrorList
5381 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5383 * converter.C (scanLog, runLaTeX):
5384 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5385 move the bv->showErrorList call to the callers
5386 * lyxfunc.C: i.e. here...
5388 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5389 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5390 namespace, the second to...
5391 * buffer_funcs (BufferFormat, parseErrors): added
5392 * errorlist.C (ErrorList(TeXErrors const &)): removed
5394 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5396 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5398 2003-06-24 "Garst R. Reese" <reese@isn.net>
5402 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5404 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5406 * version.C.in: change docversion to 1.4
5408 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5410 * buffer.C: fix a bug just introduced
5412 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5414 * buffer.[Ch]: added the parseError signal and use it, removed
5416 * BufferView.[Ch] (addError): moved to ...
5417 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5418 to the Buffer::parseError signal to catch (guess what) parse errors
5419 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5421 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5423 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5424 ability to create a buffer and to return an existing one from
5425 the list. Moved these functions to...
5426 * buffer_funcs.[Ch]: added
5427 * BufferView.[Ch] (loadLyXFile): added
5428 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5429 job removed from bufferlist::loadLyXFile.
5430 * buffer.C (setReadOnly): make it work without view
5431 (i.e added an if (users))
5433 2003-06-19 Angus Leeming <leeming@lyx.org>
5436 * LyXAction.C (init):
5437 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5438 with LFUN_DIALOG_SHOW <name> <data>.
5440 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5442 * CutAndPaste.C (availableSelections): small compilation fix for
5443 ancient (gcc 2.9x) compilers
5445 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5447 * text3.C (cursorNext): add tmp var
5449 * text2.C (updateCounters): for function calling out of for clause
5450 (replaceSelectionWithString): ditto
5451 (insertStringAsParagraphs): ditto
5452 (getColumnNearX): add tmp var
5453 (setCursorFromCoordinates): add tmp var
5454 (cursorDownParagraph): add tmp var
5455 (deleteEmptyParagraphMechanism): add tmp var
5457 * text.C (insertChar): add tmp var
5459 * rowpainter.C (paintDepthBar): add tmp var
5461 * CutAndPaste.C (availableSelections): potentially check all
5462 paragraphs in a cut to fill the shown strings.
5464 2003-06-18 André Pönitz <poenitz@gmx.net>
5466 * kbmap.[Ch]: use vector<> instead of list<>
5468 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5470 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5471 pasteSelection with index
5473 * text2.C (pasteSelection): modify, call pasteSelection with index
5475 * paragraph.C (asString): reimplement version with no interval to
5476 call the one with interval.
5478 * lyxtext.h: add index arg to pasteSelection
5480 * MenuBackend.C (MenuItem): handle PasteRecent
5481 (Menu::read::Menutags): add md_pasterecent
5483 (expandPasteRecent): new function
5486 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5488 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5490 (availableSelections): new function
5492 2003-06-17 Angus Leeming <leeming@lyx.org>
5494 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5496 2003-06-17 Angus Leeming <leeming@lyx.org>
5499 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5501 * lyxfunc.C (dispatch): invoke it.
5503 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5505 * iterators.C (operator++, ParPosition): reintroduce some
5506 const_cast for the benefit of older compilers.
5508 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5510 * text3.C (dispatch): do not modify clipboard when doing
5511 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5512 LFUN_DELETE_SKIP on a selection selection
5514 2003-06-16 André Pönitz <poenitz@gmx.net>
5520 * tabular.[Ch]: IU of clone() and getLabelList();
5522 2003-06-13 André Pönitz <poenitz@gmx.net>
5524 * tabular.h: compactification
5526 2003-06-12 André Pönitz <poenitz@gmx.net>
5530 * tabular_funcs.h: some renaming plus whitespace
5532 2003-06-12 André Pönitz <poenitz@gmx.net>
5535 * BufferView_pimpl.C:
5541 * toc.C: Return a Paragraph & for ParIterator::operator*()
5543 2003-06-11 John Levon <levon@movementarian.org>
5547 * ToolbarBackend.C: add "Toolbars" section and
5550 2003-06-10 Angus Leeming <leeming@lyx.org>
5553 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5555 * lyxfunc.C (dispatch): invoke it.
5557 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5559 * main.C: protect <ios> with HAVE_IOS
5560 (main): protect sync_with_stdio with HAVE_IOS
5562 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5564 * text2.C (cutSelection): adjust
5565 (pasteSelection): adjust
5567 * messages.C: handle get of empty string
5569 * main.C (main): use sync_with_stdio(false)
5571 * lyxfunc.C (dispatch): adjust
5573 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5574 (WriteAs): remove unneeded BufferView arg.
5576 * bufferparams.h: use correct types on papersize, papersize2 and
5579 * bufferparams.C (readToken): adjust for type
5580 (writeLaTeX): add missing cases to switch.
5582 * bufferlist.C (quitWriteBuffer): adjust
5585 * buffer.C (asciiParagraph): remove some commented code.
5587 * CutAndPaste.C: remove current_view extern variable.
5588 (cutSelection): add BufferParams arg.
5589 (eraseSelection): add BufferParams arg.
5590 (pasteSelection): add Buffer const & arg
5592 2003-06-07 John Levon <levon@movementarian.org>
5595 * paragraph_funcs.C:
5596 * paragraph_pimpl.C:
5600 * paragraph.C: allow InsetERT to freely space lines,
5601 and some consolidation of code
5603 2003-06-06 José Matos <jamatos@fep.up.pt>
5605 * buffer.C (makeDocBookFile): fix bug #821
5607 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5609 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5611 2003-06-04 Angus Leeming <leeming@lyx.org>
5613 * buffer.C: bump format to 224.
5615 2003-06-05 André Pönitz <poenitz@gmx.net>
5617 * text2.C (redoParagraphs): remove two const_cast<>
5619 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5621 * ParagraphList.h: remove last remnants of NO_STD_LIST
5623 2003-06-03 Angus Leeming <leeming@lyx.org>
5625 * factory.C (createInset): small change to the way InsetExternal's params
5628 2003-06-04 André Pönitz <poenitz@gmx.net>
5630 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5632 * paragraph_pimpl.h:
5633 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5635 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5637 * undo_funcs.C: make some simple cases of undo work again
5639 2003-06-03 John Levon <levon@movementarian.org>
5641 * ispell.C: HPUX doesn't have sys/select.h
5644 2003-06-03 John Levon <levon@movementarian.org>
5646 * CutAndPaste.C: update tabular and include inset
5651 * paragraph.C: remove owningBuffer(), don't pass Buffer
5654 * factory.C: insetGraphicsParams changed
5656 2003-06-02 John Levon <levon@movementarian.org>
5662 * text3.C: remove insetparent
5664 2003-06-02 John Levon <levon@movementarian.org>
5667 * buffer.C: fix inset_iterator.end(), move out of line
5670 2003-06-01 John Levon <levon@movementarian.org>
5672 * text3.C: use a proper cut/paste when doing inset
5673 insert (from Jürgen Spitzmüller)
5675 2003-06-01 John Levon <levon@movementarian.org>
5677 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5679 2003-05-30 André Pönitz <poenitz@gmx.net>
5681 * rowpainter.C: unify second drawing phase
5683 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5685 * trans_mgr.C: remove one case of current_view
5687 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5689 * paragraph_funcs.h: remove paragraph.h include
5691 * paragraph.h: delete NO_STD_LIST stuff
5693 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5695 * buffer.h: remove paragraph.h include
5697 * ParagraphList.C: delete file
5699 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5701 * toc.C (getTocList): adjust
5703 * paragraph_pimpl.C (validate): adjust
5705 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5707 * paragraph.C (Paragraph): adjust
5708 (getPositionOfInset): use const_iterator, adjust
5709 (bibitem): use const_iterator, adjust
5710 (setInsetOwner): adjust
5712 * iterators.C (operator++): adjust
5714 * InsetList.[Ch]: Replace selfmade iterator with standard
5715 vector::iterator also introduce const_iterator. Remove getPos,
5716 getInset and setInset from InsetTable. Adjust accordingly.
5718 * BufferView.C (lockInset): adjust
5719 (ChangeInsets): adjust
5721 * tabular.[Ch]: delete commented same_id functions
5723 2003-05-28 John Levon <levon@movementarian.org>
5725 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5727 2003-05-28 André Pönitz <poenitz@gmx.net>
5729 * metricsinfo.[Ch]: remove 'fullredraw' member
5731 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5733 * lyxtextclass.C (operator): remove caching.
5735 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5739 * text2.C (cursorBottom): adjust
5740 (setCounter): use ParagraphList::find, adjust
5742 * text.C (workWidth): use ParagraphList::find, adjust
5744 * lyxcursor.C (LyXCursor): adjust
5746 * buffer.C (inset_iterator): adjust
5748 * ParagraphList.h: make iterator(value_type) private, make
5749 ParagraphList a friend of iterator.
5751 * ParagraphList.C (find): new function
5753 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5755 2003-05-27 André Pönitz <poenitz@gmx.net>
5757 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5759 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5761 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5763 2003-05-26 John Levon <levon@movementarian.org>
5765 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5767 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5769 * remove same_id from function signatures, adjust.
5771 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5773 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5775 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5777 * paragraph.C (Paragraph): get rid of same_ids parameter
5779 * ParagraphList.C (insert): adjust
5782 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5784 * paragraph_funcs.C (breakParagraph): adjust
5785 (breakParagraphConservative): adjust
5787 * buffer.C (readParagraph): adjust
5789 * ParagraphList.C (insert): take a reference instead of a pointer
5792 * paragraph.[Ch] (id): new function
5794 * bufferlist.C (newFile): adjust
5796 * ParagraphList.C (ParagraphList): adjust
5798 (push_back): take a reference instead of a pointer.
5800 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5802 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5805 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5806 set else use old code.
5808 * ParagraphList.C: remove all NO_NEXT code and only compile this
5809 code of NO_STD_LIST is set.
5811 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5813 * BufferView_pimpl.C:
5823 * graphics/GraphicsConverter.C:
5824 * graphics/PreviewLoader.C: header adjustment
5826 2003-05-23 Angus Leeming <leeming@lyx.org>
5828 * LaTeXFeatures.[Ch] (useBabel): new method.
5829 * bufferparams.C (writeLaTeX): use it.
5831 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5833 * ParagraphList.h (set): remove unused function.
5835 2003-05-23 André Pönitz <poenitz@gmx.net>
5838 * BufferView_pimpl.C:
5842 * undo_funcs.C: setUndo reworked
5844 * iterators.[Ch]: add access to topmost ParagraphList
5846 * lyxtext.[Ch] (workWidth): add a const
5848 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5850 * texrow.[Ch] (increasePos): remove function
5851 * exporter.C (export): removed unused var and outdated comment
5853 2003-05-23 Angus Leeming <leeming@lyx.org>
5855 * latexrunparams.h: rename fragile as moving_arg.
5856 * paragraph.C (simpleTeXOnePar): ditto.
5857 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5859 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5861 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5863 (textUndoOrRedo): comment out a currently unused var.
5865 * paragraph.h (NO_NEXT): enable NO_NEXT
5867 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5869 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5871 * exporter.C (Export): adjust for removeAutoInsets removal.
5873 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5875 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5877 * BufferView.[Ch] (removeAutoInsets): delete function
5879 2003-05-22 Angus Leeming <leeming@lyx.org>
5881 * latexrunparams.h: add a free_spacing variable.
5883 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5884 to pass moving_arg, as the data is stored in runparams.fragile.
5886 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5887 to Inset::latexOptional or to simpleTeXOnePar.
5889 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5890 free_spacing arg to Inset::latexOptional.
5892 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5895 2003-05-22 Angus Leeming <leeming@lyx.org>
5897 * latexrunparams.h: add fragile and use_babel variables.
5899 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5900 * buffer.C (makeLaTeXFile): store this returned value in
5901 runparams.use_babel, thus passing it to the inset::latex methods.
5903 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5904 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5906 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5907 longer has a fragile arg, as it is stored in runparams.fragile.
5909 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5910 moving_arg parameter as the data is stored in runparams.fragile.
5912 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5913 a fragile parameter as the data is stored in runparams.fragile.
5915 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5917 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5919 2003-05-22 Angus Leeming <leeming@lyx.org>
5921 * latexrunparams.h: add a 'bool nice' which defaults to false.
5923 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5924 now encapsulated within runparams.
5926 * bufferlist.C (updateIncludedTeXfiles):
5927 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5929 2003-05-22 Angus Leeming <leeming@lyx.org>
5931 * latexrunparams.h: new file containing struct LatexRunParams.
5932 * Makefile.am: add new file.
5934 * LaTeX.[Ch] (c-tor, run):
5935 * buffer.[Ch] (makeLaTeXFile):
5936 * bufferlist.[Ch] (updateIncludedTeXfiles):
5937 * converter.C (convert, scanLog):
5938 * converter.[Ch] (runLaTeX):
5939 * exporter.C (Export):
5940 * paragraph.[Ch] (simpleTeXOnePar):
5941 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5942 * paragraph_funcs.[Ch] (latexParagraphs):
5943 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5944 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5945 pass around a LatexRunParams parameter.
5947 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5949 * paragraph.[Ch]: remove unused constructor
5951 * ParagraphList.C (erase): new function, taking two iterators
5953 2003-05-22 André Pönitz <poenitz@gmx.net>
5955 * undo_funcs.C: remove duplicated code
5957 * iterator.[Ch]: operator=
5959 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5961 * tabular.C (SetMultiColumn): ws changes
5963 * rowpainter.C (paintFirst): get rid of a ->previous
5965 * lyx_cb.C (getPossibleLabel): parlist simplification
5967 * BufferView.C (ChangeInsets): simplify slightly.
5969 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5971 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5972 * lfuns.h: new LFUN_SPACE
5973 * lyxfunc.C: protected space has a new lfun
5974 * paragraph_funcs.C: read new space insets
5976 * factory.C: handle new space insets
5978 2003-05-22 André Pönitz <poenitz@gmx.net>
5981 * BufferView_pimpl.C:
5984 * undo_funcs.C: return a ParIterator from getParFromID.
5986 * iterators.[Ch]: add two const's
5988 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5990 * toc.C (getTocList): adjust
5992 * iterators.[Ch]: rework for parlist
5994 * buffer.C (par_iterator_begin): adjust
5995 (par_iterator_end): adjust
5997 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5999 * BufferView.C (removeAutoInsets): adjust
6000 (ChangeInsets): adjust
6002 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6004 * text.C (top_y): fix bug 1110
6006 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6008 * errorlist.[Ch]: added
6011 * BufferView_pimpl.C:
6012 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6015 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6017 * Makefile.am: ensure that lyx is relinked upon changes to the
6018 various "convenience" libs.
6020 2003-05-20 Angus Leeming <leeming@lyx.org>
6022 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6023 files are compiled in alphabetical order again.
6025 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6027 2003-05-19 Angus Leeming <leeming@lyx.org>
6029 * gettext.[Ch]: remove "char const * _(char const *)".
6031 2003-05-19 André Pönitz <poenitz@gmx.net>
6033 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6042 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6044 2003-05-19 André Pönitz <poenitz@gmx.net>
6048 * lyxtextclass.[Ch]:
6050 * paragraph_funcs.[Ch]:
6052 * text3.C: more insetenv work
6054 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6056 * ParagraphParameters.C (params2string): small bug fixed
6058 2003-05-16 André Pönitz <poenitz@gmx.net>
6061 * bufferview_funcs.C: patch from Kornel Benko to prevent
6062 crash when _(...) is called twice in a statement
6064 2003-05-16 André Pönitz <poenitz@gmx.net>
6071 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6073 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6075 * lyx_main.C (init): remove spurious static_cast
6077 2003-05-14 André Pönitz <poenitz@gmx.net>
6079 * BufferView.C: fix format string
6081 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6083 * BufferView.[Ch] (insertErrors): removed
6084 * BufferView.[Ch] (showErrorList): added
6085 * buffer.C (runChkTeX):
6086 * converter.C (scanLog): call showErrorList instead of inserterrors
6088 2003-05-13 André Pönitz <poenitz@gmx.net>
6090 * BufferView_pimpl.C:
6092 * bufferview_func.C:
6099 * tabular_funcs.h: tostr() from its own header
6101 * ParagraphParameters.C:
6106 * text3.C: STRCONV()
6108 2003-05-12 André Pönitz <poenitz@gmx.net>
6111 * BufferView_pimpl.C:
6115 * ParagraphParameters.C:
6119 * bufferview_funcs.C:
6132 * paragraph_funcs.C:
6136 * text3.C: boost::format -> bformat all over the place
6139 2003-05-09 André Pönitz <poenitz@gmx.net>
6141 * LColor.[Ch]: Pimpl the #include <map> away
6143 2003-05-09 John Levon <levon@movementarian.org>
6145 * bufferlist.C: never remove emergency saves
6147 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6149 * Makefile.am: better lib building
6151 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6153 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6155 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6156 (simpleTeXSpecialChars): adjust
6157 (simpleTeXSpecialChars): adjust
6158 * paragraph.C (simpleTeXOnePar): adjust
6159 * buffer.C (makeLaTeXFile): adjust
6161 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6163 * text2.C (changeDepth): parlist cleanup
6164 (getColumnNearX): ditto
6166 * rowpainter.C (getLabelFont): parlist cleanup
6168 * bufferlist.C (newFile): parlist cleanup
6170 * CutAndPaste.C (eraseSelection): parlist cleanup
6172 * BufferView_pimpl.C (trackChanges): parlist cleanup
6175 * BufferView.C (lockInset): parlist cleanup.
6176 (ChangeInsets): ditto
6178 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6180 * CutAndPaste.h: Update file header.
6182 * CutAndPaste.C: Update file header.
6183 Store the parts cut out of the Document in a limited_stack.
6184 (copySelection): adjust
6185 (pasteSelection): new function, takes the index in the limited stack.
6186 (nrOfParagraphs): adjust
6187 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6188 simplify error inset insertion.
6189 (checkPastePossible): adjust
6191 2003-05-06 John Levon <levon@movementarian.org>
6193 * text2.C: don't cast wrap inset to float
6195 2003-05-05 André Pönitz <poenitz@gmx.net>
6198 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6200 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6201 few naked Paragraph *.
6203 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6205 * bufferparams.C: Output warning if a document with missing
6206 TeX document class is loaded
6207 * exporter.C: Disable TeX exports if the document class is missing
6210 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6211 isTeXClassAvailable()
6213 2003-05-03 John Levon <levon@movementarian.org>
6216 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6217 explicit cursor show/hide
6219 * BufferView_pimpl.h:
6220 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6221 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6223 * lyxfunc.C: hide cursor before dispatching.
6228 * text3.C: remove explicit cursor hides
6230 2003-05-02 André Pönitz <poenitz@gmx.net>
6232 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6235 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6238 * text2.C: tiny whitespace
6240 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6242 * undo_funcs.C: almost only ws changes.
6244 * ParagraphList.C (splice): just return if pl is empty.
6246 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6248 * ParagraphList.C (splice): new function.
6250 * CutAndPaste.C (pasteSelection): use it
6252 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6254 * CutAndPaste.C (pasteSelection): remove the last next and
6255 previous from this file.
6257 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6259 * CutAndPaste.C (pasteSelection): more clean up, user proper
6260 ParagraphList functions for pasteing.
6262 * ParagraphList.C (insert): new function, three arg insert
6264 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6266 * ParagraphList.C (insert): new function, three arg insert
6268 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6271 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6273 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6275 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6277 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6279 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6281 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6282 (copySelection): clean up a bit.
6283 (pasteSelection): use make_pair
6285 * ParagraphList.C (ParagraphList): implement copy constructor
6286 (operator=): implement, base on copy constructor.
6289 * paragraph.C (erase): return a bool
6291 * paragraph_pimpl.C (erasePos): remove function, move contents...
6292 (erase): ... here. Return a bool.
6293 (erase): call erase instead of erasePos.
6295 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6297 * ParagraphList.h: define PitPosPair
6298 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6299 ParagraphList, fix a bug on pasting multiple pars
6300 * text2.C: change interface to C&P
6302 2003-04-30 André Pönitz <poenitz@gmx.net>
6304 * undo_func.C: revert part of yesterday's patch 2
6306 2003-04-30 John Levon <levon@movementarian.org>
6308 * LColor.C: s/tabular/table/
6310 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6312 * text3.C (dispatch): do not convert iterator -> pointer
6313 * undo_funcs.C (setCursorParUndo): ditto
6314 * text_funcs.C (transposeChars): ditto
6316 * text2.C (setLayout): ws changes only
6318 * text.C (breakParagraph): do not convert iterator -> pointer
6320 (acceptChange): ditto
6321 (rejectChange): ditto
6326 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6329 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6331 * text3.C (gotoInset): YABG (yet another bad getChar)
6333 2003-04-29 André Pönitz <poenitz@gmx.net>
6335 * paragraph.h: make operator= private unimplemented as long as
6338 * ParagraphList.C: whitespace
6341 * paragraph_pimpl.[Ch]:
6342 * paragraph_funcs.C:
6344 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6347 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6349 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6351 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6352 * paragraph.[Ch] (erase):
6353 * paragraph_pimpl.[Ch] (erase): change return type and value
6354 * text2.C (cutSelection): some rework
6356 2003-04-28 John Levon <levon@movementarian.org>
6358 * bufferlist.C: changes for unsaved changes dialog
6360 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6362 * bufferlist.C (newFile): set language (messages_) for new
6365 * buffer.C (readFile): ws changes only.
6367 2003-04-28 André Pönitz <poenitz@gmx.net>
6372 * BufferView_pimpl.C:
6373 * BufferView.C: getParFromID related ParagraphList::iterator changes
6375 2003-04-28 André Pönitz <poenitz@gmx.net>
6377 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6380 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6382 * messages.C: remove one more localedir class variable.
6384 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6386 * messages.C (getLocaleDir): singleton generation function
6388 (Messages): add a default constructor.
6390 * main.C (main): do not setup localedir here, do not call
6393 * gettext.C (_): use it.
6394 (gettext_init): delete funciton
6396 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6398 * gettext.C (getLyXMessages): new singleton generating function.
6400 * buffer.C (updateDocLang): adjust
6402 * Makefile.am (messages.o): add target
6403 (main.o): remove target
6405 2003-04-27 John Levon <levon@movementarian.org>
6410 * lyxvc.C: specify cancel button in Alert::prompt
6412 2003-04-26 John Levon <levon@movementarian.org>
6417 * LyXAction.C: add LFUN_INSET_SETTINGS
6419 * lyxfunc.C: don't enable tabular-feature when there's
6420 just any locking inset
6422 2003-04-26 John Levon <levon@movementarian.org>
6424 * bufferlist.C: re-add Cancel to buffer close question
6426 * lyxfunc.C: fix import UI a bit
6428 2003-04-25 John Levon <levon@movementarian.org>
6430 * gettext.C: remove the broken asserts for now
6432 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6434 * messages.C: make case where setlocale cannot comply work better.
6436 * buffer.C (updateDocLang): new function
6437 (changeLanguage): use it
6440 * text2.C (setCounter): use B_ a bit.
6442 * lyxlayout.C (Read): be sure to trim the label strings.
6444 * messages.C (Messages): fix typo in comment
6446 * buffer.C (readFile): set message_ after file is loaded.
6447 (makeDocBookFile): remove double return
6448 (changeLanguage): reset message_ upon language change.
6449 (B_): new func, use this to get translated buffer strings.
6451 * main.C: add myself and Jean Marc as authors.
6453 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6455 * messages.[hC]: pimplify Messages, and three different pimpls to be
6456 used in different circumstances.
6458 * gettext.[Ch]: change for use with new message code.
6460 2003-04-24 André Pönitz <poenitz@gmx.net>
6462 * factory.C: support for eqref
6464 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6466 * messages.[Ch]: add missing char
6468 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6470 * messages.[Ch]: New files
6472 2003-04-18 John Levon <levon@movementarian.org>
6476 * BufferView_pimpl.C:
6480 * text2.C: remove layout-copy/paste (bug 778)
6482 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6484 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6486 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6488 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6489 if they succeed. Act accordingly.
6491 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6493 * text2.C (setCharFont): adjust
6494 (setCounter): adjust
6495 (insertStringAsLines): adjust
6497 * text.C (leftMargin): adjust
6498 (setHeightOfRow): adjust
6500 * rowpainter.C (paintFirst): adjust
6503 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6505 (isFirstInSequence): ditto
6506 (getEndLabel): ditto
6509 * paragraph.C (getParLanguage): comment out some hard stuff.
6511 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6513 (simpleDocBookOnePar): ditto
6514 (makeDocBookFile): use ParagraphList::iterator
6516 * CutAndPaste.C (pasteSelection): adjust
6518 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6520 * text2.C (getFont): adjust
6521 (getLayoutFont): adjust
6522 (getLabelFont): adjust
6524 * paragraph_funcs.C (TeXOnePar): adjust
6526 * buffer.C (simpleLinuxDocOnePar): adjust
6527 (simpleDocBookOnePar): adjust
6529 * CutAndPaste.C (pasteSelection): adjust
6531 * BufferView.C (getEncoding): adjust
6533 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6535 2003-04-16 John Levon <levon@movementarian.org>
6537 * lyxfind.C: use parlist stuff for search/changes
6539 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6541 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6543 * text2.C (deleteEmptyParagraphMechanism): adjust
6545 * text2.[Ch] (ownerParagraph): delete func (both of them
6547 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6549 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6551 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6553 * ParagraphList.C: prepare for NO_NEXT
6555 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6557 * text2.C (getFont): adjust
6558 (getLayoutFont): adjust
6559 (getLabelFont): adjust
6561 * paragraph.C (getFont): adjust
6562 (getLabelFont): adjust
6563 (getLayoutFont): adjust
6565 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6567 2003-04-15 John Levon <levon@movementarian.org>
6571 * lyx_main.C: handle Include in .ui files
6573 2003-04-15 John Levon <levon@movementarian.org>
6575 * MenuBackend.C: make the doc files length shorter
6578 * ToolbarBackend.C: handle toolbar placement flags,
6581 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6583 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6586 * paragraph_funcs.C (TeXOnePar): adjust
6588 * paragraph.C (getLabelFont): add outerfont arg, adjust
6589 (getLayoutFont): ditto
6590 (simpleTeXOnePar): adjust
6592 * paragraph_pimpl.C (realizeFont): delete func
6594 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6596 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6597 row argument, constify cur argument.
6599 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6601 * text2.C (getFont): adjust
6602 (getLayoutFont): adjust
6603 (getLabelFont): adjust
6605 * paragraph_funcs.C (TeXOnePar): adjust
6606 (outerFont): new func...
6607 (realizeFont): ...moved out from here, changed this to facilitate
6610 * paragraph.C (getFont): take outerfont as arg, adjust
6611 (simpleTeXOnePar): add outerfont arg, adjust
6613 * buffer.C (simpleLinuxDocOnePar): adjust
6614 (simpleDocBookOnePar): adjust
6616 * CutAndPaste.C (pasteSelection): adjust
6618 * BufferView.C (getEncoding): adjust
6620 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6622 * text2.C (setCharFont): adjust
6623 (setCounter): adjust
6625 * text.C (leftMargin): adjust
6626 (setHeightOfRow): adjust
6628 * rowpainter.C (paintFirst): adjust
6631 * paragraph_pimpl.C (realizeFont): adjust
6633 * paragraph.C (isFirstInSequence): move from here...
6634 * paragraph_funcs.C (isFirstInSequence): ...to here
6636 * paragraph.C (outerHook): move from here...
6637 * paragraph_funcs.C (outerHook): ...to here
6639 * paragraph.C (depthHook): move from here...
6640 * paragraph_funcs.C (depthHook): ...to here
6642 * paragraph.C (getEndLabel): move from here...
6643 * paragraph_funcs.C (getEndLabel): ...to here
6645 * text2.C (realizeFont): move from here...
6646 * paragraph_funcs.C (realizeFont): ...to here
6648 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6650 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6652 2003-04-14 Angus Leeming <leeming@lyx.org>
6654 * LColor.[Ch]: scrap LColor mathcursor.
6656 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6658 * lyxlex.[Ch] (text): delete function
6659 * trans.C (Load): adjust
6660 * paragraph_funcs.C (readParToken): adjust
6662 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6664 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6665 vector<char> instead of a char[].
6667 * lyxlex_pimpl.C (getString): adjust
6669 (lex): use getString
6673 * lyxlex.C (text): use pimpl_->getString()
6677 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6679 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6680 (makeFontEntriesLayoutSpecific): temp var for par.size()
6681 (setLayout): temp var for ownerParagraphs().end()
6682 (fullRebreak): temp var for rows().end()
6683 (selectionAsString): temp var for boost::next(startpit), realize
6684 that the while really is a regular for loop.
6685 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6686 setCursor in one place.
6687 (setParagraph): temp vr for ownerParagraphs().end()
6688 (updateCounters): make the while loop a for loop
6689 (cutSelection): temp var for ownerParagraphs().end()
6690 (updateInset): make the do {} while() a regular for loop
6691 (getCursorX): use temp vars
6692 (setCurrentFont): use temp vars
6693 (getColumnNearX): use temp vars
6695 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6697 * text.C (transformChar): use temp var for getChar
6698 (computeBidiTables): use temp var for row->par()
6699 (fill): move temp vars for row->par() and pit->layout() earlier in
6701 (labelFill): use temp var for row->par()
6702 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6703 asc and desc, realize that pit never changes and that firstpit is
6704 just a duplicate and not needed. Exchange rit->par() with pit in a
6706 (breakAgain): use a temp var for boost::next(rit)
6707 (breakAgainOneRow): ditto
6708 (breakParagraph): use a temp var for rows().begin()
6709 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6710 (cursorRightOneWord): use temp var for cursor.par() and
6711 cursor.pos(), remove usage of tmpcursor.
6712 (cursorLeftOneWord): use temp var for cursor.par() and
6713 cursor.pos() only set cur at end of function.
6715 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6717 * text.C, text2.C: exchange all usage of Paragraph::next with
6718 boost::next(ParagraphList::iterator)
6720 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6722 * text2.C (cursorTop): simplify implementation
6723 (cursorBottom): ditto
6724 (setParagraph): use ParagraphList::iterator
6725 (setCurrentFont): adjust
6726 (getColumnNearX): adjust
6727 (cursorRight): adjust
6728 (cursorLeft): remove usage of Paragraph::previous
6729 (cursorUpParagraph): ditto
6730 (deleteEmptyParagraphMechanism): slight cleanup
6732 * text.C (isBoundary): take a Paragraph const & instead of a
6734 (addressBreakPoint): ditto
6735 (leftMargin): remove usage of Paragraph::previous.
6736 (setHeightOfRow): ditto
6737 (cursorLeftOneWord): ditto
6738 (selectNextWordToSpellcheck): ditto
6741 (breakParagraph): remove one usage of Paragraph::next
6742 (redoParagraph): ditto
6743 (acceptChange): ditto
6744 (insertChar): adjust
6745 (rowBreakPoint): adjust
6747 * bufferview_funcs.C (toggleAndShow): adjust
6749 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6751 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6752 methods to access it.
6754 * text.C: Added updateRowPositions to compute all row positions.
6755 Make top_y and getRowNearY() to use the cached y position
6757 2003-04-11 John Levon <levon@movementarian.org>
6759 * text.C (rowBreakPoint): reintroduce the labelEnd
6760 checks, code copied from the row fill stuff. Deep voodoo.
6762 * text.C (fill): add a comment and debugging for the
6765 2003-04-11 John Levon <levon@movementarian.org>
6767 * text.C: make sure fullrow insets get wrapped to the next line,
6768 even when they're in a manual label
6770 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6772 * text2.C (insertParagraph): make it take ParagraphList::iterator
6774 (setLayout): make it return ParagraphList::iterator
6775 (redoParagraphs): ditto
6777 (checkParagraph): ditto
6779 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6781 * text2.C: adjust several funcs.
6782 (realizeFont): take a ParagraphList::iterator as arg.
6783 (getLayoutFont): ditto
6784 (getLabelFont): ditto
6785 (setCharFont): ditto
6787 * text.C: adjust several funcs.
6789 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6791 * text.C (selectNextWordToSpellcheck): don't accidentally
6794 2003-04-10 John Levon <levon@movementarian.org>
6796 * ToolbarBackend.C (getIcon): special handling for
6799 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6801 * text2.C (cursorRight): a getChar assert fixed
6803 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6805 * text2.C (getFont): change to take a ParagraphList::iterator
6806 instead of Paragraph*
6807 Adjust several functions.
6809 * text.C (transformChar): change to take a ParagraphList::iterator
6810 instead of Paragraph*
6811 (singleWidth): ditto
6812 Adjust several functions.
6814 * rowpainter.C: adjust several functions
6815 * rowpainter.h:store a ParagraphList::iterator and not a
6819 2003-04-09 John Levon <levon@movementarian.org>
6824 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6825 and the "help" bits as well
6827 2003-04-09 John Levon <levon@movementarian.org>
6830 * ToolbarBackend.C: allow multiple toolbars
6832 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6834 * undo_funcs.C (setCursorParUndo): adjust
6836 * text_funcs.C (transposeChars): adjust
6838 * text3.C (gotoNextInset): adjust
6841 * text2.C (setLayout): adjust
6842 (changeDepth): adjust
6844 (redoParagraphs): adjust
6845 (selectionAsString): adjust
6846 (setParagraph): adjust
6847 (insertInset): adjust
6848 (cutSelection): adjust
6849 (copySelection): adjust
6850 (pasteSelection): adjust
6851 (insertStringAsLines): adjust
6852 (updateInset): adjust
6853 (setCursor): change to take a ParagraphList::iterator parameter
6854 (setCursorIntern): change to take a ParagraphList::iterator parameter
6855 (setCurrentFont): adjust
6856 (cursorLeft): adjust
6857 (cursorRight): adjust
6858 (deleteEmptyParagraphMechanism): adjust
6860 * text.C (breakParagraph): adjust
6861 (insertChar): adjust
6862 (acceptChange): adjust
6863 (rejectChange): adjust
6864 (selectNextWordToSpellcheck): adjust
6865 (changeCase): adjust
6869 * lyxfind.C (SearchForward): adjust
6870 (SearchBackward): adjust
6871 (nextChange): adjust
6873 * lyxcursor.C (par): adjust
6875 * lyxcursor.h: store a ParagraphList::iterator instead of a
6878 * lyx_cb.C (getPossibleLabel): adjust
6880 * bufferview_funcs.C (toggleAndShow): adjust
6882 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6885 * BufferView.C (removeAutoInsets): adjust
6886 (lockedInsetStoreUndo): adjust
6888 2003-04-09 John Levon <levon@movementarian.org>
6890 * ToolbarBackend.C: try icon without argument
6891 if with argument fails
6893 2003-04-08 John Levon <levon@movementarian.org>
6896 * ToolbarBackend.C: add getIcon(), handle tooltip,
6897 and change from "Icon" to "Item".
6899 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6901 * BufferView.C (lockInset): another bad getchar crunched
6903 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6905 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6908 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6910 * lyxfind.C (searchForward, searchBackwards): bug 782
6912 2003-04-07 John Levon <levon@movementarian.org>
6914 * paragraph.C: remove dead comment
6916 * text.C: remove troublesome depth-fiddling code
6917 in leftMargin() and rightMargin() (bug 1017)
6919 * text.C: fix breaking of rows in nested lists
6922 * text2.C (updateCounters): fix up depth values
6925 2003-04-07 John Levon <levon@movementarian.org>
6927 * BufferView_pimpl.C: clear message when doc finishes resizing,
6928 and after a mouse event
6930 * lyxfunc.C: clear message after exiting inset
6932 2003-04-07 John Levon <levon@movementarian.org>
6934 * bufferview_funcs.C: show math status not outside
6935 status in the statusbar
6937 2003-04-07 John Levon <levon@movementarian.org>
6939 * lyxfunc.C: note status changed after a depth change
6941 2003-04-04 Angus Leeming <leeming@lyx.org>
6943 * LaTeX.h: move AuxInfo operator==, != out of line.
6944 Remove LaTeX virtual destructor; nothing derives from it.
6945 Move operator()() out of public area and rename it startscript().
6946 Change protected for private.
6948 2003-04-04 Angus Leeming <leeming@lyx.org>
6951 * text2.C: remove unneeded #includes.
6953 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6955 * text2.C (dEPM): fix the heigth of the next row
6957 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6959 * text.C: squashed an invalid getChar requester + some ws changes
6961 2003-04-03 John Levon <levon@movementarian.org>
6963 * bufferview_funcs.h:
6964 * bufferview_funcs.C:
6967 * text2.C: make getStatus work for the env depth lfuns
6969 2003-04-03 John Levon <levon@movementarian.org>
6971 * bufferview_funcs.h:
6972 * bufferview_funcs.C:
6975 * text2.C: parlistize decDepth(), by merging it with incDepth()
6977 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6979 * lyxrow.h: store a ParagraphList::iterator instead of a
6980 Paragraph* and adjust other class functions to suit.
6982 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6985 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6987 * text2.C (setCursor): do not anchor to cursor row for the time being
6989 2003-04-02 John Levon <levon@movementarian.org>
6996 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6998 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7000 * paragraph.h: make ParagraphList and ParagraphList::iterator
7001 friends of Paragraph.
7003 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7005 * ParagraphList.C: Use the private next_ and previous_ from
7008 2003-04-01 John Levon <levon@movementarian.org>
7012 * Makefile.am: rename, remove defaults gunk
7015 * MenuBackend.C: remove defaults gunk
7018 * Languages.C: remove defaults gunk
7021 * lyx_main.C: error out if files couldn't be found.
7023 2003-04-02 John Levon <levon@movementarian.org>
7025 * text2.C: make incDepth() use parlist
7027 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7029 * undo_funcs.C (firstUndoParagraph): adjust
7031 * text3.C (gotoInset): adjust
7032 (dispatch): adjust, and rewrite loop.
7034 * text2.C (init): adjust, and rewrite loop.
7035 (redoParagraphs): adjust
7036 (updateInset): adjust, and rewrite loop.
7037 (deleteEmptyParagraphMechanism): adjust
7039 * tabular.C (LyXTabular): adjust
7040 (SetMultiColumn): adjust
7043 * lyxtext.[Ch] (ownerParagraph): delete function
7044 (ownerParagraphs): new function returns a ParagraphList.
7046 * BufferView.C (removeAutoInsets): adjust
7047 (insertErrors): adjust
7048 (setCursorFromRow): adjust
7050 2003-04-01 Angus Leeming <leeming@lyx.org>
7052 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7055 2003-04-02 John Levon <levon@movementarian.org>
7061 * text_funcs.C: make transposeChars a free function
7063 * lyxrow_funcs.C: remove wrong comment
7065 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7068 * rowpainter.C: adjust
7073 * lyxrow_funcs. [Ch]: new files
7075 * lyxrow.[Ch]: remove next and previous pointers
7076 (next,previous): remove accessor functions
7077 (isParEnd): move to lyxrow_funcs
7078 (lastPos): move to lyxrow_funcs
7079 (nextRowIsAllInset): move to lyxrow_funcs
7080 (lastPrintablePos): move to lyxrow_funcs
7081 (numberOfSeparators): move to lyxrow_funcs
7082 (numberOfHfills): move to lyxrow_funcs
7083 (numberOfLabelHfills): move to lyxrow_funcs
7084 (hfillExpansion): move to lyxrow_funcs
7088 * bufferview_funcs.C (toggleAndShow): adjust
7090 * RowList.h: Remove class RowList from file leave just a
7093 * RowList.C: delete file
7095 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7098 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7100 * text3.C (cursorPrevious): adjust
7101 (cursorNext): adjust
7104 * text2.C (redoHeightOfParagraph): adjust
7105 (redoDrawingOfParagraph): adjust
7108 * text.C (breakParagraph): adjust
7109 (insertChar): adjust
7112 * rowpainter.C (RowPainter): adjust
7113 (leftMargin): simplify and adjust
7114 (most rowpainter functions): adjust.
7116 * rowpainter.h: store the row as RowList::iterator not as Row*
7118 * lyxcursor.C (row): taka RowList::iterator as arg
7121 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7124 2003-04-01 Angus Leeming <leeming@lyx.org>
7126 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7127 stuff like bool Bool.
7129 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7131 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7134 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7136 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7139 * lyxtext.h (rows): drop one version and leve a const variant that
7140 returns a RowList::iterator.
7142 2003-03-31 Angus Leeming <leeming@lyx.org>
7144 * text.C (fill): ensure that the signature is the same as that in the
7147 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7149 * text2.C (redoParagraphs): adjust
7150 (updateCounters): adjust
7151 (checkParagraph): adjust
7152 (getColumnNearX): adjust and reformat a bit.
7154 * text.C (top_y): adjust
7156 (leftMargin): adjust
7157 (prepareToPrint): adjust
7159 (getRowNearY): adjust
7161 * lyxtext.h: make rowlist_ mutable.
7163 * RowList.h: add const_iterator
7164 * RowList.C: adjust for RowList::const_iterator.
7166 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7169 2003-03-31 John Levon <levon@movementarian.org>
7172 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7174 * lyx_main.C: set default fonts from using lyx_gui funcs
7176 * exporter.C: pdf_mode moved from lyxrc
7179 * lyxfunc.C: changes from above
7181 2003-03-31 John Levon <levon@movementarian.org>
7183 * lyx_main.C: fix to the last fix
7185 2003-03-31 John Levon <levon@movementarian.org>
7187 * bufferlist.C: "Load original" -> "Load Original"
7193 * format.C: more Alert cleanups
7195 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7197 * text2.C (removeParagraph): make it take a RowList::iterator as
7199 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7200 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7202 * text.C (anchor_row): make it take a RowList::iterator as arg,
7204 (computeBidiTables): make it take a const reference to Row instead
7205 of Row pointer, adjust.
7206 (leftMargin): make it take a RowList::iterator as arg, adjust.
7207 (rowBreakPoint): adjust
7208 (breakAgainOneRow): make it take a RowList::iterator as arg,
7210 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7212 * bufferview_funcs.C (toggleAndShow): adjust
7214 2003-03-30 John Levon <levon@movementarian.org>
7218 * boost-inst.C: moved to support
7220 * several files: changes as a result
7222 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7224 * text2.C (LyXText): adjust.
7226 (removeRow): make it take a RowList::iterator as arg, adjust.
7227 (fullRebreak): adjust
7228 (deleteEmptyParagraphMechanism): adjust
7229 (clearPaint): adjust
7232 * text.C (top_y): adjust
7233 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7234 (breakAgain): make it take a RowList::iterator as arg, adjust.
7235 (breakParagraph): adjust
7236 (insertChar): adjust
7239 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7240 need_break_row, and refresh_row.
7242 * text3.C (dispatch): adjust
7244 * text2.C (checkParagraph): adjust
7246 (setCursorFromCoordinates): adjust
7248 * text.C (top_y): adjust
7250 (getRow): make it return a RowList::iterator, adjust
7251 (getRowNearY): make it return a RowList::iterator, adjust
7253 * text2.C (init): adjust
7254 (insertRow): remove function
7255 (insertParagraph): adjust
7256 (redoParagraphs): adjust
7257 (fullRebreak): adjust
7258 (updateCounters): adjust
7260 * text.C (top_y): rewrite to use RowList iterators.
7262 (setHeightOfRow): rewrite to sue RowList iterators.
7263 (appendParagraph): adjust
7264 (breakAgain): adjust
7265 (breakAgainOneRow): adjust
7266 (breakParagraph): adjust
7268 (getRowNearY): adjust, and remove commented code.
7270 * lyxtext.h (firstRow): delete function
7271 (lastRow): delete function
7272 (rows): new function (const and non-const versions.)
7273 (insertRow): delete function
7275 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7277 2003-03-29 John Levon <levon@movementarian.org>
7279 * BufferView_pimpl.C: always update scrollbar top
7280 because pasting text when we're anchored could mean we
7281 miss an update altogether
7283 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7285 * text2.C (init): use rowlist_.end() and not 0.
7286 (insertRow): change to take a RowList::iterator as arg, adjust
7288 (insertParagraph): change to take a RowList::iterator as arg,
7290 (redoParagraphs): remove some debug msgs.
7292 * text.C (appendParagraph): change to take a RowList::iterator
7293 arg, adjust for this.
7294 (breakAgain): add an assert
7295 (breakAgainOneRow): ditto
7297 2003-03-29 John Levon <levon@movementarian.org>
7299 * text2.C: do not clear selection after inc/decDepth
7302 2003-03-29 John Levon <levon@movementarian.org>
7305 * buffer.C: fix broken strerrors according to Lars
7307 2003-03-29 John Levon <levon@movementarian.org>
7309 * converters.C: more Alert cleanups
7311 2003-03-29 John Levon <levon@movementarian.org>
7313 * bufferview_funcs.C: remove pointless Alert
7315 * buffer.C: fix confusing error message when
7316 a template is chmoded 000
7318 2003-03-29 John Levon <levon@movementarian.org>
7322 * BufferView_pimpl.C: Alert fixes
7326 * tabular-old.C: remove unused table compat reading
7328 2003-03-29 John Levon <levon@movementarian.org>
7333 * lyx_cb.C: more Alert cleanups
7335 * lyxfunc.C: don't allow chktex if not latex document
7337 2003-03-29 John Levon <levon@movementarian.org>
7341 * buffer.C: warnings pushed down from support/,
7344 2003-03-29 John Levon <levon@movementarian.org>
7346 * lyxfunc.C: safety check for C-r (revert)
7348 2003-03-29 John Levon <levon@movementarian.org>
7351 * bufferlist.C: several UI fixes using Alert::prompt.
7352 Fix the pointless looping quit code. Fix stupid revert
7357 * lyx_cb.C: use Alert::prompt
7359 * lyx_main.C: remove a silly question
7361 * lyxfunc.C: remove a couple of silly questions,
7364 2003-03-28 John Levon <levon@movementarian.org>
7366 * text2.C: fix bug 974 (End on empty par)
7368 2003-03-28 John Levon <levon@movementarian.org>
7370 * BufferView_pimpl.C:
7372 * lfuns.h: remove do-nothing math greek lfuns
7374 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7376 * lyxgluelength.h (isValidGlueLength): add default arg on
7377 parameter 2. Remove default arg from friend in class.
7379 * lyxlength.h (isValidLength): add default arg on parameter 2.
7380 Remove default arg from friend in class.
7382 * text2.C (LyXText): adjust, initialize refresh_row.
7386 (insertParagraph): adjst
7387 (redoParagraphs): adjust
7388 (fullRebreak): adjust
7389 (updateCounters): adjust
7390 (deleteEmptyParagraphMechanism): first attempt at fixing a
7393 * text.C (top_y): adjust
7394 (setHeightOfRow): adjust
7396 (getRowNearY): adjust
7398 * lyxtext.h: include RowList.h
7399 (~LyXText): not needed anymore, deleted.
7400 (firstRow): modify for RowList
7401 (lastRow): new function
7402 Delete firstrow and lastrow class variables, add a Rowlist
7403 rowlist_ class variable.
7405 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7408 * RowList.C (insert): fix case where it == begin().
7410 2003-03-26 Angus Leeming <leeming@lyx.org>
7412 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7413 the thesaurus dialog.
7415 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7417 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7419 * RowList.[Ch]: new files
7421 * ParagraphList.C (erase): handle the case where it == begin
7424 2003-03-25 John Levon <levon@movementarian.org>
7428 * aspell.C: add new aspell support
7431 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7434 2003-03-25 Angus Leeming <leeming@lyx.org>
7437 * LyXAction.C (init): new LFUN_INSET_INSERT.
7439 * BufferView_pimpl.C (dispatch): split out part of the
7440 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7442 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7445 2003-03-25 Angus Leeming <leeming@lyx.org>
7447 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7449 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7452 * text3.C: remove useless row->height(0)
7454 2003-03-25 John Levon <levon@movementarian.org>
7458 * text3.C: rename the refreshing stuff to better names
7460 2003-03-24 John Levon <levon@movementarian.org>
7462 * BufferView_pimpl.h:
7463 * BufferView_pimpl.C: update layout choice on a mouse
7466 2003-03-23 John Levon <levon@movementarian.org>
7468 * Makefile.am: fix commandtags.h reference
7470 2003-03-22 John Levon <levon@movementarian.org>
7472 * BufferView_pimpl.C:
7477 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7479 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7482 * text.C: take the rtl methods out of line
7484 2003-03-21 André Pönitz <poenitz@gmx.net>
7486 * metricsinfo.[Ch]: new files containing structures to be passed around
7487 during the two-phase-drawing...
7489 2003-03-21 André Pönitz <poenitz@gmx.net>
7491 * lyxtextclass.C: read 'environment' tag.
7493 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7495 * text2.C (removeRow): fix bug 964
7497 2003-03-20 John Levon <levon@movementarian.org>
7501 * text2.C: paint cleanups. Inset::update() dropped font
7504 2003-03-19 John Levon <levon@movementarian.org>
7506 * lyxfunc.C: only fitcursor/markDirty if available()
7508 2003-03-19 John Levon <levon@movementarian.org>
7510 * commandtags.h: rename to ...
7512 * lfuns.h: ... this, and renumber / cleanup
7514 2003-03-19 John Levon <levon@movementarian.org>
7516 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7517 fit the cursor after an lfun
7521 * BufferView_pimpl.h:
7522 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7524 * LyXAction.C: layout-character should have ReadOnly
7526 * ParagraphParameters.C:
7528 * bufferview_funcs.C:
7535 * undo_funcs.C: changes from above
7537 2003-03-18 John Levon <levon@movementarian.org>
7539 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7540 remove it from update()
7542 * lyxfunc.C: update layout choice after an lfun
7544 * text3.C: remove extra updateLayoutChoice()s
7546 2003-03-18 John Levon <levon@movementarian.org>
7548 * text.C: top_y change means full repaint, fix
7549 a drawing bug with cursor movement
7551 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7555 * text2.C: anchor row on setCursor
7557 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7559 * lyxtext.h: remove almost all mutable keywords
7562 * text3.C: remove const keywords accordingly
7564 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7566 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7568 (TeXEnvironment): ditto
7571 2003-03-17 John Levon <levon@movementarian.org>
7573 * text.C (rowBreakPoint): remove attempt to fix displayed
7574 math insets inside a manual label
7576 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7578 * lyxtext.h: remove BufferView* as first arg from almost all class
7580 * other files: adjust.
7582 2003-03-17 John Levon <levon@movementarian.org>
7586 * text2.C: more paint cleanups
7588 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7591 * rowpainter.C: remove "smart" background painting code
7593 2003-03-16 John Levon <levon@movementarian.org>
7598 * text3.C: add helper functions for setting refresh_row/y
7600 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7602 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7603 newline inset which *can* get inserted in the pass_thru layouts.
7604 This is primarily for literate documents.
7606 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7608 * buffer.C: increment LYX_FORMAT to 223
7610 2003-03-14 André Pönitz <poenitz@gmx.net>
7612 * textclass.h: prepare for environment handling, ws changes
7613 * lyxlayout.C: read latexheader and latexfooter tags
7615 2003-03-14 John Levon <levon@movementarian.org>
7617 * text2.C: rewrite ::status() a bit
7619 2003-03-13 John Levon <levon@movementarian.org>
7621 * lyxtext.h: add some docs
7623 2003-03-13 John Levon <levon@movementarian.org>
7628 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7630 2003-03-13 John Levon <levon@movementarian.org>
7632 * text3.C: fix appendix redrawing
7634 2003-03-13 John Levon <levon@movementarian.org>
7636 * text.C (setHeightOfRow):
7638 * rowpainter.C: make appendix mark have the text
7639 "Appendix" so the user knows what it is
7642 * LColor.C: s/appendixline/appendix/ from above
7644 2003-03-13 John Levon <levon@movementarian.org>
7646 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7648 * text.C: fix a getChar(pos) bug properly
7650 2003-03-13 Angus Leeming <leeming@lyx.org>
7653 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7654 Probably only temporary. Let's see how things pan out.
7656 * BufferView.C (unlockInset):
7657 * BufferView_pimpl.C (fitCursor):
7658 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7660 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7661 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7663 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7664 new functions that convert ParagraphParameters to and from a string.
7666 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7667 BufferView::Pimpl's dispatch.
7668 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7670 2003-03-13 André Pönitz <poenitz@gmx.net>
7674 * factory.C: make it aware of InsetEnv
7676 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7678 * text2.C (setCursor): never ask for one past last
7679 (setCursor): add some debugging messages.
7681 * text.C (singleWidth): never ask for one past last
7682 (singleWidth): ditto
7684 (rightMargin): ditto
7685 (rowBreakPoint): ditto
7686 (setHeightOfRow): ditto
7687 (prepareToPrint): ditto
7689 * rowpainter.C (paintBackground): never ask for one past last
7690 (paintText): never ask for one past last
7692 * paragraph_pimpl.C (getChar): make the assert stricter, never
7693 allow the one past last pos to be taken
7695 * paragraph.C (getChar): ws changes only
7697 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7698 (numberOfSeparators): ditto
7699 (numberOfHfills): ditto
7701 2003-03-12 John Levon <levon@movementarian.org>
7707 * paragraph_funcs.C: fix per-buffer authorlists
7709 2003-03-12 John Levon <levon@movementarian.org>
7711 * text.C: fix newline in right address
7713 2003-03-12 Angus Leeming <leeming@lyx.org>
7715 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7716 duplicate those in LyXFunc::dispatch.
7720 * ToolbarDefaults.C:
7721 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7722 Add LFUN_FONTFREE_UPDATE.
7724 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7725 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7727 * bufferview_func.[Ch]: several new functions to facilliate
7728 transfer of data to and from the character dialog.
7730 2003-03-12 John Levon <levon@movementarian.org>
7735 * paragraph_funcs.C:
7736 * paragraph_pimpl.C:
7740 * text3.C: remove META_NEWLINE in favour of an inset
7743 * rowpainter.C: remove paintNewline (done by inset)
7745 2003-03-12 John Levon <levon@movementarian.org>
7747 * paragraph_pimpl.C: complain about bad getChar()s
7748 for a while at least
7750 2003-03-12 John Levon <levon@movementarian.org>
7753 * buffer.C: move paragraph read into a separate function,
7754 a little renaming to reflect that.
7757 * bufferparams.C: remove the author_ids map, not necessary now
7760 * factory.C: moved Buffer::readInset to here
7762 * paragraph_funcs.h:
7763 * paragraph_funcs.C: readParagraph free function moved from
7766 * tabular.C: name change
7768 2003-03-12 John Levon <levon@movementarian.org>
7771 * ParagraphParameters.C: move par params input to
7774 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7775 behave like a normal read from the stream wrt reading
7776 a line vs. a \\token
7778 2003-03-12 John Levon <levon@movementarian.org>
7781 * ParagraphParameters.h:
7782 * ParagraphParameters.C: move output code to a
7785 2003-03-12 John Levon <levon@movementarian.org>
7787 * BufferView.C (insertLyXFile):
7790 * tabular.C: use a parlist iterator for creating the
7793 2003-03-12 John Levon <levon@movementarian.org>
7795 * buffer.C: make current_change static local not
7798 2003-03-12 John Levon <levon@movementarian.org>
7800 * buffer.C: fix insertStringAsLines for change tracking
7802 2003-03-12 John Levon <levon@movementarian.org>
7809 * bufferparams.C: move author list into params. Rename some
7810 functions. Move the header reading into a separate token
7811 loop. Move the header token reading into BufferParams.
7813 2003-03-12 John Levon <levon@movementarian.org>
7815 * changes.C: put debug inside lyxerr.debugging() checks
7817 2003-03-11 André Pönitz <poenitz@gmx.net>
7819 * factory.C: make it aware of InsetHFill
7821 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7823 * buffer.C (latexParagraphs): move function from here...
7824 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7827 2003-03-10 Angus Leeming <leeming@lyx.org>
7829 * LyXAction.C (init): fix bug in poplating array with multiple entries
7830 with the same LFUN (spotted by JMarc).
7832 2003-03-10 John Levon <levon@movementarian.org>
7835 * text2.C: move getColumnNearX() near its
7838 2003-03-10 John Levon <levon@movementarian.org>
7840 * text.C: fix break before a minipage
7842 2003-03-10 John Levon <levon@movementarian.org>
7844 * text.C: fix the last commit
7846 2003-03-09 John Levon <levon@movementarian.org>
7850 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7851 bug 365 (don't break before insets unless needed). Don't
7852 return a value > last under any circumstances.
7854 2003-03-09 Angus Leeming <leeming@lyx.org>
7856 * BufferView_pimpl.C (trackChanges, dispatch): call
7857 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7859 2003-03-09 Angus Leeming <leeming@lyx.org>
7861 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7862 than Dialogs::showAboutlyx().
7864 2003-03-09 Angus Leeming <leeming@lyx.org>
7866 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7867 than Dialogs::showTabularCreate().
7869 2003-03-09 John Levon <levon@movementarian.org>
7873 * text2.C: 3rd arg to nextBreakPoint was always the same.
7876 2003-03-08 John Levon <levon@movementarian.org>
7883 * text2.C: Remove the "main" bit from the "main body"
7886 2003-03-08 John Levon <levon@movementarian.org>
7888 * text.C (leftMargin): The left margin of an empty
7889 manual label paragraph should not include the label width
7892 * text.C (prepareToPrint): don't attempt to measure hfills
7893 for empty manual label paragraphs - the answer should be 0
7895 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7897 * CutAndPaste.C: remove commented code and reindent.
7899 2003-03-08 John Levon <levon@movementarian.org>
7902 * lyxfunc.C: move reloadBuffer()
7905 * BufferView.C: to here
7907 * lyxvc.C: add comment
7910 * vc-backend.C: call bv->reload() to avoid
7911 getStatus() check on MENURELOAD
7913 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7915 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7916 to an old format .dep file.
7918 2003-03-07 Angus Leeming <leeming@lyx.org>
7920 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7921 when the LFUN_MOUSE_RELEASE should have been handled by
7922 inset->localDispatch.
7924 2003-03-07 Angus Leeming <leeming@lyx.org>
7926 * BufferView_pimpl.C (dispatch):
7927 * LyXAction.C (init):
7928 * ToolbarDefaults.C (init):
7930 * lyxfunc.C (getStatus):
7931 remove LFUN_INSET_GRAPHICS.
7933 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7935 2003-03-07 Angus Leeming <leeming@lyx.org>
7938 * LyXAction.C (init):
7939 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7941 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7944 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7946 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7947 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7949 2003-03-07 Angus Leeming <leeming@lyx.org>
7951 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7954 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7956 * ParagraphList.C (front): new function
7959 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7961 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7962 and top_row_offset_. removed var first_y.
7964 * text2.C (LyXText, removeRow):
7966 * BufferView_pimpl.C:
7967 use these methods instead of using first_y
7969 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7971 * text2.C (pasteSelection): adjust for checkPastePossible
7973 * CutAndPaste.C: remove Paragraph * buf and replace with
7974 ParagraphList paragraphs.
7975 (DeleteBuffer): delete
7976 (cutSelection): change the tc type to textclass_type
7977 (copySelection): change the tc type to textclass_type
7978 (copySelection): adjust for ParagraphList
7979 (pasteSelection): change the tc type to textclass_type
7980 (pasteSelection): adjust for Paragraphlist
7981 (nrOfParagraphs): simplify for ParagraphList
7982 (checkPastePossible): simplify for ParagraphList
7983 (checkPastePossible): remove unused arg
7985 * ParagraphList.C (insert): handle the case where there are no
7988 * CutAndPaste.h: make CutAndPaste a namespace.
7990 * text3.C (dispatch): adjust
7992 * text.C (breakParagraph): add a ParagraphList as arg
7994 * paragraph_funcs.C (breakParagraph): change to take a
7995 BufferParams and a ParagraphList as args.
7996 (breakParagraphConservative): ditto
7997 (mergeParagraph): ditto
7998 (TeXDeeper): add a ParagraphList arg
7999 (TeXEnvironment): ditto
8002 * buffer.C (readLyXformat2): adjust
8003 (insertStringAsLines): adjust
8004 (latexParagraphs): adjust
8006 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8007 (cutSelection): adjust
8008 (pasteSelection): adjust
8010 * BufferView_pimpl.C (insertInset): adjust
8012 2003-03-05 Angus Leeming <leeming@lyx.org>
8015 * LyXAction.C (init):
8016 * BufferView_pimpl.C (dispatch):
8017 * lyxfunc.C (getStatus):
8018 remove LFUN_CHILD_INSERT.
8020 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8022 2003-03-05 Angus Leeming <leeming@lyx.org>
8025 * LyXAction.C (init):
8026 * src/factory.C (createInset):
8027 * lyxfunc.C (getStatus):
8028 * text3.C (dispatch):
8029 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8031 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8033 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8035 * ParagraphList.C (insert): handle insert right before end()
8036 (erase): fix cases where it can be first or last paragraph.
8038 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8040 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8041 Paragraph::next and Paragraph::previous
8044 * text.C (breakParagraph): adjust
8046 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8047 BufferParams& as arg.
8048 (breakParagraph): use ParagraphList::insert
8049 (breakParagraphConservative): take a Buffer* instead of a
8050 BufferParams& as arg.
8051 (breakParagraphConservative): use ParagraphList::insert.
8053 * buffer.C (insertStringAsLines): un-const it
8054 (insertStringAsLines): adjust
8056 * ParagraphList.C (insert): new function
8058 * CutAndPaste.C (pasteSelection): adjust
8060 * text.C (backspace): adjust
8062 * tabular.C (SetMultiColumn): adjust
8064 * CutAndPaste.C (cutSelection): adjust
8065 (pasteSelection): adjust
8067 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8068 Buffer const * as arg
8070 * ParagraphList.C (erase): new function
8071 * paragraph_funcs.C (mergeParagraph): use it
8072 (mergeParagraph): make it take a Buffer* instead of a
8073 BufferParams* as arg
8075 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8077 (breakParagraphConservative): ditto
8079 * paragraph.h: remove the breakParagraph friend
8081 * paragraph.C (eraseIntern): new function
8082 (setChange): new function
8084 * paragraph_funcs.C (mergeParagraph): make it take a
8085 ParagraphList::iterator instead of a Paragraph *, adjust
8088 * paragraph.h: move an #endif so that the change tracking stuff
8089 also works in the NO_NEXT case.
8091 2003-03-04 Angus Leeming <leeming@lyx.org>
8094 * LyXAction.C: new LFUN_INSET_MODIFY.
8096 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8097 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8099 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8101 * several files: ws changes only
8103 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8104 (TeXEnvironment): ditto
8107 * buffer.C (makeLaTeXFile): adjust
8108 (latexParagraphs): make it take ParagraphList::iterator as args
8110 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8112 * buffer.C (latexParagraphs): adjust
8114 * paragraph.C (TeXOnePar): move function...
8115 (optArgInset): move function...
8116 (TeXEnvironment): move function...
8117 * paragraph_pimpl.C (TeXDeeper): move function...
8118 * paragraph_funcs.C: ...here
8120 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8122 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8124 * buffer.C (readInset): remove compability code for old Figure and
8127 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8129 * buffer.C: ws changes
8132 * BufferView_pimpl.C: ditto
8135 * bufferlist.h: ditto
8139 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8141 * converter.[Ch]: split into itself +
8144 * Makefile.am: += graph.[Ch] + format.[Ch]
8151 * lyxrc.C: added #include "format.h"
8153 2003-02-27 Angus Leeming <leeming@lyx.org>
8155 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8158 * factory.C (createInset): add "label" to the factory.
8160 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8161 string and do no more.
8163 2003-02-27 Angus Leeming <leeming@lyx.org>
8166 * LyXAction.C (init):
8167 * factory.C (createInset):
8168 * BufferView_pimpl.C (dispatch):
8169 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8171 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8173 * lyxfunc.C (dispatch):
8174 * text3.C (dispatch): pass name to params2string.
8176 2003-02-26 Angus Leeming <leeming@lyx.org>
8178 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8180 Rearrange the ~includes. Strip out the unnecessary ones.
8182 * factory.C (createInset): reformat.
8183 create new insets for the various LFUN_XYZ_APPLY lfuns.
8185 2003-02-26 John Levon <levon@movementarian.org>
8188 * lyxrow.C: add isParStart,isParEnd helpers
8190 * paragraph.h: make isInserted/DeletedText take refs
8192 * paragraph_funcs.h:
8193 * paragraph_funcs.C: remove #if 0'd code
8198 * text.C: use lyxrow helpers above.
8199 Move draw and paint routines to RowPainter.
8200 Make several methods use refs not pointers.
8201 Make backgroundColor() const.
8202 Add markChangeInDraw(), isInInset().
8203 Merge changeRegionCase into changeCase.
8204 Make workWidth() shouldn't-happen code into an Assert.
8207 * rowpainter.C: new class for painting a row.
8210 * vspace.C: make inPixels take a ref
8212 2003-02-26 Angus Leeming <leeming@lyx.org>
8214 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8217 2003-02-25 John Levon <levon@movementarian.org>
8219 * ispell.C: give the forked command a more accurate name
8221 2003-02-22 John Levon <levon@movementarian.org>
8224 * toc.C: make TocItem store an id not a Paragraph *
8227 2003-02-21 Angus Leeming <leeming@lyx.org>
8229 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8230 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8231 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8232 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8233 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8234 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8236 * BufferView_pimpl.C (dispatch):
8237 * LyXAction.C (init):
8238 * factory.C (createInset):
8239 * lyxfunc.C (getStatus, dispatch):
8240 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8242 2003-02-21 Angus Leeming <leeming@lyx.org>
8244 * BufferView_pimpl.C (MenuInsertLyXFile):
8245 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8246 * lyxfunc.C (menuNew, open, doImport):
8247 no longer pass a LyXView & to fileDlg.
8249 2003-02-21 Angus Leeming <leeming@lyx.org>
8251 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8252 * LyXAction.C: change, BIBKEY to BIBITEM.
8253 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8254 Change InsetBibKey to InsetBibitem.
8255 Change BIBKEY_CODE to BIBITEM_CODE.
8256 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8257 * factory.C: replace insetbib.h with insetbibitem.h.
8258 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8259 * paragraph.C: replace insetbib.h with insetbibitem.h.
8260 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8261 Change bibkey() to bibitem().
8262 * text.C: remove insetbib.h.
8263 * text2.C: replace insetbib.h with insetbibitem.h.
8264 change bibkey() to bibitem().
8265 * text3.C: remove insetbib.h.
8266 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8268 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8270 * lyxrc.C (output): enclose user email in quotes (in case there are
8273 2003-02-18 John Levon <levon@movementarian.org>
8275 * buffer.h: add std::
8277 2003-02-17 John Levon <levon@movementarian.org>
8283 * pspell.C: reworking. Especially in ispell, a large
8284 number of clean ups and bug fixes.
8286 * lyxfunc.C: fix revert to behave sensibly
8288 2003-02-17 André Pönitz <poenitz@gmx.net>
8291 * commandtags.h: new LFUN_INSERT_BIBKEY
8301 * paragraph_func.C: remove special bibkey handling
8303 2003-02-17 John Levon <levon@movementarian.org>
8305 * text.C (Delete): fix case where delete at the end of
8306 the very first paragraph would not merge the pars
8308 2003-02-17 John Levon <levon@movementarian.org>
8310 * lyxrow.C: fix lastPrintablePos()
8312 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8314 * bufferparams.C (writeLaTeX): add a std:here
8316 * buffer.C: and remove a using directive there
8318 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8320 * buffer.C (makeLaTeXFile): move the code that generates the
8323 * bufferparams.C (writeLaTeX): ... in this new method
8325 * LaTeXFeatures.C (getEncodingSet): make const
8326 (getLanguages): make const
8328 * MenuBackend.C (binding): returns the binding associated to this
8330 (add): sets the status of each item by calling getStatus. Adds
8332 (read): add support for OptSubMenu
8333 (expand): remove extra separator at the end of expanded menu
8335 2003-02-15 John Levon <levon@movementarian.org>
8338 * BufferView_pimpl.C:
8340 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8341 inset code that had no actual effect. Remove unneeded status
8344 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8346 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8349 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8351 * text.C (drawLengthMarker): also draw an arrow marker for
8352 symbolic lengths (medskip...)
8354 2003-02-14 John Levon <levon@movementarian.org>
8357 * tabular.C: better method names
8359 2003-02-14 John Levon <levon@movementarian.org>
8361 * BufferView_pimpl.C:
8366 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8367 it's a more accurate name. Remove some pointless uses.
8369 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8371 * text2.C (LyXText): change order of initilizers to shut off
8374 2003-02-14 John Levon <levon@movementarian.org>
8376 * buffer.C: use ParIterator for getParFromID()
8380 * paragraph_pimpl.h:
8381 * paragraph_pimpl.C: remove unused getParFromID()
8383 2003-02-14 John Levon <levon@movementarian.org>
8385 * buffer.C: remove some very old #if 0'd parse code
8387 2003-02-13 John Levon <levon@movementarian.org>
8391 * text2.C: move hfillExpansion(), numberOfSeparators(),
8392 rowLast(), rowLastPrintable(), numberofHfills(),
8393 numberOfLabelHfills() ...
8396 * lyxrow.C: ... to member functions here.
8401 * text.C: remove LyXText::beginningOfMainBody(), and call
8402 p->beginningOfMainBody() directly. Move the check for
8403 LABEL_MANUAL into the latter.
8410 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8416 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8417 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8419 2003-02-13 John Levon <levon@movementarian.org>
8421 * CutAndPaste.C: remove debug
8423 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8425 * paragraph.C (asString): remove two unused variables
8427 * lyxtextclass.C (readTitleType):
8429 (LyXTextClass): handle new members titletype_ and titlename_
8431 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8433 2003-02-09 John Levon <levon@movementarian.org>
8436 * buffer.C: replace hand-coded list with a map for the dep clean
8438 2003-02-08 John Levon <levon@movementarian.org>
8440 * LaTeX.C: consolidate code into showRunMessage() helper
8442 2003-02-08 John Levon <levon@movementarian.org>
8447 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8448 and pass the size in explicitly
8450 * BufferView_pimpl.h:
8451 * BufferView_pimpl.C:
8453 * BufferView.C: add getCurrentChange()
8455 * BufferView_pimpl.h:
8456 * BufferView_pimpl.C: handle change lfuns
8458 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8459 for changes. Mark pasted paragraphs as new.
8461 * support/lyxtime.h:
8462 * support/lyxtime.C:
8463 * DepTable.C: abstract time_t as lyx::time_type
8466 * LColor.C: add colours for new text, deleted text, changebars
8468 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8469 package use "usenames" option.
8473 * LyXAction.C: add change lfuns
8477 * author.C: author handling
8480 * buffer.C: add a per-buffer author list, with first entry as
8481 current author. Handle new .lyx tokens for change tracking. Output
8482 author list to .lyx file. Output dvipost stuff to .tex preamble.
8483 Bump lyx format to 222.
8486 * bufferlist.C: add setCurrentAuthor() to reset current author details
8490 * bufferparams.C: add param for tracking
8492 * bufferview_funcs.C: output change info in minibuffer
8496 * changes.C: add change-tracking structure
8499 * debug.C: add CHANGES debug flag
8502 * lyxfind.C: add code for finding the next change piece
8505 * lyxrc.C: add user_name and user_email
8508 * lyxrow.C: add a metric for the top of the text line
8511 * text.C: implement accept/rejectChange()
8514 * text.C: paint changebars. Paint new/deleted text in the chosen
8515 colours. Strike through deleted text.
8519 * paragraph_pimpl.h:
8520 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8521 in the current change to the insert functions. Rework erase to
8522 mark text as deleted, adding an eraseIntern() and a range-based
8523 erase(). Implement per-paragraph change lookup and
8526 * paragraph_funcs.C: Fixup paste for change tracking.
8528 * tabular.C: mark added row/columns as new.
8530 * text.C: fix rowLast() to never return -1. Don't allow
8531 spellchecking of deleted text. Track transpose changes. Don't
8532 allow paragraph break or merge where appropriate.
8534 * text2.C: leave cursor at end of selection after a cut.
8536 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8538 * text.C (getLengthMarkerHeight):
8539 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8540 visible on screen too.
8542 2003-02-07 John Levon <levon@movementarian.org>
8544 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8546 2003-02-05 Angus Leeming <leeming@lyx.org>
8548 * lyxserver.C (read_ready): revert my patch of 11 September last year
8549 as it sends PC cpu through the roof. Presumably this means that
8550 the lyxserver will no longer run on an Alpha...
8552 2003-01-30 Angus Leeming <leeming@lyx.org>
8554 * factory.C (createInset): create an InsetCommandParam of type "index"
8555 and use it to 'do the right thing'.
8557 * text2.C (getStringToIndex): ensure that cursor position is always
8558 reset to the reset_cursor position.
8560 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8562 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8565 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8569 * lyxfunc.C: Output messages with identical spelling, punctuation,
8572 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8574 * MenuBackend.C (expandFormats): List only viewable export formats
8577 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8580 * lyxfunc.C (getStatus): Make sure that formats other than
8581 "fax" can also be disabled
8583 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8585 * text3.C (dispatch): put the lfuns that insert insets in 3
8586 groups, and call doInsertInset with appropriate arguments.
8587 (doInsertInset): new function, that creates an inset and inserts
8588 it according to some boolean parameters.
8590 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8592 * buffer.C (readFile): remember to pass on 'par' when calling
8593 readFile recursively.
8595 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8597 * MenuBackend.C (expandFormats): add "..." to import formats.
8599 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8601 * paragraph.C (asString): Remove XForms RTL hacks.
8603 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8604 * buffer.C: fix typo
8606 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8608 * Makefile.am (LIBS): delete var
8609 (lyx_LDADD): add @LIBS@ here instead.
8611 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8613 * Clarify the meaning of "wheel mouse jump"
8615 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8617 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8620 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8622 * importer.C (Loaders): do not preallocate 3 elements in the
8623 vector, since one ends up with 6 elements otherwise
8625 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8627 * DepTable.C (write): write the file name as last element of the
8628 .dep file (because it may contain spaces)
8629 (read): read info in the right order
8631 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8633 * paragraph_pimpl.C (simpleTeXBlanks):
8634 (simpleTeXSpecialChars):
8635 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8637 * tabular.C (latex): add some missing case statements. Reindent.
8639 * MenuBackend.C (expandToc): remove unused variable.
8641 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8650 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8653 2003-01-05 John Levon <levon@movementarian.org>
8656 * BufferView.C: add getEncoding()
8659 * kbsequence.C: do not store last keypress
8662 * lyxfunc.C: store last keypress here instead. Pass encoding
8665 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8667 * lyx_main.C (init): remove annoying error message when following
8668 symbolic links (bug #780)
8670 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8672 * text.C (insertChar):
8673 * lyxrc.C (getDescription): remove extra spaces
8675 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8677 * lyxrc.C (getDescription): remove extra spaces
8679 2002-12-20 John Levon <levon@movementarian.org>
8681 * text3.C: hack fix for page up/down across tall rows
8683 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8685 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8688 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8690 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8691 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8692 thesaurus is not compiled in
8694 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8696 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8698 2002-12-16 Angus Leeming <leeming@lyx.org>
8701 * lyx_main.C (init): remove override_x_deadkeys stuff.
8703 2002-12-12 John Levon <levon@movementarian.org>
8705 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8706 insert. Only remove shift modifier under strict
8709 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8711 * MenuBackend.C (expandToc): fix crash.
8713 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8715 * MenuBackend.C (expandToc): gettext on float names.
8717 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8719 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8720 implement bool empty() [bug 490]
8722 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8724 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8726 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8728 * several files: ws changes
8730 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8732 * text2.C (setCounter): clean up a bit, use boost.format.
8733 (updateCounters): initialize par upon declaration.
8735 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8736 if the layout exists. We do not just store the layout any more.
8737 (SwitchLayoutsBetweenClasses): use boost.format
8739 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8741 * converter.C (convert): if from and to files are the same, use a
8742 temporary files as intermediary
8744 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8747 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8749 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8751 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8753 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8755 * tabular.C (asciiPrintCell): use string(size, char) instead of
8758 * sgml.C (openTag): fix order of arguments to string constructor
8761 * lyxfunc.C (dispatch): use boost.format
8763 * lots of files: change "c" -> 'c'
8765 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8767 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8769 2002-11-25 Angus Leeming <leeming@lyx.org>
8771 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8773 * lyx_main.C (init): compile fix.
8775 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8777 * lyx_cb.C (start): boost.formatify
8778 do not include <iostream>
8780 * lengthcommon.C: ws only
8782 * boost-inst.C,BoostFormat.h: add more explict instantations
8784 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8786 * lots of files: handle USE_BOOST_FORMAT
8788 2002-11-21 John Levon <levon@movementarian.org>
8790 * pspell.C: fix compile
8792 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8794 * lyxfunc.C (dispatch): use boost::format
8798 * lyxfont.C (stateText): use boost::format
8800 * lyx_main.C (LyX): use boost::format
8802 (queryUserLyXDir): ditto
8805 (typedef boost::function): use the recommened syntax.
8807 * importer.C (Import): use boost::format
8809 * debug.C (showLevel): use boost::format
8811 * converter.C (view): use boost::format
8816 * bufferview_funcs.C (currentState): use boost::format
8818 * bufferlist.C (emergencyWrite): use boost::format
8820 * buffer.C (readLyXformat2): use boost::format
8821 (parseSingleLyXformat2Token): ditto
8823 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8825 * LaTeX.C (run): use boost::format
8827 * Chktex.C (scanLogFile): use boost::format
8829 * BufferView_pimpl.C (savePosition): use boost::format
8830 (restorePosition): ditto
8831 (MenuInsertLyXFile): ditto
8833 * BoostFormat.h: help file for explicit instation.
8835 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8837 * tabular.C (latex): Support for block alignment in fixed width
8840 2002-11-17 John Levon <levon@movementarian.org>
8842 * BufferView_pimpl.C:
8844 * lyxfunc.C: split filedialog into open/save
8846 2002-11-08 Juergen Vigna <jug@sad.it>
8848 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8849 by my last patch (hopefully).
8851 2002-11-08 John Levon <levon@movementarian.org>
8860 * toc.C: ParConstIterator, and use it (from Lars)
8862 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8864 * lyxtextclass.[Ch]: revise and add doxygen comments
8866 2002-11-07 John Levon <levon@movementarian.org>
8868 * text.C: fix progress value for spellchecker
8870 * toc.C: fix navigate menu for insetwrap inside minipage
8872 * paragraph_funcs.C: added FIXME for suspect code
8874 2002-11-07 John Levon <levon@movementarian.org>
8876 * BufferView_pimpl.C: fix redrawing of insets
8879 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8881 * text2.C (updateCounters): fix bug 668
8883 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8885 * text3.C (dispatch): Do not make the buffer dirty when moving the
8888 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8890 * vc-backend.C: STRCONV
8893 * text2.C (setCounter): STRCONV
8895 * paragraph.C (asString): STRCONV
8897 * lyxlength.C (asString): STRCONV
8898 (asLatexString): ditto
8900 * lyxgluelength.C (asString): STRCONV
8901 (asLatexString): ditto
8903 * lyxfunc.C (dispatch): STRCONV
8906 * lyxfont.C (stateText): STRCONV
8908 * importer.C (Import): STRCONV
8910 * counters.C (labelItem): STRCONV
8911 (numberLabel): ditto
8912 (numberLabel): remove unused ostringstream o
8917 * bufferview_funcs.C (currentState): STRCONV
8919 * buffer.C (readFile): STRCONV
8920 (asciiParagraph): ditto
8921 (makeLaTeXFile): ditto
8923 * Spacing.C (writeEnvirBegin): STRCONV
8925 * LaTeXFeatures.C (getLanguages): STRCONV
8926 (getPackages): ditto
8928 (getBabelOptions): ditto
8929 (getTClassPreamble): ditto
8930 (getLyXSGMLEntities): ditto
8931 (getIncludedFiles): ditto
8935 (scanAuxFile): ditto
8938 * LString.h: add the STRCONV macros
8940 * BufferView_pimpl.C (savePosition): STRCONV
8941 (restorePosition): ditto
8942 (MenuInsertLyXFile): ditto
8944 * vc-backend.C (scanMaster): change from submatch[...] to
8947 * funcrequest.C: include config.h
8949 * factory.C: include config.h
8951 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8953 * box.C: include config.h
8955 * LaTeX.C (scanAuxFile): change from submatch[...] to
8959 2002-10-25 Angus Leeming <leeming@lyx.org>
8961 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8963 * ispell.[Ch] (setError): new method.
8964 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8965 Use setError() insetead of goto END.
8967 * lyx_cb.C (AutoSave): move out child process into new class
8970 2002-10-30 John Levon <levon@movementarian.org>
8972 * text3.C: make start appendix undoable
8974 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8976 * lyxlength.C (inPixels): Fix returned value.
8978 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8981 2002-10-24 Angus Leeming <leeming@lyx.org>
8983 * lyxgluelength.h: no need to forward declare BufferParams
8984 or BufferView, so don't.
8986 2002-10-21 John Levon <levon@movementarian.org>
8988 * BufferView.C: menuUndo ->undo, redo
8990 * BufferView.h: document, remove dead, make some methods private
8992 * paragraph_funcs.h:
8993 * paragraph_funcs.C:
8994 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8999 * sgml.C: move sgml open/close tag into sgml.C
9001 * bufferview_funcs.h: unused prototype
9004 * lyxfunc.C: remove unused
9007 * text.C: remove unused
9009 2002-10-21 John Levon <levon@movementarian.org>
9013 * BufferView_pimpl.h:
9014 * BufferView_pimpl.C: fix mouse wheel handling based on
9015 patch from Darren Freeman
9017 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9019 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9021 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9023 * lyxlength.C (inPixels): Fix hanfling of negative length.
9024 Fix LyXLength::MU case.
9026 2002-10-16 John Levon <levon@movementarian.org>
9028 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9030 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9032 * converter.C (view): add support for $$i (file name) and $$p
9033 (file path) for the viewer command. If $$i is not specified, then
9034 it is appended to the command (for compatibility with old syntax)
9036 2002-10-14 Juergen Vigna <jug@sad.it>
9038 * undo_funcs.C (textHandleUndo): alter the order in which the
9039 new undopar is added to the LyXText, as we have to set first
9040 the right prev/next and then add it as otherwise the rebuild of
9041 LyXText is not correct. Also reset the cursor to the right paragraph,
9042 with this IMO we could remove the hack in "redoParagraphs()".
9044 2002-10-09 Angus Leeming <leeming@lyx.org>
9046 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9047 to turn off an optimisation if a new inset is to be inserted.
9049 2002-10-11 André Pönitz <poenitz@gmx.net>
9051 * lyxtext.h: make some functions public to allow access
9052 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9054 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9056 * text3.C (dispatch): when changing layout, avoid an infinite loop
9059 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9061 * lyxrc.C (read): treat a viewer or converter command of "none" as
9064 * MenuBackend.C (expandFormats): for an update, also allow the
9065 formats that are not viewable
9067 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9068 script if it is newer than the lyxrc.defaults in user directory
9070 2002-10-07 André Pönitz <poenitz@gmx.net>
9072 * text.C: Vitaly Lipatov's small i18n fix
9074 2002-09-25 Angus Leeming <leeming@lyx.org>
9076 * ispell.h: doxygen fix.
9078 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9080 * buffer.h (readFile): Add a new argument to the method, to allow
9081 reading of old-format templates.
9083 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9085 * toc.C (getTocList): Get TOC from InsetWrap.
9087 2002-09-16 John Levon <levon@movementarian.org>
9089 * lyxfunc.C: check tabular for cut/copy too
9091 2002-09-12 John Levon <levon@movementarian.org>
9096 * factory.C: add header
9098 * paragraph_funcs.h:
9099 * paragraph_funcs.C: cleanup
9101 2002-09-11 John Levon <levon@movementarian.org>
9103 * PrinterParams.h: odd/even default to true
9105 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9107 * PrinterParams.h: update printer parameters for new xforms dialog
9109 2002-09-11 Angus Leeming <leeming@lyx.org>
9111 * lyxserver.C (read_ready): re-write to make it more transparent
9112 and to make it work in coherent fashion under Tru64 Unix.
9114 2002-09-11 André Pönitz <poenitz@gmx.net>
9118 * text3.C: implement LFUN_WORDSEL
9120 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9122 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9123 make floatlist_ a boost::shared_ptr<FloatList>
9125 * lyxtextclass.C: include FloatList.h
9126 (LyXTextClass): initialize floatlist_
9127 (TextClassTags): add TC_NOFLOAT
9128 (Read): match "nofloat" to TC_NOFLOAT and use it.
9129 (readFloat): modify call to floatlist_
9133 * FloatList.[Ch] (FloatList): remove commented out float
9135 (erase): new function
9137 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9139 * MenuBackend.C (expandToc): fix crash when there is no document
9142 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9144 * many files: Add insetwrap.
9146 2002-09-09 John Levon <levon@movementarian.org>
9148 * text2.C: remove confusing and awkward depth wraparound
9150 2002-09-09 John Levon <levon@movementarian.org>
9152 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9155 * buffer.C: remove getIncludeonlyList()
9158 * lyxfunc.C: remove headers
9160 2002-09-09 Juergen Vigna <jug@sad.it>
9162 * text.C (getColumnNearX): fix form Michael this is most
9163 probably a cut&paste bug.
9165 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9167 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9169 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9170 references, ws changes.
9172 * text2.C (init): update counters after init
9173 (insertParagraph): no need to set counter on idividual paragraphs.
9174 (setCounter): access the counters object in the textclass object
9175 on in the buffer object.
9176 (updateCounters): ditto
9178 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9179 shared_ptr<Counters> to avoid loading counters.h in all
9181 (LyXTextClass): initialize ctrs_
9182 (TextClassTags): add TC_COUNTER, and ...
9183 (Read): use it here.
9184 (CounterTags): new tags
9185 (readCounter): new function
9186 (counters): new funtion
9187 (defaultLayoutName): return a const reference
9189 * counters.C (Counters): remove contructor
9190 (newCounter): remove a couple of unneeded statements.
9191 (newCounter): simplify a bit.
9192 (numberLabel): some small formatting changes.
9194 * buffer.[Ch]: remove all traces of counters, move the Counters
9195 object to the LyXTextClass.
9197 2002-09-06 Alain Castera <castera@in2p3.fr>
9199 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9200 package to set the horizontal alignment on fixed width columns.
9203 * lyx_sty.h: added tabularnewline macro def.
9205 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9207 2002-09-06 John Levon <levon@movementarian.org>
9209 * LyXAction.C: tooltips for sub/superscript
9211 * MenuBackend.C: a bit more verbose
9213 * lyxfunc.C: tiny clean
9215 * undo_funcs.C: document undo_frozen
9217 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9219 * counters.C (Counters): add missing algorithm counter.
9221 * text2.C (setCounter): lookup the counter with layouts latexname
9222 instead of by section number.
9223 (setCounter): use a hackish way to lookup the correct enum
9225 a float name->type change
9226 reset enum couners with counter name directly instead of depth value.
9228 * counters.C (Counters): remove the push_backs, change to use the
9229 float type not the float name.
9230 (labelItem): remove unused string, float name->type change
9232 * counters.h: don't include vector, loose the enums and sects vectors
9234 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9236 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9237 (Read): add float->TC_FLOAT to textclassTags
9238 (Read): and handle it in the switch
9239 (readFloat): new function
9241 * FloatList.C (FloatList): comment out the hardcoded float
9244 * lyxlayout.h: ws change.
9246 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9248 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9250 2002-09-03 Angus Leeming <leeming@lyx.org>
9252 * BufferView_pimpl.h: qualified name is not allowed in member
9253 declaration: WorkArea & Pimpl::workarea() const;
9255 * factory.C: added using std::endl directive.
9257 * text3.C: added using std::find and std::vector directives.
9259 2002-08-29 André Pönitz <poenitz@gmx.net>
9262 * text2.C: remove unused member number_of_rows
9265 * BufferView2.C: remove file, move contents to...
9266 * BufferView.C: ... here
9268 * BufferView_pimpl.C:
9269 * factory.C: move more inset creation to factory
9271 * vspace.C: avoid direct usage of LyXText, ws changes
9274 don't provide direct access to WorkArea, use two simple
9275 acessors haveSelction() and workHeight() instead
9278 2002-08-29 John Levon <levon@movementarian.org>
9280 * BufferView_pimpl.C (dispatch): do not continue when
9283 2002-08-28 André Pönitz <poenitz@gmx.net>
9285 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9288 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9290 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9292 * buffer.C: increment LYX_FORMAT to 221
9294 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9295 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9297 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9299 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9301 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9303 * factory.C (createInset): use LyXTextClass::floats
9305 * MenuBackend.C (expandFloatListInsert):
9306 (expandFloatInsert):
9309 * text2.C (setCounter):
9311 * LaTeXFeatures.C (useFloat):
9312 (getFloatDefinitions):
9314 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9316 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9317 floatlist_, with accessor floats().
9319 * FloatList.h: remove global FloatList
9321 2002-08-26 André Pönitz <poenitz@gmx.net>
9323 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9327 * BufferView_pimpl.C:
9328 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9330 2002-08-25 John Levon <levon@movementarian.org>
9332 * LyXAction.C: fix margin note description
9334 2002-08-24 John Levon <levon@movementarian.org>
9338 * bufferview_funcs.C:
9340 * undo_funcs.C: cleanups
9342 * lyxfunc.C: disable CUT/COPY when no selection
9344 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9346 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9347 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9349 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9350 Add backward compatibility to "mono", "gray" and "no".
9352 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9354 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9355 (and file_format >= 200).
9357 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9359 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9361 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9363 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9365 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9367 * BufferView_pimpl.C:
9374 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9375 inset and code to make it work with the paragraph code. The inset
9376 can be anywhere in the paragraph, but will only do the expected
9377 thing in LaTeX if the layout file contains the parameter line
9379 (or more generally, a nonzero value) for that layout.
9381 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9383 * paragraph.h: remove the declaration of undefined counters class
9386 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9388 * text2.C (setCounter): fixed enumeration mis-count as reported by
9389 Dr. Richard Hawkins.
9391 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9393 * paragraph_funcs.h: remove some unneeded includes
9395 * text.C (backspace): pasteParagraph now in global scipe
9397 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9398 (pasteSelection): ditto
9400 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9401 * paragraph_funcs.C (pasteParagraph): ... here
9403 2002-08-20 André Pönitz <poenitz@gmx.net>
9405 * commandtags.h: new LFUNs for swapping/copying table row/colums
9408 * lyxfunc.C: support for new lfuns
9410 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9413 * buffer.[Ch]: remove NO_COMPABILITY stuff
9415 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9417 * boost.C (throw_exception): new file, with helper function for
9418 boost compiled without exceptions.
9423 * ParameterStruct.h:
9424 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9426 * bufferlist.C (emergencyWriteAll): use boost bind
9428 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9430 * text.C: include paragraph_funcs.h
9431 (breakParagraph): breakParagraph is now in global scope
9433 * paragraph_funcs.[Ch]: new files
9435 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9438 * buffer.C: include paragraph_funcs.h
9439 (insertStringAsLines): breakParagraph is now in global scope
9441 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9444 * CutAndPaste.C: include paragraph_funcs.h
9445 (cutSelection): breakParagraphConservative is now in global scope
9446 (pasteSelection): ditto
9448 * buffer.h: declare oprator== and operator!= for
9449 Buffer::inset_iterator
9451 * bufferlist.C (emergencyWrite): don't use fmt(...)
9453 * text3.C: add using std::endl
9455 * BufferView.C (moveCursorUpdate): remove default arg
9457 2002-08-20 André Pönitz <poenitz@gmx.net>
9459 * buffer.[Ch]: move inline functions to .C
9462 * BufferView_pimpl.C:
9464 * buffer.[Ch]: use improved inset_iterator
9467 * paragraph.[Ch]: write one paragraph at a time
9469 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9471 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9472 style if style is not specified.
9474 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9476 * text2.C (setCounter): when searching for right label for a
9477 caption, make sure to recurse to parent insets (so that a caption
9478 in a minipage in a figure float works) (bug #568)
9480 2002-08-20 André Pönitz <poenitz@gmx.net>
9482 * text3.C: new file for LyXText::dispatch() and helpers
9484 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9486 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9488 2002-08-19 André Pönitz <poenitz@gmx.net>
9491 * text.C: new LyXText::dispatch()
9493 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9495 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9497 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9499 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9502 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9504 * Makefile.am: use $(variables) instead of @substitutions@
9506 2002-08-15 André Pönitz <poenitz@gmx.net>
9509 * BufferView_pimpl.C: streamlining mathed <-> outer world
9513 * LyXAction.C: remove unused LFUN_MATH
9515 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9517 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9519 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9521 * paragraph.C (Paragraph): reformat a bit
9522 (cutIntoMinibuffer): use builtin InsetList function instad of
9526 * buffer.C: include boost/bind.hpp, add using std::for_each
9527 (writeFileAscii): use ParagraphList iterators
9528 (validate): use for_each for validate traversal of paragraphs
9529 (getBibkeyList): use ParagraphList iterators
9530 (resizeInsets): use for_each to resizeInsetsLyXText for all
9532 (getParFromID): use ParagraphList iterators
9534 * BufferView2.C (lockInset): use paragraph list and iterators
9536 2002-08-14 John Levon <levon@movementarian.org>
9538 * lyxserver.C: remove spurious xforms include
9540 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9542 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9544 2002-08-13 André Pönitz <poenitz@gmx.net>
9547 * lyxfunc.C: further cleaning
9549 2002-08-13 André Pönitz <poenitz@gmx.net>
9551 * funcrequest.h: new constructor
9553 * funcrequest.C: move stuff here from .h
9556 * BufferView_pimpl.C:
9559 * lyxfunc.C: subsequent changes
9561 * lyxfunc.h: new view() member function
9563 * lyxfunc.C: subsequent changes
9565 2002-08-13 Angus Leeming <leeming@lyx.org>
9568 * BufferView_pimpl.C:
9576 changes due to the changed LyXView interface that now returns references
9577 to member variables not pointers.
9579 2002-08-13 Angus Leeming <leeming@lyx.org>
9581 * WordLangTuple (word, lang_code): return references to strings,
9586 * lyxtext.h: forward-declare WordLangTuple.
9591 * text.C: #include "WordLangTuple.h".
9594 * text.C: (selectNextWordToSpellcheck): constify return type.
9596 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9602 * paragraph_pimpl.h:
9605 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9607 Made updateCounter always count from start of buffer, and removed
9608 second argument (par).
9609 Reverted floats number display to '#'. Perhaps I'll try again when the
9610 code base is sanitized a bit.
9612 2002-08-12 Angus Leeming <leeming@lyx.org>
9614 * buffer.[Ch] (getLabelList): constify.
9616 2002-08-07 André Pönitz <poenitz@gmx.net>
9618 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9620 * funcrequest.h: extension to keep mouse (x,y) position
9622 2002-08-12 Juergen Vigna <jug@sad.it>
9624 * BufferView2.C (insertErrors): forbid undo when inserting error
9627 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9629 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9631 * ParagraphList.[Ch]: new files
9633 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9635 * BufferView2.C (lockInset): ParagraphList changes
9638 * bufferlist.C: ditto
9642 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9644 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9645 unused class variable counter_,
9647 * paragraph.[Ch] (getFirstCounter): delete unused function
9649 * counters.C: include LAssert.h
9650 (reset): add a new function with no arg, change other version to
9651 not have def. arg and to not allow empty arg.
9653 * text2.C (setCounter): remove empty arg from call to Counters::reset
9655 2002-08-11 John Levon <levon@movementarian.org>
9657 * Makefile.am: add WordLangTuple.h
9659 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9661 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9662 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9664 * insets/insettext.C: InsetList changes
9666 * graphics/GraphicsSupport.C (operator()): InsetList changes
9668 * toc.C (getTocList): InsetList changes
9670 * paragraph_pimpl.[Ch]: InsetList changes
9672 * paragraph.[Ch]: InsetList changes
9674 * buffer.C (inset_iterator): InsetList changes
9675 (setParagraph): ditto
9676 * buffer.h (inset_iterator): ditto
9677 * iterators.C (operator++): ditto
9678 * iterators.h: ditto
9680 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9682 * InsetList.[Ch]: new files, most InsetList handling moved out of
9685 * BufferView2.C (removeAutoInsets): InsetList changes
9687 (ChangeInsets): ditto
9689 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9691 * paragraph_pimpl.h (empty): new function
9693 * paragraph.[Ch] (empty): new function
9695 * other files: use the new Paragraph::empty function
9697 2002-08-09 John Levon <levon@movementarian.org>
9699 * lyxtext.h: remove unused refresh_height
9701 2002-08-09 John Levon <levon@movementarian.org>
9708 * paragraph.C: move sgml char escaping out of paragraph
9711 * paragraph.C: remove id setter
9715 * paragraph_pimpl.C: remove dead tex_code_break_column
9717 * bufferview_funcs.C: small cleanup
9719 * lyxfunc.C: remove dead proto
9721 * lyxtext.h: make some stuff private. Remove some dead stuff.
9723 * lyxgluelength.C: make as[LyX]String() readable
9725 2002-08-08 John Levon <levon@movementarian.org>
9730 * ToolbarDefaults.C:
9733 * toc.C: lyxaction cleanup
9735 2002-08-08 John Levon <levon@movementarian.org>
9737 * BufferView2.C: small cleanup
9740 * lyxfind.C: move unnecessary header into the .C
9742 2002-08-08 John Levon <levon@movementarian.org>
9744 * funcrequest.h: just tedious nonsense
9747 * lyx_main.C: cleanups
9750 * vspace.C: remove dead header lyx_main.h
9752 2002-08-07 Angus Leeming <leeming@lyx.org>
9755 * paragraph_pimpl.h:
9756 Forward declare class Counters in paragraph.h by moving the ctrs member
9757 variable into Paragraph::Pimpl.
9758 (counters): new method, returning a reference to pimpl_->ctrs.
9760 * text2.C: ensuing changes.
9762 2002-08-07 John Levon <levon@movementarian.org>
9764 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9766 * BufferView_pimpl.C: announce X selection on double/triple
9769 * lyx_main.C: use correct bool in batch dispatch
9771 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9773 2002-08-07 André Pönitz <poenitz@gmx.net>
9775 * funcrequest.h: new class to wrap a kb_action and its argument
9778 * BufferView_pimpl[Ch]:
9782 * lyxrc.C: subsequent changes
9785 2002-08-07 John Levon <levon@movementarian.org>
9787 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9788 document options change.
9790 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9795 * makefile.am: move counters functionality over from
9796 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9798 2002-08-06 John Levon <levon@movementarian.org>
9800 * WordLangTuple.h: new file for word + language code tuple
9811 * BufferView2.C: use WordLangTuple
9814 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9816 2002-08-06 John Levon <levon@movementarian.org>
9818 * lyx_main.C: fix cmdline batch handling
9820 2002-08-06 André Pönitz <poenitz@gmx.net>
9822 * lyxrc.C: set default for show_banner to true
9824 2002-08-06 John Levon <levon@movementarian.org>
9826 * pspell.C: fix a crash, and allow new aspell to work
9828 2002-08-06 John Levon <levon@movementarian.org>
9831 * kbmap.C: small cleanup
9834 * vspace.C: add const
9836 2002-08-05 John Levon <levon@movementarian.org>
9838 * LyXAction.C: back to tabular-insert
9840 2002-08-04 John Levon <levon@movementarian.org>
9843 * BufferView.C: cosmetic change
9845 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9855 * BufferView2.C: purge all "Lyx" not "LyX" strings
9858 * lyxcursor.C: attempt to add some documentation
9863 * ToolbarDefaults.C:
9864 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9865 merge with LFUN_TABULAR_INSERT
9872 * pspell.C: split up i/pspell implementations into separate
9873 files, many cleanups
9875 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9877 * text2.C: some cleanup
9879 * lyxfunc.C: don't check for isp_command == "none" any more, it
9880 didn't make any sense
9882 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9887 * makefile.am: move counters functionality over
9888 from text2.C/paragraph.[Ch] to counters.[Ch], and
9890 2002-08-02 John Levon <levon@movementarian.org>
9892 * buffer.C: s/lyxconvert/lyx2lyx/
9894 2002-08-02 Angus Leeming <leeming@lyx.org>
9896 * lyxlex.C: revert John's change as it breaks reading of the user
9899 2002-08-02 Angus Leeming <leeming@lyx.org>
9901 * importer.C (Import):
9902 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9903 changes due to LyXView::view() now returning a boost::shared_ptr.
9905 2002-08-02 John Levon <levon@movementarian.org>
9907 * lyxlex.C: small cleanup
9909 2002-08-02 John Levon <levon@movementarian.org>
9911 * text2.C (status): small cleanup, no logic change
9913 2002-08-01 John Levon <levon@movementarian.org>
9916 * buffer.C (writeFile): don't output alerts, caller
9920 * lyx_cb.C: from above
9922 * lyxfunc.C: allow to open non-existent files
9924 2002-07-31 John Levon <levon@movementarian.org>
9926 * lyxserver.C: don't let incidental errors get
9929 2002-07-30 John Levon <levon@movementarian.org>
9931 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9933 2002-07-30 John Levon <levon@movementarian.org>
9936 * lyxserver.C: remove I/O callback too
9938 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9940 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9943 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9945 * many files: strip,frontStrip -> trim,ltrim,rtrim
9947 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9949 * PrinterParams.h: remove extern containsOnly, and include
9950 support/lstrings.h instead.
9952 * LaTeX.C (scanAuxFile): modify because of strip changes
9954 * buffer.C (makeLaTeXFile): ditto
9955 * bufferparams.C (writeFile): ditt
9956 * lyxfont.C (stateText): ditto
9957 * lyxserver.C (read_ready): ditto
9958 * vc-backend.C (scanMaster): ditto
9960 * BufferView_pimpl.h: ws changes
9962 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9964 2002-07-26 André Pönitz <poenitz@gmx.net>
9966 * kb_sequence.C: remove unnedred usings
9968 2002-07-26 Juergen Vigna <jug@sad.it>
9970 * lyxfind.C (LyXReplace): we have to check better if the returned
9971 text is not of theLockingInset()->getLockingInset().
9973 2002-07-25 Juergen Vigna <jug@sad.it>
9975 * lyxfind.C (LyXReplace): don't replace if we don't get the
9978 * undo_funcs.C (createUndo): remove debugging code.
9980 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9982 * buffer.C (parseSingleLyXformat2Token): Use default placement
9983 when reading old floats.
9985 * FloatList.C (FloatList): Change the default placement of figure
9986 and tables to "tbp".
9988 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9990 * MenuBackend.C: using std::max
9992 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9994 * MenuBackend.C (expandToc):
9995 (expandToc2): code moved from xforms menu frontend. It is now
9996 generic and TOCs are transparent to menu frontends.
9998 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10000 * toc.C (getTocList): protect against buf=0
10002 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10003 Menu as first parameter. Now, this calls itself recursively to
10004 expand a whole tree (this will be useful for TOC handling)
10005 (expandFloatInsert): remove 'wide' version of floats
10007 * MenuBackend.h (submenuname): returns the name of the submenu.
10008 (submenu): returns the submenu itself, provided it has been
10009 created by MenuBackend::expand
10011 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10013 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10014 insets which have noFontChange == true. (bug #172)
10016 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10018 * BufferView_pimpl.C: add connection objects and use them...
10021 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10023 * MenuBackend.C (expandLastfiles):
10026 (expandFloatListInsert):
10027 (expandFloatInsert):
10028 (expand): split expand in parts
10030 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10032 * lyx_gui.C: use lyx_gui::exit()
10034 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10036 * LyXAction.C: show the failing pseudo action
10038 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10040 * buffer.C (readFile): Run the lyxconvert script in order to read
10043 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10047 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10049 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10053 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10055 2002-07-22 Herbert Voss <voss@lyx.org>
10058 * lyxlength.[Ch]: add support for the vertical lengths
10060 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10062 * toc.[Ch]: std:: fixes
10064 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10066 * lyxrc.C: do not include lyx_main.h
10068 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10074 * BufferView2.C: include "lyxlex.h"
10077 * bufferparams.h: do not #include "lyxlex.h"
10079 * lyxtextclasslist.C (Add): remove method
10080 (classlist): renamed to classlist_
10082 * paragraph_pimpl.C:
10086 * bufferview_funcs.C:
10091 * toc.C (getTocList): use BufferParams::getLyXTextClass
10093 * toc.C (getTocList): use InsetFloat::addToToc
10095 * toc.[Ch]: new files, containing helper functions to handle table
10098 * lyxfunc.C (dispatch): no need to remove spaces around command
10100 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10101 first command of the sequence; it is not very clever, but I do not
10102 have a better idea, actually
10104 * LyXAction.C (LookupFunc): make sure to remove space at the
10105 beginning and end of the command
10107 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10109 * MenuBackend.C (getMenubar): new method: return the menubar of
10111 (read): treat differently reading of menu and menubar (in
10112 particular, the menubar has no name now)
10113 (Menu::menubar): remove
10115 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10118 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10120 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10121 a bibitem inset in a RTL paragraph.
10123 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10125 * paragraph_pimpl.C: constify
10127 * BufferView_pimpl.C:
10129 * lyxfunc.C: fix dispatch in a nicer way
10131 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10133 * lyxfunc.C (dispatch):
10134 * BufferView_pimpl.C:
10135 * BufferView_pimpl.h:
10137 * BufferView.h: rename Dispatch() to dispatch()
10139 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10141 * lyxlayout.C (Read): honor DependsOn tag
10143 * lyxlayout.[Ch] (depends_on): new method
10145 * version.C.in: update lyx_docversion
10147 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10149 * paragraph.C (validate): remove from here...
10150 * paragraph_pimpl.C (validate): ... and move here
10151 (isTextAt): make it const
10153 * buffer.C (getLists): ws cleanup
10155 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10157 * language.C (read): Use iso8859-1 encoding in latex_lang
10158 (this prevents LyX from crashing when using iso10646-1 encoding).
10160 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10162 * text2.C (toggleInset): if cursor is inside an inset, close the
10163 inset and leave cursor _after_ it
10165 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10167 * lyxfunc.C: move minibuffer completion handling out of here
10169 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10171 * BufferView_pimpl.C:
10172 * LaTeX.C: fix dispatch calls
10174 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10176 * text.C (drawChars): Fix Arabic text rendering.
10178 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10182 * lyxfunc.C: remove message-push/pop
10186 * lyxfunc.C: rationalise some code by removing verboseDispatch
10187 in favour of a bool argument to dispatch()
10189 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10191 * lyx_main.C (init): make sure to read symlinks as absolute paths
10193 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10196 * lyxfunc.C: no need for commandshortcut to be a member
10198 2002-07-15 André Pönitz <poenitz@gmx.net>
10200 * converter.C: add support for $$s (scripts from lib/scripts dir)
10201 * lyx_main.C: white space
10203 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10207 * lyxrc.C: remove second exit confirmation
10209 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10214 * BufferView_pimpl.h:
10215 * BufferView_pimpl.C:
10216 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10218 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10220 * MenuBackend.C (expand): add numeric shortcuts to document menu
10222 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10224 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10226 * lyxfont.C (setLyXFamily):
10233 * buffer.C (asciiParagraph): use ascii_lowercase
10235 2002-07-15 Mike Fabian <mfabian@suse.de>
10237 * lyxlex_pimpl.C (search_kw):
10238 * lyxlex.C (getLongString):
10239 * converter.h (operator<):
10240 * converter.C (operator<):
10241 * buffer.C (parseSingleLyXformat2Token):
10243 * ToolbarDefaults.C (read):
10244 * MenuBackend.C (checkShortcuts):
10246 * LColor.C (getFromGUIName):
10247 (getFromLyXName): use the compare_ascii_no_case instead of
10248 compare_no_case, because in turkish, 'i' is not the lowercase
10249 version of 'I', and thus turkish locale breaks parsing of tags.
10251 2002-07-16 Angus Leeming <leeming@lyx.org>
10253 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10254 now takes a Buffer const & argument.
10256 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10258 * BufferView.C (resize): check there's a buffer to resize
10260 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10262 * lyxfunc.C: remove dead code
10265 * lyxserver.C: use lyx_guii::set_read_callback
10267 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10269 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10270 an inset in a RTL paragraph.
10272 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10274 * lyxfunc.C: repaint after a font size update
10276 2002-07-15 André Pönitz <poenitz@gmx.net>
10278 * lyxlength.C: inBP should be able to return negative values
10280 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10282 * lyxfunc.C: use lyx_gui::update_fonts()
10284 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10286 * lyxfunc.C: use lyx_gui::update_color()
10288 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10294 * lyxrc.C: remove file->new asks for name option, and let
10295 buffer-new take an argument
10297 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10299 * BufferView_pimpl.C: remove unneeded extra repaint()
10301 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10303 * LyXAction.C: allow command-sequence with NoBuffer
10305 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10307 2002-07-10 Angus Leeming <leeming@lyx.org>
10309 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10311 2002-07-09 Angus Leeming <leeming@lyx.org>
10313 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10315 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10317 * lengthcommon.h: whitespace
10319 * lyxfunc.C: update scrollbar after goto paragraph
10321 * lyxtext.h: factor out page break drawing, and fix it so
10322 page break/added space paints as selected nicely
10324 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10326 * BufferView_pimpl.C: add FIXMEs, clean up a little
10328 2002-07-09 André Pönitz <poenitz@gmx.net>
10330 * lyxfont.[Ch]: support for wasy symbols
10332 2002-07-08 André Pönitz <poenitz@gmx.net>
10334 * BufferView_pimpl.C: apply John's patch for #93.
10336 2002-07-05 Angus Leeming <leeming@lyx.org>
10338 * BufferView_pimpl.C (buffer): generate previews if desired.
10340 * LColor.h: add "preview" to the color enum.
10342 * LColor.C (LColor): add a corresponding entry to the items array.
10344 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10347 2002-07-05 Angus Leeming <leeming@lyx.org>
10349 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10350 The body of the code is now in the method that is passed an ostream &
10351 rather than a file name.
10352 Pass an additional only_preamble parameter, useful for the forthcoming
10355 2002-07-03 André Pönitz <poenitz@gmx.net>
10357 * lyxfunc.C: simplify getStatus() a bit for math stuff
10359 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10361 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10363 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10365 * text.C (changeRegionCase): do not change case of all the
10366 document when region ends at paragraph end (bug #461)
10368 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10370 * paragraph.C (startTeXParParams):
10371 (endTeXParParams): add \protect when necessary
10373 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10375 * BufferView_pimpl.C (workAreaExpose): remove warning
10377 2002-06-27 Angus Leeming <leeming@lyx.org>
10379 * Makefile.am: add lyxlayout_ptr_fwd.h.
10381 2002-06-26 André Pönitz <poenitz@gmx.net>
10383 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10385 2002-06-25 Angus Leeming <leeming@lyx.org>
10387 * lyxfunc.C (dispatch): Comment out the call to
10388 grfx::GCache::changeDisplay. The method no longer exists now that the
10389 pixmap generation part of the graphics loader has been moved into
10392 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10394 * text2.C: layout as layout
10396 * text.C: layout as layout
10398 * tabular.C (OldFormatRead): layout as layout
10400 * paragraph_pimpl.C (TeXDeeper): layout as layout
10401 (realizeFont): layout as layout
10403 * paragraph.C (writeFile): layout as layout
10404 (validate): layout as layout
10405 (getFont): layout as layout
10406 (getLabelFont): layout as layout
10407 (getLayoutFont): layout as layout
10408 (breakParagraph): layout as layout
10409 (stripLeadingSpaces): layout as layout
10410 (getEndLabel): layout as layout
10411 (getMaxDepthAfter): layout as layout
10412 (applyLayout): layout as layout
10413 (TeXOnePar): layout as layout
10414 (simpleTeXOnePar): layout as layout
10415 (TeXEnvironment): layout as layout
10416 (layout): layout as layout
10417 (layout): layout as layout
10419 * lyxtextclass.C (compare_name): new functor to work with
10420 shared_ptr, layout as layout
10421 (Read): layout as layout
10422 (hasLayout): layout as layout
10423 (operator): layout as layout
10424 (delete_layout): layout as layout
10425 (defaultLayout): layout as layout
10427 * lyxlayout_ptr_fwd.h: new file
10429 * lyxlayout.C (Read): layout as layout
10431 * lyx_cb.C (MenuInsertLabel): layout as layout
10433 * bufferlist.C (newFile): layout as layout
10435 * buffer.C (readLyXformat2): layout as layout
10436 (parseSingleLyXformat2Token): layout as layout
10437 (insertStringAsLines): layout as layout
10438 (asciiParagraph): layout as layout
10439 (latexParagraphs): layout as layout
10440 (makeLinuxDocFile): layout as layout
10441 (simpleLinuxDocOnePar): layout as layout
10442 (makeDocBookFile): layout as layout
10443 (simpleDocBookOnePar): layout as layout
10444 (getLists): layout as layout
10446 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10448 * CutAndPaste.C (cutSelection): layout as layout
10449 (pasteSelection): layout as layout
10450 (SwitchLayoutsBetweenClasses): layout as layout
10452 * BufferView_pimpl.C (Dispatch): layout as layout
10453 (smartQuote): layout as layout
10455 * BufferView2.C (unlockInset): layout as layout
10457 2002-06-24 André Pönitz <poenitz@gmx.net>
10459 * lyxfunc.C: fix #487
10461 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10465 * lyxfunc.C: remove display_shortcuts, show_banner
10467 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10469 * Buffer_pimpl.C: oops, update on resize
10471 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10478 * BufferView.C: use repaint()
10480 * BufferView_pimpl.h:
10481 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10482 as it's a clearer description. Remove superfluous
10485 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10487 * text.C: fix bug 488. Not ideal, but getting
10488 getWord() to work properly for the insets that
10489 matter is more difficult ...
10491 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10493 * BufferView_pimpl.C:
10496 * lyxfunc.C: remove the six million index lyxfuncs to just
10497 one, and DTRT (bug 458)
10499 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10503 * BufferView_pimpl.h:
10504 * BufferView_pimpl.C: clean up resize() stuff,
10505 and unnecessary updateScreen()s
10507 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10511 * BufferView_pimpl.h:
10512 * BufferView_pimpl.C:
10515 * minibuffer.C: remove focus management of workarea,
10516 not needed. Use screen's greyOut()
10518 2002-06-17 Herbert Voss <voss@lyx.org>
10520 * converter.C: (convert) do not post a message, when converting
10521 fails, let the calling function decide what to do in this case
10523 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10525 * lyxfunc.C: tidy up a little
10527 2002-06-16 <alstrup@diku.dk>
10529 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10530 Got rid of FORMS_H_LOCATION include. Now we are
10533 2002-06-15 LyX Development team <lyx@rilke>
10535 * buffer.[Ch] (sgmlOpenTag):
10536 (sgmlCloseTag): Added support for avoiding pernicious mixed
10537 content. Return number of lines written.
10539 (makeLinuxDocFile):
10540 (makeDocBookFile): Fixed calls to sgml*Tag.
10541 Simple white space clean.
10543 (simpleDocBookOnePar): Simple white space clean.
10545 * tabular.[Ch] (docBook): Renamed to docbook and got another
10546 argument to related with the pernicious mixed content.
10548 (docbookRow): Fixed calls for docbook inset method.
10550 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10552 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10553 so it's X11 independent.
10557 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10559 2002-06-15 Lyx Development team <lyx@electronia>
10561 * intl.h: Renamed getTrans to getTransManager.
10563 2002-06-14 Angus Leeming <leeming@lyx.org>
10565 * Makefile.am: nuke forgotten stl_string_fwd.h.
10567 2002-06-12 Angus Leeming <leeming@lyx.org>
10569 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10571 2002-06-13 Angus Leeming <leeming@lyx.org>
10574 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10576 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10578 * kbmap.C (getiso): add support for cyrillic and greek
10580 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10584 * BufferView_pimpl.h:
10585 * BufferView_pimpl.C: move bogus scrolling logic
10588 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10591 * BufferView_pimpl.C: view->resize() change
10593 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10595 * BufferView_pimpl.C: topCursorVisible
10598 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10602 * lyx_gui.C: move to frontends/
10606 * lyx_main.C: changes from above
10608 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10615 * lyx_main.C: minor tidy
10617 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10619 * BufferView_pimpl.h:
10620 * BufferView_pimpl.C:
10622 * BufferView.C: make painter() const,
10625 * BufferView2.C: use screen() accessor
10628 * lyx_main.C: some minor cleanup
10630 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10632 * BufferView_pimpl.h:
10633 * BufferView_pimpl.C: remove enter/leaveView,
10636 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10641 * BufferView_pimpl.h:
10642 * BufferView_pimpl.C: only construct screen once,
10645 * lyxrc.C: remove pointless comment
10647 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10650 * BufferView.C: remove active() and belowMouse()
10652 * BufferView_pimpl.h:
10653 * BufferView_pimpl.C: use workarea() not workarea_,
10654 and make it use a scoped_ptr instead
10656 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10658 * lyx_gui.C: add debug message on BadWindow
10660 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10662 * sp_spell.C: fdopen is not part of the C++ standard.
10664 * paragraph.C (InsetIterator): use >= instead of ==
10666 2002-06-07 Angus Leeming <leeming@lyx.org>
10668 Fixes needed to compile with Compaq cxx 6.5.
10669 * BufferView_pimpl.C:
10676 * lyxtextclasslist.C:
10681 all c-library variables have been moved into namespace std. Wrap
10682 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10687 Add a using std::abs declaration.
10689 * kbmap.h (modifier_pair):
10690 * paragraph.h (InsetTable, InsetList):
10691 * lyxfont.h (FontBits):
10692 type definition made public.
10694 * bufferlist.C (emergencyWriteAll): the compiler complains that
10695 there is more than one possible lyx::class_fun template to choose from.
10696 I re-named the void specialisation as lyx::void_class_fun.
10698 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10700 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10701 the compiler is is unable to find tostr in write_attribute.
10703 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10705 * buffer.C (sgmlError): hide #warning
10707 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10709 * xtl/*: get rid of xtl, which is not in use anyway
10711 * LyXAction.C (init):
10712 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10713 were unimplemented xtl experimentation
10715 2002-06-04 André Pönitz <poenitz@gmx.net>
10717 * lyxfunc.C: disable array operation on simple formulae
10719 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10721 * converter.C: constify a bit
10723 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10725 * lyx_gui.C: check xforms version correctly
10727 2002-04-30 Herbert Voss <voss@lyx.org>
10729 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10732 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10734 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10735 attempt to register it with a VCS)
10737 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10739 * lyx_main.C (init): honor variables LYX_DIR_13x and
10742 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10746 * lyx_main.C: fix a crash on bad command line,
10747 and give a useful exit status on error
10749 * lyxfunc.C (doImport): allow -i lyx to work
10751 2002-03-30 André Pönitz <poenitz@gmx.net>
10753 * lyxfunc.C: mathed font changes
10755 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10770 * trans_mgr.h: srcdocs, and some minor cleanups
10772 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10774 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10775 call getFont all the time)
10777 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10779 * switch from SigC signals to boost::signals
10781 2002-05-29 André Pönitz <poenitz@gmx.net>
10783 * paragraph_pimpl.C (getChar): don't call size() too often...
10785 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10787 * paragraph_pimpl.C (insertChar): do not try to update tables when
10788 appending (pos == size())
10790 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10791 in order to reduce drastically the number of comparisons needed to
10792 parse a large document
10794 2002-05-29 André Pönitz <poenitz@gmx.net>
10800 * textclasslist.[Ch]:
10801 * sp_ispell.h: whitespace change
10803 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10805 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10806 lyxaction directly now.
10808 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10812 * lyxvc.C: remove unused headers
10814 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10821 * undo_funcs.C: some cleanups. Use shared_ptr
10822 and a template for the undo stacks.
10824 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10826 * BufferView_pimpl.h:
10827 * BufferView_pimpl.C:
10834 * text2.C: use key_state/mouse_state
10836 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10838 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10841 * chset.C: change include order
10842 (loadFile): use boost regex and get rid of LRegex and LSubstring
10844 * Makefile.am (BOOST_LIBS): new variable
10845 (lyx_LDADD): use it
10847 * LaTeX.C: change include order.
10848 (scanAuxFile): use boost regex and get rid of LRegex and
10852 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10857 * FontInfo.C: moved to frontends/xforms/
10860 * FontLoader.C: moved into frontends for GUIIzation
10865 * lyxfunc.C: changes from above
10867 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10869 * LColor.C: remove spurious X include
10871 * BufferView_pimpl.C:
10876 * text2.C: move font metrics to frontends/
10878 2002-05-24 Juergen Vigna <jug@sad.it>
10880 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10881 setting the undo_cursor.
10883 * ParagraphParameters.h: include local includes first.
10885 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10887 * BufferView_pimpl.C:
10888 * BufferView_pimpl.h:
10892 * screen.C: move WorkArea into frontends/
10898 * BufferView2.C: move LyXScreen into frontends/
10902 * lyx_gui.C: move lyxlookup into frontends/xforms/
10904 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10907 * BufferView_pimpl.C:
10917 * bufferview_funcs.C:
10930 * vc-backend.C: move LyX/XFormsView into frontends/
10932 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10944 * text2.C: move Painter to frontends/
10946 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10948 * buffer.C: comment out some some code that depend upon lyx_format
10951 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10952 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10954 * buffer.h (NO_COMPABILITY): turn off compability
10956 * ColorHandler.C: include scoped_array.hpp
10958 * font.C: Use more specific smart_ptr header.
10961 * ShareContainer.h: ditto
10962 * lyx_main.h: ditto
10964 * FontInfo.h: ditto
10965 * BufferView_pimpl.h: ditto
10966 * ColorHandler.h: ditto
10968 * kbmap.C (defkey): change call to shared_ptr::reset
10970 2002-05-21 Juergen Vigna <jug@sad.it>
10972 * buffer.C (insertErtContents): fix to insert ert asis if it is
10973 non empty. Skip it completely if it contains only whitespaces.
10975 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10977 * BufferView_pimpl.C:
10978 * BufferView2.C: clear selection on paste (bug 393)
10980 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10982 * DepTable.C: include ctime
10984 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10986 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10988 2002-05-14 Juergen Vigna <jug@sad.it>
10990 * text.C (breakParagraph): fixed function to honor the keepempty
10991 layout in the right maner and also to permit the right breaking
10992 algorithm on empty or non empyt keepempty paragraphs.
10994 * paragraph.C (breakParagraph): we have to check also if the par
10995 is really empty (!size()) for isempty otherwise we do the wrong
10998 2002-05-10 Juergen Vigna <jug@sad.it>
11000 * buffer.[Ch] : The following are only changes to the ert
11001 compatibility read reading old LaTeX layout and font stuff and
11002 convert it to ERTInsets.
11004 * buffer.h: added isErtInset().
11006 * buffer.C (struct ErtComp): add a fromlayout bool to check
11007 if we're inside a LaTeX layout.
11008 (isErtInset): new helper function.
11009 (insertErtContents): look for other ert insets before this one
11010 and insert the contents there, so that we don't have subsequent
11011 ERT insets with nothing between them. This way we create only one
11012 inset with multiple paragraphs. Also check if we don't insert only
11013 spaces ' ' as they are ignored anyway afterwards in the .tex file
11014 so if we have only spaces we will ignore this latex part in the
11016 (parseSingleLyXformat2Token \\layout): better compatibility when
11017 reading layout-latex stuff.
11018 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11020 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11021 stuff after reading the inset only get the information back from
11024 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11026 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11028 * LaTeXFeatures.C (getBabelOptions): New method.
11030 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11032 * BufferView_pimpl.C (Dispatch): work around missing argument for
11035 2002-05-08 Juergen Vigna <jug@sad.it>
11037 * text.C (leftMargin): handle paragraph leftindent.
11039 * paragraph.C (writeFile): write the new \\leftindent tag.
11040 (validate): handle leftindent code.
11041 (TeXEnvironment): handle paragraphleftindent code again.
11043 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11045 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11046 for paragrap_extra indent code and new token \\leftindent.
11047 (latexParagraphs): handle the leftindent as environment.
11049 * ParameterStruct.h: added leftindent support.
11051 * ParagraphParameters.C (leftIndent): added support functions for
11052 the paragraph left indent.
11054 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11057 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11059 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11062 * text.C (computeBidiTables): No bidi in insetERT.
11064 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11067 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11069 * version.C.in: pre 5
11071 2002-05-02 José Matos <jamatos@fep.up.pt>
11072 * buffer.C (makeDocBookFile): white space changes, add newline to
11074 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11076 * tabular.C (docBook): fix typo.
11078 2002-05-03 Juergen Vigna <jug@sad.it>
11080 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11081 change in LyXText as we can not be sure it was not freed.
11082 (drawOneRow): remove unused code.
11084 * text.C (drawInset): redo the calculation of the need_break_row as
11085 it could have a row which was already freed.
11086 (draw): look at the return value of drawInset and return false if
11087 it also returned false.
11088 (paintRowText): look at the return value of draw and return false if
11089 it also returned false.
11091 * lyxtext.h: added bool return type to drawInset() and draw() so that
11092 if we have a change in the row so that the rowbreak has to be redone
11093 we abort drawing as it will be called again.
11095 2002-05-02 Juergen Vigna <jug@sad.it>
11097 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11098 a change in the maintext also if we're inside an inset.
11099 (Dispatch): set the cursor again after a break line and after the
11100 screen has been updated as it could be we're in a different row.
11102 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11103 to set the cursor behind the pargraph with > size().
11104 (setCursor): check also for the same paragraph when checking where
11105 to put the cursor if we have a NFR inset.
11107 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11108 parts of layout read further up as it still was in the wrong
11111 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11113 * screen.C (drawFromTo): change sine fullRebreak always return
11116 * buffer.C (parseSingleLyXformat2Token): reindent some
11118 * BufferView_pimpl.C (update): change since fullRebreak always
11120 (Dispatch): git rid of the last hardcoded "Standard"s.
11122 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11124 * text2.[Ch] (fullRebreak): make it return void now that we always
11127 2002-04-30 Juergen Vigna <jug@sad.it>
11129 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11130 ert compatibility check for "latex" layout.
11132 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11134 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11135 minipages: use col% instead of p%, and also use the current font.
11136 (makeLaTeXFile): Fix use babel condition.
11137 (parseSingleLyXformat2Token): Correct font when reading old floats.
11139 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11141 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11142 inserting list of floats.
11144 2002-04-25 Herbert Voss <voss@lyx.org>
11146 * MenuBackend.C (expand): don't add the graphics extensions to the
11149 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11151 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11152 non-existing layout, do not complain if it was the default layout
11153 of the original class (bug #342)
11155 2002-04-24 Juergen Vigna <jug@sad.it>
11157 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11158 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11160 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11162 * buffer.C (getBibkeyList): If using \bibliography, return the
11163 option field with the reference itself. Enables us to provide natbib
11164 support when using \bibliography.
11166 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11168 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11170 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11171 natbib is provided by the LaTeX class.
11173 2002-04-23 Juergen Vigna <jug@sad.it>
11175 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11178 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11180 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11182 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11184 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11185 ensuremath around textordmasculine, textordfeminine and
11188 2002-04-19 Juergen Vigna <jug@sad.it>
11190 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11191 reinitializing the buffer otherwise row-dimensions may be wrong.
11192 (update): reset also the selection cursors if they do exits otherwise
11193 their x/y positions may be wrong.
11195 * text2.C (cursorDown): don't enter the inset if we came from a row
11196 above and are one row over the inset.
11198 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11199 really leaving an inset.
11201 2002-04-18 Juergen Vigna <jug@sad.it>
11203 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11204 of the selected paragraph does not have the selected layout also if
11207 * text2.C (setLayout): fixed bug which did not change last selected
11210 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11211 changed the read and substituted \\end_float with \\end_inset!
11213 * BufferView_pimpl.C (cursorPrevious):
11214 (cursorNext): fixed to make it work with rows heigher than the work
11215 area without moving the cursor only the draw of the row.
11216 (workAreaMotionNotify): fix jumping over high rows.
11218 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11220 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11223 2002-04-16 Juergen Vigna <jug@sad.it>
11225 * text2.C (setCursor): set also the irow().
11226 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11228 (cursorDown): support for locking an inset if the x_fix value goes
11229 inside it. That way I can transverse insets too with cursor up/down.
11231 * lyxrow.h: added irow helper function same as other (i) functions.
11233 * BufferView_pimpl.C (cursorPrevious):
11234 (cursorNext): fixed for insets!
11236 2002-04-15 Juergen Vigna <jug@sad.it>
11238 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11239 position otherwise it is wrong in some cases.
11241 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11242 inside the inset before the call.
11244 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11246 * buffer.[Ch] (getBibkeyList): make it const.
11248 2002-04-12 Juergen Vigna <jug@sad.it>
11250 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11252 * text2.C (getCursorX): new helper function
11253 (setCursor): compute also ix_
11254 (setCursorFromCoordinates): set also ix.
11256 * lyxcursor.h: added ix_ and helper functions.
11258 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11260 * buffer.C (insertStringAsLines): dont break paragraph if the this
11261 paragraph is inside an inset which does not permit it!
11263 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11264 also with no chars on this paragraph.
11265 (paintRowText): only paint stuff if it's inside the workarea!
11267 * paragraph.C (breakParagraph): honor keepempty flag and break the
11268 paragraph always below not above.
11270 * BufferView2.C (unlockInset): update the paragraph layout on inset
11271 unlock as we changed paragraph in such a case.
11273 * lyxfind.C (LyXFind): clear the former selection if not found!
11275 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11276 again called in insertChar().
11278 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11279 an inset which uses the whole row!
11280 (rightMargin): ditto.
11281 (insertChar): force a rebreak if we inserted an inset!
11283 2002-03-28 Herbert Voss <voss@lyx.org>
11285 * lyxlength.[Ch]: add inBP() to get the right PS-point
11286 units (BigPoint). With inPixels we have rounding errors
11288 2002-04-11 Juergen Vigna <jug@sad.it>
11290 * text2.C (setCursorFromCoordinates): set iy to the right value.
11291 (setCursor): add check if row->previous exists!
11293 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11294 an old float_type as this was the case in the old code!
11296 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11298 * BufferView2.C (showLockedInsetCursor): use iy
11299 (fitLockedInsetCursor): ditto
11301 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11302 locked insets as there we have the right value now.
11304 * lyxcursor.C: added iy_ variable and iy functions to set to the
11305 baseline of cursor-y of the locked inset.
11307 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11308 (setCursor): fixed for insets which need a full row.
11310 * text.C (rowLastPrintable): don't ignore the last space when before
11311 an inset which needs a full row.
11312 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11313 as last character of a row when before a inset which needs a full row.
11315 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11317 * version.C.in: update date
11319 * text2.C (fullRebreak): try to always return true and see what
11322 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11324 * MenuBackend.C (expand): use Floating::listName
11326 * FloatList.C (FloatList): add listName argument to the built-in
11329 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11330 text associated with the float.
11332 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11334 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11336 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11338 * ShareContainer.h: add a couple of missing typenames.
11340 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11342 * lyxrc.C (getDescription): use _() correctly rather than N_().
11344 2002-03-28 Herbert Voss <voss@lyx.org>
11346 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11347 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11349 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11351 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11352 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11354 2002-03-29 Juergen Vigna <jug@sad.it>
11356 * lyxfunc.C (dispatch): add a missing fitCursor call.
11358 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11359 it was scrolled by a cursor move, so return the bool status.
11361 * BufferView.C (fitCursor): return the bool flag also to the outside
11362 world as this is needed.
11364 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11366 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11367 call the edit() as it is not needed (and wrong) IMO.
11368 (workAreaButtonPress): set the screen_first variable before evt.
11369 unlock the inset as this may change screen_first and then we have
11370 a wrong y position for the click!
11372 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11374 * MenuBackend.C (expand): another translation that I missed
11376 2002-03-28 Juergen Vigna <jug@sad.it>
11378 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11380 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11382 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11384 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11386 * MenuBackend.C (expand): fix export/view/update when there is no
11389 2002-03-27 Herbert Voss <voss@lyx.org>
11391 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11394 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11396 * bufferview_funcs.C (currentState): only show paragraph number
11397 for is DEVEL_VERSION is set.
11399 * lyxfunc.C (dispatch): put warning in INFO channel
11401 * MenuBackend.C (expand): translate the name of floats
11403 * FloatList.C (FloatList): mark the float names for translation
11405 * converter.C (convert): use LibScriptSearch
11407 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11409 * MenuBackend.C (defaults): fix default menu (we might as well get
11412 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11414 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11417 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11419 * lyxvc.C: reorder includes.
11421 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11423 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11426 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11428 * CutAndPaste.C: change layouts earlier on paste
11429 to avoid crashing when calling getFont()
11431 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11433 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11436 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11438 * WorkArea.C: remove 'Pending' debug message.
11440 * most files: ws cleanup
11442 * buffer.[Ch]: ws changes
11444 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11446 2002-03-21 Juergen Vigna <jug@sad.it>
11448 * tabular.C (SetMultiColumn): collapse also the contents of the
11449 cells and set the last border right. Added a Buffer const * param.
11451 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11453 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11456 2002-03-19 Juergen Vigna <jug@sad.it>
11458 * text2.C (clearSelection): reset also xsel_cache.
11460 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11461 where it needs to be called (John tells us to do so too :)
11462 (selectionLost): reset sel_cache.
11464 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11466 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11468 * text2.C (setCursorIntern): put debuging code in INSETS channel
11470 2002-03-19 André Pönitz <poenitz@gmx.net>
11472 * lyxfunc.C: tiny whitespace change
11474 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11476 * ToolbarDefaults.C (init):
11477 * LyXAction.C (init):
11479 * BufferView_pimpl.C (Dispatch):
11480 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11482 2002-03-19 Allan Rae <rae@lyx.org>
11484 * exporter.C (Export): removeAutoInsets before doing anything else.
11485 While I've just introduced a dependency on BufferView this really is
11486 the best place to clean the buffer otherwise you need to cleanup in
11487 a dozen places before calling export or cleanup in a dozen functions
11490 * converter.C (runLaTeX):
11491 (scanLog): Better handling of removeAutoInsets and screen updates.
11493 * lyxfunc.C (dispatch): small whitespace changes
11495 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11497 * WorkArea.C (C_WorkAreaEvent): return a value.
11498 (event_cb): return 1 if we handled the event, 0 otherwise.
11500 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11502 2002-03-18 Juergen Vigna <jug@sad.it>
11504 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11505 (GetAdditionalWidth): ditto.
11506 (RightLine): ditto.
11509 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11510 inset if we're there actually (probably not used right now but this
11511 is the direction to go for unifying code).
11512 (paste): disable code to clear the selection.
11514 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11515 inside an InsetText and move the check further up as it is in the
11518 * text2.C (pasteSelection): set a selection over the pasted text.
11520 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11522 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11523 and libgraphics to build on Cygwin.
11525 2002-03-15 Juergen Vigna <jug@sad.it>
11527 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11528 inserting an Inset into the paragraph. I know this is not the best
11529 fix but we already use current_view in CutAndPaste so we will remove
11530 all of it's using at the same time.
11532 * buffer.C (sgmlError): deactivated function till it is rewritten in
11533 the right mode, now it can create problems.
11535 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11536 before accessing it.
11538 2002-03-14 Juergen Vigna <jug@sad.it>
11540 * undo_funcs.C (textHandleUndo): do the right thing when updating
11541 the inset after the undo/redo.
11543 * text2.C (setCursor): just some testcode for #44 not ready yet.
11545 * undo_funcs.C (textHandleUndo): set the next() and previous()
11546 pointers of the paragraph to 0 before deleting otherwise we have
11547 problems with the Paragraph::[destructor].
11549 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11550 on a paragraph insertion.
11552 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11554 * buffer.C (asciiParagraph): use += operator for char append to
11557 * paragraph.C (getFontSettings): compare >= not just >
11558 (highestFontInRange): ditto
11561 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11563 * paragraph.C: change several algorithm to be more appripriate for
11564 the problem domain. This is lookip in FontList and in the InsetList.
11566 2002-03-13 André Pönitz <poenitz@gmx.net>
11569 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11571 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11576 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11578 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11580 * Painter.C (display): anon helper function, adjust code for this
11582 (pixmap): remove function.
11584 * Painter.h: remove private display variable.
11586 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11588 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11590 * WorkArea.[Ch]: remove figinset_canvas cruft.
11592 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11594 * lyxtextclass.C (operator): add one item cache optimization.
11596 * bufferlist.h: doxy changes
11598 * bufferlist.C: ws changes
11600 * DepTable.[Ch] (ext_exist): place const in the right spot.
11602 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11604 (workAreaExpose): call resizeInsets when the with BufferView changes.
11605 (Dispatch): adjust for protectedBlank removal
11606 (specialChar): call updateInset if the insert went ok.
11608 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11609 specialChar instead.
11611 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11613 * BufferView.h: doxy change
11615 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11617 * lyxtextclass.C (operator[]): remove non-const version
11618 (defaultLayout): remove non-const version
11620 2002-03-12 Juergen Vigna <jug@sad.it>
11622 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11623 did resize the LyXText too.
11625 * buffer.C (readLyXformat2): set layout information on newly allocated
11628 * tabular.C (OldFormatRead): set layout information on the paragraph.
11630 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11632 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11634 2002-03-11 Juergen Vigna <jug@sad.it>
11636 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11638 (resizeCurrentBuffer): force also the insets to resize themselfes.
11639 (moveCursorUpdate): fixed up for InsetText.
11641 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11644 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11645 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11646 value of Dialogs::tooltipsEnabled().
11647 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11649 2002-03-08 Juergen Vigna <jug@sad.it>
11651 * BufferView_pimpl.C (updateInset): update inset inside inset also
11652 if it isn't inside theLockingInset().
11654 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11656 * buffer.C (asciiParagraph): redo some of the word and line length
11658 (getLists): look for Caption instead of caption.
11660 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11662 * buffer.C (Buffer): initialize niceFile to true
11664 (makeLinuxDocFile):
11665 (makeDocBookFile): make sure niceFile is true on exit
11667 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11669 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11671 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11673 * LyXSendto.C: remove.
11674 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11675 * lyx_gui.C: remove now-redundant comment.
11676 * ColorHandler.h: remove forward declaration of class WorkArea.
11677 * lyxfunc.C: remove #include "WorkArea.h".
11679 2002-03-07 Juergen Vigna <jug@sad.it>
11681 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11682 got moved away with the DEPM and also set the inset_owner always
11683 right which before could have been omitted.
11685 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11687 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11688 wanted layout is not found.
11690 2002-03-07 Juergen Vigna <jug@sad.it>
11692 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11694 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11696 * paragraph.C (breakParagraph): use default layout not layout of
11698 (Paragraph): clear ParagraphParameters.
11700 2002-03-06 Juergen Vigna <jug@sad.it>
11702 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11703 otherwise it would not be a valid lenght. Fixed a special case in
11704 the minipage compatibility read where we end the document with a
11707 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11708 was set as it could be 0 for InsetTexts first entry.
11710 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11712 * paragraph.C (writeFile): if layout is empty write out
11713 defaultLayoutName().
11715 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11716 file without named layout we set layout to defaultLayoutName().
11718 2002-03-06 Juergen Vigna <jug@sad.it>
11720 * CutAndPaste.C (copySelection): set layout for new paragraph.
11722 * text.C (prepareToPrint): leave ERT inset left aligned
11723 (leftMargin): don't indent paragraphs inside ERT insets
11725 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11727 * paragraph.C (breakParagraph): dont call clear do the work manually
11729 * paragraph.[Ch] (clear): remove function
11731 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11733 * paragraph.C (Paragraph): dont call clear, the work has already
11736 * lyxtextclass.C (operator): assert if n is empty
11738 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11739 work manually instead.
11741 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11743 * BufferView_pimpl.C: protect selectionLost against text == 0
11745 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11747 * text.C (breakParagraph): fix a setting layout to '0' problem.
11749 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11751 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11752 final location of file, for the included files, and graphics.
11754 2002-03-05 Juergen Vigna <jug@sad.it>
11756 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11758 2002-03-04 Juergen Vigna <jug@sad.it>
11760 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11762 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11763 last column of multicolumn cells.
11764 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11766 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11768 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11769 file if it doesn't go to a temporary file.
11771 * buffer.C (sgmlOpenTag):
11772 (sgmlCloseTag): remove extra newline insertion.
11774 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11776 * text.C (getRowNearY): comment out debug msg
11778 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11780 * text2.C: first -> first_y
11782 * text.C (getRowNearY): add some attemts at a possible
11783 optimization, not working.
11785 * tabular.[Ch]: add BufferParams to several function so that newly
11786 created paragraph can be initialized to he default layotu for the
11789 * tabular-old.C (ReadOld): add buf->params to call of Init
11791 * screen.C: rename text->first to text->first_y
11793 * paragraph.C (breakParagraph): always set layout in the broken
11796 * lyxtextclass.C (Read): remove lowercase
11799 (delete_layout): ditto
11801 * lyxtext.h: rename first -> first_y
11803 * lyxlayout.C (Read): remove lowercase
11806 (obsoleted_by): ditto
11808 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11810 * buffer.C (insertErtContents): add params are to InsetERT
11811 (parseSingleLyXformat2Token): add code to check if a paragraphs
11812 layout really exist.
11813 (parseSingleLyXformat2Token): add params to several inset
11815 (asciiParagraph): remove lowercase, do the layout comparisons with
11818 * BufferView_pimpl.C (cursorNext): first -> first_y
11819 (resizeCurrentBuffer): first -> first_y
11820 (updateScrollbar): first -> first_y
11821 (scrollCB): first -> first_y
11822 (workAreaMotionNotify): first -> first_y
11823 (workAreaButtonPress): first -> first_y
11824 (checkInsetHit): first -> first_y
11825 (cursorPrevious): first -> first_y
11826 (cursorNext): first -> first_y
11827 (Dispatch): add buffer_->params to severl inset contructors
11829 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11831 * lyxlayout.C (Read): remove some debug info that I forgot.
11833 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11834 clean up the code slightly.
11835 (makeLinuxDocFile): ditto
11836 (makeDocBookFile): ditto
11838 * text2.C: layout as string
11840 * text.C: layout as string
11842 * paragraph_pimpl.C: layout as string
11844 * paragraph.[Ch]: layout as string
11846 * lyxtextclasslist.[Ch]: layout as string
11848 * lyxtextclass.[Ch]: layout as string
11850 * lyxtext.h: layout as string
11852 * lyxlayout.[Ch]: layout as string
11854 * lyx_cb.C: layout as string
11856 * bufferview_funcs.C: layout as string
11858 * bufferparams.C: layout as string
11860 * buffer.C: layout as string
11862 * LyXView.[Ch]: layout as string
11864 * LaTeXFeatures.[Ch]: layout as string
11866 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11868 * BufferView_pimpl.C: change current_layout to string, remove
11873 (workAreaButtonRelease): layout as string
11875 * BufferView2.C (unlockInset): adjust
11877 * vspace.C (asLatexCommand): use an explict temp variable.
11879 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11881 * Makefile.am: use FRONTEND_*
11883 2002-03-01 Juergen Vigna <jug@sad.it>
11885 * tabular.C (SetWidthOfMulticolCell): changed to something better
11886 I hope but still work in progress.
11887 (recalculateMulticolumnsOfColumn): renamed function from
11888 recalculateMulticolCells as it is more appropriate now.
11889 (SetWidthOfCell): calculate multicols better.
11891 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11893 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11895 * lyxfunc.C (processKeySym): print sequence also if it is
11896 `deleted' (complete)
11898 * kbsequence.C (print): print sequence even if it is deleted
11899 (complete would be a better word, actually).
11901 * lyxfunc.C (dispatch): print complete options after a prefix key
11903 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11905 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11907 * text2.C (setCharFont): eliminate setCharFont code duplication.
11909 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11911 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11912 LFUN_TABULAR_FEATURE (bug #177)
11914 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11916 * Makefile.am: remove figure.h
11918 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11920 * Bufferview_pimpl.C:
11932 * text2.C: remove #include "lyx_gui_misc.h".
11934 * LaTeX.C: added #include <cstdio>
11936 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11938 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11939 that the paragraph following this one can have.
11941 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11943 * vspace.C (asLatexCommand): fix bogus gcc warning
11945 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11947 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11949 * text2.C (setLayout): get rid of redundant code
11951 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11953 * text2.C (incDepth): make sure depth cannot be increased beyond
11956 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11958 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11959 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11961 * PainterBase.h (image):
11962 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11963 a LyXImage const *.
11965 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11969 * BufferView_pimpl.C:
11970 * BufferView_pimpl.h:
11990 * sp_spell.C: remove fig inset, and the crap house of
11991 cards that follows it
11993 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11998 * os2_errortable.h:
11999 * nt_defines.h: move .h into support/
12001 * vms_defines.h: remove
12003 * WorkArea.C: add space in debug output
12007 * buffer.C: add WITH_WARNINGS
12011 * bufferlist.C: s/retrive/retrieve/, add docs
12020 * chset.C: add docs
12022 * lyxgui.C: add ID to X error handler
12024 * lyxtestclass.c: fix typo
12026 2002-02-26 Juergen Vigna <jug@sad.it>
12028 * tabular_funcs.C (write_attribute): changed so that some default
12029 attributes are not written at all.
12030 (getTokenValue): set default values before trying to read the
12031 value so we have the return value always set as default if we don't
12032 find the token we search for.
12034 * tabular.C (Write): write bools as bools not as strings!
12036 2002-02-22 Juergen Vigna <jug@sad.it>
12038 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12039 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12041 * text.C (leftMargin): don't add an indent for paragraphs inside
12042 tabular cells (fix #208).
12044 2002-02-21 José Matos <jamatos@fep.up.pt>
12046 * tabular.C (docBook): fixed support for long tables.
12048 2002-02-20 Juergen Vigna <jug@sad.it>
12050 * text2.C (getFont): get the drawing font of the Inset if this
12051 paragraph is inside an inset (only important for InsetERT for now).
12053 * buffer.C (insertErtContents): use new lanugage params in ERT
12056 * CutAndPaste.C: commenting out seemingly uneeded code.
12058 2002-02-19 Allan Rae <rae@lyx.org>
12060 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12061 Iterators might be simple to use but they also get invalidated.
12062 (removeAutoInsets): renamed saved cursor tracking variables and added
12063 some comments to clarify what everything does.
12065 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12072 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12073 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12076 * vc-backend.h: remove #include "support/syscall.h"
12080 * converter.C: rearrange #includes in Lars' approved fashion.
12082 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12083 forward declare class Timeout in the header file.
12085 * XFormsView.C: changes due to the above.
12087 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12088 similar to LyXView.
12090 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12091 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12093 2002-02-18 José Matos <jamatos@fep.up.pt>
12095 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12098 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12100 * a lot of small ws changes
12101 * add a lot of using std::XXX
12102 * use std construcs some places where approp.
12103 * use some exisint stuff from lyxfunctional where approp.
12104 * Make file changes to use partial linking (lets test this now...)
12106 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12110 remove #include "support/syscontr.h" as it's redundant. Always has been.
12118 change Systemcalls::System to Systemcalls::Wait and
12119 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12120 No change of functionality, just reflects the stripped down Systemcalls
12123 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12125 * debug.[Ch]: add a GRAPHICS type to the enum.
12127 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12129 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12131 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12134 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12136 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12137 match the changes below.
12139 * text2.C (toggleInset): if there is not editable inset at cursor
12140 position, try to see if cursor is _inside_ a collapsable inset
12143 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12145 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12146 document menu has a nice checkbox
12148 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12150 * lyxlength.C (asLatexString): change PW to output as percent of
12153 * lengthcommon.C: change '%' to 't%'
12155 * lyxfunc.C (dispatch): a few comments from Martin
12157 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12161 * BufferView_pimpl.h:
12162 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12165 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12167 * vspace.C (inPixels): fix compiler warning
12169 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12171 * lyxfunc.C (getStatus): fix status message for disabled commands.
12173 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12175 * BufferView_pimpl.C: fix crash on close buffer
12176 during selection (#227)
12178 2002-01-27 Herbert Voss <voss@lyx.org>
12180 * buffer.C: link old Figure to new graphic inset
12182 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12184 * FontLoader.C (getFontinfo): Change the latex font names in order
12185 to match the names of type1inst.
12187 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12189 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12191 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12192 (extchanged): ditto
12194 (remove_files_with_extension): ditto
12195 (remove_file): ditto
12198 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12199 document is smaller than the work area height. Do not initialize
12200 static variables to 0.
12202 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12204 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12206 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12207 LFUN_LAYOUT_PARAGRAPHS.
12209 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12210 tabular. It is possible to provide a possible cell, which will
12211 typically be the actcell from the corresponding insettabular
12213 * lyxfunc.C (getStatus): small cleanup; disable
12214 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12217 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12219 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12221 * paragraph.C (startTeXParParams):
12222 (endTeXParParams): new methods. The LaTeX code to
12223 start/end paragraph formatting
12224 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12225 empty (fixes bug #200)
12227 * vspace.C (inPixels): adapt to the change below
12228 (inPixels): [later] more cleanups (remove unused variables)
12230 * lyxlength.C (inPixels): change to use a width and a height as
12233 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12235 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12236 Replaced with \paperwidth
12238 * DepTable.C (insert): add std:: qualifier
12240 2002-01-18 Allan Rae <rae@lyx.org>
12242 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12245 * text.C (drawInset): Turned out I didn't know enough about how
12246 rebreaking worked. This fixes most of the redraw problems. I see
12247 an occasional cursor trail when a line is broken now and the cursor
12248 placement can seem out by a few pixels also after a rebreak.
12250 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12252 * buffer.C (parseSingleLyXformat2Token): update because minipage
12253 width is now a LyXLength
12255 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12257 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12260 2002-01-17 Juergen Vigna <jug@sad.it>
12262 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12264 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12265 is set correctly and the inset is updated correctly.
12267 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12269 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12270 the beginning of the loop.
12272 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12274 * lyxrc.C: improve help for use_scalable_fonts
12276 2002-01-17 Allan Rae <rae@lyx.org>
12278 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12280 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12282 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12283 make sure to set their inset_owner to the right value (bug #171)
12285 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12288 * DepTable.C: Implement mtime checking to reduce time spent doing
12291 2002-01-16 Juergen Vigna <jug@sad.it>
12293 * tabular.C (GetAdditionalHeight): one of error fixed.
12295 * lyxrc.C (output): small fix in writing use_pspell.
12297 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12299 * sp_base.h: #include LString.h
12301 2002-01-16 Allan Rae <rae@lyx.org>
12303 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12304 Can someone check this please?
12306 * text.C (drawInset): It was possible that p.row would be removed by
12307 breakAgainOneRow upsetting a few other settings. There may be another
12308 small tweak possible by setting need_break_row = 0 when p.row has been
12309 removed but I don't know enough about the logic here.
12311 2002-01-15 Allan Rae <rae@lyx.org>
12313 * text.C (insertChar): removed conditional truism.
12315 * BufferView2.C (removeAutoInsets): More tweaks.
12316 cur_par_prev could be a stray pointer. Check for trailing empty line
12317 in case last line was cur_par and only had an error inset on it.
12319 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12321 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12324 * vc-backend.C (most methods):
12325 * exporter.C (Export):
12326 * converter.C (convert):
12328 * LyXSendto.C (SendtoApplyCB):
12329 * lyxfunc.C (dispatch):
12333 * lyx_cb.C (AutoSave):
12335 * BufferView_pimpl.C (MenuInsertLyXFile):
12336 * buffer.C (runChktex): use Buffer::filePath().
12338 * buffer.h: rename filename to filename_; rename filepath to
12339 filepath_ and make it private
12340 (filePath): new method
12342 * buffer.C (writeFile): use fileName()
12345 * lyx_main.C (init): fix starting of LyX when the binary is a
12346 link from so,ewhere else.
12348 * minibuffer.C: include <cctype> for isprint
12350 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12352 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12353 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12354 name clash with InsetCollapsable's width function.
12356 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12358 * lastfiles.C: include <iterator>
12360 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12362 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12365 * buffer.C (makeLaTeXFile): ditto.
12366 Also make loop operation more transparent.
12368 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12370 * ToolbarDefaults.C: remove trailing comma closing namespace.
12372 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12374 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12377 * trans.C (Load): comment out unused variable, allowed.
12379 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12381 * minibuffer.[Ch] (append_char): new method to recieve input from the
12382 drop-down completion browser. If a key was pressed, then recieve this
12383 char and append it to the existing string.
12384 (peek_event): modify the positioning data passed to the completion
12385 browser so that it can be placed above the minibuffer rather than below.
12386 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12388 * LyXAction.C (init): alloe error-next for readonly documents.
12390 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12393 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12395 * bufferlist.C (readFile): create the buffer _after_ checking that
12398 * lyxfunc.C (verboseDispatch): fix handling of arguments
12400 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12402 * lyxrc.C: use string::erase() instead of initializing to "".
12405 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12407 * BufferView_pimpl.h:
12408 * BufferView_pimpl.C:
12411 * text2.C: tell X when we have made a selection for copying
12413 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12415 * BufferView_pimpl.C (MenuInsertLyXFile):
12416 * lyxfunc.C (menuNew):
12418 (doImport): add shortcuts to directory buttons
12420 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12423 * lyxfunc.C (setStatusMessage):
12424 (getStatusMessage): new methods
12425 (getStatus):use setStatusMessage instead of setErrorMessage
12426 (dispatch): when function is disabled, set error message here
12427 [instead of in getStatus previously]
12429 * BufferView_pimpl.C (workAreaButtonRelease): update
12430 toolbar/menubar here too.
12432 2002-01-13 Allan Rae <rae@lyx.org>
12434 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12435 Now seems indestructible. Remaining task is to audit all other
12436 code affected by deleteEmptyParagraphMechanism. One small quirk
12437 left is that an empty document with an error in the preamble can
12438 be made to report an error but no error box appears. I don't know
12440 (removeAutoInsets): Improved comments.
12442 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12445 * Thesaurus.C: update for Aiksaurus 0.14
12447 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12449 * text2.C (firstParagraph): removed member function, all uses
12450 replaces with ownerParagraph
12451 (redoParagraphs): here
12452 (updateInset): here
12453 (toggleAppendix): here
12454 * BufferView2.C (insertErrors): here
12455 (setCursorFromRow): here
12457 2002-01-13 Allan Rae <rae@lyx.org>
12459 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12460 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12461 There is still a way to segfault this although you may have to do this
12462 multiple times: Have an InsetERT with an unknown command in it.
12463 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12464 <down-arrow>, <Enter> again, View->DVI, BANG!
12466 * text2.C (setCursor):
12467 (deleteEmptyParagraphMechanism):
12468 * lyxtext.h (setCursor):
12469 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12470 Making use of the return value may help fix other bugs.
12472 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12474 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12476 * LyXView.C (updateMenubar): call MenuBar::update here
12477 (updateToolbar): but not here
12478 (showState): do not update toolbar/menubar
12480 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12481 should need to care about that.
12483 * lyxfunc.C (verboseDispatch): simplify a bit
12484 (getStatus): have a version which takes a pseudoaction, and
12485 another which requires a (kb_action,string).
12487 * LyXAction.C (retrieveActionArg): make it work also when action
12488 is not a pseudo-action.
12489 (getActionName): simplify a bit
12492 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12494 * lyxfunc.C (verboseDispatch): new families of methods with
12495 several ways to specify a command and a bool to indicate whether
12496 the command name and shortcut should be displayed in minibuffer
12497 (eventually, we could extend that to a finer bitmask like
12498 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12499 (dispatch): the pristine dispatch command which just, well,
12500 dispatchs! Note it still sets its result to minibuffer; I'm not
12503 * lyxfunc.h: remove setHintMessage
12505 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12507 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12509 * BufferView_pimpl.C (specialChar): delete new inset if we have
12510 not been able to insert it.
12512 * kbmap.C: revert to using int instead of kb_action, since all we
12513 are dealing with is pseudo-actions.
12515 * LyXAction.C (searchActionArg): change to return int instead of
12516 kb_action, since the result is a pseudoaction.
12518 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12520 * buffer.C (insertErtContents): Fix (partially) the font bug.
12522 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12524 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12525 as the other one is broken on my machine!
12527 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12530 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12532 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12534 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12535 reflect their actual use. Provide compatibility code for older lyxrc
12538 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12540 change names of popup font variables in line with the changes to lyxrc.C
12542 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12544 * buffer.C (asciiParagraph): avoid outputing a word twice after
12547 * lyxrc.C (getDescription): document that document_path and
12548 template_path can be empty.
12550 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12552 * LaTeXFeatures.C (getMacros):
12553 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12555 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12557 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12559 (getPackages): rename feature "floats" to "float". Use an array to
12560 iterate over 'simple' features (i.e. just a \usepackage). Add
12561 handling of "amsmath" (renamed from "amsstyle").
12563 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12565 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12568 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12570 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12571 FuncStaus::FuncStatus & FuncStaus::some_method().
12573 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12575 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12576 of the func_satus stuff. Edited and massaged in various ways by
12579 * lyxfunc.C (getStatus): use FuncStatus
12581 2002-01-08 Juergen Vigna <jug@sad.it>
12583 * text.C (nextBreakPoint): use function Inset::isChar().
12585 * paragraph.C (TeXOnePar): use function
12586 Inset::forceDefaultParagraphs.
12588 * buffer.C (latexParagraphs): use function
12589 Inset::forceDefaultParagraphs.
12591 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12593 * lyx_gui.C (init): set the style of the menu popups to
12594 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12596 2002-01-07 Juergen Vigna <jug@sad.it>
12598 * text.C (setHeightOfRow): small fix
12599 (prepareToPrint): don't look at alignment if we don't have the place
12602 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12604 * box.C: New file. Move the Box methods and functions out of box.h,
12605 following Lars' suggestion.
12607 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12609 * box.h: #include "support/LOstream.h", needed for inlined function.
12612 * lyxtextclasslist.C: added some using std declarations.
12614 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12616 * box.h: make signed dimensions to allow insets wider than
12617 the screen (bug #162)
12619 * BufferView_pimpl.C: add some insetHit debug
12621 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12623 * vc-backend.C: add FIXME
12625 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12627 * lyxfunc.C (getStatus): enable code for showing math font status
12630 2002-01-07 Juergen Vigna <jug@sad.it>
12632 * text.C (nextBreakPoint): removed debug output not needed anymore.
12634 2002-01-06 Juergen Vigna <jug@sad.it>
12636 * text.C (nextBreakPoint): fixed up this function we had this bug
12637 since ever but now hopefully we break row better.
12638 (insertChar): we have to check if an inset is the next char as it
12639 could now happen that a large inset is causing a break.
12641 2002-01-05 Juergen Vigna <jug@sad.it>
12643 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12644 if it doesn't like to be drawed.
12646 2002-01-04 Juergen Vigna <jug@sad.it>
12648 * BufferView2.C (lockInset): forgot to set a cursor.
12650 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12652 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12654 * FormMathsPanel.C:
12657 * form_maths_panel.C:
12658 * form_maths_panel.h:
12659 * form_maths_panel.fd: implemented sub- and super- buttons in math
12662 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12663 (or ^ space) to be used as in TeX (req'd by André).
12665 * lyxfunc.C: Allow ^ and _ again to be used both as
12666 super/subscript (mathed) and as themselves (in text).
12668 2002-01-03 Allan Rae <rae@lyx.org>
12670 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12671 "LyX" or the filename of the current buffer if it has one. This is a
12672 modified form of John Levon's patch.
12674 * XFormsView.C (setWindowTitle): also set icon title.
12676 * LyXView.h (setWindowTitle): signature changed.
12677 * XFormsView.h (setWindowTitle): ditto.
12679 2002-01-02 Juergen Vigna <jug@sad.it>
12681 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12683 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12685 * screen.C (topCursorVisible): introduce a temp var for
12686 text->cursor.row(), handle the case where this row is null. (kindo
12689 * text2.C (setCursor): add a couple of asserts.
12691 * paragraph.h (inset_iterator): add -> operator
12693 * paragraph.[Ch] (autoDeleteInsets): remove member function
12695 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12696 cursor pos correctly and handle inset deletion by itself.
12697 (insertErrors): move iterator declaration out of for expression
12699 * lyxtextclass.C: add <algorithm>
12701 * Makefile.am: added the new files to sources, removed layout.C
12703 * layout.C: removed file
12705 * layout.h: remove LYX_DUMMY_LAYOUT
12707 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12711 * lyxtextclass.[Ch]:
12712 * lyxtextclasslist.[Ch]: new files
12714 * include order changes to a lot of files, also changes because of
12717 2001-12-27 Juergen Vigna <jug@sad.it>
12719 * buffer.C (asciiParagraph): more fixes.
12721 * tabular.C (ascii): make ascii export support export of only the
12722 data separated by a column-delimiter.
12723 (ascii): better support for ascii export.
12725 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12727 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12729 * tabular_funcs.C: use a "using std::getline" instead of the
12730 previous fix from Angus (necessary for cxx + lyxstring)
12732 2001-12-24 Juergen Vigna <jug@sad.it>
12734 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12736 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12737 problems. First check a minipage also if we have some ert-contents
12738 (not only on par->size(), second set the right depth of the paragraph
12739 on the relink to the root-paragraph-list!
12741 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12742 which then did not anymore update the main paragraphs on undo/redo!
12744 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12746 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12747 code. Support all font-changing funcs (even those which are not in
12748 menu currently). Support for reporting font settings in
12749 mathed (disabled until Andre provides a function on mathed's side).
12751 * func_status.h (toggle): small helper function to set toggle
12754 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12756 * tabular_funcs.C: getline -> std::getline
12758 2001-12-21 Juergen Vigna <jug@sad.it>
12760 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12761 accessed and could be 0 (I couldn't generate this but it seems
12764 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12766 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12767 * tabular_funcs.h: here and include iosfwd
12769 2001-12-20 Juergen Vigna <jug@sad.it>
12771 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12772 inside inset but undo_par was.
12774 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12776 * Thesaurus.C: always include <config.h> in sources.
12780 * box.h: do not include <config.h> in header files
12782 * text.C (paintLastRow): remove unused variable
12784 * text.C (transformChar):
12786 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12788 * Painter.C (text):
12789 * font.C (width): rewrite to use uppercase() instead of
12792 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12794 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12796 * lyxfind.C: clean up of find failure position change
12798 2001-12-20 Juergen Vigna <jug@sad.it>
12800 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12802 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12803 (TeXRow): added to LaTeX a single tabular row.
12804 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12805 (Latex): simplified and finally good LT-h/f support.
12806 (various_functions): just small adaptions for LT-h/f support.
12808 * tabular_funcs.[hC]: added and moved here all not classfunctions
12811 2001-12-19 Juergen Vigna <jug@sad.it>
12813 * tabular.[Ch]: better support for longtabular options (not finished
12816 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12818 * text.C (paintLastRow): use the label font instead of the font of
12819 the last character to compute the size of *_BOX. This makes more
12820 sense and avoids a crash with empty paragraphs.
12821 Use Painter::rectangle to draw EMPTY_BOX.
12823 2001-12-19 Juergen Vigna <jug@sad.it>
12825 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12826 the paragraphs if the replaced paragraph is not the first one!
12827 Tried to delete not used paragraphs but does not work yet so for
12828 now it's inside #ifdef's and by default off!
12830 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12832 * MenuBackend.C: include "lyx_main.h" instead of declaring
12833 lastfiles (actually was declared as LastFiles* instead of a
12836 2001-12-17 Juergen Vigna <jug@sad.it>
12838 * tabular.C (AppendColumn): applied John's fix
12840 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12844 * BufferView_pimpl.h:
12845 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12848 * box.h: new start of class for above
12850 * lyxfunc.C: ignore space-only minibuffer dispatches.
12851 Show the command name when it doesn't exist
12853 * minibuffer.C: don't add empty lines to the history
12855 * minibuffer.C: add a space on dropdown completion
12857 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12859 * text.C: fix line above/below drawing in insets
12861 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12863 * lyxlength.C (LyXLength): Initialize private variables.
12865 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12867 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12868 when inserting error insets.
12870 2001-12-13 Juergen Vigna <jug@sad.it>
12872 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12873 actually sometimes the before-paragraph.
12874 (setUndo): don't clear the redostack if we're not actually undoing!
12876 2001-12-06 Juergen Vigna <jug@sad.it>
12878 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12879 and fixed redoing of main paragraph, so we can use it now ;)
12881 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12883 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12885 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12888 2001-12-13 André Pönitz <poenitz@gmx.net>
12891 * undo_func.C: minor cleanup
12893 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12895 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12896 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12897 font in urw-fonts package which is marked as -urw-fontspecific and
12898 does not work (incidentally, changing the encoding in the
12899 fonts.dir of this package to -adobe-fontspecific fixes the
12902 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12903 is a crash when undoing first paragraph (Juergen, please take a
12904 look). THis does not mean the undo fix is wrong, just that it
12907 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12908 the (Paragraph*) version when needed instead of duplicating the
12911 * text.C (workWidth): use Inset::parOwner to find out where the
12912 inset has been inserted. This is a huge performance gain for large
12913 documents with lots of insets. If Inset::parOwner is not set, fall
12914 back on the brute force method
12916 * paragraph_pimpl.C (insertInset):
12917 * paragraph.C (Paragraph):
12918 (cutIntoMinibuffer): set parOwner of insets when
12919 inserting/removing them
12921 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12923 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12929 * mathed/formulabase.C:
12930 * mathed/math_cursor.[Ch]:
12931 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12934 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12936 * lyxlength.[Ch] (operator!=): new function
12938 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12940 * text.C (workWidth): use Inset::parOwner to find out where the
12941 inset has been inserted. This is a huge performance gain for large
12942 documents with lots of insets. If Inset::parOwner is not set, fall
12943 back on the brute force method
12945 * paragraph_pimpl.C (insertInset):
12946 * paragraph.C (Paragraph):
12947 (cutIntoMinibuffer): set parOwner of insets when
12948 inserting/removing them
12950 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12952 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12954 * tabular-old.C (getTokenValue):
12955 * tabular.C (getTokenValue):
12956 (write_attribute): new versions for LyXLength
12957 (everywhere): adjust the use of widths
12959 * tabular.h: change the type of widths from string to LyXLength
12961 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12963 * paragraph.C: fixed missing line number count when exporting
12964 Environments to LaTeX file
12966 * buffer.C: added informational message for checking line numbers.
12968 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12970 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12971 paragraph, do the 'double space' part, but not the 'empty
12974 * text.C (workWidth): small optimization
12975 (getLengthMarkerHeight): use minimal size for negative lengths.
12977 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12979 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12981 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12983 2001-12-11 André Pönitz <poenitz@gmx.net>
12986 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12988 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12990 * text2.C: keep selection on a setFont()
12992 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12994 * lyx_cb.C: another bv->text misuse, from insert label
12996 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12999 * kbsequence.C: re-instate nmodifier mask
13001 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13003 * lyx_main.h: make lyxGUI private.
13005 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13007 * lyxfind.C: place the cursor correctly on failed search
13009 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13011 * text.C (getLengthMarkerHeight): for small heights, the arrows
13012 are not always on top/bottom of the text
13013 (drawLengthMarker): smaller arrows; take the left margin in
13014 account; draw also vfills.
13016 (paintLastRow): remove special code for vfill and standard spaces,
13017 since everything is handled in drawLengthMarker now.
13019 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13021 * buffer.C (insertErtContents): try to handle font and language
13022 interaction a bit better.g
13024 * ColorHandler.C (updateColor): change the hash to cover the whole
13025 LColor enum, ws cleanup
13026 (getGCLinepars): ditto
13027 (getGCLinepars): only lookup in the linecache once.
13029 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13031 * iterators.C (operator++): Make the iterator more robust
13033 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13035 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13037 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13040 * text.C: better added space drawing
13042 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13045 * BufferView2.C: fix layout combo update on inset unlock
13047 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13049 * Makefile.am: don't compile unused files
13051 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13055 * LyXAction.C: remove old LFUN_LAYOUTNO
13057 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13059 * paragraph_pimpl.h:
13060 * paragraph_pimpl.C: isTextAt() doesn't need font param
13062 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13065 * lyxlex.C: little cleanup
13067 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13069 * BufferView_pimpl.C: fix insertAscii for insets
13071 2001-12-05 Juergen Vigna <jug@sad.it>
13073 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13074 set the right font on the "multi" paragraph paste!
13076 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13082 * lyxlength.C: remove out-commented code.
13084 * BufferView_pimpl:
13098 * vc-backend.C: change "while(" to "while ("
13100 * lyxlength.[Ch]: add zero function to check if length is zero or
13102 * lyxgluelength.C: use it
13104 2001-12-05 Allan Rae <rae@lyx.org>
13106 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13107 Works for 2.95.3, from what I understand of Garst's reports this should
13108 work for other g++ versions. We're screwed if the abs(int) definition
13109 changed between bugfix releases of gcc.
13111 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13113 * text.C: fix chapter label offset !
13115 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13118 * text.C: fix hfill at end of line, clean up
13120 2001-12-04 Juergen Vigna <jug@sad.it>
13122 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13123 that we force an update of the inset and it's owners if neccessary.
13125 2001-12-03 Juergen Vigna <jug@sad.it>
13127 * text.C (rowLast): simplified code
13129 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13131 * lyxfunc.C: fix show options on timeout
13133 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13135 * screen.C (topCursorVisible): scroll half a page when the cursor
13136 reached top of bottom of screen
13138 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13140 * minibuffer.C: deactivate on loss of focus
13142 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13144 * vspace.[Ch] (operator!=): add operator.
13146 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13148 * BufferView_pimpl.C: refuse to open an inset when
13149 there's a selection.
13151 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13153 * BufferView_pimpl.C: allow to click on RHS of full row insets
13155 2001-11-30 Juergen Vigna <jug@sad.it>
13157 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13158 insets for undo reasons.
13160 2001-11-28 André Pönitz <poenitz@gmx.net>
13162 * vspace.[Ch]: cosmetical changes
13164 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13174 * kbsequence.C: part re-write of old kb code
13177 * WorkArea.C: remove Lgb_bug_find_hack
13179 2001-11-30 José Matos <jamatos@fep.up.pt>
13181 * buffer.C (makeDocBookFile): add a comment to point a hack.
13182 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13183 Fixed a double write of labels.
13185 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13188 * LaTeX.h Fixed bug in LaTeX class where it would not
13189 re-run latex if no depfiles were changed, but the .dvi was removed.
13191 2001-11-28 André Pönitz <poenitz@gmx.net>
13193 * all the files from the change on 2001/11/26:
13194 use lyx::layout_type instead of LyXTextClass::size_type
13195 use lyx::textclass_type instead of LyXTextClassList::size_type
13197 2001-11-29 Juergen Vigna <jug@sad.it>
13199 * text.C: added support for paragraph::isFreeSpacing()
13201 * buffer.C: same as above
13203 * paragraph.h: inserted isFreeSpacing() function to enable
13204 FreeSpacing inside InsetERT.
13206 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13207 of the paragraph's in the cut/copy buffer to 0!
13209 * text2.C (removeRow): remove the assert as it can!
13211 * lyxtext.h: added helper function firstRow returning firstrow and
13212 made firstrow private again.
13214 * BufferView2.C (lockInset): don't relock if we're already locked!
13216 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13217 the only paragraph.
13218 (removeRow): added Assert::(firstrow)
13220 * debug.C: forgot to add INSETTEXT here.
13222 2001-11-28 Juergen Vigna <jug@sad.it>
13224 * sp_spell.C (initialize): changed error text to more general
13225 spellchecker command use (not only ispell!)
13227 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13229 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13231 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13233 * vspace.C: initialise lyxgluelength on failure
13235 2001-11-28 Allan Rae <rae@lyx.org>
13237 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13238 declaration & definition that looks like a function declaration.
13240 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13242 * BufferView2.C (copy):
13243 (copyEnvironment): do not clear the selection when doing a copy.
13245 * text.C (paintFirstRow): compilation fix
13247 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13249 * tabular.C (Latex): correct line count when writing latex.
13251 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13253 * paragraph_pimpl.h:
13254 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13257 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13261 * LColor.C: change vfillline->added_space
13263 * text.C: add markers and text for added space
13265 * vspace.C: fix comment
13267 2001-11-28 André Pönitz <poenitz@gmx.net>
13269 * paragraph.C: whitespace changes
13270 * all the other files from the change on 2001/11/26:
13271 change *::pos_type into lyx::pos_type
13273 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13275 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13276 language of the document when inserting error insets.
13278 2001-11-26 André Pönitz <poenitz@gmx.net>
13280 * BufferView_pimpl.[Ch]:
13288 * paragraph_pimpl.[Ch]:
13291 * text2.C: reduce header dependencies, introduce type for positions
13293 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13295 * <various>: change to use Alert.h
13297 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13299 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13300 when encountering an unknown token.
13301 (readLyXformat2): Show an error message if there were unknown tokens.
13303 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13306 * BufferView_pimpl.C:
13310 * text2.C: use par->isInset()
13312 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13314 * paragraph_pimpl.h:
13315 * paragraph_pimpl.C: cleanup
13317 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13319 * text2.C (removeRow):
13320 * text.C (setHeightOfRow): remove useless (and costly) call to
13323 2001-11-20 Allan Rae <rae@lyx.org>
13325 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13326 Now need Inset*::checkInsertChar() to return true for appropriate
13327 cases so that the characters in the minibuffer will actually be
13330 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13332 * text.C: change the order of the includes.
13333 (workWidth): initialize it at once.
13334 (workWidth): make maxw unsigned
13335 (setHeightOfRow): remove unused variable (inset)
13336 (selectSelectedWord): remove unused variable (inset)
13337 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13339 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13341 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13342 server is not running.
13344 (closeConnection): add debug info when server is disabled.
13346 * ColorHandler.C (getGCForeground): send debug message to GUI
13349 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13351 * kbmap.C (bind): modify because return conventions of
13352 kb_sequence::parse have changed.
13354 * kbsequence.C (parse): only ignore spaces and not any stupid
13355 control character. This avoids tests like s[i] <= ' ', which are
13356 guaranteed to fail with 8bit characters and signed chars.
13357 Change return code to string::npos when there have been no error
13358 (0 was a bad idea when error is at first character)
13360 2001-11-14 José Matos <jamatos@fep.up.pt>
13363 * buffer.C (simpleDocBookOnePar): removed unused argument.
13365 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13367 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13368 insets which are part of a word. Paragraph::isLetter takes care of
13369 that now. Use Paragraph::isInset to identify insets.
13370 (selectSelectedWord): do not test for hyphenation break.
13372 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13373 that protected spaces are considered as spaces.
13375 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13378 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13381 * lyxserver.C: fix it. and small cleanup.
13383 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13385 * BufferView_pimpl.C: use inline helpers
13388 * LaTeXFeatures.C: fix typos
13391 * Spacing.C: move spacing_string into class
13393 * ToolbarDefaults.C: move stuff into namespace anon
13395 * layout.h: update enum
13397 * lyxfunc.C: use better debug
13399 * minibuffer.h: fix typo
13403 * WorkArea.C: add and use Debug::WORKAREA
13407 * text2.C: code re-organisation, inline helpers
13409 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13411 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13412 std::vector.empty().
13414 2001-11-09 Allan Rae <rae@lyx.org>
13416 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13417 '\n's after tables. Tabular and ERT inset work now makes this no
13420 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13423 * minibuffer.C: fix crash, improve drop-down completion
13425 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13428 * lyxserver.C: invalidate fd's when doing endPipe()
13430 2001-11-08 José Matos <jamatos@fep.up.pt>
13432 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13433 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13436 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13438 2001-11-07 José Matos <jamatos@fep.up.pt>
13441 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13444 * buffer.C (sgmlOpenTag):
13445 * buffer.C (sgmlCloseTag): removed debug info.
13447 * buffer.h (sgmlOpenTag):
13448 * buffer.h (sgmlCloseTag): made public.
13450 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13452 * buffer.C (saveParamsAsDefaults):
13453 * lyx_cb.C (MenuLayoutSave): remove
13455 * LyXAction.C (init):
13457 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13459 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13461 * buffer.C (setPaperStuff): removed from here...
13463 * bufferparams.C (setPaperStuff): ... and moved there.
13465 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13469 * XFormsView.C: add support for drop-down completion
13471 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13473 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13476 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13478 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13481 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13483 * lyx_main.C: change ref to known bugs
13485 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13487 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13488 to work around older babel problems.
13490 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13492 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13494 2001-10-24 Juergen Vigna <jug@sad.it>
13496 * tabular-old.C (ReadOld): below variable changes reflected.
13498 * tabular.[Ch]: added ltType struct for longtable header/footer
13499 defines and changed all instances where they are used. Added
13500 future support for double top/bottom rows.
13502 2001-10-24 José Matos <jamatos@fep.up.pt>
13504 * buffer.h (docbookHandleCaption):
13505 * buffer.C (docbookHandleCaption): removed unused function.
13506 (makeDocBookFile): moved docbook supported version to v4.1.
13508 2001-10-24 José Matos <jamatos@fep.up.pt>
13511 * tabular.C (docbookRow): new function to export docbook code of a row.
13512 (DocBook): now honors the longtable flags.
13514 2001-10-23 José Matos <jamatos@fep.up.pt>
13517 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13518 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13520 * buffer.C (makeLinuxDocFile):
13521 (makeDocBookFile): reworked the preamble, more clean, and with
13522 support for lyx defined entities. Changed the document declaration
13523 to be more XML friendly.
13525 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13526 if we need to output XML that should be done with a filter.
13528 2001-10-22 Juergen Vigna <jug@sad.it>
13530 * sp_pspell.h (class PSpell): add alive function needed in the
13531 controller to see if the spellchecker could be started.
13533 2001-10-22 Juergen Vigna <jug@sad.it>
13535 * buffer.C (insertStringAsLines): modify the font for inserting
13536 chars in certain conditions by calling checkInsertChar(font).
13538 2001-10-19 Juergen Vigna <jug@sad.it>
13540 * text.C (workWidth): use getRow instead of wrong algorithm.
13541 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13543 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13548 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13550 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13552 * text.C (workWidth): do not search for the exact row when
13553 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13554 optimization for big documents.
13556 2001-10-18 Juergen Vigna <jug@sad.it>
13558 * text.C (workWidth): new function with added Inset * parameter.
13560 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13562 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13564 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13565 change return type of getColumnNearX.
13568 * text.C (changeRegionCase): use uppercase/lowercase instead of
13571 (rightMargin): simplify code by factoring out the uses of
13576 (appendParagraph): use Paragraph::size_type
13578 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13580 * vspace.C (asLatexString): add a missing break
13582 2001-10-15 Herbert Voss <voss@perce.de>
13584 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13586 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13588 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13591 2001-10-10 André Pönitz <poenitz@gmx.net>
13593 * lyxfunc.C: removed greek_kb_flag.
13595 2001-10-10 Herbert Voss <voss@perce.de>
13597 * lyx_main.C: delete global string help_lyxdir.
13599 2001-10-09 Herbert Voss <voss@perce.de>
13601 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13603 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13605 * lyx_main.C: added global string help_lyxdir.
13607 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13609 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13611 * lyxrc.C (set_font_norm_type): support iso8859-4
13613 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13615 * LaTeX.C (deplog): add another regex for MikTeX
13617 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13619 * lyxrc.C (set_font_norm_type): support iso8859-3
13621 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13623 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13625 * LaTeXFeatures.C: remove special case of french and index
13627 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13628 before \begin{document}). This solves several incompatibilities.
13630 2001-10-03 Garst Reese <reese@isn.net>
13632 * lyx_cb.C: change CheckTex error msg.
13634 2001-10-03 José Matos <jamatos@fep.up.pt>
13636 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13638 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13640 * .cvsignore: update
13642 * lyx_main.C (commandLineVersionInfo): use new style version info.
13644 * buffer.C (writeFile):
13646 (makeLinuxDocFile):
13647 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13649 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13651 * version.h: update to use stuff in version.C
13653 * version.C.in: new file. Contains version information determined
13654 at compile time. This is a merging of version.h and
13657 2001-10-03 Juergen Vigna <jug@sad.it>
13659 * BufferView_pimpl.C (update): don't change "dirty" status in
13662 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13664 * WorkArea.C (c-tor): re-position version string slightly.
13666 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13668 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13669 revert to previous code.
13671 WorkArea.[Ch]: (show, destroySplash): methods removed.
13673 WorkArea.C: rework code so that it's an amalgam of the codes before and
13674 after the splash screen was moved to WorkArea.
13676 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13679 * vspace.C (inPixels):
13682 * buffer.C (insertStringAsLines):
13683 (asciiParagraph): fix types to be large enough
13685 * lyxlex_pimpl.h: change member status from short to int
13687 * layout.h: fix type of endlabeltype
13690 * kbsequence.C (parse): change return type to string::size_type
13692 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13695 * Bullet.C (bulletSize):
13696 (bulletEntry): do not use short ints as parameters
13698 * BufferView2.C (insertLyXFile): change a char to an int.
13700 * WorkArea.C (WorkArea): remove unneeded floats in computation
13702 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13704 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13706 * paragraph.C (asString): Do not ignore newline/hfill chars when
13707 copying to the clipboard.
13709 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13711 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13712 after a multi-line inset.
13714 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13716 * paragraph.C (validate): Set NeedLyXFootnoteCode
13718 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13720 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13721 and decrease-error to decrease.
13723 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13725 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13726 it more readable (should be equivalent)
13728 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13730 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13732 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13734 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13735 of a cursor (row, etc.) after a character has been deleted
13736 (deleteEmptyParagraphMechanism): call the method above on _all_
13737 cursors held by the LyXText when a double space has been
13740 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13742 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13744 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13746 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13747 background. Use greyOut() and the new show() methods to toggle between
13748 the foreground and background. Add code to remove the splash after
13749 its initial showing.
13751 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13752 (create_forms): no longer call Dialogs::showSplash.
13754 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13756 * .cvsignore: add version_info.h
13758 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13760 * version_info.h.in: new file
13762 * Makefile.am: add version_info.h.in
13764 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13765 version_info.h instead of VERSION_INFO
13767 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13769 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13770 The ERT inset now returns string().
13772 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13774 * lyxtext.h, text.C (selectNextWord): renamed as
13775 selectNextWordToSpellcheck.
13777 * text.C (selectNextWordToSpellcheck): Modified to not select
13778 words inside an ERT inset.
13780 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13782 * lyx_cb.C (MenuLayoutSave): change a bit the question
13784 * sp_base.h: include <sys/types.h>
13786 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13788 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13790 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13792 * several files: fix typos in user-visible strings
13794 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13796 * text2.C (pasteSelection): do not set the selection, since it
13797 will be cleared later. Actually, the intent was to fix the way the
13798 selection was set, but I figured rmoving the code was just as good.
13800 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13802 * FontLoader.C (available): Check if font is available without
13805 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13807 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13809 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13811 * lyxrc.[Ch]: added display_graphics variable and associated code.
13813 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13815 * bufferparams.C (hasClassDefaults): new method. Returns true if
13816 the buffer parameters correspond to known class defaults
13818 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13820 * XFormsView.C (show): set minimum size to the main window.
13822 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13824 * text2.C (copySelection):
13826 * lyxfind.C (LyXReplace):
13827 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13828 LyXText::selectionAsString.
13830 * paragraph.C (asString): add "label" argument to the second form
13832 * text2.C (selectionAsString): add "label" argument and pass it to
13833 Paragraph::asString.
13835 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13837 * lyx_main.C (commandLineHelp): remove version information
13839 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13841 * lyx_main.C: add -version commandline option
13843 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13845 * paragraph.h: make the optional constructor arg required instead.
13846 some modifications to other files because of this.
13848 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13850 * lyxserver.C (C_LyXComm_callback): make it static
13852 * lyx_main.C (error_handler): make it static
13854 * lyx_gui.C (LyX_XErrHandler): make it static
13856 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13858 * WorkArea.C: make the extern "C" methods static.
13860 * Makefile.am (lyx_LDADD): simplify
13862 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13864 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13865 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13867 * LyXAction.C (init):
13868 * lyxfunc.C (dispatch): associated code removal.
13870 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13872 * lyxfont.h (isSymbolFont): shut off warning
13874 * text.C (setHeightOfRow):
13875 (getVisibleRow): fix crash with empty paragraphs which have a
13878 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13880 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13883 2001-09-04 José Matos <jamatos@fep.up.pt>
13886 * tabular.C (docbook): rename docBook method to docbook.
13888 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13890 * Makefile.am: add dependencies to main.o.
13892 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13894 * FontLoader.C (available): Return false if !lyxrc.use_gui
13896 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13898 * FontInfo.C (query):
13899 * converter.C (view):
13900 * importer.C (Import):
13901 * exporter.C (Export): Can not -> cannot.
13903 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13905 * BufferView_pimpl.C: allow to create index inset even if
13908 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13910 * buffer.C (getLists): replace boost::tie code with an explicit pair
13911 as boost::tie can break some compilers.
13913 * iterators.h: Added a std:: declaration to the return type of
13916 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13918 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13921 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13923 * iterators.[Ch]: New files. Provide paragraph iterators.
13925 * buffer.C (changeLanguage): Use paragraph iterators.
13926 (isMultiLingual): ditto
13928 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13930 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13932 * FontLoader.C: Support for cmr font.
13934 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13936 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13937 (available): New method.
13939 * FontInfo.C (getFontname): Use scalable fonts even when
13940 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13943 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13945 * converter.C (Formats::view): reverted! Incorrect fix.
13947 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13949 * converter.C (Formats::view): only output the -paper option
13950 if the dvi viewer is xdvi, thereby fixing bug #233429.
13952 2001-08-23 Herbert Voss <voss@perce>
13954 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13956 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13958 * Spacing.h (Spacing): Set space to Default on in the default
13961 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13963 * vc-backend.h (RCS::versionString): add RCS to version
13964 (CVS::versionString): add CVS to version
13966 * vc-backend.C (scanMaster): do not add CVS to version.
13967 (scanMaster): do not add RCS to version
13969 * lyxvc.C (versionString): new method
13971 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13973 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13975 * Spacing.C (set): initialize fval
13977 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13979 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13982 2001-08-16 Juergen Vigna <jug@sad.it>
13984 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13986 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13988 * BufferView_pimpl.C:
13991 * text2.C: setParagraph takes linespacing now
13993 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13995 * LyxAction.C: add internal LFUN_CITATION_INSERT
13997 * LyXView.C: actually apply fix
13999 * bufferlist.C: fix open non-existent file
14001 * lyxfind.C: fix indentation
14003 * lyxfunc.C: remove unneeded assert, fix typo
14005 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14007 * MenuBackend.C: use "Floatname List"
14009 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14011 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14012 when converting LaTeX layout to insetERT.
14013 Generate a non-collapsed float when reading old float
14015 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14017 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14020 2001-08-13 Juergen Vigna <jug@sad.it>
14022 * text.C (fill): return 0 instead of 20 as this seems to be the more
14025 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14027 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14030 2001-08-13 Juergen Vigna <jug@sad.it>
14032 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14034 (SearchBackward): comment out the unlocking of the inset_owner this
14035 should not be needed!
14037 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14039 * Many files: Remove inherit_language, and add latex_language
14041 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14042 collapsible insets.
14044 2001-08-10 Juergen Vigna <jug@sad.it>
14046 * text.C (prepareToPrint): fixed hfill-width in draw!
14048 * BufferView2.C (selectLastWord): save the selection cursor as this
14049 now is cleared in the function LyXText::clearSelection!
14051 2001-08-08 Juergen Vigna <jug@sad.it>
14053 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14054 BACKSPACE type functions.
14056 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14057 is only cutted from the document but not put in the cut-buffer, where
14058 still the old stuff should be.
14060 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14062 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14064 * tabular.C (SetWidthOfCell): fixed special case where the width
14066 (LeftLine): handle '|' in align_special.
14068 (LeftAlreadyDrawed): ditto
14069 (SetWidthOfCell): ditto
14071 2001-08-07 Juergen Vigna <jug@sad.it>
14073 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14075 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14077 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14078 * lyxlex.[hC]: ditto
14080 2001-08-06 Juergen Vigna <jug@sad.it>
14082 * text.C (getVisibleRow): fix up row clearing a bit.
14084 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14086 * minibuffer.C: make sure the X server sees the changes in the input.
14088 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14090 * paragraph.C (getFont): split into...
14091 (getLabelFont): this
14092 (getLayoutFont): and this
14093 * paragraph_pimpl.C (realizeFont): calling this
14095 * text2.C (getFont): split into...
14096 (getLayoutFont): this
14097 (getLabelFont): and this
14098 (realizeFont): all three calling this
14100 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14103 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14105 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14107 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14109 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14110 layouts from the Quote inset insertion.
14112 2001-08-03 Juergen Vigna <jug@sad.it>
14114 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14116 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14117 only if status not is already CHANGED_IN_DRAW (second level).
14119 * text.C (draw): don't set the need_break_row when inside an
14122 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14124 * buffer.C (parseSingleLyXformat2Token): handle more latex
14127 * bufferview_funcs.[hC]: change function names to
14128 begin with small char, adjust other files.
14130 2001-08-02 André Pönitz <poenitz@gmx.net>
14133 BufferView_pimpl.C: remove broken special code for math-greek
14135 2001-08-02 Juergen Vigna <jug@sad.it>
14137 * BufferView_pimpl.C (update): redone this function so that we
14138 update the text again if there was a CHANGE_IN_DRAW.
14140 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14141 (drawFromTo): added a new internal bool which is used by draw() and
14143 (general): some cursor drawing problems fixed.
14145 2001-08-01 Juergen Vigna <jug@sad.it>
14147 * lyxfind.C (LyXFind): fixed
14148 (SearchForward): ditto
14149 (SearchBackward): ditto
14151 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14152 spurius drawing of the cursor in the main area.
14154 * text2.C (status): small fix which could lead to a segfault!
14155 (clearSelection): remove unneeded BufferView param.
14157 2001-08-01 André Pönitz <poenitz@gmx.net>
14159 * lyxfunc.C: small change due to changed mathed interface
14161 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14163 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14165 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14167 * lyxfunc.c: fail gracefully if file doesn't exist
14172 * BufferView_pimpl.C: IsDirWriteable() proto changed
14174 * LyXView.C: fix updateWindowTitle() to store the last title
14176 2001-07-31 Juergen Vigna <jug@sad.it>
14178 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14179 the font (wrong since using of Paragraph::highestFontInRange).
14181 * paragraph.C (highestFontInRange): added a default_size parameter.
14183 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14184 (setHeightOfRow): reformat
14186 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14188 * converter.[hC] + affected files: move to (inital-char)lowercase
14191 * ParagraphParameters.C (ParagraphParameters): remove commented code
14193 * PainterBase.[Ch]: remove commented code
14195 * LaTeXFeatures.h: add "bool floats" for float.sty
14197 * LaTeXFeatures.C (LaTeXFeatures): init floats
14198 (require): handle float
14199 (getPackages): do it with floats
14201 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14203 * BufferView_pimpl.C (Dispatch): improve handling of
14204 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14206 * commandtags.h: #include lyxfont.h here temporarily to avoid
14209 * bufferlist.h: include LString.h here.
14211 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14213 * text2.C (getStringToIndex): new method.
14215 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14217 * *: Reduced header file dependencies all over.
14219 2001-07-30 Baruch Even <baruch@lyx.org>
14221 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14223 2001-07-29 Baruch Even <baruch@lyx.org>
14225 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14227 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14229 * ParameterStruct.h (endif): add a default constructor to make
14230 sure that all variables is initialized.
14232 * ParagraphParameters.C (ParagraphParameters): adjust
14234 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14236 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14237 index; also, check that there is something to index, and that it
14238 does not span over several paragraphs.
14239 (doubleClick): use WHOLE_WORD_STRICT for double click.
14241 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14243 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14246 2001-07-26 Baruch Even <baruch@lyx.org>
14248 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14249 an InsetFig figure, backwards compatible reading of old figure code.
14251 2001-07-27 Juergen Vigna <jug@sad.it>
14253 * text2.C: font.realize function adaption.
14255 * text.C (draw): add a warnings lyxerr text if needed.
14257 * layout.C: font.realize function adaption.
14259 * language.C: add inherit_language and implement it's handlings
14261 * bufferview_funcs.C (StyleReset): remove language parameter from
14262 font creation (should be language_inherit now).
14264 * bufferparams.C (writeFile): handle ignore_language.
14266 * paragraph.C (getFontSettings): the language has to be resolved
14267 otherwise we have problems in LyXFont!
14269 * lyxfont.C (lyxWriteChanges): added document_language parameter
14270 (update): removed unneeded language parameter
14272 * paragraph.C (validate): fixed wrong output of color-package when
14273 using interface colors for certain fonts in certain environments,
14274 which should not seen as that on the final output.
14276 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14278 * BufferView_pimpl.C:
14283 * LyXAction.C: add thesaurus support
14286 * lyxfind.C: add "once" parameter, for thesaurus, to not
14287 move to the next match
14289 2001-07-26 Juergen Vigna <jug@sad.it>
14291 * lyxfont.C (realize): honor ignore_language too!
14294 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14296 * text.C (draw): one place more for ignore_language to not draw
14299 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14301 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14303 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14305 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14306 the minipage conversion problem.
14308 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14310 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14313 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14315 * BufferView.h: don't forward declare WorkArea
14317 * BufferView.C: don't include WorkArea.h
14319 2001-07-25 André Pönitz <poenitz@gmx.net>
14323 * lyxfunc.C: new LFUN 'math-space'
14325 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14327 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14329 * text2.C (toggleInset): call open/close
14331 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14333 * lyxfunc.C (dispatch): add debug for the disabled case
14335 * font.C (buttonText): make similar to rectText
14337 * buffer.C (readInset): comment out parsing of insetlist and
14340 * PainterBase.C (rectText): small correction
14342 * BufferView_pimpl.C: comment out insettheorem and insetlist
14343 * LyXAction.C: ditto
14344 * commandtags.h: ditto
14346 2001-07-24 Juergen Vigna <jug@sad.it>
14348 * text.C (draw): honor the ignore_language.
14350 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14352 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14354 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14357 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14359 * lyxtext.h: remove unused (and unimplemented) methods
14361 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14363 * text.C (getVisibleRow): honor background color
14366 * Painter.h: remove default color argument for fillRectangle
14368 * text.C (backgroundColor): new method
14370 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14372 * text.C (getVisibleRow): adjust
14374 * font.[Ch] (rectText): new method, metrics
14375 (buttonText): new method, metrics
14377 * PainterBase.[hC]: make rectText and buttonText always draw and take
14380 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14382 * ToolbarDefaults.C (read):
14383 * MenuBackend.C (read): allow escaping in all strings
14385 * BufferView_pimpl.C (insertAndEditInset): new method.
14386 (Dispatch): use insertAndEditInset whenever appropriate.
14388 * BufferView_pimpl.C (insertNote): removed
14390 * BufferView_pimpl.C (smartQuote): new method, moved from
14391 BufferView; if an insetquote cannot be inserted, insert a '"'
14394 * BufferView2.C: remove insertCorrectQuote();
14396 * lyxfunc.C (getStatus): Add support for all remaingin
14397 inset-insert lfuns.
14399 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14401 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14402 command (necessary to pass " as parameter of self-insert.
14404 * text.C (selectWordWhenUnderCursor):
14405 (selectWord): add word_location parameter
14406 (selectWordWhenUnderCursor): same + remove special code for word
14408 (selectNextWord): use kind() to guess type of insetspecialchar,
14411 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14412 (insertErtContents): create ert insets as collapsed.
14413 (readInset): better compatibility code for Info inset.
14415 2001-07-20 Juergen Vigna <jug@sad.it>
14417 * lyxfunc.C (dispatch): use always LyXFind now!
14419 * text2.C (init): add a reinit flag so that the LyXText can be
14420 reinited instead of deleted and reallocated (used in InsetText).
14422 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14428 2001-07-18 Juergen Vigna <jug@sad.it>
14430 * text.C (selectNextWord): handle insets inside inset by calling
14431 always the bv->text functions so that we can go up the_locking_inset!
14433 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14434 in strange locations when inside an inset!
14436 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14437 handling to include insets.
14439 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14441 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14443 * LyXAction.C (init):
14445 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14446 LIGATURE_BREAK, since the name is so stupid.
14448 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14450 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14453 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14455 * sp_form.[Ch]: remove.
14457 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14459 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14462 * src/buffer.C (readInset): ditto.
14464 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14466 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14467 menuSeparator(), endOfSentenceDot(), ldots() and
14468 hyphenationPoint(), which are therefore removed.
14469 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14471 * LyXAction.C (init):
14472 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14474 * paragraph.C (getWord): removed.
14476 * BufferView_pimpl.C (Dispatch): use last word or selection for
14477 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14479 * lyx_main.C (queryUserLyXDir): do not ask before creating
14480 user_dir, except if it has been named explicitely.
14482 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14484 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14485 a document of zero size.
14487 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14489 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14490 approriately in the c-tor and in require().
14491 (getPackages): output the appropriate LaTeX for natbib support.
14493 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14494 variables "use_natbib" and "use_numerical_citations" when reading the
14496 (readInset): read the various natbib cite commands.
14497 (validate): white-space change.
14499 * bufferparams.[Ch]: new variables "bool use_natbib" and
14500 "bool use_numerical_citations".
14501 (writeFile): output them in the LyX file.
14503 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14505 * lyxfunc.C (getStatus): add support for all the inset insertion
14508 * text2.C (insertInset):
14509 * paragraph.C (insetAllowed):
14510 * BufferView_pimpl.C (insertInset): update to take in account the
14511 renaming of insertInsetAllowed
14513 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14515 * text2.C (getInset): new method. returns inset at cursor position.
14517 * BufferView_pimpl.C (Dispatch): changes because of this.
14519 * LyXAction.C (init): rename open-stuff to inset-toggle.
14521 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14523 * text2.C (toggleInset): renamed from openStuff; use
14526 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14528 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14530 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14532 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14534 * buffer.C (readLyXformat2): Add filename to the error dialog
14536 2001-07-18 Juergen Vigna <jug@sad.it>
14538 * tabular.C (GetCellNumber): put an assert here instead of the check!
14540 2001-07-17 Juergen Vigna <jug@sad.it>
14542 * BufferView_pimpl.C (toggleSelection): adapted too.
14544 * text.C (selectNextWord): adapted for use with insets.
14545 (selectSelectedWord): ditto
14547 2001-07-17 Juergen Vigna <jug@sad.it>
14549 * sp_spell.C (PSpell): fix initialitation order.
14551 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14553 * paragraph.C: spacing
14555 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14557 * sp_spell.C: repair language selection for pspell
14559 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14561 * lyxfunc.h: change more methods to begin with lower char.
14563 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14565 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14566 for unknown layouts.
14568 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14570 * buffer.C (readLyXformat2): Generate an error dialog if there are
14573 2001-07-16 Juergen Vigna <jug@sad.it>
14575 * sp_spell.C: always compile ISpell part.
14577 * lyxrc.C: added use_pspell entry and it's handling.
14579 2001-07-13 Juergen Vigna <jug@sad.it>
14581 * sp_spell.C: removed double includes.
14583 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14585 Consistent use of Lsstream.h:
14586 * Lsstream.h: added using std::stringstream for consistencies sake.
14588 * buffer.C: removed using std::stringstream
14590 * lyxfont.C (stateText):
14591 * paragraph.C (asString):
14592 * text.C (selectNextWord, selectSelectedWord):
14593 * text2.C (setCounter):
14594 * vspace.C (asString, asLatexString):
14595 std::ostringstream -> ostringstream.
14597 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14599 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14600 * commandtags.h: add LFUN_HELP_ABOUTLYX
14601 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14603 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14605 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14607 * lyx_gui_misc.C: remove spellchecker
14608 * lyxfunc.C: showSpellchecker
14610 * sp_ispell.h: added
14611 * sp_pspell.h: added
14612 * sp_spell.C: added
14613 * sp_form.[Ch]: removed
14614 * spellchecker.[Ch]: removed
14616 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14618 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14620 (simpleTeXSpecialChars): Simply print the input character without
14621 any special translation if pass_thru is set.
14623 * layout.h: Added bool pass_thru to layout class for being able to
14624 implement pass through of a paragraph for Literate Programming.
14626 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14627 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14628 * layout.C (Read): add "passthru" to list of layout tags and add
14629 code to set the pass_thru boolean when it is read.
14631 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14633 * trans_decl.h: remove allowed from KmodInfo
14635 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14636 remove allowed code
14639 * paragraph_pimpl.C (erase): use boost::prior
14641 * Painter.C (text): use data() instead of c_str() when length is
14643 * WorkArea.C (putClipboard): ditto
14644 * font.h (width): ditto
14646 * BufferView2.C: use it-> instead of (*it). for iterators
14648 * paragraph_pimpl.C: ditto
14649 * paragraph.C: ditto
14650 * minibuffer.C: ditto
14651 * language.C: ditto
14653 * encoding.C: ditto
14654 * counters.C: ditto
14655 * converter.C: ditto
14657 * Variables.C: ditto
14658 * TextCache.C: ditto
14659 * MenuBackend.C: ditto
14660 * LyXAction.C: ditto
14662 * FloatList.C: ditto
14663 * DepTable.C: ditto
14664 * ColorHandler.C (LyXColorHandler): ditto
14666 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14668 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14670 * text2.C (openStuff): reintroduce this method (which had been
14671 nuked in NEW_INSETS frenzy).
14673 * lyxfunc.C (Dispatch): when an action has not been handled, use
14674 its name in the error message, not its number.
14676 * paragraph.C (inInset): change method name to begin with lowercase.
14679 * text2.C: updates because of this.
14681 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14683 * ToolbarDefaults.C (add): add spaces in error message
14685 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14687 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14688 (readLyXformat2): rename return_par to first_par, use lyxlex's
14689 pushToken and remove the manual push handling.
14690 (parseSingleLyXformat2Token): add another ert comp. variable:
14691 in_tabular, rename return_par to first_par. handle newlines better
14693 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14695 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14697 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14699 * text2.C (getParFromID): removed
14701 * buffer.C (getParFromID): new method moved form lyxtext.
14702 * BufferView2.C (insertErrors): adjust
14703 (setCursorFromRow): adjust
14704 * BufferView_pimpl.C (restorePosition): adjust
14705 * lyxfunc.C (Dispatch): adjust
14706 * undo_funcs.C (textUndo): adjust
14708 (textHandleUndo): adjust
14709 (textHandleUndo): adjust
14711 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14713 * buffer.C: up' the LYX_FORMAT
14715 * lyxfont.h: turn NO_LATEX on as default
14717 * buffer.C (insertErtContents): new methods of tex style compability.
14718 (parseSingleLyXformat2Token): use it several places.
14719 * tabular.C (OldFormatRead): and here
14721 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14723 * text2.C: remove some commented code.
14726 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14727 * trans.C: changes because of the above.
14729 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14731 * text2.C (setCounter): Fix counters bug with bibliography layout.
14733 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14735 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14736 own member functions
14737 (simpleTeXSpecialChars): ditto
14739 2001-07-06 Juergen Vigna <jug@sad.it>
14741 * a lot of files: changed the access to LyXText::status and the
14742 call of undo-functions.
14744 * undo.[Ch]: added a inset_id to the undo informations.
14746 * undo_funcs.[Ch]: added and moved here all undo functions.
14748 * lyxtext.h: give the status enum a weight, made status_ a private
14749 variable and made accessor functions for it, removed the whole bunch
14750 of undo-functions as they are now in their own file, make some
14751 functions publically available. Added function ownerParagraph with
14754 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14755 made InInset() a const function, added getParFromID() function.
14757 * buffer.[Ch]: added const version for inset_iterator functions,
14758 added getInsetFromID() function.
14760 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14761 changed undo functions for new version.
14763 2001-07-05 Juergen Vigna <jug@sad.it>
14765 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14766 unknow mechanism does not call the proper constructor but only this
14767 one also if I request the other!?
14769 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14771 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14773 * text2.C (LyXText): use initialization lists.
14775 * lyxtext.h (Selection): initialize set_ and mark_
14776 (init): remove method
14778 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14780 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14782 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14784 * screen.[Ch]: change method names to begin with lowercase
14786 * BufferView_pimpl.C (updateScrollbar): simplify further and
14787 hopefully make it a bit faster.
14789 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14791 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14792 calling directly xforms functions.
14794 * Painter.C (Painter):
14795 * lyx_cb.C (MenuWrite):
14796 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14799 * lyx_gui.C: remove bogus guiruntime extern declaration.
14801 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14803 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14805 (redoDrawingOfParagraph): ditto
14806 (redoParagraphs): ditto
14807 (cutSelection): don't create a object for CutAndPaste use the
14808 static method directly
14809 (pasteSelection): ditto
14811 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14814 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14816 * modifications to some other files because of this.
14818 * Makefile.am (lyx_SOURCES): add XFormsView
14820 * XFormsView.[Ch]: new files
14822 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14823 the main window. Move the gui dependent stuff to XFormsView
14825 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14827 * tabular.C (GetCellInset): update cur_cell also in the row/col
14828 version of this function.
14830 * lyxfunc.C: no need to include figure_form.h here.
14836 * lyxvc.C: no need to include forms.h here.
14838 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14840 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14842 * lyxfunc.C (Dispatch):
14844 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14845 constructor argument.
14847 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14849 * paragraph.C (Paragraph): dont't clear, and just set layout.
14850 (makeSameLayout): use params's copy contructor.
14852 * ParagraphParameters.[Ch] (makeSame): delete method
14854 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14856 * Variables.[Ch]: fix indentation, rename set to isSet
14858 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14860 * lyxfunc.C (Dispatch): fix typo
14862 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14864 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14867 * bufferlist.C: include assert.h for emergencyWrite().
14869 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14871 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14872 give up at last (bug #425202) !
14874 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14880 * spellchecker.C: strip spellchecker options and bring up
14881 preferences tab instead
14883 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14885 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14886 the istringstream constructor
14888 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14890 * paragraph.C (getLayout): fix return value
14892 * paragraph.h: do not declare getLayout as inline.
14894 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14896 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14898 * lyxcursor.h (operator<): new func
14899 (operator>): new func
14900 (operator>=): new func
14901 (operator<=): new func
14903 * text.C (changeCase): use selection.start and selection.end
14904 (changeRegionCase): require from to be <= to. Require par to be a
14907 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14909 2001-06-27 Juergen Vigna <jug@sad.it>
14911 * text.C (cursorLeftOneWord): changed to return the cursor and added
14912 overlay with BufferView * parameter which calls this one.
14914 (selectWord): use new getWord function.
14915 (changeCase): renamed from changeWordCase as and extended to work
14916 also on selections.
14918 * lyxtext.h: added enum word_location
14920 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14921 changeCase as this operates now also on selections.
14923 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14925 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14927 * many files: send debug output to Debug::INFO instead of
14930 * converter.C (View):
14932 (Move): send debug output to Debug::FILES instead of console.
14934 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14936 * lyxfunc.C (getStatus): use func_status
14938 * func_status.h: new header, describing the results of
14939 LyXFunc::getStatus;
14941 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14944 2001-06-25 The LyX Project <jug@sad.it>
14946 * buffer.C (sgmlOpenTag):
14948 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14950 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14952 * text2.C: remove some dead code
14954 * tabular.C (GetCellInset): store the last cell checked (gotten)
14956 * tabular.h: add the helper for the speedup
14958 * lyxtext.h: remove some dead code
14960 2001-06-26 The LyX Project <Asger>
14962 * paragraph.C: Change export to LaTeX of alignment to
14963 \begin{center} and family for better roundtrip work with reLyX.
14965 * Tune the math drawing a bit.
14967 2001-06-25 The LyX Project <Asger>
14969 * LColor.C (LColor): New color for math background. New color
14972 2001-06-25 The LyX Project <jug@sad.it>
14974 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14976 * lyxfunc.C (Open):
14977 * bufferlist.C (newFile): do not restrict to files ending with
14980 * BufferView_pimpl.C (MenuInsertLyXFile):
14982 2001-06-24 The LyX Project <jug@sad.it>
14984 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14987 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14989 * lyxtext.h: rename most methods to begin with a small char.
14990 Lots of changes because of this.
14992 * paragraph.C (Paragraph): do not call fitToSize
14993 (erase): call Pimpl::erase
14994 (insertChar): call Pimpl::insertChar
14995 (insertInset): call Pipl::insertInset
14996 (breakParagraph): do not call fitToSize
14997 (breakParagraphConservative): do not call fitToSize
14998 (fitToSize): remove method
15000 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15002 2001-06-24 The LyX Project <Asger>
15004 * Fix Qt compilation^2
15006 2001-06-24 The LyX Project <jug@sad.it>
15008 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15009 depthHook(getDepth()-1).
15012 * ParagraphParameters.h:
15013 * ParameterStruct.h: change type of depth to unsigned int ==
15014 depth_type. Many adaptations to other files before of that.
15016 2001-06-24 The LyX Project <Asger>
15018 * Fix Qt compilation.
15020 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15022 * paragraph.h: renamed several methods to begin with small letter.
15023 several changes to many parts of the code because of this.
15025 2001-06-23 The LyX Project <jug@sad.it>
15027 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15028 rewritten to discard all double spaces when KeepEmpty is off
15029 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15030 to only handle newlines but not fiddle with spaces and friends.
15032 * lyxfunc.C (MenuNew): when doing 'new from template', use
15033 template_path as default directory
15035 2001-06-23 The LyX Project <Asger>
15037 * Clean-up of header file includes all over
15038 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15040 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15042 * paragraph.h: renamed from lyxparagraph.h
15044 2001-06-23 Asger <lyx@violet.home.sad.it>
15046 * Buffer.h: Removed Buffer::resize
15047 * BufferList.h: Removed BufferList::resize
15048 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15049 the document lazily when we change the width, or the font settings.
15051 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15053 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15055 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15057 * buffer.h: remove out of date comment
15059 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15062 * screen.C: fix "theoretical" GC leak
15064 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15066 * LaTeX.C (scanAuxFile):
15067 (deplog): remove trailing \r when reading stream (useful under
15070 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15072 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15073 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15074 and BufferView::theLockingInset(Inset*), so should use them and not
15075 access bv_->text->the_locking_inset directly.
15077 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15079 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15082 * tex-defs.h: remove old unused file
15084 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15086 * BufferView_pimpl.C: fix typo, remove minibuffer message
15087 when buffer has loaded
15089 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15091 * lyxfunc.C (Dispatch): use stringstream
15092 (MenuNew): use stringstream
15093 (Open): use stringstream
15095 * importer.C (Import): use stringstream
15097 * bufferview_funcs.C (CurrentState): use stringstream
15099 * LaTeX.C (run): use stringstream
15101 * BufferView_pimpl.C (savePosition): use stringstream
15102 (restorePosition): use stringstream
15103 (MenuInsertLyXFile): use stringstream
15105 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15118 * vspace.C: removed // -*- C++ -*- as first line.
15121 * version.h: added // -*- C++ -*- as first line.
15123 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15125 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15127 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15130 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15132 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15135 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15137 * gettext.C: include LString.h even when --disable-nls is on.
15139 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15141 * converter.h (Get): changed argument type from int to
15142 FormatList::size_type to avoid unnecessary conversion.
15144 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15147 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15149 * gettext.h: include LString.h even when --disable-nls is on.
15151 2001-06-07 Juergen Vigna <jug@sad.it>
15153 * text.C (BreakAgain): subst spaces with tabs.
15155 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15156 (resizeInsetsLyXText): set force on resizeLyXText.
15158 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15160 * gettext.h (gettext_init):
15161 (locale_init): use a real definition instead of a macro
15163 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15165 * Bufferview_pimpl.C:
15167 * LColor.C: further lcolor tidies
15169 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15171 * BufferView_pimpl.C (updateScrollbar): simplify.
15173 * BufferView2.C: don't include insets/insetinfo.h, change
15174 prototype for insertInset and call the Pimpl version. let
15175 updateInset call Pimpl version.
15177 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15178 gotoInset to BufferView::Pimpl
15180 2001-06-01 Juergen Vigna <jug@sad.it>
15182 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15183 inside a LockingInset (is the update needed at all?).
15185 2001-05-31 Juergen Vigna <jug@sad.it>
15187 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15188 here not the old one otherwise how should we compare it afterwards
15191 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15196 * FontInfo.C: bring C functions into global namespace when
15199 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15201 * LString.h: make sure config.h has been loaded before LString.h.
15203 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15204 (one for each char read by EatLine!).
15206 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15209 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15211 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15212 to the same as the par we break from
15214 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15216 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15218 * MenuBackend.C (expand): also create menu entries for wide
15219 versions of the floats.
15221 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15223 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15225 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15226 frontends/Makefile.am
15232 * tabular.C (getTokenValue): add std::
15234 * tabular-old.C (getTokenValue): add std::
15235 (getTokenValue): ditto
15236 (getTokenValue): ditto
15238 * screen.C (ToggleSelection): adjust
15240 * lyxtext.h: put selection cursors inside a Selection struct.
15242 * lyxfunc.C (moveCursorUpdate): adjust
15244 * lyxfont.C (latexWriteStartChanges): add std::
15246 * lyxfind.C: adjust
15248 * font.h: delete with(char const *, LyXFont const &)
15250 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15252 * FontInfo.C (getFontname): add std::
15254 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15255 (workAreaButtonPress): adjust
15256 (tripleClick): adjust
15258 (moveCursorUpdate): adjust
15261 * BufferView2.C (gotoInset): adjust
15263 2001-05-30 Juergen Vigna <jug@sad.it>
15265 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15266 to check pspell I add this as default as I now have new pspell
15267 libraries and they seem to use this.
15269 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15271 * text2.C (CutSelection): make the cursor valid before the call to
15274 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15276 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15277 relied on 0 terminated strings and other horrors. Bug found due to
15278 the new assert in lyxstring!
15280 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15283 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15285 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15288 * lyxfunc.C (processKeySym): change method of getting to the
15291 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15292 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15293 * BufferView_pimpl.[Ch]: here as private methods.
15295 2001-05-28 Juergen Vigna <jug@sad.it>
15297 * text.C (SetHeightOfRow): added the update() call again as it is
15298 needed to initialize inset dimensions!
15300 2001-05-16 Juergen Vigna <jug@sad.it>
15302 * text2.C (SetCharFont): Add new function with BufferView * and
15303 bool toggleall parameters for setting insets internal fonts.
15304 (SetFont): Freeze the undo as we may change fonts in Insets and
15305 all this change should be inside only one Undo!
15307 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15308 setting font's in insets as for them we have the SetFont function!
15310 2001-05-15 Juergen Vigna <jug@sad.it>
15312 * text2.C (ClearSelection): to be sure we REALLY don't have any
15315 * tabular.C (TeXCellPreamble): fixed the left border problem for
15318 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15320 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15323 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15325 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15326 LFUN_BREAKPARAGRAPH.
15328 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15329 help test to "internal only", similar for LFUN_INSERT_URL
15331 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15332 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15333 auto_region_delete and deadkeys.
15335 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15338 * LColor.C: remove some dead entries, tidy a little
15340 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15342 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15344 (Dispatch): implement LFUN_ESCAPE
15346 * commandtags.h: add LFUN_ESCAPE
15348 * LyXAction.C (init): add entry for LFUN_ESCAPE
15350 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15351 Remove commented code.
15352 (insertNote): moved here
15353 (open_new_inset): moved here
15355 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15358 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15360 * kbmap.C (findbinding): clean it up and make it work correctly.
15362 * lyx_main.C (init): do not pass argc and argv as parameters
15364 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15366 * buffer.C: fix path for OS/2 & Win32
15370 * lyx_main.C: Added os:: class.
15372 * os2_defines.h: update
15374 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15376 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15377 better by trying again with reduced state.
15379 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15381 * lyxrc.C (read): print error about invalid key sequence only when
15382 debugging (because not all latinX keysyms are known to some X
15385 * kbsequence.C (getiso): add a few std:: qualifiers
15386 (getiso): comment out extra return statement.
15388 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15390 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15392 (Dispatch): enhance the accent inset a bit. (not perfect)
15394 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15396 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15398 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15400 * bufferlist.C (emergencyWrite): fix assert() call
15402 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15404 * text.C (InsertChar): Added trivial patch to only send the "you
15405 can not do multiple spaces this way" message once during a
15408 2001-05-08 Baruch Even <baruch@lyx.org>
15410 * Makefile.am: Changed order of libraries to get LyX to link properly
15411 with the gnome frontend.
15413 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15415 * LaTeXFeatures.h: add a std:: qualifier
15417 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15419 * paragraph.C (String): use stringstream
15421 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15423 * paragraph.C (writeFile): remove footflag arg
15425 * buffer.C (makeLaTeXFile): use stringstream
15426 (latexParagraphs): remove footnot gurba
15428 * LaTeXFeatures.C (getPackages): use stringstream
15429 (getMacros): likewise
15430 (getTClassPreamble): likewise
15431 (getFloatDefinitions): new method
15433 * paragraph.C (writeFile): reindent
15436 * WorkArea.h: revert the xpos + etc changes.
15438 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15440 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15442 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15443 (pasteSelection): likewise
15444 * text2.C (CreateUndo): likewise
15446 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15448 * minibuffer.C (peek_event): temporarily reduce the functionality
15449 of the minibuffer (to allow args on lfuns)
15451 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15452 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15454 * buffer.C (readInset): add compability reading of old float
15455 lists, add reading of new style float list.
15456 (readInset): avoid reevaluation of inscmd.getCmdName()
15457 (getLists): reindent
15459 * MenuBackend.C (MenuItem): implement parsing of
15460 md_floatlistinsert and md_floatinsert.
15461 (expand::LastFiles): move initalizaton of iterators out of loop,
15462 avoid reevaluation.
15463 (expand::Documents): introduce typdedef vector<string> Strings,
15465 (expand::ExportFormats): introduce typedef vector<Format const *>
15466 Formats, and use it.
15467 (expand): implement FloatListInsert and FloatInsert.
15469 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15470 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15471 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15473 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15475 (Dispatch::LFUN_FLOAT_LIST): implement
15477 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15479 * LaTeX.C (run): Fix problem with --export code.
15481 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15483 * BufferView.[Ch] (workarea): removed.
15484 (getClipboard) new method; wrapper for workarea()->getClipboard()
15486 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15489 * WorkArea.h (width, height, xpos, ypos): These methods all
15490 returned the dimensions of the work_area sub-area of WorkArea,
15491 resulting in a position error if the WorkArea were resized. Now
15492 return the dimensions of the entire WorkArea.
15494 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15496 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15498 * LaTeX.C (deplog): correct the syntax of regex reg1
15500 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15502 * undo.C: remove !NEW_INSETS cruft
15504 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15506 * text2.C: remove !NEW_INSETS cruft
15508 * text.C: remove !NEW_INSETS cruft
15510 * tabular.C: remove !NEW_INSETS cruft
15512 * spellchecker.C: remove !NEW_INSETS cruft
15514 * lyxtext.h: remove !NEW_INSETS cruft
15516 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15518 * lyxfunc.C: remove !NEW_INSETS cruft
15520 * lyxfind.C: remove !NEW_INSETS cruft
15522 * lyx_cb.C: remove !NEW_INSETS cruft
15524 * figureForm.C: remove !NEW_INSETS cruft
15526 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15528 * buffer.[Ch]: remove !NEW_INSETS cruft
15530 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15532 * CutAndPaste.C: remove !NEW_INSETS cruft
15534 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15536 * BufferView2.C: remove !NEW_INSETS cruft
15538 * BufferView.h: remove !NEW_INSETS cruft
15540 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15542 * Lsstream.h: include LString.h before the sstream headers to
15543 fix problem with gcc 2.95.3 and lyxstring
15545 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15547 * lyx_main.C: add using directives when needed for C functions
15548 declared in std:: namespace.
15550 2001-04-27 Juergen Vigna <jug@sad.it>
15552 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15553 (SetHeightOfRow): comment out the update call should not be needed!
15555 2001-04-13 Juergen Vigna <jug@sad.it>
15557 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15558 (LyXTabular): tried to minimize operator= operations (and realized
15559 hopfully Lars wish).
15561 2001-04-27 Juergen Vigna <jug@sad.it>
15563 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15565 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15567 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15569 * buffer.C (readInset): hack to make listof algorithm work
15571 * BufferView_pimpl.C: hack to make listof algorithm work
15573 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15575 * LyXAction.C: removed all !NEW_INSETS cruft
15576 (init): moved lfun_item in method
15578 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15580 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15582 * BufferView2.C (theLockingInset): white space.
15584 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15586 * minibuffer.C: include <iostream>
15588 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15590 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15592 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15594 * text.[Ch] (TransposeChars): new method
15596 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15598 * call message directly through LyXView instead of through LyXFunc
15599 * BufferView2.C: adjust
15600 * BufferView_pimpl.C: adjust
15601 * FontLoader.C: adjust
15603 * bufferview_funcs.C: adjust
15604 * converter.C: adjust
15605 * figureForm.C: adjust
15606 * importer.C: adjust
15608 * lyx_gui_misc.C: adjust
15609 * lyxfunc.C: adjust
15612 + more files in subdirs
15614 * lyxparagraph.h (size): move up int file
15617 * adjust all uses of Assert to lyx::Assert.
15619 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15620 lyxfunctional in namespace lyx
15621 * layout.C (hasLayout): ditto
15624 (delete_layout): ditto
15625 (NumberOfClass): ditto
15626 * converter.C (GetFormat): ditto
15631 * bufferlist.C (getFileNames): ditto
15632 (emergencyWriteAll): ditto
15635 * MenuBackend.C (hasSubmenu): ditto
15638 * BufferView_pimpl.C (getInsetByCode): ditto
15640 2001-04-18 Juergen Vigna <jug@sad.it>
15642 * vspace.C (asLatexString): fixed the 100% problem.
15644 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15646 * lyxfunc.C (Dispatch):
15648 * minibuffer.h: add a few std:: qualifiers
15650 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15652 * minibuffer.[Ch]: reimplement so that commands is initiated and
15653 run from lyxfunc, simplified som handling, and made the completion
15654 and history code for complete. wip.
15656 * lyxfunc.C (processKeySym): call message
15657 (miniDispatch): new temporary method
15658 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15659 (LFUN_MESSAGE): implement
15660 (LFUN_MESSAGE_PUSH): implement
15661 (LFUN_MESSAGE_POP): implement
15662 (initMiniBuffer): the initial/defualt minibuffer message.
15664 * lyxfont.[Ch]: inline some more getters
15666 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15668 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15670 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15671 (AutoSave): use LFUN_MESSAGE
15672 (Reconfigure): ditto
15674 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15676 * figureForm.C: use LFUN_MESSAGE
15678 * converter.C (runLaTeX): use LFUN_MESSAGE
15680 * bufferview_funcs.C: use LFUN_MESSAGE
15682 (changeDepth): ditto
15684 * bufferparams.h: use boost::
15686 * bufferlist.h: inherit privately from noncopyable
15688 * bufferlist.C (loadLyXFile): remove some commented code.
15690 * buffer.C (runChktex): use LFUN_MESSAGE
15692 * ShareContainer.h: inherit privately from noncopyable
15694 * ParagraphParameters.[hC] (depth): inline it.
15696 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15698 (message): new method
15699 (messagePush): ditto
15700 (messagePop): ditto
15701 (show): init minibuffer
15702 (showState): direct call
15704 * LaTeX.[Ch]: inherit privately from noncopyable
15705 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15706 instead of WriteStatus.
15708 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15710 * BufferView_pimpl.C (buffer): don't init minibuffer
15711 (workAreaButtonPress): use LFUN_MESSAGE
15712 (workAreaButtonRelease): ditto
15713 (savePosition): ditto
15714 (restorePosition): ditto
15715 (MenuInsertLyXFile): ditto
15716 (workAreaExpose): don't init minibuffer
15717 (update): remove commented code, simplify
15719 * BufferView2.C (openStuff): use LFUN_MESSAGE
15720 (toggleFloat): ditto
15723 (copyEnvironment): ditto
15724 (pasteEnvironment): ditto
15729 (updateInset): remove some commented code
15731 * lastfiles.h: inherit privately from noncopyable
15734 * lyx_main.h: ditto
15736 * lyxlex_pimpl.h: ditto
15738 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15739 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15740 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15742 * LyXAction.h: inherit privately from noncopyable, add methods
15743 func_begin, func_end, returning iterators to the func map.
15745 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15746 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15747 (func_begin): new method
15748 (func_end): new method
15750 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15752 (copySelection): ditto
15753 (pasteSelection): ditto
15755 * BufferView.C: whitespace change
15756 * BufferView.h: inherit privately from noncopyable
15758 2001-04-16 Allan Rae <rae@lyx.org>
15760 * tabular-old.C (l_getline):
15761 * spellchecker.C (sc_check_word):
15762 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15763 an unrecognised preprocessor directive. So ensure they're wrapped.
15765 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15767 * src/exporter.C (Export): Give an error message when path to file
15770 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15772 * LaTeX.C (deplog): Always check that foundfile exists.
15774 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15777 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15779 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15781 * tabular.[Ch] (getLabelList): implement new method
15783 * minibuffer.h: comment ouf setTiimer
15785 * minibuffer.C (ExecutingCB): constify res
15786 (peek_event): constify s
15787 (Set): constify ntext
15788 (Init): constify nicename
15790 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15792 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15793 (savePosition): use two params to Minibuffer::Set
15794 (restorePosition): ditto
15796 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15798 * lyx_main.C: include language.h
15800 * Makefile.am (lyx_main.o): add language.h
15802 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15808 * CutAndPaste.C: include gettext.h
15810 * lyxfont.h: remove old hack with ON and OFF.
15813 * lyxfont.h: do not include language.h...
15818 * bufferview_funcs.C:
15824 * paragraph.C: ... but do it here instead
15826 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15828 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15830 * tabular.C: small reformat
15832 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15835 (BreakParagraph): ditto
15836 (SetOnlyLayout): ditto
15839 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15842 * lastfiles.C: removed most using decl, add std:: where needed
15844 * buffer.C: ws changes
15846 * MenuBackend.C (class compare_format): put into anon namespace
15847 (expand): constify label, names, action, action2
15850 * text.C (SingleWidth): constify font
15851 (IsBoundary): constify rtl2
15852 (GetVisibleRow): constify ww
15854 * LaTeX.C (deplog): constify logfile
15856 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15858 (workAreaExpose): constify widthChange, heightChange
15860 * lyxrow.C (par): moved
15863 * lyxrow.h: as inlines here
15865 * lyxfont.h (shape): moved from lyxfont.C
15866 (emph): moved from lyxfont.C
15868 * lyxfont.C (LyXFont): use initialization list for all
15870 (shape): move to lyxfont.h as inline
15871 (emph): move to lyxfont.h as inline
15874 2001-04-04 Juergen Vigna <jug@sad.it>
15876 * vspace.C: had to include stdio.h for use of sscanf
15878 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15881 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15882 independent of xforms.
15884 2001-04-02 Juergen Vigna <jug@sad.it>
15886 * spellchecker.C: fixed namespace placing!
15888 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15890 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15891 the LyXParagraph * is 0.
15893 2001-03-29 Juergen Vigna <jug@sad.it>
15895 * vspace.C: added support for %, c%, p%, l%.
15896 (stringFromUnit): added helper function.
15897 (asLatexString): changed to give right results for the %-values.
15899 * buffer.C: convert the widthp in a width%.
15901 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15903 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15906 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15907 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15909 * lyx_cb.[Ch]: see above.
15911 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15915 * lyx.[Ch]: replaced by figure_form.[Ch].
15919 * lyxfunc.C: changed headers associated with above changes.
15921 2001-03-27 Juergen Vigna <jug@sad.it>
15923 * BufferView_pimpl.C: set the temporary cursor right!
15925 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15927 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15929 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15931 * LString.h: removed "using std::getline"!
15933 * BufferView_pimpl.C (Dispatch): changes due to changes in
15934 InsetInclude::Params.
15936 * buffer.C (tag_name): removed redundant break statements as they were
15937 producing lots of warnings with my compiler.
15939 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15941 * LString.h: add "using std::getline" when using the real <string>.
15943 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15945 * buffer.C: removed bitset usage.
15946 PAR_TAG moved to an anonymous name space.
15947 (tag_name): new funtion, also in the anonymous namespace.
15948 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15949 (makeDocBookFile): clean code. Completed transition from string arrays
15951 (SimpleDocBookOnePar): code clean.
15953 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15955 * tabular.C: add some comments.
15957 2001-03-22 Juergen Vigna <jug@sad.it>
15959 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15960 compatibility read a bit and fixed bug with minipage in different
15963 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15965 * buffer.C (pop_tag): removed.
15966 (push_tag): removed.
15967 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15968 array replaced with vector. Added support for CDATA sections.
15969 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15971 (makeDocBookFile): XML conformant declaration of CDATA section,
15972 fixed bug related to <emphasis> in the first paragraph char.
15973 (sgmlOpenTag): exclude empty tags.
15974 (sgmlCloseTag): ditto.
15976 * buffer.h (pop_tag): removed.
15977 (push_tag): removed.
15979 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15981 * language.h (Languages): added size_type and size().
15983 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15985 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15986 response on compability reading of minipages. One probliem is that
15987 the old usage of minipages was «flertydig»
15989 * several files here and in subdirs: don't use static at file
15990 scope use anon namespaces instead.
15992 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15994 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15995 LaTeX output. This is necessary for Literate document
15998 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16000 * buffer.C: insert hfill when needed.
16002 * tabular.C (l_getline): use string::erase, small whitespace change.
16004 * BufferView_pimpl.C: try the anon namespace.
16005 * WorkArea.C: ditto
16007 2001-03-16 Juergen Vigna <jug@sad.it>
16009 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16010 otherwise it won't open options-dialogs.
16012 * buffer.C: honor pextraWidth(p) on converting minipages.
16014 * tabular.C (l_getline): changed the functions to strip trailing \r.
16016 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16018 * BufferView_pimpl.C:
16019 * minibuffer..C: added "using SigC::slot" declaration.
16021 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16023 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16029 * paragraph.C: ditto
16031 * lyxtext.h: NO_PEXTRA
16033 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16035 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16036 * ParameterStruct.h: ditto
16037 * ParagraphParameters.h: ditto
16038 * lyxparagraph.h: ditto
16040 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16042 * buffer.C: add compability for minipage alignment.
16043 (latexParagraphs): remove unwanted pextra check.
16045 * several files: remove CXX_WORKING_NAMESPACES
16047 * buffer.C (pop_tag): tie is in namespace boost
16049 * BufferView.h: noncopyable is in namespace boost
16051 * lyx_main.h: ditto
16054 * lastfiles.h: ditto
16055 * bufferlist.h: ditto
16056 * ShareContainer.h: ditto
16058 * LyXAction.h: ditto
16061 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16063 * Merging changes from BRANCH_MVC back into HEAD.
16065 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16067 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16069 * BufferView_pimpl.C: change from intl.C
16073 * Makefile.am: move combox.*
16079 * intl.C: remove dialog (covered by prefs)
16081 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16083 * lyxfunc.C (Dispatch): removed redundant break statement.
16085 2001-03-14 Juergen Vigna <jug@sad.it>
16087 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16089 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16091 * buffer.C: add hack to fix compability reading of minipages.
16093 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16095 * buffer.C (getLists): Cleanup.
16097 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16099 * lyxfont.C (update): don't honor toggleall on font size.
16101 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16105 * Makefile.am: moved to frontends/xforms/
16109 * BufferView_pimpl.C: changes for moved mathpanel
16111 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16113 * gettext.h: fix gettext_init() in --disable-nls
16115 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16117 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16119 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16122 * lyx.h: strip external form
16124 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16126 * BufferView_pimpl.C: add comment, destroySplash()
16128 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16130 * BufferView_pimpl.C:
16134 * lyxfunc.C: use re-worked insetinclude
16136 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16138 * buffer.C: add using std::stringstream.
16140 * lyx_cb.C: readd using std::ios.
16142 * buffer.C: add using std::map.
16144 * BufferView_pimpl.C: add using std::vector.
16146 * ShareContainer.h: add std:: to swap.
16148 * buffer.h: add some typedefs
16149 * buffer.C (getLists): use them
16150 (getLists): renamed from getTocList.
16151 add a counter for the different float types and use it in the
16153 (getLists): use the same counter for the NEW_INSETS and the "non"
16156 * lyx_cb.h: remove unused items, includes, using etc.
16158 * ShareContainer.h: remove some commented code, add more comments
16159 and "documentation".
16161 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16163 * buffer.C (getTocList): make the list also when NEW_INSETS is
16166 * buffer.h: remove TocType
16168 * buffer.C (getTocList): change to return a map<string,
16169 vector<TocItem> >, implement for dynamic number of list.
16171 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16172 * text2.C (PasteSelection): adjust
16173 * CutAndPaste.C (pasteSelection): adjust
16175 * FloatList.C (FloatList): update from the new_insets branch.
16176 * Floating.[Ch]: ditto
16177 * LaTeXFeatures.C: ditto
16179 * lyxlex_pimpl.C: ditto
16181 * paragraph.C (Last): remove when NEW_INSETS is defined.
16183 * other file: changes because of the above.
16185 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16187 * lyxparagraph.h: rename next to next_, previous to previous_,
16188 make them private for NEW_INSETS. Rename Next() to next(),
16189 Previous() to previous().
16191 * other files: changes because of the above.
16193 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16196 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16199 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16201 * main.C (main): pass lyx_localedir to gettext_init().
16203 * gettext.h: remove locale_init and gettext_init macros
16205 * gettext.C (locale_init): new function
16206 (gettext_init): new function
16208 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16211 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16213 * Moved credits to frontends:
16214 * credits.[Ch]: removed
16215 * credits_form.[Ch]: removed
16216 * lyx_gui_misc.C: remove credits stuff
16219 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16221 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16223 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16224 unneeded destructor.
16226 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16227 a standalone pointer again.
16229 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16231 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16237 * ToolbarDefaults.C:
16246 * BufferView_pimpl.C: use new file dialog in GUII
16249 * lyx_cb.C: remove LayoutsCB to Toolbar
16251 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16253 * ShareContainer.h (get): add std:: qualifier
16255 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16257 * ShareContainer.h: define a proper ShareContainer::value_type
16258 type (and use typename to please compaq cxx)
16260 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16262 * lyxparagraph.h: move serveral local vars to
16263 ParameterStruct/ParagraphParameters., use ShareContainer in
16264 FontTable., make vars in FontTable private and add getter and
16267 * paragraph.C: changes because of the above.
16269 * lyxfont.h: remove copy constructor and copy assignment. (the
16270 default ones is ok), move number inside FontBits. move inlines to
16273 * lyxfont.C: add number to initializaton of statics, move several
16274 inlines here. constify several local vars. some whitespace
16275 cleanup. Dont hide outerscope variables.
16277 * Spacing.h: add two new constructors to match the set methods.
16279 * ShareContainer.h: new file, will perhaps be moved to support
16281 * ParameterStruct.h: new file
16283 * ParagraphParameters.h: new file
16285 * ParagraphParameters.C: new file
16287 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16288 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16290 * BufferView_pimpl.C: ParagraphParameter changes.
16291 * buffer.C: Likewise.
16292 * bufferview_funcs.C: Likewise.
16293 * text.C: Likewise.
16294 * text2.C: Likewise.
16296 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16298 * lyxfind.C (LyXReplace): do not redefine default argument in
16300 (IsStringInText): ditto
16301 (SearchForward): ditto
16302 (SearchBackward): ditto
16304 2001-03-06 Juergen Vigna <jug@sad.it>
16306 * lyxfind.C (IsStringInText): put parentes around expressions.
16308 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16310 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16312 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16314 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16316 * stl_string_fwd.h: add comment
16318 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16321 * tabular.C: remove unused DocBook methods
16327 killed DO_USE_DEFAULT_LANGUAGE
16329 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16331 * lyx_gui.C: do not include language.h.
16333 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16334 arguments in function implementation.
16336 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16338 * BufferView_pimpl.C: add <ctime>
16340 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16342 * BufferView_pimpl.C: add using std::find_if
16344 2001-02-27 José Matos <jamatos@fep.up.pt>
16346 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16349 2001-02-11 José Matos <jamatos@fep.up.pt>
16351 * buffer.C (makeDocBookFile): command styles now have a parameter as
16352 "title" by default.
16354 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16356 * layout_forms.[Ch]: removed
16357 * lyx_cb.[Ch]: out character
16358 * lyx_gui.C: out character
16359 * lyx_gui_misc.C: out character
16360 * bufferview_funcs.C: : out character,
16361 added toggleall as parameter in ToggleAndShow
16363 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16365 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16367 * text2.C (SetCurrentFont): Disable number property at boundary.
16369 2001-02-26 Juergen Vigna <jug@sad.it>
16371 * lyxfunc.C (getStatus): added a string argument override function so
16372 that this is correctly called from LyXFunc::Dispatch if it contains a
16373 do_not_use_argument which is used!
16374 (Dispatch): added check for "custom" export and call appropriate func.
16376 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16378 * lyxrc.C: Add language_command_local, language_use_babel and
16379 language_global_options.
16381 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16383 * buffer.C (makeLaTeXFile): Use language_use_babel and
16384 language_global_options.
16386 2001-02-23 Juergen Vigna <jug@sad.it>
16388 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16389 which works with LyXText and putted it inside BufferView. Here now we
16390 only call for that part the BufferView::Dispatch() function.
16392 * BufferView.C (Dispatch): added.
16394 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16395 functions which needs to use a LyXText over from LyXFunc.
16396 (MenuInsertLyXFile): added
16397 (getInsetByCode): added
16398 (moveCursorUpdate): added
16399 (static TEXT): added
16401 2001-02-22 Juergen Vigna <jug@sad.it>
16403 * BufferView_pimpl.C (update): call a status update to see if LyXText
16406 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16408 * vc-backend.C (revert): implement for CVS
16409 (getLog): implement for CVS
16411 2001-02-20 Juergen Vigna <jug@sad.it>
16413 * text2.C (ClearSelection): added BufferView param for inset_owner call
16415 * lyxfunc.C (TEXT): added this function and use it instead of
16416 directly owner->view()-text of getLyXText().
16418 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16420 * src/layout_forms.C: out preamble
16421 * src/layout_forms.h: out preamble
16422 * src/lyx_cb.C: out preamble
16423 * src/lyx_cb.h: out preamble
16424 * src/lyx_gui.C: out preamble
16425 * src/lyx_gui_misc.C: out preamble
16426 * src/lyxfunc.C: connect with guii preamble
16428 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16430 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16432 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16434 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16435 whether to run bibtex.
16437 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16439 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16441 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16443 * Makefile.am (lyx_SOURCES): removed bibforms.h
16445 * vspace.h: doxygen
16447 * text.C (GetVisibleRow): make several local vars const
16449 * tabular.C: small cleanup.
16451 * lyxserver.C (callback): use compare instead of strncmp
16453 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16454 inlines to after class or to paragraph.C
16456 * lyxfont.h: remove friend operator!=
16458 * converter.h: move friend bool operator< to non friend and after
16461 * combox.h: small cleanup
16463 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16464 to inlines after class def.
16466 * buffer.C (pop_tag): use string operations instead of strcmp
16468 * bmtable.c: doxygen, small cleanup
16470 * LaTeX.h: remove friend operator==
16472 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16484 * BufferView_pimpl.C:
16485 * BufferView.[Ch]: remove cruft
16487 2001-02-14 Juergen Vigna <jug@sad.it>
16489 * lyxfunc.C: removed #if 0 unused code
16491 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16493 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16495 * text2.C (SetSelection): added a BufferView * parameter
16497 2001-02-13 Juergen Vigna <jug@sad.it>
16499 * lyxfunc.C (Dispatch): fixed protected blank problem.
16500 * BufferView2.C (protectedBlank): added LyxText * parameter.
16502 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16503 (AppendColumn): same as above for column_info.
16505 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16506 (moveCursorUpdate): use a LyXText param for support of InsetText.
16508 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16509 (tripleClick): ditto
16511 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16513 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16515 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16517 * text2.C (SetSelection): set correct update status if inset_owner
16518 (ToggleFree): ditto
16520 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16522 * tabular.C: remove some commented code.
16524 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16526 * BufferView_pimpl.C: call hideSplash()
16528 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16531 * bibforms.h: remove
16534 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16535 add LFUN_CHILD_CREATE
16537 * counters.h: fix tiny typo
16542 * lyx.C: move splash to frontends/xforms/
16544 * lyx_gui_misc.C: move Include and Bibform to frontends
16546 * lyxvc.h: clarify comment
16548 * vspace.C: tiny housekeeping
16550 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16552 * text.C (PrepareToPrint): RTL Fix.
16554 * paragraph.C (GetUChar): New method.
16555 (String): Use GetUChar.
16557 * buffer.C (asciiParagraph): Use GetUChar.
16559 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16561 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16563 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16566 * buffer.C: rename to getLogName(), handle
16567 build log / latex log nicely
16569 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16572 * MenuBackend.h: remove support for reference menuitem type.
16574 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16576 * BufferView_pimpl.C: housekeeping
16577 * BufferView_pimpl.h:
16582 * minibuffer.h: move Timeout GUI-I
16584 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16586 * lyxrc.C (read): Update converters data-structures.
16588 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16590 * LaTeX.h (operator!=): add operator != for Aux_Info
16592 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16594 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16596 * LaTeXLog.C: deleted, useful code moved to Buffer
16599 * buffer.C: new function getLatexLogName()
16605 * lyxfunc.C: use frontends for LaTeX and VC logs
16607 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16609 * LaTeX.h: yet another std:: that Allan forgot.
16611 * Variables.C (set): renamed from isset(), because this clashes
16612 with some HP-UX macros (grr).
16614 2001-02-06 Allan Rae <rae@lyx.org>
16616 * LaTeX.h: Another bug fix. Missing std:: this time.
16618 2001-02-04 Allan Rae <rae@lyx.org>
16620 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16621 floats problem. I've left it commented out because it's not quite
16622 correct. It should also test that the current object is a table or
16623 figure inset. But I haven't gotten around to figuring out how to do
16624 that. I *think* it'll be something like: "table" == inset.type()
16626 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16629 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16631 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16632 all the citation/databases/styles in the auxilary file.
16633 (run): Rerun latex if there was a babel language error.
16635 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16637 * text.C (Backspace): Preserve the font when changing newline char
16639 (BreakParagraph): If the cursor is before a space, delete the space.
16641 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16643 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16645 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16646 new argument (code).
16647 (ChangeCitationsIfUnique): New method.
16649 * paragraph.C (GetPositionOfInset): Handle bibkey.
16651 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16653 * BufferView_pimpl.h: change type of Position::par_pos to
16654 LyXParagraph::size_type.
16656 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16658 * BufferView_pimpl.C (savePosition, restorePosition): Write
16659 messages to minibuffer.
16661 2001-01-28 José Matos <jamatos@fep.up.pt>
16663 * buffer.C (makeDocBookFile): adds support for document language.
16664 A silly restriction on the name of LatexCommand types where removed.
16665 Added support for CDATA sections, allows to chars unescaped, used
16666 among others in code, to avoid escape < and >.
16668 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16670 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16671 saved positions instrad of a stack. Furthermore, a position is
16672 stored using paragraph id/paragraph position.
16674 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16675 Remove LFUN_REF_BACK.
16677 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16679 * converter.C (dvipdfm_options): New method.
16681 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16683 * vspace.C (isValidLength): Fix for empty input string.
16685 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16687 * LyXAction.C (init): change description of LFUN_FIGURE to
16690 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16692 * LaTeX.C: add using directive
16694 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16696 * MenuBackend.C (expand): Fix the sorting of the formats.
16698 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16700 * lyx_main.C: tiny error message fix
16702 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16704 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16705 calling fl_initialize(). This fixes the problem with ',' as
16706 decimal separator in text files.
16708 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16710 * trans.C (process): Fix the keymap bug.
16712 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16714 * LaTeX.C (scanAuxFiles): New method. Provides support for
16715 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16716 (scanLogFile) Scan for "run BibTeX" messages.
16718 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16719 OT1 font encoding. Also, load the aecompl package if the ae
16722 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16724 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16726 * texrow.C (increasePos): turn two error messages into debug
16729 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16731 * LaTeX.C (scanAux): Handle the \@input macro.
16732 (runBibTeX): Use scanAux().
16734 * language.C (latex_options_): New field.
16736 * LaTeXFeatures.C (getMacros): Add language macros.
16738 * buffer.C (makeLaTeXFile): Small fix.
16740 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16742 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16744 * text2.C: add a using directive.
16746 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16751 * lyxfunc.C: kill LyXBell.
16753 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16755 * text.C (IsBoundary): Remove the error message
16757 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16759 * lyxrc.C (setDefaults): Correct initialization value for
16762 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16764 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16767 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16768 and GotoNextNote().
16770 * src/LyXAction.C: Added reference-next.
16772 * text.C (InsertChar): Use contains instead of strchr.
16774 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16776 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16778 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16779 alignment commands (when needed).
16781 * text.C (InsertChar): Add ':' to number separator chars.