1 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * lyxlayout.[Ch]: change some vars from float to double
5 * buffer.C (readFile): make a local var const
7 * Several files: use convert<> instead of atoi,strToXXX and friends
9 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
11 * LaTeXFeatures.[Ch]: Add a static list packages_ that
12 holds the contens of packages.lst. New functions getAvailable
13 and isAvailable to parse and check that list, resp.
17 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
19 * bufferparams.[Ch]: new param output_changes.
21 * Buffer.C: increase file format to 240.
22 Use output_changes and isVailable.
26 * paragraph_pimpl.C: Use output_changes and isVailable.
28 2005-01-23 Angus Leeming <leeming@lyx.org>
30 * output_latex.C: #include "insetbibitem.h", rather than
31 forward declare function bibitemWidest.
33 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
35 * lyx_main.C (init): make it compile on the Mac.
37 2005-01-20 Angus Leeming <leeming@lyx.org>
39 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
40 (setLyXMisc): (char string literal) != (char string literal) is
41 performing a comparison on the addresses. Convert one operand
42 explicitly to string to guarantee expected behaviour.
45 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
48 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
50 * output_plaintext.C: remove unneeded #include gzstream.h.
52 2005-01-20 Angus Leeming <leeming@lyx.org>
54 * SpellBase.h: rename some of the elements of the Result enum.
61 * pspell.C (check): ditto
63 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
65 * buffer.C: add #include <fstream>.
67 * lyx_main.C (init): Compile fix.
69 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
71 2005-01-20 Angus Leeming <leeming@lyx.org>
73 * mover.h: change commentary to reflect the changed meaning of
76 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
78 * output_linuxdoc.C (linuxdocParagraphs): silence warning
80 * lyxfind.C (MatchString::operator()): remove bogus semicolon
82 2005-01-20 Angus Leeming <leeming@lyx.org>
84 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
85 printing diagnostic data by not dereferecing an iterator past the
88 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
90 * buffer.C (readHeader): use "&&" rather than "and".
92 * lyxserver.h (inPipeName, outPipeName): make these const.
94 2005-01-19 Angus Leeming <leeming@lyx.org>
96 * lyx_main.C (error_handler, init): protect SIGHUP with
99 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
101 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
103 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
105 * text.C (setHeightOfRow): add a margin at the top and bottom of
106 the document (bug 1761)
108 2005-01-17 Angus Leeming <leeming@lyx.org>
110 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
111 with "python ". Workaround for a brain-dead Windows.
113 2005-01-16 Angus Leeming <leeming@lyx.org>
115 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
116 for MacOSX and Windows to use prependEnvPath.
117 Strip out the hard-coded block to add elements to the PATH for
118 MacOSX and replace it with a call to prependEnvPath using the
119 contents of LyXRC::path_prefix.
120 (queryUserLyXDir): strip out the code to run reconfigure, instead
121 returning a boolean indicating the necessity to do so.
122 (reconfigureUserLyXDir): contains the code to reconfigure the
123 user support directory. Is now called after the various LyXRC data
124 files have been read.
126 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
128 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
130 * converter.[Ch] (convert): take a new parameter try_default. Use
131 a default converter (imagemagick) if try_default is true.
133 2005-01-13 Angus Leeming <leeming@lyx.org>
135 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
137 (write): output LyXRC::cygwin_path_fix as necessary.
139 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
142 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
144 2005-01-12 Angus Leeming <leeming@lyx.org>
146 * lyx_main.C (init): set the PATH variable to include the
147 directory containing the LyX binary when running on Mac or Windows.
149 2005-01-12 Angus Leeming <leeming@lyx.org>
151 * lyx_main.C (init): remove cruft that purports to set the locale
152 dir. It doesn't and is not needed anyway.
154 2005-01-10 Angus Leeming <leeming@lyx.org>
156 * Makefile.am: remove the lyx_main.C special casing.
158 * BufferView_pimpl.C:
164 * messages.C: use support/package.h to provide the paths to the
165 various directories used by LyX.
167 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
169 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
170 layout if pasting into an empty paragraph)
172 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
174 * tex-accent.C: add <string>
176 2005-01-06 José Matos <jamatos@lyx.org>
178 * ParagraphParameters.C (write): put every parameter in its own line.
179 * paragraph.C (write): reduce number of consecutive empty lines exported.
180 * buffer.C (LYX_FORMAT): increase file format to 239.
182 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
184 * everywhere: change support/tostr.h -> support/convert.h
186 * tabular.C: make all write_attributes templates, tostr -> convert
188 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
189 (emptyTag): and -> &&, and fix type for ret from getChar
190 (getFirstWord): fix type for ret from getChar
191 (onlyText): and -> &&
192 (simpleDocBookOnePar): and not -> && !, fix type for ret from
195 * toc.C (goTo, action):
196 * text3.C (dispatch):
197 * text.C (currentState):
198 * tex-accent.C (DoAccent):
201 * lyxfunc.C (menuNew):
202 * lyxfinc.C (replace):
203 * counters.C (laberItem):
204 * bufferview_funcs.C (font2string):
205 * bufferparams.C (writeFile):
206 * buffer.C (readFile):
208 * MenuBackend.C: tostr -> convert
210 * LaTeX.C (runMessage): fix format
211 (scanAuxFiles): tostr -> convert
213 * BufferView_pimpl.C (savePosition): fix format
214 (restorePosition): ditto
217 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
219 * Spacing.[Ch]: New method getValueAsString().
223 * ParagraphParameters.C:
226 * text3.C: store/read spacing value as string.
228 * rowpainter.C: change float value (spacing_val) to double.
230 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
231 broken custom document spacing).
233 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
235 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
236 namespace, also more use of temp references and const
238 * cursor.[Ch] (getStatus): move to lyxfunc.C
240 * bufferparams.C: reformat slightly
242 * bufferview_funcs.C (font2string): constify arg
248 * buffer_funcs.C: (many funcs): constify arg on function
249 definitions, also make more local vars const, also add ASSERTS on
252 * buffer.C (LYX_FORMAT): put const in correct place
253 (many funcs): constify arg on function definitions, also make
254 more local vars const
256 * aspell_local.h: remove "struct" from typdef setup
258 * aspell.C (check): make word_ok const
259 (nextMiss): simplify slightly
262 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
264 * lyxrc.[Ch]: store all float values as strings.
265 use int (not float) for lyxrc.dpi.
267 2005-01-04 Angus Leeming <leeming@lyx.org>
269 * lyx_cb.C (Reconfigure):
270 * lyx_main.C (queryUserLyXDir):
271 to run the <system_lyxdir>/configure correctly on Windows, prefix
272 the path to the script with "sh " when generating the string that
273 is passed to system().
275 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
277 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
279 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
281 * lyxlength.C (asLatexString): get rid of setprecision
283 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
285 * text2.C (setLayout): remove unused variable endpit.
286 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
288 * paragraph.C (onlyText): remove unused variable style.
290 * cursor.C (bruteFind): remove unused variables beg and end.
292 * Makefile.am (dist_noinset_DATA): not needed anymore
294 * cheaders/*: remove.
296 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
298 * text3.C: fix LFUN_MATH_MODE.
300 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
302 * buffer_funcs.C (countWords): new function. Counts words between
305 * BufferView_pimpl.C (getStatus, dispatch): handle
308 * LyXAction.C (init):
309 * lfuns.h: add LFUN_WORDS_COUNT.
311 2004-12-19 Angus Leeming <leeming@lyx.org>
313 * buffer.C (save): s/slashify_path/internal_path/.
315 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
317 * lyxfind.C (findChange): do not search for end of pars, because
318 the change tracker cannot handle this (fixes bug 1719).
320 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
322 * paragraph.[Ch] (autoBreakRows): remove
324 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
326 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
327 avoid using the paragraph one
329 * text2.C (LyXText, insertStringAsLines): adjust
331 2004-12-16 Angus Leeming <leeming@lyx.org>
335 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
337 2004-12-14 Angus Leeming <leeming@lyx.org>
339 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
341 * bufferlist.C (emergencyWrite):
342 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
345 2004-12-14 Angus Leeming <leeming@lyx.org>
347 * main.C: (main): no longer pass pointers to os::init.
349 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
351 * undo.C (textUndoOrRedo): simplify logic, fix a crash
352 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
354 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
357 * text3.C: remove selection_possible global flag
359 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
361 * text2.C (getSelectionSpan): remove
362 (changeDepth, changeDepthAllowed): adjust
364 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
366 * Makefile.am (BOOST_LIBS): use boost variables
368 2004-12-03 José Matos <jamatos@lyx.org>
370 * buffer.C: format up to 238.
372 2004-12-03 José Matos <jamatos@lyx.org>
374 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
376 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
378 * cursor.C (goUpDown): remove call to idxUpDown2
380 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
382 * tabular.[Ch]: use size_t-like types for cell, row and column
385 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
387 * lyxfunc.C (getStatus): do not lose previous information when
388 calling BufferView::getStatus; do not set a default "Command
389 disabled" message at the beginning, but just before returning.
391 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
393 * cursor.h (getStatus): add better comment from src/cursor.C
395 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
397 * text3.C (getStatus): return false when the lfun is not handled
399 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
401 * broken_headers.h: remove
403 * Makefile.am (lyx_SOURCES): remove broken_headers.h
405 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
407 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
410 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
411 top_y_, merge fitcursor with update
412 (updateScrollbar, scrollDocView, fitCursor, center, update): new
415 (workAreaDispatch): adapt to new coord scheme
416 (redoCurrentBuffer): remove
418 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
420 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
423 * coordcache.[Ch]: add paragraph cache and helpers
425 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
428 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
429 (targetX, setTargetX): introduce
431 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
432 baseline -> ascent, as the rest of lyx
434 * lyxtext.h: remove redoParagraphs, updateParPositions,
435 fullRebreak, redoParagraphInternal. move dist to anon namespace in
436 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
437 have ascent/descent (ascent is ascent of first par)
439 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
442 * paragraph.[Ch]: unify dimension handling with the rest of lyx
444 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
446 * pariterator.C: fix infinite loop introduced in par->pit renaming
448 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
449 in insets and LyXText, draw two off-screen paragraphs using
450 NullPainter, and adapt to new coord scheme
454 * text3.C: adapt lfun handlers to the new coord scheme, which
455 means: there's only guaranteed coord information for onscreen pars
456 plus one above and one below. This implies that one can do search
457 from y coordinates in the range [-1,workHeight]
459 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
461 * rename a lot of InsetOld to InsetBase
463 2004-11-25 Angus Leeming <leeming@lyx.org>
465 * BufferView_pimpl.C:
467 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
469 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
471 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
472 call BufferView::getStatus if LCursor::getStatus did nothing
473 (setStatusMessage, getStatusMessage): removed.
475 * FuncStatus.C (message): new methods. Used to provide an error
476 message indicating why a command is disabled.
477 (clear, |=, FuncStatus): update for message.
479 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
481 * lyxfunc.C (dispatch): always call sendDispatchMessage
483 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
486 * BufferView_pimpl.C:
500 * undo.C: par->pit renaming
502 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
504 * tabular.C (cellstruct): use initialization, store a shared_ptr
505 to insettext instead of the insettext directly, adjust to fit.
506 (operator=): new function
508 (rowstruct): use initialization
509 (columnstruct): use initialization
510 (ltType): use initialization
513 * lyxlength.h (swap): new function
515 * LColor.[Ch] (operator=): use the common semantics
517 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
519 * lyxfind.C (findNextChange): update the bufferview after setting
522 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
524 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
525 number of InsetOptArgs has already been inserted.
527 * output_latex.C (latexOptArgInsets): new method. This outputs all
528 the optarg insets, up to the limit defined in the layout file.
529 (optArgInset): removed
530 (TeXOnePar): call latexOptArgInsets; correctly update texrow
532 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
534 * paragraph.C (isLetter): remove special spellchecker-related
535 code; return true also for digits
536 (isWord, isKomma): remove
538 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
539 * lyxfind.C (MatchString()): use isLetter instead of isWord
541 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
543 * pariterator.h (operatir=): comment out un-implemented member
546 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
549 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
551 * lyxfont.h: include LColor.h to satisfy concept checks.
553 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
555 * pariterator.h: add typdefs for value_type, difference_type,
556 pointer and reference to satisfy concept checks. Also add default
557 constructor for same reason.
559 * pariterator.C (operator++): add post-increment operator to
560 satisfy concept checks.
562 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
565 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
567 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
568 checks. Also rename base_type to BaseType to follow naming
571 * FloatList.h: include Floating.h to satisfy concept checks.
573 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
575 * lyxfunc.C (getStatus): when the origin of the request is menu or
576 toolbar, and the LyXView does not have focus, do as if there was
579 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
580 FuncRequest to individual entries of LFUN_SEQUENCE
582 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
584 * output_latex.C (TeXOnePar): override runparams.moving_arg
585 according to the needprotect value of the current paragraph (bug
588 * paragraph.C (simpleTeXOnePar): no need to override
589 runparams.moving_args here
591 2004-11-14 John Spray <spray_john@users.sourceforge.net>
593 * vspace.C: fix off-by-one-error, related to fix #1682
595 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
597 * lengthcommon.C: a more general fix for bug 1682
599 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
601 * text.C (backspace): fix crash
603 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
605 * format.[Ch] (getFormatFromFile): new method
606 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
608 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
610 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
612 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
614 * lyxfunc.C (dispatch): remove the verbose argument
615 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
618 * kbmap.C (defkey): set the origin of func to KEYBOARD
620 * MenuBackend.C (MenuItem):
621 * ToolbarBackend.C (add): set the origin of func to UI
623 * funcrequest.[Ch]: add origin member, which indicates which part
624 of LyX requests an action
626 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
628 * converter.C (move): don't lie in the error message
629 * converter.h (isReachable, move): document
631 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
633 * buffer.C: remove unused using lyx::support::atoi
634 * paragraph_funcs.C: ditto
636 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
638 * bufferlist.C (exists): use bind and equal_to instead of
641 * lyxtextclasslist.C (NumberOfClass): ditto
643 * cursor.C (insert): use for_each instead of explicit for loop
645 * bufferlist.C (getFileNames): use std::transform and
646 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
648 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
651 * buffer.C (changeLanguage): use for_each instead of explicit for
653 (hasParWithID): implement using getParFromID
655 * LaTeXFeatures.C: ws change only
657 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
660 * BufferView_pimpl.C (trackChanges): use for_each instead of
663 2004-11-04 André Pönitz <poenitz@gmx.net>
666 * undo.C (textUndoOrRedo): fix crash when creating undo information.
668 * dociterator.C (asDocIterator): use hard assert again.
670 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
672 * lyxlength.C (asLatexString): rewrite so that it does not use
675 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
677 * text3.C (specialChar, dispatch): make sure cursor moves to the
678 right after inserting an inset
680 2004-11-02 José Matos <jamatos@lyx.org>
682 * output_docbook.C (docbook):
683 * paragraph.C (getID):
684 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
685 garantee that the output is always legal.
687 * tabular.C (docbook):
688 * outputprams.[Ch]: remove mixed contents.
690 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
692 * text2.C (setCounter): prevent endless loop
694 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
696 * exporter.C (copyFile): use the mover instead of support::copy()
697 * exporter.C (Export): pass format and latex name to copyFile()
698 * exporter.h (addExternalFile): document
699 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
701 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
703 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
705 2004-10-30 José Matos <jamatos@lyx.org>
707 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
708 text and no inset or font change. This allows to use CDATA
709 sections just for the whole paragraph.
711 2004-10-30 José Matos <jamatos@lyx.org>
713 * paragraph.C (getFirstWord): remove unused variable.
715 2004-10-30 José Matos <jamatos@lyx.org>
717 * paragraph.C (getFirstWord): the content should always be escaped
719 (simpleDocBookOnePar):
720 * output_docbook.C (makeEnvironment): replace reference to CDATA
723 2004-10-30 José Matos <jamatos@lyx.org>
725 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
727 2004-10-30 José Matos <jamatos@lyx.org>
729 * output_docbook.C (makeParagraphs):
730 * paragraph.[Ch] (emptyTag): for docbook and company, if the
731 standard paragraph has only a given type of content drop the wrapper.
733 2004-10-29 José Matos <jamatos@lyx.org>
735 * output_docbook.C (makeEnvironment):
737 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
739 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
741 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
742 (cleanID): sanitize any id.
744 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
746 * buffer.C, lyxlex_pimpl.C:
747 * lyxlex_pimpl.C (setFile):
748 s/getExtFromContents/getFormatFromContents/
750 2004-10-28 José Matos <jamatos@lyx.org>
752 * output_docbook.C (makeEnvironment): move id to broadest possible
755 * sgml.C (openTag): apply substitution of <> for all attributes.
757 2004-10-28 José Matos <jamatos@lyx.org>
759 * buffer.C (makeLinuxDocFile, makeDocBookFile):
760 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
761 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
763 * sgml.[Ch]: new version for open and closeTag for paragraph and
764 for strings. Now they handle the ids of paragraphs.
766 2004-10-26 Angus Leeming <leeming@lyx.org>
768 * Makefile.am: add mover.[Ch].
770 * converter.C (convert, move): use the new Movers to move external
771 files to the temp directory.
773 * lyx_main.C (init): ensure that the global system_movers data
776 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
779 * mover.[Ch]: new files, defining a Mover as a utility to move an
780 external file between directories and, if necessary, manipulate this
781 file using a helper script.
783 2004-10-25 José Matos <jamatos@lyx.org>
785 * output_docbook.C (makeCommand): merge two if's that tested the
788 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
790 * sgml.C (escapeString): fix warning in a better way
792 2004-10-25 José Matos <jamatos@lyx.org>
794 * sgml.C (escapeString): import the require boosts header file for
795 tie, and avoid a signed unsigned comparison.
797 2004-10-25 José Matos <jamatos@lyx.org>
799 * sgml.h: add #include <string>
801 2004-10-25 José Matos <jamatos@lyx.org>
803 * sgml.[Ch] (escapeString): new function to escape all the string.
805 2004-10-24 José Matos <jamatos@lyx.org>
807 * paragraph.[Ch] (getFirstWord): new function to get the first
808 word. Useful for description.
809 (simpleDocBookOnePar): remove depth argument, add another that
810 says where to start the paragraph.
812 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
813 use the new functions to fix cleanly the support for descriptions.
815 2004-10-24 José Matos <jamatos@lyx.org>
817 * buffer.C (makeLinuxDocFile, makeDocBookFile):
818 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
819 * output_linuxdoc.C (linuxdocParagraphs):
820 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
821 add buffer as argument.
823 2004-10-24 José Matos <jamatos@lyx.org>
825 * output_docbook.C (makeEnvironment, searchEnvironment): place
826 CDATA inside paragraphs and fix scope for listitems.
828 2004-10-24 José Matos <jamatos@lyx.org>
830 * output_docbook.C: remove using statement for stack.
832 2004-10-23 José Matos <jamatos@lyx.org>
834 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
835 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
836 docbook. The new scheme is recursive and makes use of iterators, the
837 same as latex export works.
838 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
839 directly with the paragraph contents. This code was moved up to
840 output_docbook.C (docbookParagraphs).
841 * sgml.C (openTag, closeTag): removed unneeded newlines.
842 (closeEnvTags) removed.
844 2004-10-23 André Pönitz <poenitz@gmx.net>
846 * undo.C (textUndoOrRedo):
847 * dociterator.C (asDocIterator): work around crash
849 * cursor.C (getStatus): replace ASSERT by more verbose error message
850 and manual correction of the problem. Should increase stability
851 while providing more sensible information.
853 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
855 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
857 * bufferlist.C (previous, next): new methods
860 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
862 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
864 * buffer.C (makeDocBookFile): add dsssl stylesheet control
865 entities to preamble.
867 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
869 * messages.C (Pimpl): strip off translation context information
871 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
873 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
874 the cursor is correct (bug 1694)
876 2004-10-13 José Matos <jamatos@lyx.org>
878 * output_docbook.C (docbookParagraphs): fix closing tags in the
881 2004-10-09 José Matos <jamatos@lyx.org>
883 * buffer.C: format up to 237.
884 * bufferparams.C (write): use tostr to convert booleans to strings.
886 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
888 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
890 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
892 * LaTeX.C: implement use of babel language in xindy.
894 2004-10-05 José Matos <jamatos@lyx.org>
896 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
897 Add new translators to help reading and writing the lyx file.
899 2004-10-05 José Matos <jamatos@lyx.org>
901 * ParagraphParameters.C (read):
902 * text.C (readParToken): replace nexToken by more appropriate lex
905 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
907 * LaTeX.C (runMakeIndex):
908 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
909 (usually 'makeindex') configurable.
911 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
912 with a variable rather than with a number.
914 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
916 * output_latex.C (TeXOnePar): make sure font setting is the first
917 thing that gets output (and the last at the end). Should fix bug
920 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
922 * pch.h: use proper signal include
924 * LaTeX.h: Use preferred calling of Boost.Signal
927 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
929 * pch.h: dont include <boost/function/function0.hpp>
931 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
933 * paragraph_pimpl.h: remove usage of ShareContainer
935 * paragraph_pimpl.C: remove initialization of ShareContainer.
937 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
941 * BufferView.C (putSelectionAt): change the semantics when
942 backwards == true: now, this just swaps cursor and anchor wrt the
945 * BufferView.h (putSelectionAt): add some documentation
947 * lyxfind.C (findBackwards): rewrite using while(). In particular,
948 make sure backwardChar is done at least once (to avoid getting
950 (findNextChange): use putSelectionAt in the forward direction
951 (operator()): use Paragraph::isWord
953 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
955 * Spacing.C (set): c_str fix
957 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
959 * lyx_cb.C (Reconfigure): quote the name of configure script in
960 case it contains spaces
962 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
966 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
967 (BOOST_LIBS): use top_buildir when looking for the file
969 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
971 * pch.h: do not use include boost/format.hpp, multiple symbols
972 will result (gcc bug)
975 2004-08-23 José Matos <jamatos@lyx.org>
977 * bufferparams.C (readToken): fix reading of the author field.
979 2004-08-20 José Matos <jamatos@lyx.org>
981 * lyxrc.C: remove support/translator.h inclusion since it is not used.
983 2004-08-20 José Matos <jamatos@lyx.org>
985 * lyxlex.[Ch] (findToken): remove function.
987 * ParagraphParameters.C (findToken):
988 * bufferparams.C (findToken): replace call for previous function
989 with local copy. This local function has one more argument, the
990 read string argument.
992 2004-08-16 José Matos <jamatos@lyx.org>
994 * ParagraphParameters.C (write):
995 * Spacing.C (writeFile):
996 * bufferparams.C (writeLaTeX):
997 * lyx_cb.C (Reconfigure):
998 * paragraph.C (write):
999 * tabular.C (write): remove unnecessary space at end of line.
1002 2004-08-16 José Matos <jamatos@lyx.org>
1004 * text.C (readParagraph): remove debug message.
1006 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1008 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1011 * output_plaintext.C (asciiParagraph): set depth correctly
1013 * outputparams.h: add member depth
1015 * paragraph_funcs.C (ownerPar): remove.
1017 * text2.C (setCounter): remove first_pit; comment out some
1018 non-working code that uses ownerPar
1020 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1023 2004-08-16 José Matos <jamatos@lyx.org>
1025 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1026 For the same level of importance use the same chanel to report problems.
1027 (read): add code to deal with \begin_body and \end_body.
1030 2004-08-15 José Matos <jamatos@lyx.org>
1032 * lyxlex.C (getString): fix comment, buffer::readBody is now
1033 buffer:readDocument.
1035 * tex-strings.C (string_papersize): Default -> default,
1036 Custom -> custom, for consistency with other options.
1038 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1042 * Makefile.am: support pch
1044 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1046 * text.C (readParToken): remove the static LyXFont variable and
1047 pass it as a parameter instead. This fixes a nasty bug where an
1048 inset will be inserted with a bad font in some situations
1049 (readParagraph): adapt
1051 * text2.C (setCounter): reduce number of calls to pars_[pit]
1053 * text.C (singleWidth): add an assert, fix a test
1055 * rowpainter.C (paintText): reduce number of calls to singleWidth
1057 * paragraph.C (isHfill):
1058 (isNewline): ws only
1060 2004-08-14 André Pönitz <poenitz@gmx.net>
1065 * lyxtext.h (several functions): use a Paragraph & argument
1068 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1070 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1072 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1074 * text.C (singleWidth): remove useless test
1076 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1078 * tabular.h: remove bogus comments
1080 * tabular.C (getDescentOfRow):
1081 (isPartOfMultiColumn): add assertions
1083 * lyxlength.C (inPixels): remove #warning
1085 2004-08-14 André Pönitz <poenitz@gmx.net>
1087 * paragraph.h: inline getChar()
1089 * BufferView.h: remove unused declarations
1091 2004-08-14 José Matos <jamatos@lyx.org>
1093 * Buffer.[Ch] (readDocument): new name for old readBody.
1094 * Buffer.C: new file format, new keywords: \begin_document,
1095 \begin_header, \begin_body, \end_body.
1097 * bufferparams.C (readToken): replace all calls to lex.nextToken
1098 by lex.next(). Do the same to eatLine except where really needed.
1100 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1101 line when writing to the lyx file.
1103 * output_plaintext.C (asciiParagraph): fix Bibliography style
1106 * text.C (read): fix end of file handling.
1108 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1110 * MenuBackend.C (Menu::operator[]): new method to access
1111 individual menu items
1112 (Menu::hasFunc): new method. search for an item that corresponds
1114 (MenuBackend::specialMenu): new method
1115 (MenuBackend::expand): if a special menu has been set, skip
1116 entries whose func() appears in this menu
1118 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1120 * text3.C: use Debug::DEBUG a bit more
1122 * text.C (leftMargin): try to simplify a tiny bit change var x to
1123 l_margin. Dont output the wide margins always.
1124 (rightMargin): no margin in inner texts
1126 * rowpainter.h (nestMargin): new func
1127 (changebarMargin): new func
1128 (rightMargin): new func
1130 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1134 * factory.C (createInset): modify setDrawFrame
1136 * cursor.C: use Debug::DEBUG a bit more
1138 2004-08-14 André Pönitz <poenitz@gmx.net>
1141 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1142 cache for all insets in (at least partially) visible (top-level)
1145 * BufferView_pimpl.C: reset external coord cache before every update.
1146 This means the coord cache only contains valid entries.
1148 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1151 * BufferView_pimpl.C (getInsetByCode): move function out of class
1152 and change in to a template in anon namespace. Also fix to do what
1155 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1158 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1160 (breakParagraph): rename par to par_offset and use a local
1161 reference. Add code to keep the language over a rebreak.
1162 (breakParagraphConservative): rename par to par_offset, use a
1164 (mergeParagraph): ditto
1166 (isFirstInSequence): ditto
1167 (outerFont): rename pit to par_offset
1169 * paragraph.C: ws change
1170 * paragraph.h: ditto
1174 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1176 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1179 * paragraph.C (simpleTeXOnePar): when we have a \item with
1180 optional argument, enclose the argument with curly brackets (in
1181 case it contains a closing square bracket)
1185 * text3.C (checkInsetHit): constify
1187 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1189 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1190 documents (bug 1629)
1192 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1194 Fix toggling of collapsable insets with the mouse (bug 1558)
1196 * lyxfunc.C (dispatch): adapt to LCursor changes
1198 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1199 make sure that dispatch is not invoked twice
1201 * cursor.C (needsUpdate): new method
1202 (dispatch): return void
1203 (result): new method, to access the DispatchResult of the cursor.
1205 2004-08-13 José Matos <jamatos@lyx.org>
1207 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1209 2004-08-13 André Pönitz <poenitz@gmx.net>
1211 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1213 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1216 2004-08-12 André Pönitz <poenitz@gmx.net>
1218 * text3.C: take out the 'cursor right' form insertInset and only
1219 do it in those places when it is really needed. Fixes crash on
1222 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1224 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1226 * BufferView_pimpl.C (setBuffer): initialize the current font of
1227 the underlying LyXText
1229 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1231 * kbsequence.C (print): use UI native formatting for menu
1234 * text.C (insertChar): call Paragraph::insertChar with a font
1237 * paragraph.C (insertInset, insertChar): the version that takes a
1238 LyXFont argument is now a wrapper around the other one (the
1239 opposite used to be true).
1241 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1242 argument. Font setting is done in Paragraph now.
1244 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1246 * outputparams.h: add new members intitle and lang.
1248 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1249 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1251 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1253 * text3.C (dispatch): remove special handling of button 4 and 5,
1254 it is now taken care of in the frontend code.
1256 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1258 * Spacing.h: add <string> (STLPort compile fix)
1260 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1262 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1264 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1266 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1269 * converter.C (showMessage): inherit from unary_function, make
1272 * buffer.C (writeFile): initialize retval
1274 * InsetList.h: rename private variable list to list_
1275 * InsetList.[Ch]: adjust accordingly.
1277 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1279 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1280 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1281 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1282 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1283 * ParagraphParameters.C, LaTeXFeatures.C: replace
1284 "support/std_sstream.h" with <sstream>
1286 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1288 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1289 * lyxsocket.C (LyXServerSocket): ditto
1290 (serverCallback): ditto
1292 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1294 * LaTeXFeatures.C: check release date when loading jurabib.
1296 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1298 * lyxserver.C (startPipe): call register_socket_callback
1299 (endPipe): call unregister_socket_callback
1301 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1303 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1304 (LyXServerSocket): register the callback
1305 (LyXServerSocket): unregister the callback
1306 (fd): delete function
1307 (serverCallback): improve error checking and setup the callbacks.
1308 (dataCallback): change arg to fd.
1309 (writeln): new func (copied fro the client socket) used for server
1311 (LyXDataSocket): simplify
1312 (~LyXDataSocket): close ann unregiser callback
1313 (server): delete function
1314 (fd): delete function
1315 (readln): small changes, improve some std::string usage
1316 (writeln): constify a bit
1318 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1320 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1323 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1325 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1326 after it has been populated
1328 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1330 * text2.C (insertInset): move cursor when inserting inset.
1332 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1334 * kbmap.C (findbindings): a couple of new methods. returns a
1335 container of kb_sequence objects. The real work is done by the
1336 private recursive version
1337 (printbindings): uses findbindings to print out a bracketed list
1338 of bindings (renamed from findbinding).
1340 * MenuBackend.C (binding): use kb_keymap::findbindings
1342 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1344 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1346 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1348 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1350 * paragraph.C (isWord): return true on insets that report
1353 * text.C (getWord): use Paragraph::isWord to decide what is in a
1354 word and what is not; fix bug 1609.
1356 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1358 * tex-strings.C: add "none" to string_paperpackages[], fixes
1359 off-by-one-error in the paperpackage selection.
1362 * tex-strings.[Ch]: char const * string[n]
1363 -> char const * const string[]
1365 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1367 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1368 command, return early.
1370 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1372 * debug.h: add DEBUG to enum and fix size of ANY.
1374 * debug.C: add support for Debug::DEBUG
1375 (showTags): cast errorTags.level to unsigned int
1377 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1378 (redoCurrentBuffer): ditto
1379 (updateScrollbar): ditto
1380 * cursor.C (dispatch): ditto
1381 * text2.C (setLayout): ditto
1383 (updateCounters): ditto
1385 (deleteEmptyParagraphMechanism): ditto
1387 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1389 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1390 annotations to cleanup the Makefile slightly.
1392 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1394 * lyxrc.C: do not set user_email to a default value but use empty
1395 instead. The entry used to be translated, which does not work
1396 since at the point where lyxrc is constructed there is no
1397 translation service available
1399 * messages.C (getLocaleDir): remove and use directly
1400 lyx_localedir() instead
1402 2004-06-02 Angus Leeming <leeming@lyx.org>
1404 Fix crash caused by dereferencing null pointer 'exportdata' in
1405 OutputParams by creating a new ExportData variable on the heap,
1406 storing it in a boost::shared_ptr.
1407 The crash was triggered when generating an Instant Preview
1408 of an external inset.
1410 * Makefile.am: add outputparams.C
1412 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1413 (c-tor): allocate memory to it.
1415 * exporter.C (c-tor): associated changes.
1417 2004-06-01 Angus Leeming <leeming@lyx.org>
1419 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1420 contains data before calling isInset(0). (Bug 1513.)
1422 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1424 * exporter.C (checkOverwrite): new method
1425 * exporter.C (copyFile): new method
1426 * exporter.C (Export): copy referenced files to the document dir
1427 * exporter.[Ch]: new class ExportedFile
1428 * exporter.[Ch]: new class ExportData. Contains currently the
1429 names of referenced external files
1430 * outputparams.h: add exportdata member.
1432 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1434 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1437 2004-05-19 Angus Leeming <leeming@lyx.org>
1442 * lyxfunc.C: small changes due to the introduction of namespace
1443 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1445 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1447 * text3.C (dispatch): supress update when only moving the cursor
1448 * cursor.C (selHandle): remove commented code
1450 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1452 * paragraph.C (startTeXParParams): correct column count
1453 * CutAndPaste.C (pasteSelection): remove const_cast
1454 * output_docbook.C (docbookParagraphs): remove const_cast
1455 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1456 const_cast and return ParagraphList::const_iterator
1457 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1458 * output_plaintext.C (writeFileAscii): remove const_cast
1459 * paragraph.[Ch] (simpleTeXOnePar): make const
1460 * paragraph_funcs.C (outerPar): use const iterators
1461 * paragraph_pimpl.C (validate): use const iterators
1462 * text.C (setHeightOfRow): use const iterators
1464 2004-05-17 Angus Leeming <leeming@lyx.org>
1467 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1469 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1470 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1471 if the citation engine has changed.
1473 2004-05-14 José Matos <jamatos@lyx.org>
1475 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1476 if the textclass does not provide it. Have it different for sgml and
1478 support the language of document.
1479 * output_docbook.C (docbookParagraphs):
1480 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1481 first anchor as the id of the paragraph, remove special case code.
1482 * sgml.C (escapeChar): escape only < & >.
1484 2004-05-14 Angus Leeming <leeming@lyx.org>
1486 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1487 dependencies on src/frontends/controllers/biblio.h. Define a
1488 CiteEngine_enum wrapper class to enable the enum to be forward
1491 2004-05-12 Angus Leeming <leeming@lyx.org>
1493 * buffer.C: up LYX_FORMAT to 234.
1494 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1495 use_numerical_citations with a single biblio::CiteEngine cite_engine
1497 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1499 2004-05-13 José Matos <jamatos@lyx.org>
1502 * converter.C (Converter, readFlags): add xml member.
1503 * outputparams.h: add XML flavor.
1504 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1506 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1508 * lyxfunc.C (dispatch):
1509 (getStatus): fix handling of LFUN_SEQUENCE
1511 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1513 * debug.C (showLevel): do not forget the end-of-line marker
1515 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1517 * kbmap.C (read): do not stop parsing a bind file when an error
1520 2004-04-29 Angus Leeming <leeming@lyx.org>
1525 * text2.C: wrap a bunch of #warning statements
1526 inside #ifdef WITH_WARNINGS blocks.
1528 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1530 * buffer.C: increment format to 233.
1532 2004-04-28 Angus Leeming <leeming@lyx.org>
1534 * BufferView_pimpl.C:
1537 s/updateToolbar()/updateToolbars()/
1538 s/Toolbar.h/Toolbars.h/
1540 2004-04-28 Angus Leeming <leeming@lyx.org>
1542 * BufferView.[Ch] (c-tor):
1543 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1544 No longer passes these data to the WorkArea generator.
1546 2004-04-28 Angus Leeming <leeming@lyx.org>
1548 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1550 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1552 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1554 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1556 * output_latex.C (TeXEnvironment): make sure that there is a line
1557 break before \end{foo} for the last paragraph of a document
1558 (TeXOnePar): if the paragraph is at the end of the document (or
1559 inset) and the language has to be reset, then make sure that the
1560 line break is _before_ the language command, not after (fixes bug
1561 1225); also make sure that the language reset command is the first
1562 thing after the paragraph (to ensure proper nesting of
1563 environments and thus fix bug 1404)
1565 2004-04-21 John Levon <levon@movementarian.org>
1568 * ToolbarBackend.C: make "name" be a programmatic name
1569 and a gui_name field.
1571 * lyxfunc.C: display the minibuffer on M-x
1573 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1575 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1578 2004-04-19 Angus Leeming <leeming@lyx.org>
1580 * BufferView_pimpl.C (setBuffer): changed preview interface.
1582 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1585 2004-04-19 John Levon <levon@movementarian.org>
1587 * BufferView_pimpl.C:
1588 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1590 2004-04-05 Angus Leeming <leeming@lyx.org>
1592 * text.C (redoParagraphs): add call to updateCounters(), thereby
1593 fixing the missing "Figure #:" label from the caption of a
1596 2004-04-13 Angus Leeming <leeming@lyx.org>
1598 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1599 cursor is clicked out of an inset.
1601 2004-04-13 Angus Leeming <leeming@lyx.org>
1603 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1604 than an InsetOld one.
1606 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1608 * format.[Ch]: add editor to Format
1609 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1610 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1612 2004-04-08 André Pönitz <poenitz@gmx.net>
1614 * metricsinfo.h: remove PainterInfo::width member
1616 2004-04-08 Angus Leeming <leeming@lyx.org>
1618 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1619 "\providecommand" rather than "\newcommand", thereby preventing
1620 clashes with packages that define "\boldsymbol" themselves.
1623 2004-04-08 Angus Leeming <leeming@lyx.org>
1625 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1626 thereby squashing an unnecessary warning.
1628 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1630 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1633 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1635 * BufferView.C (setCursor): call redoParagraph (some insets could
1637 (putSelectionAt): remove the 'double update' trick
1639 * BufferView_pimpl.C (fitCursor): call refreshPar
1640 (workAreaDispatch): remove an uneeded update call
1641 (dispatch): remove some manual update calls
1643 * cursor.[Ch]: remove cached_y_, updatePos
1644 (selHandle): set noUpdate when appropriate
1646 * lyxfunc.C (dispatch): track if we need an update
1648 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1650 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1651 (paintSelection): cheap optimization, do not call cursorX when not
1653 (paintPars): change signature
1656 (paintTextInset): adjust
1660 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1662 * lengthcommon.C: compilation fix: remove explicit array size from
1663 unit_name[] and friends
1665 2004-04-05 Angus Leeming <leeming@lyx.org>
1667 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1669 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1670 present only for the preferences dialog.
1671 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1673 2004-04-05 Angus Leeming <leeming@lyx.org>
1675 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1676 to enable the frontends to export changes to lyxrc correctly.
1678 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1680 2004-04-07 André Pönitz <poenitz@gmx.net>
1682 * cursor.[Ch] (selClear, adjust): remove math
1684 * cursor_slice.C: more agressive assert
1687 * BufferView_pimpl.C: rework mouse event dispatch
1694 2004-04-05 André Pönitz <poenitz@gmx.net>
1696 * cursor.[Ch] (valign, halign...): remove unneeded functions
1698 2004-04-05 Angus Leeming <leeming@lyx.org>
1700 * lyxlength.[Ch] (unit_name et al.): const-correct.
1702 2004-04-05 Angus Leeming <leeming@lyx.org>
1704 * BufferView_pimpl.C:
1713 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1715 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1717 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1719 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1721 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1722 * BufferView_pimpl.[Ch] (getStatus)
1723 * BufferView.[Ch] (getStatus): add
1724 * lyxfunc.C (getStatus): move lfuns handled in
1725 BufferView::dispatch to te function above
1726 * Cursor.C (setSelection): set selection() = true
1728 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1730 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1732 2004-03-31 Angus Leeming <leeming@lyx.org>
1734 * lyxfunc.C (dispatch): Fall through to the generic
1735 Dialogs::show("preamble").
1737 2004-03-31 Angus Leeming <leeming@lyx.org>
1739 * lyxfunc.C (dispatch): Fall through to the generic
1740 Dialogs::show("spellchecker").
1742 2004-03-31 Angus Leeming <leeming@lyx.org>
1744 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1747 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1752 * insetiterator.[Ch]:
1757 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1759 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1761 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1762 insets where we are putting the cursor.
1764 2004-03-31 Angus Leeming <leeming@lyx.org>
1767 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1769 * lyxrc.[Ch] (read, write): overloaded member functions taking
1770 a std::[io]stream arguments.
1772 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1774 2004-03-31 Angus Leeming <leeming@lyx.org>
1776 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1777 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1779 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1780 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1782 2004-03-31 Angus Leeming <leeming@lyx.org>
1784 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1785 the LFUN_ALL_INSETS_TOGGLE code.
1787 2004-03-30 Angus Leeming <leeming@lyx.org>
1789 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1790 has died. Fall through to the generic Dialogs::show("document").
1792 2004-03-30 Angus Leeming <leeming@lyx.org>
1795 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1796 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1798 * lyxfunc.C (getStatus, dispatch): define the actions for these
1799 lfuns. Little more than a cut and pste job from ControlDocument.C
1801 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1803 2004-03-30 Angus Leeming <leeming@lyx.org>
1806 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1807 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1809 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1810 open/closed state of ollapsable insets. Usage:
1812 all-inset-toggle <state> <name>, where
1813 <state> == "open" || "closed" || "toggle" and
1814 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1816 * lyxtext.h, text2.C (toggleInset): removed.
1818 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1819 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1820 now passes LFUN_INSET_TOGGLE to the found inset.
1822 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1823 is now invoked as "all-insets-toggle toggle branch".
1825 2004-03-30 Angus Leeming <leeming@lyx.org>
1829 * pariterator.[Ch]: added/corrected header blurb.
1831 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1833 * dociterator.[Ch]: add an inset_ member
1834 (backwardPos): implemented
1835 (backwardPos, forwardPos): use inset_ when the stack is empty.
1836 (doc_iterator_begin, doc_iterator_end): implemented
1837 * pariterator.[Ch]: adjust, add begin, end
1838 * insetiterator.[Ch]: adjust, add begin, end
1842 * BufferView_pimpl.C:
1843 * CutAndPaste.C: adjust
1845 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1847 * buffer.C: increment file format to 232.
1848 * LaTeXFeatures.C: add bibtopic package.
1849 * bufferparams.[Ch]: param \use_bibtopic.
1851 * lyxrc.[Ch]: add lyxrc bibtex_command
1852 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1854 * buffer.C: increment file format to 231.
1856 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1858 * dociterator.C: implement forwardPar
1859 * iterators.[Ch]: remove, replaced by
1860 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1862 * BufferView_pimpl.C:
1865 * bufferview_funcs.C:
1871 * Makefile.am: adjust
1873 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1875 * CutAndPaste.C (pasteSelection): fix 2 crashes
1876 (eraseSelection): fix a crash
1877 * paragraph_funcs.C: remove a warning
1879 2004-03-28 Angus Leeming <leeming@lyx.org>
1882 * LyXAction.C (init): new LFUN_PRINT.
1884 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1886 2004-03-27 Angus Leeming <leeming@lyx.org>
1889 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1891 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1893 2004-03-27 Angus Leeming <leeming@lyx.org>
1895 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1896 insetlist always contains non-null pointers to insets.
1898 2004-03-26 Angus Leeming <leeming@lyx.org>
1900 * src/BufferView_pimpl.C:
1901 * src/CutAndPaste.C:
1904 * src/output_plaintext.C:
1905 * src/outputparams.h:
1906 * src/paragraph_funcs.C:
1910 * src/frontends/controllers/ControlErrorList.C:
1911 * src/frontends/gtk/FileDialogPrivate.C:
1912 * src/frontends/gtk/GPainter.C:
1913 * src/frontends/gtk/GToolbar.C:
1914 * src/frontends/qt2/QRef.C:
1915 * src/mathed/math_scriptinset.C: squash compiler warnings.
1917 2004-03-26 Angus Leeming <leeming@lyx.org>
1919 * ispell.C (LaunchIspell::start):
1920 * lyx_cb.C (AutoSaveBuffer::start):
1921 invoke run(DontWait) rather than runNonBlocking().
1923 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1925 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1927 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1929 * kbsequence.C (print): adjust
1931 * kbmap.C (printKeySym): rename and change signature
1932 (printKey): use LyXKeySym::print()
1934 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1936 * undo.C: add using std::advance to compile for stlport
1938 2004-03-24 Angus Leeming <leeming@lyx.org>
1940 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1941 it leads to a crash when no buffer is present.
1943 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1944 Martin Vermeer <martin.vermeer@hut.fi>
1946 * lyxfunc.C (dispatch):
1947 * bufferparams.C (readToken): use the new LColor::setColor
1949 * LColor.[Ch] (setColor): new version that takes two strings as
1950 argument and creates a new color entry if necessary
1952 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1954 * buffer.C (makeLaTeXFile): if the main latex file that is
1955 processed is usually a subdocument of some master, then pretend
1956 for a while that it is actually the master
1958 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1960 * buffer.C (getLabelList):
1961 (getBibkeyList): use getMasterBuffer()
1962 (getMasterBuffer): new method. Returns the main document in the
1963 case where one is using included documents.
1965 2004-03-25 André Pönitz <poenitz@gmx.net>
1969 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1971 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1973 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1974 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1976 * ParameterStruct.h: merge with ParagraphParameters
1978 * lyxtext.h: remove LyXText::parOffset() and getPar()
1980 * text3.C: Remove all 'manual' update calls. We do now one per user
1981 interaction which is completely sufficient.
1985 * BufferView_pimpl.C:
1986 * FontIterator.[Ch]:
1988 * ParagraphParameters.[Ch]:
1993 * cursor_slice.[Ch]:
2000 * output_docbook.[Ch]:
2001 * output_latex.[Ch]:
2002 * output_linuxdoc.[Ch]:
2003 * output_plaintext.[Ch]:
2005 * paragraph_funcs.[Ch]:
2006 * paragraph_pimpl.[Ch]:
2014 * frontends/controllers/ControlDocument.C:
2015 * frontends/controllers/ControlErrorList.C:
2016 * frontends/controllers/ControlSpellchecker.C:
2019 * insets/insetbase.h:
2020 * insets/insetbibitem.C:
2021 * insets/insetbox.C:
2022 * insets/insetbranch.C:
2023 * insets/insetcaption.C:
2024 * insets/insetcharstyle.C:
2025 * insets/insetcharstyle.h:
2026 * insets/insetcollapsable.C:
2027 * insets/insetcollapsable.h:
2028 * insets/insetert.C:
2029 * insets/insetfloat.C:
2030 * insets/insetfoot.C:
2031 * insets/insetmarginal.C:
2032 * insets/insetnote.C:
2033 * insets/insetoptarg.C:
2034 * insets/insettabular.C:
2035 * insets/insettext.C:
2036 * insets/insettext.h:
2037 * insets/insetwrap.C:
2038 * mathed/math_mboxinset.C:
2039 * mathed/math_nestinset.C:
2040 * mathed/math_scriptinset.C:
2041 * mathed/math_scriptinset.h:
2044 2004-03-24 Angus Leeming <leeming@lyx.org>
2046 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2047 deal with any child processes that have finished but are waiting to
2048 communicate this fact to the rest of LyX.
2050 2004-03-24 Angus Leeming <leeming@lyx.org>
2052 64-bit compile fixes.
2054 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2055 (c-tor): pass lyx::pos_types rather than ints.
2057 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2060 * text.C (Delete): compile fix.
2061 (getPar): ensure that function declaration is the same as that in
2064 2004-03-23 Angus Leeming <leeming@lyx.org>
2066 * ispell.C (LaunchIspell):
2067 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2068 a boost::shred_ptr rather than a std::auto_ptr.
2070 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2072 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2073 handle LFUN_FILE_INSERT_*
2075 * lyxrc.C (setDefaults, getDescription, output, read):
2076 * lyxrc.h: remove ps_command
2078 2004-03-22 Angus Leeming <leeming@lyx.org>
2080 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2081 Ensure that error_handler is processed once only and that all data
2082 is saved before attempting to output any warning messages.
2084 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2086 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2088 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2090 2004-03-19 André Pönitz <poenitz@gmx.net>
2092 * cursor.[Ch] (reset): take main text inset as argument
2094 * BufferView: adjust
2095 * BufferView_pimpl.C: adjust
2097 * paragraph.[Ch]: fix completely broken operator=()
2099 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2101 * LColor.C (getFromLyXName): make sure that the color name is used
2104 2004-03-17 Angus Leeming <leeming@lyx.org>
2107 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2109 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2110 dialog and to kill a forked process.
2112 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2114 * text2.C (setCursorFromCoordinates): fix font problem
2116 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2118 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2119 bogus "rebuild cursor" code
2121 2004-03-11 André Pönitz <poenitz@gmx.net>
2123 * buffer.[Ch]: use InsetText instead of LyXText as container for
2126 * dociterator.[Ch]: drop the BufferView * member which is not needed
2127 anymore after the change to buffer.C
2129 * paragraph_funcs.C:
2133 * BufferView_pimpl.[Ch]:
2135 * cursor_slice.[Ch]: adjust
2137 * text3.C: fix bug in mathDispatch
2139 2004-03-08 André Pönitz <poenitz@gmx.net>
2141 * undo.[Ch]: use 'StableDocumentIterator' as base for
2144 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2147 * bufferparams.[Ch]: add jurabib support and param.
2149 * LaTeX.C: add FIXME/comment.
2151 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2153 * buffer.C: increment file format to 230.
2155 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2157 * cursor.C (dispatch): avoid infinite loops
2159 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2161 * rowpainter.C (paintSelection): fix x coordinates
2163 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2165 * text.C (rowBreakPoint): fix breaking before displayed insets
2167 2004-03-01 André Pönitz <poenitz@gmx.net>
2169 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2171 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2175 * BufferView_pimpl.C:
2183 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2189 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2190 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2192 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2194 * Bidi.[Ch] (computeTables): const correctness
2195 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2196 fill_hfill, fill_label_hfill and x from Row
2197 * lyxtext.h: prepareToPrint returns a RowMetrics
2198 * rowPainter.C: adjust
2199 * text.C (prepareToPrint): use width, not textWidth. adjust
2200 (redoParagraphInternal, cursorX): adjust
2201 * text2.C (getColumnNearX): adjust
2202 (init): put a default value to the top LyXText::width
2204 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2206 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2208 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2210 * lyxtext.h: add FontIterator class
2212 * text.C (FontIterator, operator*, operator->, operator++): add
2213 (rowBreakPoint, setRowWidth): adjust (fixing a
2216 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2218 * BufferView_pimpl.C (workAreaDispatch): allow also
2219 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2221 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2223 * text.C (rowBreakPoint): fix a bug showing with very large insets
2225 2004-02-25 André Pönitz <poenitz@gmx.net>
2228 * cursor.[Ch]: move some mathed specific code to mathed
2230 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2232 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2233 use_tempdir in preferences
2234 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2236 * lyx_main.C: ensure that tempdir is valid
2237 * lyxlex.h: correct typo
2238 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2239 * paragraph.[Ch] (isMultiLingual): make const
2240 * cursor.[Ch] (openable): make const
2242 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2244 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2246 2004-02-20 André Pönitz <poenitz@gmx.net>
2248 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2250 * cursor.[Ch]: prepare for localized getStatus()
2256 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2258 2004-02-20 André Pönitz <poenitz@gmx.net>
2260 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2262 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2264 * text2.C (setCursorFromCoordinates): switch to absolute coords
2266 (cursorDown): adjust
2267 * text3.C (dispatch): adjust
2269 2004-02-16 André Pönitz <poenitz@gmx.net>
2271 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2274 * cursor_slice.[Ch]: remove unneeded acessor function
2276 * lyxtext.h: rename rtl() to isRTL()
2284 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2286 * rowpainter.C (paintSelection): coord fix
2288 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2290 * Spacing.C: compile fix
2292 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2294 * cursor.C (dispatch): restore current_ before returning
2296 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2298 * text2.C (cursorUp, cursorDown): fix coords
2301 2004-02-12 André Pönitz <poenitz@gmx.net>
2306 * text3.C: add LCursor & parameter to most cursor movement functions
2307 remove usage of LyXText::cursorRow() and cursorPar()
2309 * cursor.[Ch]: add textRow() needed members
2312 * BufferView_pimpl.C:
2315 * BufferView_pimpl.C: adjust
2317 2004-02-11 André Pönitz <poenitz@gmx.net>
2321 * BufferView_pimpl.C: shift undo/redo handling
2323 * cursor.[Ch]: fix mathed crash
2326 * lyxtext.h: move selectionAsText to LCursor
2334 * rowpainter.C: fix excessive drawing
2336 2004-02-06 André Pönitz <poenitz@gmx.net>
2339 * BufferView_pimpl.[Ch]:
2340 * text3.C: move some text specific LFUN handling
2342 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2344 * text3.C (checkInsetHit): adjust coords
2345 * text2.C (getColumnNearX): adjust coords
2346 (edit): adjust coords
2347 * text.C (getRowNearY): add two asserts
2349 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2352 * format.C: add using std::distance to compile on gcc 2.95/stlport
2354 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2356 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2358 2004-02-04 André Pönitz <poenitz@gmx.net>
2360 * BufferView.[Ch] (insertInset):
2361 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2366 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2368 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2369 on the default clause of the switch
2370 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2371 wasn't catched by LCursor::dispatch
2373 2004-02-03 André Pönitz <poenitz@gmx.net>
2376 * cursor.[Ch]: some additional asserts
2378 * undo.[Ch]: remove LyXText dependency in interface
2382 * lyxtext.h (firstPar, lastPar): remove dead functions
2387 * paragraph.[Ch]: adjust
2389 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2391 * lyxfind.C (find): fix argument order in call to ::find
2393 2004-02-02 André Pönitz <poenitz@gmx.net>
2395 * cursor.[Ch]: remove direct access to anchor
2397 * text.C: remove findText() hack
2399 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2401 * iterators.[Ch] (lockPath): remove in favour of...
2402 * BufferView.[Ch] (setCursor): this addition
2403 * BufferView.C (putSelectionAt): adjust
2404 * undo.C (performUndoOrRedo): adjust
2405 * lyxfunc.C (dispatch): adjust
2407 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2409 * iterators.C (lockPath): add a missing slice
2410 * undo.C (performUndoOrRedo): remove redundant positioning code
2412 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2414 * vc-backend.C (scanMaster): ";" -> ';'
2416 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2418 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2419 std::binary_function
2421 * lyxtextclass.C (compare_name): rename to...
2422 (LayoutNamesEqual): ...this
2424 * lyxlex_pimpl.C (compare_tags): inherit from
2425 std::binary_function, put back into anon namespace
2427 * lyxfind.C (MatchString): inherig from std::binary_function
2428 (findChange): use empty() istead of !size()
2430 * format.C (FormatNamesEqual): new functor
2437 * converter.C (compare_Converter): rename to...
2438 (ConverterEqual): ...this, and fixup a bit.
2439 (getConverter): use it, and make function const
2440 (getNumber): use it, and make function const
2444 * bufferlist.C: add using boost::bind
2446 * MenuBackend.C (MenuNamesEqual): new functor
2447 (hasMenu): use it, and make function const
2448 (hasSubmenu): use nested bind to get rid of compare_memfun.
2450 2004-01-30 André Pönitz <poenitz@gmx.net>
2452 * BufferView_pimpl.C:
2455 * cursor_slice.[Ch]:
2458 * paragraph_funcs.C:
2459 * paragraph_funcs.h:
2463 * text3.C: move some of the edit(x,y) handling to the insets
2464 some coordinate changes.
2466 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2468 * text.C: add using statements for std::advance and std::distance
2470 * paragraph.C: add using statement for std::distance
2472 * lyxfind.C: add using statement for std::advance
2474 * cursor.C (region): remove std:: from swap
2475 (openable): use nucleus in stead of operator->
2477 * BufferView.C: add using statements for std::distance and std::swap
2479 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2481 * iterators.C: Remove the pimple, move the needed structures to
2482 the header file. Create accessor for the positions stack.
2483 (asPosIterator): remove function
2485 * PosIterator.C (PosIterator): move constructors to top of file
2486 (PosIterator): reimplement the constructor taking a ParIterator in
2488 (setFrom): new function
2489 (operator!=): inline it
2491 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2493 * lyxfind.C (replaceAll): use std::advance
2495 * iterators.h: inherit from std::iterator.
2497 * PosIterator.C (advance, distance): remove
2498 * PosIterator.h: interit from std::iterator.
2500 2004-01-26 André Pönitz <poenitz@gmx.net>
2503 * BufferView_pimpl.[Ch]:
2507 * bufferview_funcs.C:
2517 * output_linuxdoc.C:
2518 * output_plaintext.C:
2520 * paragraph_funcs.[Ch]:
2521 * paragraph_pimpl.[Ch]:
2527 * text3.C: more IU: dumps most of the rest of the mathcursor
2528 implementation into cursor.[Ch]; "globalize" a bit of it.
2530 2004-01-25 Angus Leeming <leeming@lyx.org>
2532 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2534 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2536 * LaTeXFeatures.h: add nice_ and nice() const
2537 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2539 2004-01-20 André Pönitz <poenitz@gmx.net>
2542 * BufferView_pimpl.C:
2544 * bufferview_funcs.C:
2546 * cursor_slice.[Ch]:
2557 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2558 LCursor and mathcursor parts to LCursor and InsetBase.
2560 2004-01-15 André Pönitz <poenitz@gmx.net>
2562 * cursor_slice.[Ch]: add a few covienience functions
2564 * funcrequest.[Ch]: remove BufferView * member
2566 * BufferView_pimpl.C:
2573 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2575 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2577 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2578 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2580 2004-01-13 André Pönitz <poenitz@gmx.net>
2583 * lyxtext.h: hide cursor and selection anchor behind accessor function
2586 * BufferView_pimpl.[Ch]:
2588 * bufferview_funcs.C:
2598 * cursor_slice.[Ch]: some integer type changes for inset unification
2600 * lyxcursor.[hC]: remove, it's CursorSlice now.
2603 * BufferView_pimpl.[Ch]:
2604 * bufferview_funcs.C:
2610 * textcursor.[Ch]: adjust
2612 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2614 * text2.C (undoSpan): add and use
2615 * text.C (breakParagraph): use undoSpan (fix bug 578)
2618 2004-01-08 Angus Leeming <leeming@lyx.org>
2620 * BufferView_pimpl.C (MenuInsertLyXFile):
2621 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2622 * lyxfunc.C (menuNew, open, doImport):
2623 FileFilterList change to the FileDialog open and save functions.
2625 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2627 * ShareContainer.h: make isEqual and isUnique adaptable
2629 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2631 2004-01-07 Angus Leeming <leeming@lyx.org>
2634 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2636 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2638 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2639 functions replacing find, replace and replaceAll.
2641 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2642 LFUN_WORDFIND(FORWARD|BACKWARD).
2644 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2646 * text.C (breakParagraph): remove an outdated #warning
2648 2004-01-07 André Pönitz <poenitz@gmx.net>
2650 * lyxfind.C: somewhat clearer logic
2652 * text.C: prevent crash in cursorX on unitialized row cache
2654 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2656 * lyxcursor.[Ch] (operator>): add
2657 * textcursor.C (selStart, selEnd): use std::min and std::max
2659 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2661 * Chktex.C: include boost/format.hpp
2663 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2665 * InsetList.C: replace functor MathcIt with adaptable functor
2667 (insetIterator): modify accordingly
2669 * BranchList.h: move the BranchNamesEqual functor here from...
2670 * BranchList.C: ... to here
2672 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2674 (add): replace a finding loop with std::find_if.
2676 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2678 * output_docbook.C: moving LatexParam functionality into
2681 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2683 * buffer.C: increment format to 229.
2685 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2688 * lyx_sty.[Ch]: remove minipageindent_def
2694 * text3.C: remove LFUN_INSET_MINIPAGE
2696 2003-12-28 Angus Leeming <leeming@lyx.org>
2698 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2700 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2702 * text2.C (setParagraph): fix off-by-one crash
2704 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2706 * output_docbook.C: header stuff for AGU
2708 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2710 * text2.C (redoCursor): remove
2713 * BufferView_pimpl.C: remove calls to redoCursor and
2714 setCursor(cursor.par(), cursor.pos()) all around
2716 2003-12-15 Angus Leeming <leeming@lyx.org>
2718 * buffer.C: up the format to 228.
2720 2003-12-15 André Pönitz <poenitz@gmx.net>
2722 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2727 * BufferView_pimpl.C:
2736 2003-12-15 Angus Leeming <leeming@lyx.org>
2738 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2739 than getFromGUIName to manipulate the color.
2741 2003-12-14 Angus Leeming <leeming@lyx.org>
2743 * BranchList.[Ch]: minimize the API.
2744 (Branch::getBranch, getColor): now return a 'const &'.
2745 (Branch::setSelected) now returns a bool set to true if the
2746 selection status changes.
2747 (BranchList::clear, size, getColor, setColor, setSelected,
2748 allBranches, allSelected, separator): removed.
2749 (BranchList::find): new functions, returning the Branch with
2751 (BranchList::add, remove): return a bool indicating that
2752 the operation was successful.
2754 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2755 new InsetBranch::isBranchSlected member function.
2757 * LColor.[Ch]: mimimize the API.
2758 (fill): renamed as addColor and made private.
2759 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2760 versions of these functions taking a string arg have been removed.
2762 * bufferparams.C (readToken):
2763 * lyxfunc.C (dispatch):
2764 * lyxrc.C (read): changes due to the altered BranchList and
2767 * factory.C (createInset, readInset): changes due to altered
2770 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2773 * lyxfunc.C: remove insetminipage. "minipage-insert"
2774 now produces a frameless minipage box inset.
2776 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2778 * textcursor.[Ch] (selStart,selEnd): add new methods
2779 remove selection::start, end, use LyXCursor::operator<
2780 * lyxcursor.[Ch] (operator<): add
2781 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2782 * BufferView.[Ch] (unsetXSel): add
2783 * text2.C (clearSelection): use unsetXSel,adjust
2786 * rowpainter.C: adjust
2787 * bufferview_funcs.C (put_selection_at): adjust
2789 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2791 * BufferView_pimpl.C: small coord. correction
2793 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2795 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2796 dragging over the splash screen.
2798 2003-12-11 Angus Leeming <leeming@lyx.org>
2800 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2801 as it is now handled in LyXText::dispatch.
2803 * text3.C (doInsertInset): remove a level of nesting.
2805 2003-12-11 Angus Leeming <leeming@lyx.org>
2807 * factory.C (createInset): changes due to the changed interface to
2808 InsetCommandMailer::string2params.
2810 2003-12-10 Angus Leeming <leeming@lyx.org>
2812 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2813 'dialog-show-new-inset <inset name>'
2815 2003-12-10 Angus Leeming <leeming@lyx.org>
2817 * buffer.C: up the format to 227.
2819 * factory.C: the box inset is now identified simply by 'Box'.
2821 2003-12-10 Angus Leeming <leeming@lyx.org>
2823 * buffer.C: up the format to 226.
2825 * factory.C: the note inset is now identified simply by 'Note'.
2827 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2829 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2830 when a pit is enough. Standarize a couple of loops.
2832 2003-12-05 Angus Leeming <leeming@lyx.org>
2834 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2835 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2836 data to the re-worked "log" dialog.
2838 2003-12-03 André Pönitz <poenitz@gmx.net>
2844 * paragraph_funcs.C:
2846 * text2.C: use Inset::getText instead of Inset::getParagraph
2848 2003-12-03 André Pönitz <poenitz@gmx.net>
2852 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2853 InsetText::read() as LyXText::read()
2855 2003-12-02 Angus Leeming <leeming@lyx.org>
2857 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2858 type. Add a comment in the implementation that the function uses
2859 the stream's bad() function rather than fail() as the std::streams
2862 2003-12-02 André Pönitz <poenitz@gmx.net>
2864 * lyxlex.[Ch]: make interface more similar to std::stream
2866 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2868 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2870 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2872 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2874 * vspace.[Ch]: remove VSpace::NONE
2876 2003-12-01 André Pönitz <poenitz@gmx.net>
2879 * lyxtext.h: move ParagraphList member to LyXText
2880 rename LyXText::ownerParagraphs to LyXText::paragraph
2883 * bufferview_funcs.C:
2893 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2895 * undo.C: fix cursor positioning
2897 2003-12-01 John Levon <levon@movementarian.org>
2899 * BufferView_pimpl.C: fix a crash on exit with
2902 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2904 * BranchList.C: fix setSelected() method.
2906 2003-11-28 André Pönitz <poenitz@gmx.net>
2908 * ParagraphParameters.[Ch]:
2909 * ParameterStruct.h: remove space above/below from Paragraph to
2912 * BufferView_pimpl.C:
2918 * paragraph_funcs.C:
2924 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2926 * factory.C: Syntax change for CharStyles
2928 2003-11-28 André Pönitz <poenitz@gmx.net>
2933 * buffer.[Ch]: move LyXText member
2935 2003-11-28 André Pönitz <poenitz@gmx.net>
2937 * BufferView.[Ch]: make LyXText * text a private member
2939 * BufferView_pimpl.C:
2950 * output_plaintext.C: cleanup
2952 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2955 * lyxtextclass.[Ch]: parametrize SGML document header
2957 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2960 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2963 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2965 * text2.C (setFont): rework using PosIterator (no more recursive)
2966 (setCharFont): no more needed
2967 (setLayout): no more selection cursors fiddling (done by redoCursor)
2968 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2969 destroy remaining ones)
2971 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2973 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2975 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2978 * text3.C: adjust + re-allow multi par depth changes
2979 * textcursor.C: simplify a bit
2981 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2987 * src/output_docbook.C:
2988 * src/output_latex.C:
2993 * src/text2.C: Introducing a number of tags parametrizing various
2994 XML formats that we may want to support
2996 2003-11-25 André Pönitz <poenitz@gmx.net>
2998 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3000 * lyxtext.h (leftMargin/rightMargin): simplify interface
3007 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3009 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3010 master file to any child files. Fixes bug 546.
3012 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3014 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3016 2003-11-24 André Pönitz <poenitz@gmx.net>
3018 * rowpainter.C: simplification
3020 * text2.C (updateCounters): remove call to redoParagraph on
3021 changed labels as this is far too expensive.
3023 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3025 * converter.C (convert): fix a crash: this function gets
3026 called with buffer == 0 from importer code.
3028 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3030 * text3.C (cursorPrevious): make sure that we do not compare
3031 iterators form different containers.
3034 * rowpainter.C (paintSelection): make sure that we do not compare
3035 iterators from different containers.
3037 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3038 iterators from different ParagraphList containers.
3041 * text2.C (LyXText): change order of initialization slightly
3042 (operator=): new function. copy all variables except cache_par_
3043 (moveUp): make sure that we do not compare iterators from
3044 different ParagraphList constainers.
3047 * text.C (firstPar): new function
3048 (lastPar): new function
3049 (endPar): new function
3051 * lyxtext.h: move things around and group public functions, public
3052 variables, private functions, private variables
3054 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3056 * factory.C: change call to InsetERT constructor to avoid
3057 additional invocation of method status
3058 * text2.C (toggleInset): remove redundant update() call
3059 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3060 instead of a Bufferview pointer
3062 2003-11-21 André Pönitz <poenitz@gmx.net>
3064 * rowpainter.C: simplification
3066 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3068 * text3.C (dispatch): make possible to extend a word/row selection
3071 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3073 * lyxtext.h: x0_,y0_ -> xo_,yo_
3074 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3075 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3076 * rowpainter.C (paintRows): paint full paragraphs
3078 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3080 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3083 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3085 * lyxtext.h: add x0_, y0_
3086 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3087 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3089 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3091 * text2.C (setCursorIntern): move the x_target update here *
3092 * text3.C: change some bv() to true/false in calls to
3093 cursorUp/Down/Right/Left
3094 * cursor.C: use helper function.
3096 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3098 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3099 * paragraph_funcs.[Ch]: correct comment
3100 * rowpainter.C: do not paint selections away from bv->cursor()
3101 Fix a long standing selection painting bug.
3102 * text3.C: generalize mouse-selection code to LyXTexts other that
3104 * textcursor.C: do not use y coords if we can use par offsets
3106 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3108 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3109 cursor position after e.g. inset insert)
3111 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3113 * lyxfind.C (replace): adjust to locking removal + some
3116 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3118 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3121 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3124 * output_docbook.C: XML sanitation: new layout
3125 parameters InnerTag and CommandDepth
3127 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3129 * BufferView_pimpl.C:
3131 * text3.C: Fix the insertion and modification of button-style
3134 2003-11-13 André Pönitz <poenitz@gmx.net>
3136 * InsetList.[Ch]: remove deleteLyXText
3138 * paragraph.[Ch]: cache beginOfBody position
3143 * text3.C: remove superfluous update() calls
3147 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3149 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3150 * BufferView.C (fitLockedInsetCursor): remove
3151 * cursor.[Ch] (getDim): add
3152 * text.C (getRowNearY): add faster version
3153 * text3.C: remove some update calls
3155 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3167 * text3.C: The Character Style /XML short element patch.
3169 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3172 * factory.C: Small step to solving 'unable to insert some insets'
3175 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3177 * cursor.[Ch] (updatePos): new function for updating the y
3178 position of the tip inset
3179 * bufferview_funcs.C (put_selection_at):
3180 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3182 2003-11-11 André Pönitz <poenitz@gmx.net>
3184 * text.C: remove big comment on invalid Paragraph pointers as it is
3187 2003-11-11 André Pönitz <poenitz@gmx.net>
3189 * text_funcs.[Ch]: merge with ...
3197 * Makefile.am: remove text_funcs.[Ch]
3199 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3201 * cursor.C (getPos): return absolute cached y coord
3203 * BufferView_pimpl.C (fitCursor): new simplistic code
3204 (workAreaDispatch): add a fitCursor call
3206 2003-11-10 André Pönitz <poenitz@gmx.net>
3209 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3211 2003-11-10 André Pönitz <poenitz@gmx.net>
3213 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3214 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3215 indicate that the cursor needs to leave an inset
3217 * lyxtext.h: remove inset locking
3219 * cursor.[Ch]: re-implement functionality provided by inset locking
3222 * BufferView_pimpl.[Ch]:
3224 * bufferview_funcs.[Ch]:
3236 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3238 * PosIterator.[Ch]: replace the stack with a vector, add inset
3240 * iterators.[C]: adjust
3242 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3244 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3246 * paragraph_funcs.C (readParToken): put the correct id in the
3247 error item, not the id of the top paragraph
3249 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3251 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3252 * bufferview_funcs.C (put_selection_at): use the above
3254 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3256 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3258 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3260 * output_linuxdoc.h:
3261 * output_plaintext.h:
3263 * output_docbook.h: add #include statements
3265 2003-11-05 José Matos <jamatos@lyx.org>
3267 * output_docbook.[Ch]:
3268 * output_latex.[Ch]:
3269 * output_linuxdoc.[Ch]:
3270 * output_plaintext.[Ch]: New files for output formats.
3271 * output.[Ch]: New file for helper functions.
3274 * paragraph_funcs.[Ch]: output functions moved to new files.
3276 * outputparams.h: rename of latexrunparams.h
3284 * paragraph_funcs.[Ch]:
3285 * paragraph_pimpl.[Ch]:
3286 * tabular.[Ch]: rename ascii to plaintext
3287 and LatexRunParams to OutputParams.
3289 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3291 * iterators.[Ch] (text): require bv argument
3292 * undo.C (recordUndo):
3293 * lyxfunc.C (dispatch):
3294 * bufferview_funcs.C (put_selection_at): adjust
3296 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3298 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3300 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3302 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3305 2003-11-04 André Pönitz <poenitz@gmx.net>
3307 * cursor.[Ch]: restructure
3310 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3312 * iterators.[Ch] (asCursor): remove
3314 * lfuns.h: remove LFUN_INSET_EDIT
3320 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3322 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3324 * lyxfind.[Ch]: complete overhaul
3325 * BufferView_pimpl.C:
3327 * paragraph.[Ch] (insert): add
3329 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3333 * text.C: remove dead spellcheck code
3335 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3337 * dispatchresult.h: add a val setter
3339 * cursor.C (dispatch): use a tempvar for data_[i]
3341 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3343 * PosIterator.[Ch]: compile fix
3345 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3347 * text.C (cursorPar): deactivate the cursor cache
3349 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3351 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3353 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3355 * text3.C (dispatch): adjust for new DisptchResult semantics.
3357 * lyxfunc.C (dispatch): handle update when return from
3358 Cursor::dispatch, adjust for new DispatchResult semantics.
3360 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3361 DispatchResult(true) mean to not update. Add class functions for
3362 setting dispatched and update, as well as reading.
3364 * cursor.C (dispatch): don't handle update here
3366 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3368 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3369 * trans_mgr.C: adjust
3371 * paragraph_funcs.C (readParToken): exception safety
3373 * lyxvc.h: store the vcs pointer in a scoped_ptr
3376 * lyxsocket.C (serverCallback): exception safety
3378 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3380 * ispell.C (clone): make it return a auto_ptr
3382 * factory.C (createInset): exception safety
3383 (readInset): exception safety
3385 * bufferlist.C (newBuffer): exception safety
3387 * Thesaurus.C (Thesaurus): use initialization for aik_
3389 * MenuBackend.C (expandToc): exception safety.
3391 2003-11-03 André Pönitz <poenitz@gmx.net>
3395 * bufferview_funcs.C: remove getInsetFromId()
3398 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3404 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3406 * PosIterator.C (distance, advance): new
3407 * bufferview_funcs.[Ch] (put_selection_at): new
3408 * iterators.[Ch] (lockPath): new
3410 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3412 * iterators.[Ch] (asPosIterator): added
3413 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3414 * PosIterator.[Ch]: added
3416 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3420 * cursor.C (dispatch):
3421 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3423 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3424 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3425 contructor, add a class function dispatched. Remove operator>=
3427 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3429 * debug.C: only use the default constructor for debugstream
3432 * main.C (main): include debug.h and setup the lyxerr streambuf
3435 2003-10-31 José Matos <jamatos@lyx.org>
3437 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3439 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3440 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3441 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3442 * paragraph_pimpl.C (simpleTeXSpecialC):
3443 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3444 add LatexRunParams argument.
3446 * exporter.C (Export): change call accordingly.
3448 * latexrunparams.h: add new member to take care of the other backends.
3449 2003-10-30 José Matos <jamatos@lyx.org>
3451 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3452 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3453 factorise code for paragraph output.
3455 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3458 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3460 * text3.C (dispatch):
3461 * lyxfunc.C (dispatch):
3462 * cursor.C (dispatch):
3463 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3465 * dispatchresult.h: make the dispatch_result_t ctor explicit
3467 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3470 * buffer.C: small refactoring of docbook stuff
3472 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3474 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3477 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3479 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3480 operator dispatch_result_t, and operators for == != and >=
3482 * cursor.C (dispatch): adjust for operator dispatch_result_t
3483 removal. comment out call to update
3485 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3487 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3495 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3498 * dispatchresult.h: new file, DispatchResult broken out of
3501 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3503 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3505 * text.C (rowBreakPoint): put a hack inside #if 0
3507 2003-10-28 André Pönitz <poenitz@gmx.net>
3511 * paragraph_funcs.C:
3514 * text2.C: general cleanup (lots of small stuff)
3516 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3518 * text2.C (cursorEnd): simple fix to the "end key goes to one
3519 before the end on last row" bug
3521 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3523 * text.C (backspace): fix the "zombie characters"
3525 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3527 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3529 2003-10-27 André Pönitz <poenitz@gmx.net>
3531 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3533 * factory.C: handle new InsetPagebreak, InsetLine
3535 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3536 and move handling into new InsetPagebreak, InsetLine
3538 * BufferView_pimpl.C:
3540 * ParagraphParameters.C:
3541 * ParameterStruct.h:
3546 * paragraph_funcs.C:
3547 * paragraph_pimpl.C:
3553 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3556 * lyxrow_funcs.[Ch]:
3562 * text3.C: remove lastPos uses in favour of Row::endpos
3564 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3566 * undo.C (performUndoOrRedo): fix two crashes by setting a
3567 cursor by hand and reordering some calls. Use bv->lockInset instead
3568 of inset->edit because the latter loses cursor information
3570 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3572 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3574 (rowBreakPoint): fix width. change point to point + 1.
3575 Add a missing check.
3577 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3580 * lyxfunc.C: fix (at least partly) the problems
3581 with the Nav menu and headers inside branch insets
3584 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3586 * paragraph.C (getChar): add strong asserts
3588 * lyxrow_funcs.C (lastPos): remove hideous hack
3590 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3591 (fill): adjust to that (avoid an infinite loop)
3593 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3595 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3597 2003-10-23 André Pönitz <poenitz@gmx.net>
3599 * RowList_fwd.h: change list<> to vector<> to gain speed
3600 after suggestion from Alfredo
3602 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3604 * lyxtext.h: move the bidi stuff from here...
3607 * Bidi.[Ch]: ... to here
3609 2003-10-23 André Pönitz <poenitz@gmx.net>
3612 * text.C (isLastRow, isFirstRow): new functions
3614 * paragraph.h: new width cache member
3616 * rowpainter.C: replace RowList::iterator with Row & where possible
3618 * lyxfunc.C: replace several view()->text with a single call
3620 * toc.C: fix 'unused' warning
3622 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3624 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3625 when woring with stream::pos_type
3626 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3628 2003-10-22 André Pönitz <poenitz@gmx.net>
3631 * text.C: use Row & instead of RowList::iterator
3633 * lyxrow.h: rename end() to endpos()
3639 2003-10-22 Angus Leeming <leeming@lyx.org>
3641 * buffer.[Ch] (fully_loaded): new member function, returning true
3642 only when the file has been loaded fully.
3643 Used to prevent the premature generation of previews and by the
3644 citation inset to prevent computation of the natbib-style label.
3646 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3647 templates are all set up.
3649 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3651 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3653 * text.C: fixed an "oops" in the "is a bit silly"
3656 2003-10-21 André Pönitz <poenitz@gmx.net>
3658 * FuncStatus.[Ch]: small stuff, whitespace
3660 * lyxfont.[Ch]: operator<<() for debug reasons
3664 * lyxtext.h: whitespace, spelling
3666 * paragraph.C: naming of variables
3669 * text2.C: small stuff
3672 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3674 * text.C: (1) finish off the inset display() work;
3675 (2) fix the "is a bit silly" bug (accessing char
3678 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3680 * text.C: re-introduce display() for insets, fixing the
3681 various bugs (stretch of line above, math inset
3684 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3686 * text.C (rightMargin): remove spurious semicolon
3688 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3691 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3693 * text3.C: fix one crash due to wrong cursor def
3695 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3697 * vc-backend.C (scanMaster): make the regex static
3699 * LaTeX.C (scanAuxFile): make the regexs static
3701 * text3.C (doInsertInset, dispatch, dispatch):
3702 * text2.C (cursorUp, cursorDown):
3703 * text.C (selectNextWordToSpellcheck):
3704 * BufferView_pimpl.C (dispatch):
3705 * lyxfunc.C (dispatch): localDispatch -> dispatch
3707 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3709 * lyxsocket.C: include <cerrno>
3711 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3713 * lyxfunc.C (dispatch): remove textcache stuff
3715 * bufferlist.C (release): remove textcache stuff
3718 * TextCache.C: delete file
3719 * TextCache.h: delete file
3721 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3723 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3724 delete of the bv_->text.
3725 (resizeCurrentBuffer): remove texcache stuff
3726 (workAreaResize): ditto
3728 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3730 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3733 2003-10-16 André Pönitz <poenitz@gmx.net>
3740 * text3.C: speed up by storing y positions per paragraph plus per-row
3741 offset instead of having a 'full' y position in the row.
3743 2003-10-15 André Pönitz <poenitz@gmx.net>
3747 * undo.[Ch]: make undo aware of inner insets
3749 2003-10-14 Angus Leeming <leeming@lyx.org>
3751 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3752 static member functions LyX::ref() and LyX::cref.
3753 (lastfiles): new accessor functions for the new lastfiles_ member var.
3754 (addLyXView, views_): add a new LyXView to the list of views_.
3755 (updateInset): loop over all LyXViews to call their own updateInset
3756 member function, returning a pointer to the Buffer owning the inset.
3758 * BufferView_pimpl.C (loadLyXFile):
3759 * MenuBackend.C (expandLastfiles):
3760 * bufferlist.C (MenuWrite, QuitLyX):
3761 lastfiles is no longer a global variable.
3762 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3764 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3765 static function. Access through LyX::cref().emergencyCleanup().
3767 2003-10-14 André Pönitz <poenitz@gmx.net>
3769 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3771 * undo.[Ch]: restoring part of 'undo in insets'
3774 * undo_funcs.[Ch]: merge with undo.[Ch]
3776 * tabular.C: small cleansing stuff
3778 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3780 * paragraph_funcs.C (readParToken): report unknown insets as error
3781 boxes. Use the outer paragraph as location (also for unknown
3784 * factory.C (readInset): do not abort on reading an unknown inset.
3785 Eat it and return 0.
3787 2003-10-13 Angus Leeming <leeming@lyx.org>
3789 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3791 * lyxrc.C: displayTranslator is now a function,
3792 declared in GraphicsTypes.h.
3794 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3796 * format.C: new placeholder $$a to pass the socket address.
3798 * bufferlist.[Ch]: new function getBufferFromTmp.
3800 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3801 files in the temporary dir.
3803 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3805 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3807 * Makefile.am: add lyxsocket.[Ch].
3809 * lyx_main.C (error_handler): handle SIGPIPE.
3811 2003-10-13 André Pönitz <poenitz@gmx.net>
3813 * BufferView_pimpl.C:
3818 * undo_funcs.[Ch]: use paroffset_type instead of
3819 ParagraphList::iterators to prevent multiple conversion
3820 (and get a more robust interface)
3822 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3824 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3826 * text3.C (dispatch): ditto
3828 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3830 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3831 move the onlyfile, use onlyfile instead of foundfile in a couple
3834 * DepTable.C (update): flush the error stream a bit more
3836 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3838 * lyxserver.C (callback): adjust
3840 * lyxfunc.C (getStatus): add a missing brace in commented code
3841 (ensureBufferClean): reindent
3842 (dispatch): delete version taking a string
3844 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3846 * LaTeX.C (deplog): move found file handlig from here...
3847 (handleFoundFile): .. to new function here.
3848 (deplog): make sure to discover several files mentioned on the
3851 2003-10-10 André Pönitz <poenitz@gmx.net>
3858 * text3.C: fix some of the tabular crashes
3860 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3862 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3864 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3866 2003-10-09 André Pönitz <poenitz@gmx.net>
3868 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3871 * BufferView_pimpl.C:
3872 * bufferview_funcs.C:
3883 * undo_funcs.C: adjust
3885 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3887 * text2.C (incrementItemDepth): new function, use a backtracking
3888 algorithm to discover the correct item depth.
3889 (resetEnumCounterIfNeeded): new function, use a backtracking
3890 algorithm to discover if counter reset is needed.
3891 (setCounter): use them. Simplify a bit. Add different labels for
3892 different item depths for itemize.
3894 * paragraph.C (Paragraph): remove initialization of enumdepth
3897 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3898 enumerate and itemize. Change the type of itemdepth to signed char.
3900 2003-10-08 André Pönitz <poenitz@gmx.net>
3902 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3907 * tabular.[Ch]: fix crash after 'row-insert'
3909 2003-10-08 Angus Leeming <leeming@lyx.org>
3911 Fix doxygen warnings.
3913 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3914 Remove CutAndPaste:: prefix from header file declaration.
3916 * LColor.h (fill): remove LColor:: prefix from declaration.
3918 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3919 use lyx::depth_type rather than Paragraph::depth_type so that
3920 header file and .C file match.
3922 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3924 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3925 * aspell.C: \file aspell_local.C -> \file aspell.C
3926 * gettext.C: \file gettext.C -> \file src/gettext.C
3927 * gettext.h: \file gettext.h -> \file src/gettext.h
3928 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3929 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3930 * text.C: \file text.C -> \file src/text.C
3932 * toc.C: move comment so that doxygen is not confused.
3934 2003-10-07 Angus Leeming <leeming@lyx.org>
3936 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3938 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3941 * aspell_local.h: add forgotten std::string's.
3943 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3950 * text3.C: The Box patch. Fancybox support, minipage, parbox
3952 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3958 * ParagraphParameters.h:
3968 * lyxtextclasslist.h:
3971 * paragraph_pimpl.C:
3972 * textcursor.h: add <string> and other small fixes to make Lars'
3973 std::string patch compile with STLport.
3975 2003-10-06 Angus Leeming <leeming@lyx.org>
3977 * LColor.h: Add missing #include <string>.
3979 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3981 * All most all file in all subdirs: Make <string> be the prefered
3982 way of getting to std::string, add using declarations.
3984 2003-10-06 André Pönitz <poenitz@gmx.net>
3986 * metricsinfo.C: initialize LyXFont before changing attribute.
3987 (fixes the 'math in \emph is upright' bug)
3989 2003-10-06 André Pönitz <poenitz@gmx.net>
3991 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3993 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3996 * paragraph_pimpl.C: Small fixes to build using STLport
3998 2003-10-02 André Pönitz <poenitz@gmx.net>
4001 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4003 2003-10-01 André Pönitz <poenitz@gmx.net>
4005 * factory.C: assert early
4007 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4009 * lyx_main.C: remove the global debug object
4011 * debug.h: adjust for new debugstream
4013 * debug.C: adjust for new debugstream and keep the global debug
4016 2003-09-22 Angus Leeming <leeming@lyx.org>
4018 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4019 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4020 an incomplete class LyXFont.
4022 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4024 * factory.C: bug fix in branches
4026 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4028 * lyxfunc.C (processKeySym): adjust
4030 (dispatch): change arg name from ev to func, adjust
4031 (sendDispatchMessage): ditto
4033 * lyx_main.C (defaultKeyBindings): adjust keybindings
4034 (deadKeyBindings): ditto
4036 * kbsequence.C (addkey): return a FuncRequest
4038 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4040 * kbmap.C (bind): take a FuncRequest as arg, adjust
4043 (defkey): change to take a FuncRequest as arg, adjust
4044 (findbinding): take a FuncRequest as arg, adjust.
4046 * funcrequest.h (operator=): added
4048 * funcrequest.C (FuncRequest): default kb_action changed from
4049 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4051 * buffer.C (dispatch): simplify
4052 (dispatch): adjust to take a FuncRequest as arg, adjust
4054 * boost.C (assertion_failed): change assertion message slightly
4056 * ToolbarBackend.C (read): simplify
4058 * MenuBackend.C (binding): adjust call to findbinding, add a
4059 message if no binding is found.
4061 (expandToc): correct by adding a empty FuncRequest
4063 * LyXAction.C: include <boost/assert.hpp>
4064 (isPseudoAction): delete function
4065 (LookupFunc): change name to...
4066 (lookupFunc): this. change return type to FuncRequest.
4067 (getActionName): take kb_action as arg, simplify
4068 (funcHasFlag): add an assert, simplify.
4070 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4072 * toc.C (action): return a FuncRequest, simplify
4074 * lyxfunc.C (processKeySym): adjust
4075 (getStatus): delete version that takes an int.
4077 (dispatch): delete version that takes action as int
4079 (sendDispatchMessage): simplify and adjust
4081 * funcrequest.C (getArg): take unsigned int as arg
4083 * ToolbarBackend.C (read): adjust
4084 (add): delete version that takes func as a string.
4085 (getIton): take a FuncRequest as arg
4087 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4090 * MenuBackend.C (MenuItem): add a new construct that only takes a
4091 Kind, simplify the constructor use for submenus.
4093 (expandLastfiles): adjust
4094 (expandDocuments): adjust
4095 (expandFormats): adjust
4096 (expandFloatListInsert): adjust
4097 (expandFloatInsert): adjust
4098 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4100 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4101 Remove class variables lyx_pseudo_map and lyx_arg_map
4103 * LyXAction.C (searchActionArg): delete function
4104 (getPseudoAction): delete function
4105 (retrieveActionArg): delete function
4106 (LookupFunc): make it return kb_action, simplify.
4107 (getActionName): simplify
4109 * factory.C (createInset): fix new bug
4111 2003-09-19 Angus Leeming <leeming@lyx.org>
4113 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4114 masterFilename_ parameter in the include inset.
4116 * factory.C (createInset): changes due to the changes to InsetInclude.
4118 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4120 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4122 2003-09-18 Angus Leeming <leeming@lyx.org>
4125 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4126 Inset::fillWithBibKeys.
4127 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4129 2003-09-18 Angus Leeming <leeming@lyx.org>
4131 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4133 (ctor): pass and store a 'Buffer const &'
4134 (buffer): new member function.
4136 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4137 '*this' to the LaTeXFeatures ctor.
4139 2003-09-18 Angus Leeming <leeming@lyx.org>
4145 * text.C: rename EnumLColor as LColor_color.
4147 2003-09-18 Angus Leeming <leeming@lyx.org>
4149 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4150 remove #include "insets/insetbase.h" from cursor.h.
4152 2003-09-18 Angus Leeming <leeming@lyx.org>
4154 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4155 InsetOld_code to remove #include "inset.h".
4157 * iterators.C: add #include "insets/inset.h"
4159 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4161 * BufferView.C: remove more locking stuff that apparently doesn't
4162 do anything sensible.
4164 2003-09-16 André Pönitz <poenitz@gmx.net>
4167 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4170 2003-09-16 Angus Leeming <leeming@lyx.org>
4172 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4174 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4177 * paragraph.h: remove #include "lyxfont.h". Forward declare
4180 2003-09-16 Angus Leeming <leeming@lyx.org>
4182 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4183 of support/textutils.h.
4184 (isWord): move the contents of support/textutils.h's IsWordChar here.
4190 * text2.C: add #include "paragraph.h".
4193 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4195 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4201 * LaTeX.C: use namespace alias for lyx::support::os
4203 2003-09-16 Angus Leeming <leeming@lyx.org>
4206 * bufferview_funcs.C:
4209 * paragraph_pimpl.C:
4211 * text.C: add #include "LColor.h".
4213 2003-09-16 Angus Leeming <leeming@lyx.org>
4215 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4216 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4218 Store the FontBits::color variable as an int rather than as an
4219 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4222 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4223 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4224 string calls together.
4226 * lyxrc.C: add #include "LColor.h".
4228 2003-09-15 Angus Leeming <leeming@lyx.org>
4230 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4233 2003-09-15 Angus Leeming <leeming@lyx.org>
4235 * LColor.h: add an EnumLColor wrapper for LColor::color.
4237 * lyxfont.[Ch] (color, setColor, realColor):
4238 * lyxtext.h, text.C (backgroundColor):
4239 pass EnumLColor args to/from the functions, rather than LColor::color
4243 * lyxtext.h: forward declare EnumLColor.
4245 * lyx_main.C: add #include "LColor.h".
4247 2003-09-15 Angus Leeming <leeming@lyx.org>
4249 * .cvsignore: add lyx-gtk.
4251 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4256 * ParagraphParameters.C
4260 * bufferview_funcs.C
4270 * vc-backend.C: remove usage of STRCONV
4272 2003-09-15 Angus Leeming <leeming@lyx.org>
4274 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4275 explicitly define the color passed to the painter.
4277 2003-09-15 Angus Leeming <leeming@lyx.org>
4279 * bufferparams.C (BufferParams): reorder member initializers to avoid
4282 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4284 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4285 * text.C (updateRowPositions): remove an unusual nop
4287 2003-09-12 André Pönitz <poenitz@gmx.net>
4289 * BufferView_pimpl.C:
4298 * Counters.[Ch]: finish the 'automatic counters' job
4300 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4302 * aspell.C: include <boost/assert.cpp> (compile fix)
4304 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4306 * boost.C (assertion_failed): use lyx::support::abort instead of
4309 2003-09-10 Angus Leeming <leeming@lyx.org>
4311 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4312 with their _fwd progeny.
4314 2003-09-09 Angus Leeming <leeming@lyx.org>
4316 134 files throughtout the source tree: replace 'using namespace abc;'
4317 directives with the appropriate 'using abc::xyz;' declarations.
4319 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4321 * boost.C (emergencyCleanup): moved here from LAssert.c
4322 (assertion_failed): new function, called by BOOST_ASSERT
4324 * several files: change Assert to BOOST_ASSERT
4326 2003-09-09 Angus Leeming <leeming@lyx.org>
4328 * buffer.[Ch]: Add an Impl class and move Buffer's member
4329 variables into it. As a result move several header files out of
4332 Add header files to lots of .C files all over the tree as a result.
4334 2003-09-09 Angus Leeming <leeming@lyx.org>
4336 * buffer.[Ch]: make Buffer's member variables private. Add
4339 Lots of changes all over the tree as a result.
4341 2003-09-08 Angus Leeming <leeming@lyx.org>
4343 * graph.C: #include <config.h>.
4345 2003-09-08 Angus Leeming <leeming@lyx.org>
4349 * BufferView_pimpl.C:
4378 * toc.C: remove redundant using directives.
4380 2003-09-07 Angus Leeming <leeming@lyx.org>
4382 * LaTeXFeatures.h: remove #include "support/types.h".
4383 * ToolbarBackend.h: remove #include <algorithm>.
4384 * changes.h: remove #include <ctime>.
4385 * debug.h: remove #include <iosfwd>.
4386 * graph.h: remove #include "support/std_string.h".
4387 * lyx_main.h: remove #include <csignal>.
4388 * lyxlex_pimpl.h: remove #include <fstream>.
4389 * sgml.h: remove #include <algorithm>, <utility>.
4390 * toc.h: remove #include "support/std_ostream.h".
4391 Add #include <iosfwd>.
4393 2003-09-07 Angus Leeming <leeming@lyx.org>
4395 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4397 * converter.h: forward declare LatexRunParams.
4398 * encoding.h: remove #include "lyxrc.h".
4399 * lyxtext.h: remove #include "LColor.h".
4400 * lyxtextclass.h: remove #include "support/types.h".
4401 * trans.h: remove #include "tex-accent.h".
4402 * trans_mgr.h: remove #include "tex-accent.h".
4403 * insets/inset.h: remove #include "support/types.h", <vector>.
4404 * insets/insetcollapsable.h: remove #include "LColor.h".
4405 * insets/insetinclude.h: remove #include "dimension.h".
4406 * insets/insetlatexaccent.h: remove #include "dimension.h".
4407 * insets/insetoptarg.h:: remove #include "insettext.h".
4408 * insets/insettext.h: remove #include "dimension.h",
4409 <boost/shared_ptr.hpp>
4411 * insets/renderers.h: add #include "dimension.h".
4412 * insets/updatableinset.h: add #include "support/types.h".
4414 * many .C files: Associated changes.
4416 2003-09-06 Angus Leeming <leeming@lyx.org>
4418 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4419 one, inside testInvariant.
4421 * PrinterParams.C: new file.
4422 * PrinterParams.[Ch]: move the function bodies out of line.
4424 2003-09-06 Angus Leeming <leeming@lyx.org>
4426 * ParagraphParameters.h: forward declare ParameterStruct rather than
4427 including its header file.
4428 (depth): moved out-of-line.
4430 2003-09-06 Angus Leeming <leeming@lyx.org>
4432 * BufferView_pimpl.h:
4435 * lyxfunc.h: forward declare LyXKeySym rather than
4436 #include "frontends/LyXKeySym.h".
4438 * BufferView_pimpl.C:
4441 * lyxfunc.C: associated changes.
4443 2003-09-06 Angus Leeming <leeming@lyx.org>
4445 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4446 As a result, can remove the #include "insets/inset.h" from BufferView.h
4448 2003-09-06 Angus Leeming <leeming@lyx.org>
4450 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4451 As a result, can remove the #include "insets/inset.h" from BufferView.h
4453 2003-09-06 Angus Leeming <leeming@lyx.org>
4459 * bufferview_funcs.C:
4460 * BufferView_pimpl.C:
4465 * ParagraphParameters.C:
4470 * frontends/controllers/ControlDocument.C:
4471 * insets/insetcaption.C: rearrange the #includes into some sort of
4474 * buffer.h: remove #includes ErrorList.h, undo.h
4476 2003-09-06 Angus Leeming <leeming@lyx.org>
4478 * support/types.h: add a 'depth_type' typedef, used to store the
4479 nesting depth of a paragraph.
4482 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4483 defining explicitly.
4486 * paragraph_funcs.h:
4487 * ParagraphParameters.h:
4488 * sgml.h: use lyx::depth_type rather than Paragraph or
4489 ParameterStruct's depth_type.
4492 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4495 * BufferView_pimpl.C:
4497 * ParagraphParameters.C:
4500 * bufferview_funcs.C:
4507 * frontends/LyXView.C:
4508 * frontends/controllers/ControlDocument.C:
4509 * frontends/controllers/ControlErrorList.C:
4510 * insets/insetbibitem.C:
4511 * insets/insetbranch.C:
4512 * insets/insetcaption.C:
4513 * insets/insetcollapsable.C:
4514 * insets/insetenv.C:
4515 * insets/insetert.C:
4516 * insets/insetfloat.C:
4517 * insets/insetfoot.C:
4518 * insets/insetfootlike.C:
4519 * insets/insetnewline.C:
4520 * insets/insetquotes.C:
4521 * insets/insettabular.C:
4522 * insets/insettext.C:
4523 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4525 * frontends/controllers/ControlChanges.C: #include "changes.h".
4527 2003-09-06 Angus Leeming <leeming@lyx.org>
4529 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4530 than #including paragraph.h.
4533 * RowList.h: deleted. Superfluous.
4543 * insets/insettext.h: use ParagraphList_fwd.h rather than
4546 * paragraph.h: don't forward declare ParagraphList.
4549 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4550 rather than ParagraphList.h. paragraph.h is still needed for the
4551 Paragraph::depth_type parameters.
4553 * textcursor.h: enable it to compile stand-alone in light of the
4556 * bufferview_funcs.C:
4568 * frontends/controllers/ControlParagraph.C:
4569 * frontends/controllers/ControlTabular.C:
4570 * insets/insetmarginal.C:
4571 * insets/insetminipage.C:
4572 * insets/insetnote.C:
4573 * insets/insetoptarg.C: add header files needed to compile again.
4575 2003-09-06 Angus Leeming <leeming@lyx.org>
4577 * RowList_fwd.h: new file, forward-declaring Row rather than
4578 #including lyxrow.h.
4583 * insets/insettext.h: use it instead of RowList.h
4585 * bufferview_funcs.C:
4592 * text3.C: #include "RowList.h".
4594 2003-09-05 Angus Leeming <leeming@lyx.org>
4596 * factory.C (createInset):
4597 * vspace.C (c-tor): replace sscanf call with an istringstream.
4598 * ispell.C: re-add missing HP/UX headers.
4599 * lyxserver.C: re-add missing os2 headers.
4601 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4610 * text3.C: re-add missing system headers, needed for 2.95.2.
4612 2003-09-05 Angus Leeming <leeming@lyx.org>
4614 Changes most place everywhere due to the removal of using directives
4615 from support/std_sstream.h.
4617 2003-09-05 Angus Leeming <leeming@lyx.org>
4619 Replace LString.h with support/std_string.h,
4620 Lsstream.h with support/std_sstream.h,
4621 support/LIstream.h with support/std_istream.h,
4622 support/LOstream.h with support/std_ostream.h.
4624 Changes resulting throughout the tree.
4626 2003-09-05 Angus Leeming <leeming@lyx.org>
4628 * sgml.h: ensure that the header file can be compiled stand-alone.
4629 * *.C: strip out redundant #includes. (320 in total.)
4631 2003-09-04 Angus Leeming <leeming@lyx.org>
4633 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4634 here (from getPackages).
4636 * debug.[Ch]: add a new EXTERNAL tag.
4638 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4640 * text2.C (cursorEnd): simplify
4642 (getColumnNearX): adjust
4644 * text.C (computeBidiTables): adjust
4647 * rowpainter.C (paintChars): adjust
4648 (paintSelection): adjust
4649 (paintChangeBar): adjust
4652 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4654 (numberOfSeparators): adjust
4656 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4662 * text3.C: Restricts the mouse click functionality
4663 of insets like bibtex, include, toc and floatlist to the visible
4664 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4665 up the dialogs. Cursor has to be in front of the inset (i.e.
4666 start of row) for this to function.
4668 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4670 * bufferview_funcs.C (currentState): output row information
4672 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4674 * bufferview_funcs.C (currentState): output paragraph position
4676 2003-09-04 Angus Leeming <leeming@lyx.org>
4678 * FloatList.h: move out #include "Floating.h".
4679 * LaTeX.h: move out #include "DepTable.h".
4680 * LyXAction.h: move out #include "funcrequest.h".
4681 * buffer.h: move out #include "author.h", "iterators.h".
4682 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4683 * lyx_main.h: move out #include "errorlist.h".
4684 * lyxfunc.h: move out #include "FuncStatus.h".
4685 * lyxtext: move out #include "lyxcursor.h".
4686 * paragraph_pimpl.h: move out #include "counters.h".
4688 2003-09-03 Angus Leeming <leeming@lyx.org>
4690 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4691 preamble_snippets list, enabling us to add snippets to the preamble
4692 only if the snippet was not there already.
4694 2003-09-04 Angus Leeming <leeming@lyx.org>
4696 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4698 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4700 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4703 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4705 * BranchList.C: point fix, earlier forgotten
4707 2003-09-02 Angus Leeming <leeming@lyx.org>
4709 * box.C (contains): renamed from 'contained' after a fantastic
4712 2003-09-02 John Levon <levon@movementarian.org>
4718 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4720 2003-09-02 John Levon <levon@movementarian.org>
4722 * text2.C: simplification of cursorEnd(), including partial
4725 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4727 * buffer.C (readFile): add a space
4729 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4731 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4733 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4735 * buffer.C (readFile): new function, take a filename and a
4736 ParagraphList::iterator
4738 (readFile): adjust, make it private. don't use setStream, make
4739 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4740 always contain the filename.
4742 * BufferView.C (insertLyXFile): simplify and make it work for
4745 2003-08-30 John Levon <levon@movementarian.org>
4747 * Makefile.am: fix dist (from Kayvan)
4749 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4751 * most files: change to use const Buffer refs
4753 2003-08-27 André Pönitz <poenitz@gmx.net>
4755 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4756 on top of ownerPar().
4758 2003-08-27 John Levon <levon@movementarian.org>
4760 * funcrequest.C: properly initialise POD members
4762 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4764 * lyxtext.h (top_y): move top_y from here
4769 * BufferView_pimpl.[Ch]: to here
4770 * frontends/screen.C:
4771 * insets/insettabular.C:
4772 * insets/insettext.C: adjust
4773 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4775 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4778 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4780 2003-08-26 André Pönitz <poenitz@gmx.net>
4782 * paragraph_func.[Ch] (outerPar): new function
4785 * paragraph_funcs.C:
4786 * paragraph_funcs.h:
4787 * paragraph_pimpl.C:
4788 * text2.C: remove Inset::par_owner
4790 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4795 * text2.C: eliminates the needFullRow/display() stuff
4796 altogether, putting the logic in metrics/draw in the insets.
4798 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4800 * text2.C (redoParagraphInternal, redoParagraphs):
4801 * text.C (redoParagraph): add a call to updateRowPositions at the
4802 end of each 'metrics-like' call. Remove all others.
4803 (getRow): remove the 'y-computing' version.
4804 (getRowNearY): do not compute nor return the real y. Solve the
4805 'y < 0' problem and simplify.
4807 2003-08-22 Angus Leeming <leeming@lyx.org>
4809 * *.[Ch]: clean-up of licence and author blurbs.
4810 Also move config.h out of a few .h files and into a few .C files.
4812 2003-08-22 André Pönitz <poenitz@gmx.net>
4814 * lyxrow.[Ch]: add x_ and *fill_ members
4819 * text2.C: adjust/remove prepareToPrint() calls
4821 2003-08-22 André Pönitz <poenitz@gmx.net>
4823 * lyxrow.[Ch]: add end_ member
4825 * lyxrow_funcs.C: use LyXRow::end_
4827 * lyxtext.h (singleWidth): add LyXFont parameter
4830 * text2.C: adjust LyXText::singleWidth() calls
4832 * text.C (redoParagraph): simplify row breaking logic
4835 2003-08-19 André Pönitz <poenitz@gmx.net>
4837 * funcrequest.C: initialize button_ member
4840 * rowpainter.[Ch]: interface consolidation
4842 2003-08-18 André Pönitz <poenitz@gmx.net>
4845 * BufferView_pimpl.C:
4847 * paragraph_funcs.C:
4849 * text3.C: remove LyXScreen::draw() and fitCursor calls
4851 * BranchList.h: remove spurious semicolons
4853 * MenuBackend.C: fix branchlist related crash
4855 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4863 * bufferparams.[Ch]:
4867 * text3.C: implements the 'branch inset'
4868 idea. This allows the output of various versions of a document
4869 from a single source version, selectively outputing or suppressing
4870 output of parts of the text.
4871 This implementation contains a 'branch list editor' in a separate
4872 tab of the document settings dialog. Branches are user definable
4873 and have a "display colour" to distinguish them on-screen.
4875 ColorHandler was somewhat cleaned up.
4876 (1) make possible a dynamically growing LColor list by allowing
4877 the graphic context cache to grow along (vector);
4878 (2) eliminate an IMHO unnecessary step in colour allocation.
4880 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4882 * BufferView_pimpl.C: compile fix
4884 2003-08-15 André Pönitz <poenitz@gmx.net>
4886 * rowpainter.C: remove extra metrics calls
4888 * lyxtext.h: merge the two constructors into a single one,
4889 pass reference to owner's par list
4891 * BufferView_pimpl.C:
4895 2003-08-15 André Pönitz <poenitz@gmx.net>
4897 * lyxrow_funcs.[Ch]:
4900 * paragraph_funcs.C:
4905 * text_funcs.C: split LyXText::rowlist_ into individual
4906 Paragraph::rows_ chunks
4909 * BufferView_pimpl.[Ch]:
4912 * text3.C: remove toggleSelection()
4914 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4916 * bufferlist.C: beautify two alerts (shorter text of buttons)
4917 * buffer.C: Remove redundant ' ' from message
4919 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4920 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4921 rename VALIGN_CENTER to VALIGN_MIDDLE
4923 2003-08-11 André Pönitz <poenitz@gmx.net>
4925 * lyxtext.h (getPar):
4926 * text.C: new function
4928 2003-08-11 André Pönitz <poenitz@gmx.net>
4931 * tracer.[Ch]: remove unneeded files
4933 * InsetList.[Ch]: remove resizeInsetsLyXText()
4938 * text3.C: merge insertParagraphs() and appendParagraph()
4939 remove breakAgain(), update()
4941 * BufferView_pimpl.[Ch]:
4942 * bufferview_funcs.[Ch]:
4946 * tabular.C: adjust after text & InsetList changes.
4948 2003-08-08 André Pönitz <poenitz@gmx.net>
4950 * text.C (insertChar, backspace): replace rowlist fiddling
4951 with rebreak of full par
4954 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4955 checkParagraph, updateInset): removed
4957 2003-08-07 André Pönitz <poenitz@gmx.net>
4960 * text3.C: merge some LFUN handlers, remove dead code
4962 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4964 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4966 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4968 * text2.C (DEPM): fix part of bug 1255 and 1256
4970 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4972 * BufferView_pimpl.C (workAreaDispatch): change to use
4973 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4974 that are no mouse related.
4976 2003-08-05 André Pönitz <poenitz@gmx.net>
4979 * BufferView_pimpl.[Ch]:
4980 * bufferview_funcs.C:
4982 * text3.C: rip out "deep update"
4984 * textcursor.[Ch] (last_sel_cursor): remove unused member
4986 2003-08-04 André Pönitz <poenitz@gmx.net>
4989 * BufferView_pimpl.[Ch]:
4990 * ParagraphParameters.C:
4991 * bufferview_funcs.C:
4997 * text3.C: replace "complicated" BufferView::update(...) calls with
5000 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5002 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5004 * Makefile.am (lyx_SOURCES): add paper.h
5006 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5008 * Makefile.am: move things around so that both lyx-qt and
5009 lyx-xforms can be built (according to --with-frontend). Then lyx
5010 is a symbolic link to lyx-[firstfrontend]
5012 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5014 * Always use std::endl with lyxerr
5016 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5018 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5020 2003-08-01 André Pönitz <poenitz@gmx.net>
5023 * BufferView_pimpl.[Ch]:
5025 * text3.C: merge BufferView::repaint() and BufferView::update()
5027 2003-08-01 José Matos <jamatos@lyx.org>
5029 * buffer.[Ch]: file_format is no longer a buffer data element.
5031 2003-08-01 André Pönitz <poenitz@gmx.net>
5036 * text2.C: make redoParagraph more independent of current cursor
5038 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5040 * text2.C: remove unneeded members
5042 2003-07-30 André Pönitz <poenitz@gmx.net>
5044 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5046 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5047 create a single function...
5049 * paragraph_funcs.C (moveItem): ... here.
5052 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5054 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5056 * LColor.[Ch]: Add comment and greyedout logical colors.
5058 2003-07-30 André Pönitz <poenitz@gmx.net>
5060 * tabular.C: don't use Assert too heavily. This crashes where it
5063 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5065 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5066 is disabled (bug 1232)
5068 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5070 * factory.C: limited 'arg' scope
5072 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5074 * factory.C: fixed Note submenu issues
5076 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5078 * factory.C: submenu for Note/Comment/Greyedout
5080 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5083 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5085 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5088 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5089 greyedout. Patch provided by Jürgen Spitzmüller.
5091 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5093 * kbmap.C (read): fix error message when reading bind files
5095 2003-07-29 Angus Leeming <leeming@lyx.org>
5097 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5098 certainly does not do what it purports to do. I am doing it, and
5099 us, a favour by killing it.
5101 2003-07-28 José Matos <jamatos@lyx.org>
5103 * buffer.C (readBody, do_writeFile):
5104 * paragraph.C(readParagraph): \end_document replaces \the_end.
5106 2003-07-29 André Pönitz <poenitz@gmx.net>
5109 * BufferView_pimpl.[Ch]:
5113 * textcursor.[Ch]: remove toggleToggle & Co
5115 2003-07-28 José Matos <jamatos@fep.up.pt>
5117 * buffer.C (readParagraph):
5118 * params_func (readParToken, readParagraph):
5119 * paragraph.C (write): \layout -> \begin_layout.
5121 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5123 * lyxlex_pimpl.C (setFile): clean up slightly.
5125 * bufferparams.h: add compressed var
5127 * buffer_funcs.C (readFile): adjust for LyXLex change
5128 (newFile): ditto + simplify
5130 * buffer.C (writeFile): handle writing of compressed files
5132 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5133 Check if the file is compressed and set a bufferparm if so.
5135 * Makefile.am (lyx_LDADD): remove explicit -lz
5137 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5139 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5140 makeDocBookFile): put the real LyX version in the first line of
5144 * version.C.in: remove lyx_docversion
5146 * tabular.C (write_attribute): add a template-based version to
5147 write enums properly
5149 2003-07-28 André Pönitz <poenitz@gmx.net>
5154 * text3.C: use doubles again for x-coordinates. They are needed.
5156 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5158 * messages.C (getLocaleDir): use lyx_localedir()
5160 * lyxlex_pimpl.C (setFile): compress stuff
5162 * buffer.C (writeFile): add some compression stuff
5163 (do_writeFile): new func, dont call expliti close... will this
5166 * Makefile.am (lyx_LDADD): add -lz
5168 2003-07-28 José Matos <jamatos@fep.up.pt>
5170 * buffer.C: increment file format.
5171 * paragraph_funcs (readParagraph, readParToken):
5172 * paragraph.C (readParagraph): add \end_layout.
5174 2003-07-27 Angus Leeming <leeming@lyx.org>
5176 * Makefile.am: remove special casing for configure-time setting of
5177 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5179 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5180 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5182 2003-07-26 André Pönitz <poenitz@gmx.net>
5184 * paragraph_func.[Ch]:
5185 * paragraph.C (realizeFont): inline it whereever it is used
5190 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5193 2003-07-26 André Pönitz <poenitz@gmx.net>
5197 * text2.C: get rid of LyXText::need_break_row
5199 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5201 * toc.[Ch]: put namespace toc inside namespace lyx
5203 * MenuBackend.C (expandToc2): adjust for lyx::toc
5206 * lyxfunc.C (dispatch): adjust for lyx::find
5208 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5209 lyx::find instead. Reorganize a bit.
5210 (LyXReplace): rename to replace
5211 (LyXFind): rename to find
5213 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5216 2003-07-26 André Pönitz <poenitz@gmx.net>
5218 * text.C (setHeightOfRow): restrict scope of temporary variable
5220 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5221 code (never has been used?)
5223 2003-07-27 Asger Alstrup <alstrup@local>
5225 * text.C (fill): Optimise algorithm to exploit that we can reuse
5226 the LyXFont for many characters.
5227 (setHeightOfRow): Same thing.
5228 (rowBreakPoint): Same thing.
5230 2003-07-26 Asger Alstrup <alstrup@local>
5232 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5234 * text.C (singleWidth): Spurious font copying in hot-spot
5235 singleWidth avoided. Reorder tests for arabic for efficiency.
5237 * text.C (fill): handle empty paragraphs better.
5239 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5242 * encoding.h: add includes
5244 * lyxrc.C: remove reading of bind files
5246 * lyx_main.C (init): setup bindings and menus only if we have a
5249 * kbmap.C (read): new method. Do the actual reading of bind
5252 * converter.C (dvipdfm_options):
5255 (output): adapt PAPER_* enums.
5257 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5259 * bufferparams.h: remove paper-related enums from there
5261 * paper.h: New file. A trivial header file to hold paper-related
5262 enums. It should later expand to contain many paper-related
5265 * lyxrc.C: declare extern displayTranslator
5267 2003-07-27 José Matos <jamatos@fep.up.pt>
5269 * tabular.[Ch] (linuxdoc): add support for tables and figures
5272 2003-07-27 José Matos <jamatos@fep.up.pt>
5274 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5275 consistency in both functions.
5276 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5278 2003-07-26 Asger Alstrup <alstrup@local>
5280 * rowpainter.C (paintRows): Change algorithm to work directly on
5281 the insets rather than asking every character in the document
5282 whether its an inset.
5284 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5286 * buffer.C (openFileWrite): factorize some code
5288 2003-07-26 Angus Leeming <leeming@lyx.org>
5291 * lyx_main.[Ch]: replace occurances of system_tempdir with
5294 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5296 * rename Inset to InsetOld
5298 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5300 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5301 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5302 which I think is a bit clearer. EDIT is gone, since it was
5303 premature optimisation, and broken for mathed anyway.
5304 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5305 with cursor positioning in insets as well (math insets still do not
5306 work, but that's a different story anyway.) It mysteriously
5307 crashes sometimes with undo in the first paragraph, but I'm fairly
5308 confident that this is a compiler bug.
5310 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5312 * paragraph.C (Paragraph): adjust for new clone return type
5314 (copyIntoMinibuffer): ditto
5316 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5318 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5319 by not having a special case, and always doing a full rebreak of
5320 the document after undo.
5322 2003-07-23 Angus Leeming <leeming@lyx.org>
5324 * factory.C (createInset): InsetExternal::setParams now takes a
5327 2003-07-23 Angus Leeming <leeming@lyx.org>
5329 * factory.C (createInset): changed interface to the external and
5330 graphics mailers' string2params functions.
5332 2003-07-23 Angus Leeming <leeming@lyx.org>
5334 * factory.C (createInset): pass a
5335 Buffer const * parameter to InsetExternalMailer's string2params.
5337 2003-07-22 John Levon <levon@movementarian.org>
5339 * Thesaurus.h: include the right aiksaurus header
5341 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5343 * MenuBackend.C (expand): check menu shortcuts unconditionally
5345 2003-07-21 Angus Leeming <leeming@lyx.org>
5347 * factory.C (createInset): pass a
5348 buffer_path parameter to InsetGraphicsMailer's string2params.
5350 2003-07-21 Angus Leeming <leeming@lyx.org>
5352 * BufferView_pimpl.C (buffer):
5355 * lyxfunc.C (dispatch):
5356 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5357 rather than the grfx shortcut.
5359 2003-07-21 André Pönitz <poenitz@gmx.net>
5361 * rowpainter.C: remove unused variables
5364 * tabular_funcs.h: move to tabular.C
5365 * Makefile.am: adjust
5367 * tabular.[Ch]: basic optical cleaning
5369 * author.h: pass references, not values
5371 2003-07-18 André Pönitz <poenitz@gmx.net>
5379 * text3.C: two-phase drawing for InsetText and InsetTabular
5380 some float -> int changes.
5382 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5384 * lyx_main.C: fix the fix
5386 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5388 * lyx_main.C: fix a crash in batch mode if no files specified
5391 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5393 * format.[Ch] (papersize): moved to BufferParams
5394 * converter.[Ch] (dvips_options): moved to BufferParams
5395 (dvipdfm_options): moved to anon namespace
5396 * bufferparams.[Ch]: added above functions.
5398 2003-07-17 André Pönitz <poenitz@gmx.net>
5402 * text2.C: don't call inset->update() anymore
5404 * metricsinfo.[Ch]: add convenience constructor
5406 2003-07-16 André Pönitz <poenitz@gmx.net>
5411 * text2.C: replace the LyXCursor::irow_ member with
5412 on-demand computation of the value
5414 2003-07-16 John Levon <levon@movementarian.org>
5416 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5418 2003-07-15 André Pönitz <poenitz@gmx.net>
5421 * text2.C: remove no more needed refresh_row
5423 2003-07-15 André Pönitz <poenitz@gmx.net>
5428 * text3.C: refresh_status tristate -> need_update bool
5430 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5432 * lyxtext.h (init): remove reinit argument (act as if always true)
5433 * text2.C: adjust to that
5435 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5437 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5438 * text3.C: use it to delete selections in some cases
5439 (bugs 441, 673, 702, 954).
5441 2003-07-14 André Pönitz <poenitz@gmx.net>
5443 * rowpainter.[Ch]: reduce interface
5445 2003-07-14 André Pönitz <poenitz@gmx.net>
5447 * BufferView_pimpl.C:
5448 * text2.C: adjust after removing unused BufferView * argument
5450 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5452 * text2.C (init): fix a crash fired on resize
5454 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5456 * buffer.[Ch]: added new closing signal
5457 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5458 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5459 BufferView::Pimpl via the closing the signal
5461 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5463 * buffer.[Ch]: take out all bv-related from buffer
5465 * BufferView_pimpl.[Ch]: connect to new signals
5466 * CutAndPaste.C: removed useless asserts
5467 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5470 * lyxfunc.C: moved view-related funciontality from vc here
5471 * paragraph.C: removed outdated comments
5474 2003-07-10 André Pönitz <poenitz@gmx.net>
5476 * BufferView_pimpl.C:
5480 * text2.C: remove InsetText::InnerCache, clean up consequences
5482 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5484 * ispell.C: fix two typos in error messages
5486 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5488 * Extend Note inset to other forms of annotation like Comment
5489 and Greyedout. Right button click gives dialog.
5491 Files modified or added (+):
5495 * ControlNote.[Ch] +
5497 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5498 frontends/controllers
5502 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5504 * aspell.C: add missing namespace lyx::support
5506 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5508 * BufferView.[Ch] (newFile): Add
5509 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5510 * LaTeX.[Ch] (message): added this signal and use it
5511 * buffer.[Ch] (busy, message): added these signals and use them
5512 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5516 * importer.C: use buffer signals instead of direct bv calling
5517 * lyx_cb.[Ch] (ShowMessage): removed
5520 * paragraph_funcs.C:
5521 * text2.C: use buffer signals
5523 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5525 * introduce namespace lyx::graphics
5527 2003-07-02 André Pönitz <poenitz@gmx.net>
5529 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5531 2003-07-01 André Pönitz <poenitz@gmx.net>
5538 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5539 text*.C to text_func.C
5541 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5543 * introduce namespace lyx::support
5545 2003-06-30 André Pönitz <poenitz@gmx.net>
5550 * text.C: re-enable --with-included-string
5552 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5554 * textcursor.C: add <config.h>
5556 * text.C (getWord): remove const from word_location arg
5558 * lyxvc.C (getLogFile): fix const type order
5560 * lyxtext.h: remove const from word_location arg, add arg name
5562 * lyxlayout.h: currect type on labeltype.
5564 * importer.C: correct \file
5566 * converter.C (intToFormat): use std:: on ret val, ws changes
5568 * bufferlist.h: correct \file
5570 * buffer.C (makeLinuxDocFile): fix const type order
5571 (makeDocBookFile): ditto
5572 (fillWithBibKeys): use std:: on stdlib args.
5574 * CutAndPaste.C: fix authors.
5575 (availableSelections): use std:: on return vector
5577 2003-06-27 André Pönitz <poenitz@gmx.net>
5579 * BufferView_pimpl.C:
5580 * bufferview_funcs.C:
5588 * text3.C: remove LyXCursor::row_ member
5591 * text.C: rename fullRebreak() to partialRebreak() and implement
5592 a fullRebreak() that really bereks fully
5594 * textcursor.h: new struct for cursor-related data
5596 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5598 * lyx_main.C (LyX): get full path of document loaded on the
5601 2003-06-26 André Pönitz <poenitz@gmx.net>
5603 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5604 remove unused/broken operator>,<,>=.
5606 * text.C: remove only use of broken operator<= in an Assert().
5608 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5610 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5611 moved errorlist_.clear to showErrorList
5613 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5615 * converter.C (scanLog, runLaTeX):
5616 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5617 move the bv->showErrorList call to the callers
5618 * lyxfunc.C: i.e. here...
5620 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5621 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5622 namespace, the second to...
5623 * buffer_funcs (BufferFormat, parseErrors): added
5624 * errorlist.C (ErrorList(TeXErrors const &)): removed
5626 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5628 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5630 2003-06-24 "Garst R. Reese" <reese@isn.net>
5634 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5636 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5638 * version.C.in: change docversion to 1.4
5640 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5642 * buffer.C: fix a bug just introduced
5644 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5646 * buffer.[Ch]: added the parseError signal and use it, removed
5648 * BufferView.[Ch] (addError): moved to ...
5649 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5650 to the Buffer::parseError signal to catch (guess what) parse errors
5651 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5653 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5655 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5656 ability to create a buffer and to return an existing one from
5657 the list. Moved these functions to...
5658 * buffer_funcs.[Ch]: added
5659 * BufferView.[Ch] (loadLyXFile): added
5660 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5661 job removed from bufferlist::loadLyXFile.
5662 * buffer.C (setReadOnly): make it work without view
5663 (i.e added an if (users))
5665 2003-06-19 Angus Leeming <leeming@lyx.org>
5668 * LyXAction.C (init):
5669 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5670 with LFUN_DIALOG_SHOW <name> <data>.
5672 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5674 * CutAndPaste.C (availableSelections): small compilation fix for
5675 ancient (gcc 2.9x) compilers
5677 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5679 * text3.C (cursorNext): add tmp var
5681 * text2.C (updateCounters): for function calling out of for clause
5682 (replaceSelectionWithString): ditto
5683 (insertStringAsParagraphs): ditto
5684 (getColumnNearX): add tmp var
5685 (setCursorFromCoordinates): add tmp var
5686 (cursorDownParagraph): add tmp var
5687 (deleteEmptyParagraphMechanism): add tmp var
5689 * text.C (insertChar): add tmp var
5691 * rowpainter.C (paintDepthBar): add tmp var
5693 * CutAndPaste.C (availableSelections): potentially check all
5694 paragraphs in a cut to fill the shown strings.
5696 2003-06-18 André Pönitz <poenitz@gmx.net>
5698 * kbmap.[Ch]: use vector<> instead of list<>
5700 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5702 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5703 pasteSelection with index
5705 * text2.C (pasteSelection): modify, call pasteSelection with index
5707 * paragraph.C (asString): reimplement version with no interval to
5708 call the one with interval.
5710 * lyxtext.h: add index arg to pasteSelection
5712 * MenuBackend.C (MenuItem): handle PasteRecent
5713 (Menu::read::Menutags): add md_pasterecent
5715 (expandPasteRecent): new function
5718 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5720 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5722 (availableSelections): new function
5724 2003-06-17 Angus Leeming <leeming@lyx.org>
5726 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5728 2003-06-17 Angus Leeming <leeming@lyx.org>
5731 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5733 * lyxfunc.C (dispatch): invoke it.
5735 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5737 * iterators.C (operator++, ParPosition): reintroduce some
5738 const_cast for the benefit of older compilers.
5740 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5742 * text3.C (dispatch): do not modify clipboard when doing
5743 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5744 LFUN_DELETE_SKIP on a selection selection
5746 2003-06-16 André Pönitz <poenitz@gmx.net>
5752 * tabular.[Ch]: IU of clone() and getLabelList();
5754 2003-06-13 André Pönitz <poenitz@gmx.net>
5756 * tabular.h: compactification
5758 2003-06-12 André Pönitz <poenitz@gmx.net>
5762 * tabular_funcs.h: some renaming plus whitespace
5764 2003-06-12 André Pönitz <poenitz@gmx.net>
5767 * BufferView_pimpl.C:
5773 * toc.C: Return a Paragraph & for ParIterator::operator*()
5775 2003-06-11 John Levon <levon@movementarian.org>
5779 * ToolbarBackend.C: add "Toolbars" section and
5782 2003-06-10 Angus Leeming <leeming@lyx.org>
5785 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5787 * lyxfunc.C (dispatch): invoke it.
5789 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5791 * main.C: protect <ios> with HAVE_IOS
5792 (main): protect sync_with_stdio with HAVE_IOS
5794 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5796 * text2.C (cutSelection): adjust
5797 (pasteSelection): adjust
5799 * messages.C: handle get of empty string
5801 * main.C (main): use sync_with_stdio(false)
5803 * lyxfunc.C (dispatch): adjust
5805 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5806 (WriteAs): remove unneeded BufferView arg.
5808 * bufferparams.h: use correct types on papersize, papersize2 and
5811 * bufferparams.C (readToken): adjust for type
5812 (writeLaTeX): add missing cases to switch.
5814 * bufferlist.C (quitWriteBuffer): adjust
5817 * buffer.C (asciiParagraph): remove some commented code.
5819 * CutAndPaste.C: remove current_view extern variable.
5820 (cutSelection): add BufferParams arg.
5821 (eraseSelection): add BufferParams arg.
5822 (pasteSelection): add Buffer const & arg
5824 2003-06-07 John Levon <levon@movementarian.org>
5827 * paragraph_funcs.C:
5828 * paragraph_pimpl.C:
5832 * paragraph.C: allow InsetERT to freely space lines,
5833 and some consolidation of code
5835 2003-06-06 José Matos <jamatos@fep.up.pt>
5837 * buffer.C (makeDocBookFile): fix bug #821
5839 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5841 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5843 2003-06-04 Angus Leeming <leeming@lyx.org>
5845 * buffer.C: bump format to 224.
5847 2003-06-05 André Pönitz <poenitz@gmx.net>
5849 * text2.C (redoParagraphs): remove two const_cast<>
5851 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5853 * ParagraphList.h: remove last remnants of NO_STD_LIST
5855 2003-06-03 Angus Leeming <leeming@lyx.org>
5857 * factory.C (createInset): small change to the way InsetExternal's params
5860 2003-06-04 André Pönitz <poenitz@gmx.net>
5862 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5864 * paragraph_pimpl.h:
5865 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5867 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5869 * undo_funcs.C: make some simple cases of undo work again
5871 2003-06-03 John Levon <levon@movementarian.org>
5873 * ispell.C: HPUX doesn't have sys/select.h
5876 2003-06-03 John Levon <levon@movementarian.org>
5878 * CutAndPaste.C: update tabular and include inset
5883 * paragraph.C: remove owningBuffer(), don't pass Buffer
5886 * factory.C: insetGraphicsParams changed
5888 2003-06-02 John Levon <levon@movementarian.org>
5894 * text3.C: remove insetparent
5896 2003-06-02 John Levon <levon@movementarian.org>
5899 * buffer.C: fix inset_iterator.end(), move out of line
5902 2003-06-01 John Levon <levon@movementarian.org>
5904 * text3.C: use a proper cut/paste when doing inset
5905 insert (from Jürgen Spitzmüller)
5907 2003-06-01 John Levon <levon@movementarian.org>
5909 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5911 2003-05-30 André Pönitz <poenitz@gmx.net>
5913 * rowpainter.C: unify second drawing phase
5915 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5917 * trans_mgr.C: remove one case of current_view
5919 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5921 * paragraph_funcs.h: remove paragraph.h include
5923 * paragraph.h: delete NO_STD_LIST stuff
5925 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5927 * buffer.h: remove paragraph.h include
5929 * ParagraphList.C: delete file
5931 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5933 * toc.C (getTocList): adjust
5935 * paragraph_pimpl.C (validate): adjust
5937 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5939 * paragraph.C (Paragraph): adjust
5940 (getPositionOfInset): use const_iterator, adjust
5941 (bibitem): use const_iterator, adjust
5942 (setInsetOwner): adjust
5944 * iterators.C (operator++): adjust
5946 * InsetList.[Ch]: Replace selfmade iterator with standard
5947 vector::iterator also introduce const_iterator. Remove getPos,
5948 getInset and setInset from InsetTable. Adjust accordingly.
5950 * BufferView.C (lockInset): adjust
5951 (ChangeInsets): adjust
5953 * tabular.[Ch]: delete commented same_id functions
5955 2003-05-28 John Levon <levon@movementarian.org>
5957 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5959 2003-05-28 André Pönitz <poenitz@gmx.net>
5961 * metricsinfo.[Ch]: remove 'fullredraw' member
5963 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5965 * lyxtextclass.C (operator): remove caching.
5967 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5971 * text2.C (cursorBottom): adjust
5972 (setCounter): use ParagraphList::find, adjust
5974 * text.C (workWidth): use ParagraphList::find, adjust
5976 * lyxcursor.C (LyXCursor): adjust
5978 * buffer.C (inset_iterator): adjust
5980 * ParagraphList.h: make iterator(value_type) private, make
5981 ParagraphList a friend of iterator.
5983 * ParagraphList.C (find): new function
5985 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5987 2003-05-27 André Pönitz <poenitz@gmx.net>
5989 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5991 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5993 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5995 2003-05-26 John Levon <levon@movementarian.org>
5997 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5999 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6001 * remove same_id from function signatures, adjust.
6003 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6005 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6007 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6009 * paragraph.C (Paragraph): get rid of same_ids parameter
6011 * ParagraphList.C (insert): adjust
6014 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6016 * paragraph_funcs.C (breakParagraph): adjust
6017 (breakParagraphConservative): adjust
6019 * buffer.C (readParagraph): adjust
6021 * ParagraphList.C (insert): take a reference instead of a pointer
6024 * paragraph.[Ch] (id): new function
6026 * bufferlist.C (newFile): adjust
6028 * ParagraphList.C (ParagraphList): adjust
6030 (push_back): take a reference instead of a pointer.
6032 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6034 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6037 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6038 set else use old code.
6040 * ParagraphList.C: remove all NO_NEXT code and only compile this
6041 code of NO_STD_LIST is set.
6043 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6045 * BufferView_pimpl.C:
6055 * graphics/GraphicsConverter.C:
6056 * graphics/PreviewLoader.C: header adjustment
6058 2003-05-23 Angus Leeming <leeming@lyx.org>
6060 * LaTeXFeatures.[Ch] (useBabel): new method.
6061 * bufferparams.C (writeLaTeX): use it.
6063 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6065 * ParagraphList.h (set): remove unused function.
6067 2003-05-23 André Pönitz <poenitz@gmx.net>
6070 * BufferView_pimpl.C:
6074 * undo_funcs.C: setUndo reworked
6076 * iterators.[Ch]: add access to topmost ParagraphList
6078 * lyxtext.[Ch] (workWidth): add a const
6080 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6082 * texrow.[Ch] (increasePos): remove function
6083 * exporter.C (export): removed unused var and outdated comment
6085 2003-05-23 Angus Leeming <leeming@lyx.org>
6087 * latexrunparams.h: rename fragile as moving_arg.
6088 * paragraph.C (simpleTeXOnePar): ditto.
6089 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6091 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6093 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6095 (textUndoOrRedo): comment out a currently unused var.
6097 * paragraph.h (NO_NEXT): enable NO_NEXT
6099 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6101 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6103 * exporter.C (Export): adjust for removeAutoInsets removal.
6105 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6107 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6109 * BufferView.[Ch] (removeAutoInsets): delete function
6111 2003-05-22 Angus Leeming <leeming@lyx.org>
6113 * latexrunparams.h: add a free_spacing variable.
6115 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6116 to pass moving_arg, as the data is stored in runparams.fragile.
6118 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6119 to Inset::latexOptional or to simpleTeXOnePar.
6121 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6122 free_spacing arg to Inset::latexOptional.
6124 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6127 2003-05-22 Angus Leeming <leeming@lyx.org>
6129 * latexrunparams.h: add fragile and use_babel variables.
6131 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6132 * buffer.C (makeLaTeXFile): store this returned value in
6133 runparams.use_babel, thus passing it to the inset::latex methods.
6135 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6136 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6138 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6139 longer has a fragile arg, as it is stored in runparams.fragile.
6141 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6142 moving_arg parameter as the data is stored in runparams.fragile.
6144 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6145 a fragile parameter as the data is stored in runparams.fragile.
6147 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6149 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6151 2003-05-22 Angus Leeming <leeming@lyx.org>
6153 * latexrunparams.h: add a 'bool nice' which defaults to false.
6155 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6156 now encapsulated within runparams.
6158 * bufferlist.C (updateIncludedTeXfiles):
6159 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6161 2003-05-22 Angus Leeming <leeming@lyx.org>
6163 * latexrunparams.h: new file containing struct LatexRunParams.
6164 * Makefile.am: add new file.
6166 * LaTeX.[Ch] (c-tor, run):
6167 * buffer.[Ch] (makeLaTeXFile):
6168 * bufferlist.[Ch] (updateIncludedTeXfiles):
6169 * converter.C (convert, scanLog):
6170 * converter.[Ch] (runLaTeX):
6171 * exporter.C (Export):
6172 * paragraph.[Ch] (simpleTeXOnePar):
6173 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6174 * paragraph_funcs.[Ch] (latexParagraphs):
6175 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6176 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6177 pass around a LatexRunParams parameter.
6179 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6181 * paragraph.[Ch]: remove unused constructor
6183 * ParagraphList.C (erase): new function, taking two iterators
6185 2003-05-22 André Pönitz <poenitz@gmx.net>
6187 * undo_funcs.C: remove duplicated code
6189 * iterator.[Ch]: operator=
6191 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6193 * tabular.C (SetMultiColumn): ws changes
6195 * rowpainter.C (paintFirst): get rid of a ->previous
6197 * lyx_cb.C (getPossibleLabel): parlist simplification
6199 * BufferView.C (ChangeInsets): simplify slightly.
6201 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6203 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6204 * lfuns.h: new LFUN_SPACE
6205 * lyxfunc.C: protected space has a new lfun
6206 * paragraph_funcs.C: read new space insets
6208 * factory.C: handle new space insets
6210 2003-05-22 André Pönitz <poenitz@gmx.net>
6213 * BufferView_pimpl.C:
6216 * undo_funcs.C: return a ParIterator from getParFromID.
6218 * iterators.[Ch]: add two const's
6220 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6222 * toc.C (getTocList): adjust
6224 * iterators.[Ch]: rework for parlist
6226 * buffer.C (par_iterator_begin): adjust
6227 (par_iterator_end): adjust
6229 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6231 * BufferView.C (removeAutoInsets): adjust
6232 (ChangeInsets): adjust
6234 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6236 * text.C (top_y): fix bug 1110
6238 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6240 * errorlist.[Ch]: added
6243 * BufferView_pimpl.C:
6244 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6247 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6249 * Makefile.am: ensure that lyx is relinked upon changes to the
6250 various "convenience" libs.
6252 2003-05-20 Angus Leeming <leeming@lyx.org>
6254 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6255 files are compiled in alphabetical order again.
6257 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6259 2003-05-19 Angus Leeming <leeming@lyx.org>
6261 * gettext.[Ch]: remove "char const * _(char const *)".
6263 2003-05-19 André Pönitz <poenitz@gmx.net>
6265 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6274 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6276 2003-05-19 André Pönitz <poenitz@gmx.net>
6280 * lyxtextclass.[Ch]:
6282 * paragraph_funcs.[Ch]:
6284 * text3.C: more insetenv work
6286 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6288 * ParagraphParameters.C (params2string): small bug fixed
6290 2003-05-16 André Pönitz <poenitz@gmx.net>
6293 * bufferview_funcs.C: patch from Kornel Benko to prevent
6294 crash when _(...) is called twice in a statement
6296 2003-05-16 André Pönitz <poenitz@gmx.net>
6303 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6305 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6307 * lyx_main.C (init): remove spurious static_cast
6309 2003-05-14 André Pönitz <poenitz@gmx.net>
6311 * BufferView.C: fix format string
6313 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6315 * BufferView.[Ch] (insertErrors): removed
6316 * BufferView.[Ch] (showErrorList): added
6317 * buffer.C (runChkTeX):
6318 * converter.C (scanLog): call showErrorList instead of inserterrors
6320 2003-05-13 André Pönitz <poenitz@gmx.net>
6322 * BufferView_pimpl.C:
6324 * bufferview_func.C:
6331 * tabular_funcs.h: tostr() from its own header
6333 * ParagraphParameters.C:
6338 * text3.C: STRCONV()
6340 2003-05-12 André Pönitz <poenitz@gmx.net>
6343 * BufferView_pimpl.C:
6347 * ParagraphParameters.C:
6351 * bufferview_funcs.C:
6364 * paragraph_funcs.C:
6368 * text3.C: boost::format -> bformat all over the place
6371 2003-05-09 André Pönitz <poenitz@gmx.net>
6373 * LColor.[Ch]: Pimpl the #include <map> away
6375 2003-05-09 John Levon <levon@movementarian.org>
6377 * bufferlist.C: never remove emergency saves
6379 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6381 * Makefile.am: better lib building
6383 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6385 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6387 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6388 (simpleTeXSpecialChars): adjust
6389 (simpleTeXSpecialChars): adjust
6390 * paragraph.C (simpleTeXOnePar): adjust
6391 * buffer.C (makeLaTeXFile): adjust
6393 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6395 * text2.C (changeDepth): parlist cleanup
6396 (getColumnNearX): ditto
6398 * rowpainter.C (getLabelFont): parlist cleanup
6400 * bufferlist.C (newFile): parlist cleanup
6402 * CutAndPaste.C (eraseSelection): parlist cleanup
6404 * BufferView_pimpl.C (trackChanges): parlist cleanup
6407 * BufferView.C (lockInset): parlist cleanup.
6408 (ChangeInsets): ditto
6410 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6412 * CutAndPaste.h: Update file header.
6414 * CutAndPaste.C: Update file header.
6415 Store the parts cut out of the Document in a limited_stack.
6416 (copySelection): adjust
6417 (pasteSelection): new function, takes the index in the limited stack.
6418 (nrOfParagraphs): adjust
6419 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6420 simplify error inset insertion.
6421 (checkPastePossible): adjust
6423 2003-05-06 John Levon <levon@movementarian.org>
6425 * text2.C: don't cast wrap inset to float
6427 2003-05-05 André Pönitz <poenitz@gmx.net>
6430 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6432 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6433 few naked Paragraph *.
6435 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6437 * bufferparams.C: Output warning if a document with missing
6438 TeX document class is loaded
6439 * exporter.C: Disable TeX exports if the document class is missing
6442 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6443 isTeXClassAvailable()
6445 2003-05-03 John Levon <levon@movementarian.org>
6448 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6449 explicit cursor show/hide
6451 * BufferView_pimpl.h:
6452 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6453 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6455 * lyxfunc.C: hide cursor before dispatching.
6460 * text3.C: remove explicit cursor hides
6462 2003-05-02 André Pönitz <poenitz@gmx.net>
6464 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6467 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6470 * text2.C: tiny whitespace
6472 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6474 * undo_funcs.C: almost only ws changes.
6476 * ParagraphList.C (splice): just return if pl is empty.
6478 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6480 * ParagraphList.C (splice): new function.
6482 * CutAndPaste.C (pasteSelection): use it
6484 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6486 * CutAndPaste.C (pasteSelection): remove the last next and
6487 previous from this file.
6489 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6491 * CutAndPaste.C (pasteSelection): more clean up, user proper
6492 ParagraphList functions for pasteing.
6494 * ParagraphList.C (insert): new function, three arg insert
6496 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6498 * ParagraphList.C (insert): new function, three arg insert
6500 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6503 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6505 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6507 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6509 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6511 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6513 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6514 (copySelection): clean up a bit.
6515 (pasteSelection): use make_pair
6517 * ParagraphList.C (ParagraphList): implement copy constructor
6518 (operator=): implement, base on copy constructor.
6521 * paragraph.C (erase): return a bool
6523 * paragraph_pimpl.C (erasePos): remove function, move contents...
6524 (erase): ... here. Return a bool.
6525 (erase): call erase instead of erasePos.
6527 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6529 * ParagraphList.h: define PitPosPair
6530 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6531 ParagraphList, fix a bug on pasting multiple pars
6532 * text2.C: change interface to C&P
6534 2003-04-30 André Pönitz <poenitz@gmx.net>
6536 * undo_func.C: revert part of yesterday's patch 2
6538 2003-04-30 John Levon <levon@movementarian.org>
6540 * LColor.C: s/tabular/table/
6542 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6544 * text3.C (dispatch): do not convert iterator -> pointer
6545 * undo_funcs.C (setCursorParUndo): ditto
6546 * text_funcs.C (transposeChars): ditto
6548 * text2.C (setLayout): ws changes only
6550 * text.C (breakParagraph): do not convert iterator -> pointer
6552 (acceptChange): ditto
6553 (rejectChange): ditto
6558 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6561 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6563 * text3.C (gotoInset): YABG (yet another bad getChar)
6565 2003-04-29 André Pönitz <poenitz@gmx.net>
6567 * paragraph.h: make operator= private unimplemented as long as
6570 * ParagraphList.C: whitespace
6573 * paragraph_pimpl.[Ch]:
6574 * paragraph_funcs.C:
6576 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6579 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6581 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6583 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6584 * paragraph.[Ch] (erase):
6585 * paragraph_pimpl.[Ch] (erase): change return type and value
6586 * text2.C (cutSelection): some rework
6588 2003-04-28 John Levon <levon@movementarian.org>
6590 * bufferlist.C: changes for unsaved changes dialog
6592 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6594 * bufferlist.C (newFile): set language (messages_) for new
6597 * buffer.C (readFile): ws changes only.
6599 2003-04-28 André Pönitz <poenitz@gmx.net>
6604 * BufferView_pimpl.C:
6605 * BufferView.C: getParFromID related ParagraphList::iterator changes
6607 2003-04-28 André Pönitz <poenitz@gmx.net>
6609 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6612 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6614 * messages.C: remove one more localedir class variable.
6616 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6618 * messages.C (getLocaleDir): singleton generation function
6620 (Messages): add a default constructor.
6622 * main.C (main): do not setup localedir here, do not call
6625 * gettext.C (_): use it.
6626 (gettext_init): delete funciton
6628 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6630 * gettext.C (getLyXMessages): new singleton generating function.
6632 * buffer.C (updateDocLang): adjust
6634 * Makefile.am (messages.o): add target
6635 (main.o): remove target
6637 2003-04-27 John Levon <levon@movementarian.org>
6642 * lyxvc.C: specify cancel button in Alert::prompt
6644 2003-04-26 John Levon <levon@movementarian.org>
6649 * LyXAction.C: add LFUN_INSET_SETTINGS
6651 * lyxfunc.C: don't enable tabular-feature when there's
6652 just any locking inset
6654 2003-04-26 John Levon <levon@movementarian.org>
6656 * bufferlist.C: re-add Cancel to buffer close question
6658 * lyxfunc.C: fix import UI a bit
6660 2003-04-25 John Levon <levon@movementarian.org>
6662 * gettext.C: remove the broken asserts for now
6664 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6666 * messages.C: make case where setlocale cannot comply work better.
6668 * buffer.C (updateDocLang): new function
6669 (changeLanguage): use it
6672 * text2.C (setCounter): use B_ a bit.
6674 * lyxlayout.C (Read): be sure to trim the label strings.
6676 * messages.C (Messages): fix typo in comment
6678 * buffer.C (readFile): set message_ after file is loaded.
6679 (makeDocBookFile): remove double return
6680 (changeLanguage): reset message_ upon language change.
6681 (B_): new func, use this to get translated buffer strings.
6683 * main.C: add myself and Jean Marc as authors.
6685 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6687 * messages.[hC]: pimplify Messages, and three different pimpls to be
6688 used in different circumstances.
6690 * gettext.[Ch]: change for use with new message code.
6692 2003-04-24 André Pönitz <poenitz@gmx.net>
6694 * factory.C: support for eqref
6696 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6698 * messages.[Ch]: add missing char
6700 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6702 * messages.[Ch]: New files
6704 2003-04-18 John Levon <levon@movementarian.org>
6708 * BufferView_pimpl.C:
6712 * text2.C: remove layout-copy/paste (bug 778)
6714 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6716 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6718 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6720 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6721 if they succeed. Act accordingly.
6723 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6725 * text2.C (setCharFont): adjust
6726 (setCounter): adjust
6727 (insertStringAsLines): adjust
6729 * text.C (leftMargin): adjust
6730 (setHeightOfRow): adjust
6732 * rowpainter.C (paintFirst): adjust
6735 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6737 (isFirstInSequence): ditto
6738 (getEndLabel): ditto
6741 * paragraph.C (getParLanguage): comment out some hard stuff.
6743 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6745 (simpleDocBookOnePar): ditto
6746 (makeDocBookFile): use ParagraphList::iterator
6748 * CutAndPaste.C (pasteSelection): adjust
6750 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6752 * text2.C (getFont): adjust
6753 (getLayoutFont): adjust
6754 (getLabelFont): adjust
6756 * paragraph_funcs.C (TeXOnePar): adjust
6758 * buffer.C (simpleLinuxDocOnePar): adjust
6759 (simpleDocBookOnePar): adjust
6761 * CutAndPaste.C (pasteSelection): adjust
6763 * BufferView.C (getEncoding): adjust
6765 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6767 2003-04-16 John Levon <levon@movementarian.org>
6769 * lyxfind.C: use parlist stuff for search/changes
6771 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6773 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6775 * text2.C (deleteEmptyParagraphMechanism): adjust
6777 * text2.[Ch] (ownerParagraph): delete func (both of them
6779 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6781 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6783 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6785 * ParagraphList.C: prepare for NO_NEXT
6787 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6789 * text2.C (getFont): adjust
6790 (getLayoutFont): adjust
6791 (getLabelFont): adjust
6793 * paragraph.C (getFont): adjust
6794 (getLabelFont): adjust
6795 (getLayoutFont): adjust
6797 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6799 2003-04-15 John Levon <levon@movementarian.org>
6803 * lyx_main.C: handle Include in .ui files
6805 2003-04-15 John Levon <levon@movementarian.org>
6807 * MenuBackend.C: make the doc files length shorter
6810 * ToolbarBackend.C: handle toolbar placement flags,
6813 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6815 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6818 * paragraph_funcs.C (TeXOnePar): adjust
6820 * paragraph.C (getLabelFont): add outerfont arg, adjust
6821 (getLayoutFont): ditto
6822 (simpleTeXOnePar): adjust
6824 * paragraph_pimpl.C (realizeFont): delete func
6826 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6828 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6829 row argument, constify cur argument.
6831 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6833 * text2.C (getFont): adjust
6834 (getLayoutFont): adjust
6835 (getLabelFont): adjust
6837 * paragraph_funcs.C (TeXOnePar): adjust
6838 (outerFont): new func...
6839 (realizeFont): ...moved out from here, changed this to facilitate
6842 * paragraph.C (getFont): take outerfont as arg, adjust
6843 (simpleTeXOnePar): add outerfont arg, adjust
6845 * buffer.C (simpleLinuxDocOnePar): adjust
6846 (simpleDocBookOnePar): adjust
6848 * CutAndPaste.C (pasteSelection): adjust
6850 * BufferView.C (getEncoding): adjust
6852 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6854 * text2.C (setCharFont): adjust
6855 (setCounter): adjust
6857 * text.C (leftMargin): adjust
6858 (setHeightOfRow): adjust
6860 * rowpainter.C (paintFirst): adjust
6863 * paragraph_pimpl.C (realizeFont): adjust
6865 * paragraph.C (isFirstInSequence): move from here...
6866 * paragraph_funcs.C (isFirstInSequence): ...to here
6868 * paragraph.C (outerHook): move from here...
6869 * paragraph_funcs.C (outerHook): ...to here
6871 * paragraph.C (depthHook): move from here...
6872 * paragraph_funcs.C (depthHook): ...to here
6874 * paragraph.C (getEndLabel): move from here...
6875 * paragraph_funcs.C (getEndLabel): ...to here
6877 * text2.C (realizeFont): move from here...
6878 * paragraph_funcs.C (realizeFont): ...to here
6880 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6882 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6884 2003-04-14 Angus Leeming <leeming@lyx.org>
6886 * LColor.[Ch]: scrap LColor mathcursor.
6888 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6890 * lyxlex.[Ch] (text): delete function
6891 * trans.C (Load): adjust
6892 * paragraph_funcs.C (readParToken): adjust
6894 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6896 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6897 vector<char> instead of a char[].
6899 * lyxlex_pimpl.C (getString): adjust
6901 (lex): use getString
6905 * lyxlex.C (text): use pimpl_->getString()
6909 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6911 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6912 (makeFontEntriesLayoutSpecific): temp var for par.size()
6913 (setLayout): temp var for ownerParagraphs().end()
6914 (fullRebreak): temp var for rows().end()
6915 (selectionAsString): temp var for boost::next(startpit), realize
6916 that the while really is a regular for loop.
6917 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6918 setCursor in one place.
6919 (setParagraph): temp vr for ownerParagraphs().end()
6920 (updateCounters): make the while loop a for loop
6921 (cutSelection): temp var for ownerParagraphs().end()
6922 (updateInset): make the do {} while() a regular for loop
6923 (getCursorX): use temp vars
6924 (setCurrentFont): use temp vars
6925 (getColumnNearX): use temp vars
6927 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6929 * text.C (transformChar): use temp var for getChar
6930 (computeBidiTables): use temp var for row->par()
6931 (fill): move temp vars for row->par() and pit->layout() earlier in
6933 (labelFill): use temp var for row->par()
6934 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6935 asc and desc, realize that pit never changes and that firstpit is
6936 just a duplicate and not needed. Exchange rit->par() with pit in a
6938 (breakAgain): use a temp var for boost::next(rit)
6939 (breakAgainOneRow): ditto
6940 (breakParagraph): use a temp var for rows().begin()
6941 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6942 (cursorRightOneWord): use temp var for cursor.par() and
6943 cursor.pos(), remove usage of tmpcursor.
6944 (cursorLeftOneWord): use temp var for cursor.par() and
6945 cursor.pos() only set cur at end of function.
6947 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6949 * text.C, text2.C: exchange all usage of Paragraph::next with
6950 boost::next(ParagraphList::iterator)
6952 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6954 * text2.C (cursorTop): simplify implementation
6955 (cursorBottom): ditto
6956 (setParagraph): use ParagraphList::iterator
6957 (setCurrentFont): adjust
6958 (getColumnNearX): adjust
6959 (cursorRight): adjust
6960 (cursorLeft): remove usage of Paragraph::previous
6961 (cursorUpParagraph): ditto
6962 (deleteEmptyParagraphMechanism): slight cleanup
6964 * text.C (isBoundary): take a Paragraph const & instead of a
6966 (addressBreakPoint): ditto
6967 (leftMargin): remove usage of Paragraph::previous.
6968 (setHeightOfRow): ditto
6969 (cursorLeftOneWord): ditto
6970 (selectNextWordToSpellcheck): ditto
6973 (breakParagraph): remove one usage of Paragraph::next
6974 (redoParagraph): ditto
6975 (acceptChange): ditto
6976 (insertChar): adjust
6977 (rowBreakPoint): adjust
6979 * bufferview_funcs.C (toggleAndShow): adjust
6981 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6983 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6984 methods to access it.
6986 * text.C: Added updateRowPositions to compute all row positions.
6987 Make top_y and getRowNearY() to use the cached y position
6989 2003-04-11 John Levon <levon@movementarian.org>
6991 * text.C (rowBreakPoint): reintroduce the labelEnd
6992 checks, code copied from the row fill stuff. Deep voodoo.
6994 * text.C (fill): add a comment and debugging for the
6997 2003-04-11 John Levon <levon@movementarian.org>
6999 * text.C: make sure fullrow insets get wrapped to the next line,
7000 even when they're in a manual label
7002 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7004 * text2.C (insertParagraph): make it take ParagraphList::iterator
7006 (setLayout): make it return ParagraphList::iterator
7007 (redoParagraphs): ditto
7009 (checkParagraph): ditto
7011 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7013 * text2.C: adjust several funcs.
7014 (realizeFont): take a ParagraphList::iterator as arg.
7015 (getLayoutFont): ditto
7016 (getLabelFont): ditto
7017 (setCharFont): ditto
7019 * text.C: adjust several funcs.
7021 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7023 * text.C (selectNextWordToSpellcheck): don't accidentally
7026 2003-04-10 John Levon <levon@movementarian.org>
7028 * ToolbarBackend.C (getIcon): special handling for
7031 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7033 * text2.C (cursorRight): a getChar assert fixed
7035 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7037 * text2.C (getFont): change to take a ParagraphList::iterator
7038 instead of Paragraph*
7039 Adjust several functions.
7041 * text.C (transformChar): change to take a ParagraphList::iterator
7042 instead of Paragraph*
7043 (singleWidth): ditto
7044 Adjust several functions.
7046 * rowpainter.C: adjust several functions
7047 * rowpainter.h:store a ParagraphList::iterator and not a
7051 2003-04-09 John Levon <levon@movementarian.org>
7056 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7057 and the "help" bits as well
7059 2003-04-09 John Levon <levon@movementarian.org>
7062 * ToolbarBackend.C: allow multiple toolbars
7064 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7066 * undo_funcs.C (setCursorParUndo): adjust
7068 * text_funcs.C (transposeChars): adjust
7070 * text3.C (gotoNextInset): adjust
7073 * text2.C (setLayout): adjust
7074 (changeDepth): adjust
7076 (redoParagraphs): adjust
7077 (selectionAsString): adjust
7078 (setParagraph): adjust
7079 (insertInset): adjust
7080 (cutSelection): adjust
7081 (copySelection): adjust
7082 (pasteSelection): adjust
7083 (insertStringAsLines): adjust
7084 (updateInset): adjust
7085 (setCursor): change to take a ParagraphList::iterator parameter
7086 (setCursorIntern): change to take a ParagraphList::iterator parameter
7087 (setCurrentFont): adjust
7088 (cursorLeft): adjust
7089 (cursorRight): adjust
7090 (deleteEmptyParagraphMechanism): adjust
7092 * text.C (breakParagraph): adjust
7093 (insertChar): adjust
7094 (acceptChange): adjust
7095 (rejectChange): adjust
7096 (selectNextWordToSpellcheck): adjust
7097 (changeCase): adjust
7101 * lyxfind.C (SearchForward): adjust
7102 (SearchBackward): adjust
7103 (nextChange): adjust
7105 * lyxcursor.C (par): adjust
7107 * lyxcursor.h: store a ParagraphList::iterator instead of a
7110 * lyx_cb.C (getPossibleLabel): adjust
7112 * bufferview_funcs.C (toggleAndShow): adjust
7114 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7117 * BufferView.C (removeAutoInsets): adjust
7118 (lockedInsetStoreUndo): adjust
7120 2003-04-09 John Levon <levon@movementarian.org>
7122 * ToolbarBackend.C: try icon without argument
7123 if with argument fails
7125 2003-04-08 John Levon <levon@movementarian.org>
7128 * ToolbarBackend.C: add getIcon(), handle tooltip,
7129 and change from "Icon" to "Item".
7131 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7133 * BufferView.C (lockInset): another bad getchar crunched
7135 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7137 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7140 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7142 * lyxfind.C (searchForward, searchBackwards): bug 782
7144 2003-04-07 John Levon <levon@movementarian.org>
7146 * paragraph.C: remove dead comment
7148 * text.C: remove troublesome depth-fiddling code
7149 in leftMargin() and rightMargin() (bug 1017)
7151 * text.C: fix breaking of rows in nested lists
7154 * text2.C (updateCounters): fix up depth values
7157 2003-04-07 John Levon <levon@movementarian.org>
7159 * BufferView_pimpl.C: clear message when doc finishes resizing,
7160 and after a mouse event
7162 * lyxfunc.C: clear message after exiting inset
7164 2003-04-07 John Levon <levon@movementarian.org>
7166 * bufferview_funcs.C: show math status not outside
7167 status in the statusbar
7169 2003-04-07 John Levon <levon@movementarian.org>
7171 * lyxfunc.C: note status changed after a depth change
7173 2003-04-04 Angus Leeming <leeming@lyx.org>
7175 * LaTeX.h: move AuxInfo operator==, != out of line.
7176 Remove LaTeX virtual destructor; nothing derives from it.
7177 Move operator()() out of public area and rename it startscript().
7178 Change protected for private.
7180 2003-04-04 Angus Leeming <leeming@lyx.org>
7183 * text2.C: remove unneeded #includes.
7185 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7187 * text2.C (dEPM): fix the heigth of the next row
7189 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7191 * text.C: squashed an invalid getChar requester + some ws changes
7193 2003-04-03 John Levon <levon@movementarian.org>
7195 * bufferview_funcs.h:
7196 * bufferview_funcs.C:
7199 * text2.C: make getStatus work for the env depth lfuns
7201 2003-04-03 John Levon <levon@movementarian.org>
7203 * bufferview_funcs.h:
7204 * bufferview_funcs.C:
7207 * text2.C: parlistize decDepth(), by merging it with incDepth()
7209 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7211 * lyxrow.h: store a ParagraphList::iterator instead of a
7212 Paragraph* and adjust other class functions to suit.
7214 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7217 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7219 * text2.C (setCursor): do not anchor to cursor row for the time being
7221 2003-04-02 John Levon <levon@movementarian.org>
7228 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7230 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7232 * paragraph.h: make ParagraphList and ParagraphList::iterator
7233 friends of Paragraph.
7235 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7237 * ParagraphList.C: Use the private next_ and previous_ from
7240 2003-04-01 John Levon <levon@movementarian.org>
7244 * Makefile.am: rename, remove defaults gunk
7247 * MenuBackend.C: remove defaults gunk
7250 * Languages.C: remove defaults gunk
7253 * lyx_main.C: error out if files couldn't be found.
7255 2003-04-02 John Levon <levon@movementarian.org>
7257 * text2.C: make incDepth() use parlist
7259 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7261 * undo_funcs.C (firstUndoParagraph): adjust
7263 * text3.C (gotoInset): adjust
7264 (dispatch): adjust, and rewrite loop.
7266 * text2.C (init): adjust, and rewrite loop.
7267 (redoParagraphs): adjust
7268 (updateInset): adjust, and rewrite loop.
7269 (deleteEmptyParagraphMechanism): adjust
7271 * tabular.C (LyXTabular): adjust
7272 (SetMultiColumn): adjust
7275 * lyxtext.[Ch] (ownerParagraph): delete function
7276 (ownerParagraphs): new function returns a ParagraphList.
7278 * BufferView.C (removeAutoInsets): adjust
7279 (insertErrors): adjust
7280 (setCursorFromRow): adjust
7282 2003-04-01 Angus Leeming <leeming@lyx.org>
7284 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7287 2003-04-02 John Levon <levon@movementarian.org>
7293 * text_funcs.C: make transposeChars a free function
7295 * lyxrow_funcs.C: remove wrong comment
7297 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7300 * rowpainter.C: adjust
7305 * lyxrow_funcs. [Ch]: new files
7307 * lyxrow.[Ch]: remove next and previous pointers
7308 (next,previous): remove accessor functions
7309 (isParEnd): move to lyxrow_funcs
7310 (lastPos): move to lyxrow_funcs
7311 (nextRowIsAllInset): move to lyxrow_funcs
7312 (lastPrintablePos): move to lyxrow_funcs
7313 (numberOfSeparators): move to lyxrow_funcs
7314 (numberOfHfills): move to lyxrow_funcs
7315 (numberOfLabelHfills): move to lyxrow_funcs
7316 (hfillExpansion): move to lyxrow_funcs
7320 * bufferview_funcs.C (toggleAndShow): adjust
7322 * RowList.h: Remove class RowList from file leave just a
7325 * RowList.C: delete file
7327 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7330 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7332 * text3.C (cursorPrevious): adjust
7333 (cursorNext): adjust
7336 * text2.C (redoHeightOfParagraph): adjust
7337 (redoDrawingOfParagraph): adjust
7340 * text.C (breakParagraph): adjust
7341 (insertChar): adjust
7344 * rowpainter.C (RowPainter): adjust
7345 (leftMargin): simplify and adjust
7346 (most rowpainter functions): adjust.
7348 * rowpainter.h: store the row as RowList::iterator not as Row*
7350 * lyxcursor.C (row): taka RowList::iterator as arg
7353 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7356 2003-04-01 Angus Leeming <leeming@lyx.org>
7358 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7359 stuff like bool Bool.
7361 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7363 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7366 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7368 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7371 * lyxtext.h (rows): drop one version and leve a const variant that
7372 returns a RowList::iterator.
7374 2003-03-31 Angus Leeming <leeming@lyx.org>
7376 * text.C (fill): ensure that the signature is the same as that in the
7379 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7381 * text2.C (redoParagraphs): adjust
7382 (updateCounters): adjust
7383 (checkParagraph): adjust
7384 (getColumnNearX): adjust and reformat a bit.
7386 * text.C (top_y): adjust
7388 (leftMargin): adjust
7389 (prepareToPrint): adjust
7391 (getRowNearY): adjust
7393 * lyxtext.h: make rowlist_ mutable.
7395 * RowList.h: add const_iterator
7396 * RowList.C: adjust for RowList::const_iterator.
7398 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7401 2003-03-31 John Levon <levon@movementarian.org>
7404 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7406 * lyx_main.C: set default fonts from using lyx_gui funcs
7408 * exporter.C: pdf_mode moved from lyxrc
7411 * lyxfunc.C: changes from above
7413 2003-03-31 John Levon <levon@movementarian.org>
7415 * lyx_main.C: fix to the last fix
7417 2003-03-31 John Levon <levon@movementarian.org>
7419 * bufferlist.C: "Load original" -> "Load Original"
7425 * format.C: more Alert cleanups
7427 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7429 * text2.C (removeParagraph): make it take a RowList::iterator as
7431 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7432 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7434 * text.C (anchor_row): make it take a RowList::iterator as arg,
7436 (computeBidiTables): make it take a const reference to Row instead
7437 of Row pointer, adjust.
7438 (leftMargin): make it take a RowList::iterator as arg, adjust.
7439 (rowBreakPoint): adjust
7440 (breakAgainOneRow): make it take a RowList::iterator as arg,
7442 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7444 * bufferview_funcs.C (toggleAndShow): adjust
7446 2003-03-30 John Levon <levon@movementarian.org>
7450 * boost-inst.C: moved to support
7452 * several files: changes as a result
7454 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7456 * text2.C (LyXText): adjust.
7458 (removeRow): make it take a RowList::iterator as arg, adjust.
7459 (fullRebreak): adjust
7460 (deleteEmptyParagraphMechanism): adjust
7461 (clearPaint): adjust
7464 * text.C (top_y): adjust
7465 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7466 (breakAgain): make it take a RowList::iterator as arg, adjust.
7467 (breakParagraph): adjust
7468 (insertChar): adjust
7471 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7472 need_break_row, and refresh_row.
7474 * text3.C (dispatch): adjust
7476 * text2.C (checkParagraph): adjust
7478 (setCursorFromCoordinates): adjust
7480 * text.C (top_y): adjust
7482 (getRow): make it return a RowList::iterator, adjust
7483 (getRowNearY): make it return a RowList::iterator, adjust
7485 * text2.C (init): adjust
7486 (insertRow): remove function
7487 (insertParagraph): adjust
7488 (redoParagraphs): adjust
7489 (fullRebreak): adjust
7490 (updateCounters): adjust
7492 * text.C (top_y): rewrite to use RowList iterators.
7494 (setHeightOfRow): rewrite to sue RowList iterators.
7495 (appendParagraph): adjust
7496 (breakAgain): adjust
7497 (breakAgainOneRow): adjust
7498 (breakParagraph): adjust
7500 (getRowNearY): adjust, and remove commented code.
7502 * lyxtext.h (firstRow): delete function
7503 (lastRow): delete function
7504 (rows): new function (const and non-const versions.)
7505 (insertRow): delete function
7507 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7509 2003-03-29 John Levon <levon@movementarian.org>
7511 * BufferView_pimpl.C: always update scrollbar top
7512 because pasting text when we're anchored could mean we
7513 miss an update altogether
7515 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7517 * text2.C (init): use rowlist_.end() and not 0.
7518 (insertRow): change to take a RowList::iterator as arg, adjust
7520 (insertParagraph): change to take a RowList::iterator as arg,
7522 (redoParagraphs): remove some debug msgs.
7524 * text.C (appendParagraph): change to take a RowList::iterator
7525 arg, adjust for this.
7526 (breakAgain): add an assert
7527 (breakAgainOneRow): ditto
7529 2003-03-29 John Levon <levon@movementarian.org>
7531 * text2.C: do not clear selection after inc/decDepth
7534 2003-03-29 John Levon <levon@movementarian.org>
7537 * buffer.C: fix broken strerrors according to Lars
7539 2003-03-29 John Levon <levon@movementarian.org>
7541 * converters.C: more Alert cleanups
7543 2003-03-29 John Levon <levon@movementarian.org>
7545 * bufferview_funcs.C: remove pointless Alert
7547 * buffer.C: fix confusing error message when
7548 a template is chmoded 000
7550 2003-03-29 John Levon <levon@movementarian.org>
7554 * BufferView_pimpl.C: Alert fixes
7558 * tabular-old.C: remove unused table compat reading
7560 2003-03-29 John Levon <levon@movementarian.org>
7565 * lyx_cb.C: more Alert cleanups
7567 * lyxfunc.C: don't allow chktex if not latex document
7569 2003-03-29 John Levon <levon@movementarian.org>
7573 * buffer.C: warnings pushed down from support/,
7576 2003-03-29 John Levon <levon@movementarian.org>
7578 * lyxfunc.C: safety check for C-r (revert)
7580 2003-03-29 John Levon <levon@movementarian.org>
7583 * bufferlist.C: several UI fixes using Alert::prompt.
7584 Fix the pointless looping quit code. Fix stupid revert
7589 * lyx_cb.C: use Alert::prompt
7591 * lyx_main.C: remove a silly question
7593 * lyxfunc.C: remove a couple of silly questions,
7596 2003-03-28 John Levon <levon@movementarian.org>
7598 * text2.C: fix bug 974 (End on empty par)
7600 2003-03-28 John Levon <levon@movementarian.org>
7602 * BufferView_pimpl.C:
7604 * lfuns.h: remove do-nothing math greek lfuns
7606 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7608 * lyxgluelength.h (isValidGlueLength): add default arg on
7609 parameter 2. Remove default arg from friend in class.
7611 * lyxlength.h (isValidLength): add default arg on parameter 2.
7612 Remove default arg from friend in class.
7614 * text2.C (LyXText): adjust, initialize refresh_row.
7618 (insertParagraph): adjst
7619 (redoParagraphs): adjust
7620 (fullRebreak): adjust
7621 (updateCounters): adjust
7622 (deleteEmptyParagraphMechanism): first attempt at fixing a
7625 * text.C (top_y): adjust
7626 (setHeightOfRow): adjust
7628 (getRowNearY): adjust
7630 * lyxtext.h: include RowList.h
7631 (~LyXText): not needed anymore, deleted.
7632 (firstRow): modify for RowList
7633 (lastRow): new function
7634 Delete firstrow and lastrow class variables, add a Rowlist
7635 rowlist_ class variable.
7637 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7640 * RowList.C (insert): fix case where it == begin().
7642 2003-03-26 Angus Leeming <leeming@lyx.org>
7644 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7645 the thesaurus dialog.
7647 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7649 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7651 * RowList.[Ch]: new files
7653 * ParagraphList.C (erase): handle the case where it == begin
7656 2003-03-25 John Levon <levon@movementarian.org>
7660 * aspell.C: add new aspell support
7663 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7666 2003-03-25 Angus Leeming <leeming@lyx.org>
7669 * LyXAction.C (init): new LFUN_INSET_INSERT.
7671 * BufferView_pimpl.C (dispatch): split out part of the
7672 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7674 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7677 2003-03-25 Angus Leeming <leeming@lyx.org>
7679 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7681 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7684 * text3.C: remove useless row->height(0)
7686 2003-03-25 John Levon <levon@movementarian.org>
7690 * text3.C: rename the refreshing stuff to better names
7692 2003-03-24 John Levon <levon@movementarian.org>
7694 * BufferView_pimpl.h:
7695 * BufferView_pimpl.C: update layout choice on a mouse
7698 2003-03-23 John Levon <levon@movementarian.org>
7700 * Makefile.am: fix commandtags.h reference
7702 2003-03-22 John Levon <levon@movementarian.org>
7704 * BufferView_pimpl.C:
7709 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7711 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7714 * text.C: take the rtl methods out of line
7716 2003-03-21 André Pönitz <poenitz@gmx.net>
7718 * metricsinfo.[Ch]: new files containing structures to be passed around
7719 during the two-phase-drawing...
7721 2003-03-21 André Pönitz <poenitz@gmx.net>
7723 * lyxtextclass.C: read 'environment' tag.
7725 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7727 * text2.C (removeRow): fix bug 964
7729 2003-03-20 John Levon <levon@movementarian.org>
7733 * text2.C: paint cleanups. Inset::update() dropped font
7736 2003-03-19 John Levon <levon@movementarian.org>
7738 * lyxfunc.C: only fitcursor/markDirty if available()
7740 2003-03-19 John Levon <levon@movementarian.org>
7742 * commandtags.h: rename to ...
7744 * lfuns.h: ... this, and renumber / cleanup
7746 2003-03-19 John Levon <levon@movementarian.org>
7748 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7749 fit the cursor after an lfun
7753 * BufferView_pimpl.h:
7754 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7756 * LyXAction.C: layout-character should have ReadOnly
7758 * ParagraphParameters.C:
7760 * bufferview_funcs.C:
7767 * undo_funcs.C: changes from above
7769 2003-03-18 John Levon <levon@movementarian.org>
7771 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7772 remove it from update()
7774 * lyxfunc.C: update layout choice after an lfun
7776 * text3.C: remove extra updateLayoutChoice()s
7778 2003-03-18 John Levon <levon@movementarian.org>
7780 * text.C: top_y change means full repaint, fix
7781 a drawing bug with cursor movement
7783 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7787 * text2.C: anchor row on setCursor
7789 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7791 * lyxtext.h: remove almost all mutable keywords
7794 * text3.C: remove const keywords accordingly
7796 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7798 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7800 (TeXEnvironment): ditto
7803 2003-03-17 John Levon <levon@movementarian.org>
7805 * text.C (rowBreakPoint): remove attempt to fix displayed
7806 math insets inside a manual label
7808 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7810 * lyxtext.h: remove BufferView* as first arg from almost all class
7812 * other files: adjust.
7814 2003-03-17 John Levon <levon@movementarian.org>
7818 * text2.C: more paint cleanups
7820 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7823 * rowpainter.C: remove "smart" background painting code
7825 2003-03-16 John Levon <levon@movementarian.org>
7830 * text3.C: add helper functions for setting refresh_row/y
7832 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7834 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7835 newline inset which *can* get inserted in the pass_thru layouts.
7836 This is primarily for literate documents.
7838 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7840 * buffer.C: increment LYX_FORMAT to 223
7842 2003-03-14 André Pönitz <poenitz@gmx.net>
7844 * textclass.h: prepare for environment handling, ws changes
7845 * lyxlayout.C: read latexheader and latexfooter tags
7847 2003-03-14 John Levon <levon@movementarian.org>
7849 * text2.C: rewrite ::status() a bit
7851 2003-03-13 John Levon <levon@movementarian.org>
7853 * lyxtext.h: add some docs
7855 2003-03-13 John Levon <levon@movementarian.org>
7860 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7862 2003-03-13 John Levon <levon@movementarian.org>
7864 * text3.C: fix appendix redrawing
7866 2003-03-13 John Levon <levon@movementarian.org>
7868 * text.C (setHeightOfRow):
7870 * rowpainter.C: make appendix mark have the text
7871 "Appendix" so the user knows what it is
7874 * LColor.C: s/appendixline/appendix/ from above
7876 2003-03-13 John Levon <levon@movementarian.org>
7878 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7880 * text.C: fix a getChar(pos) bug properly
7882 2003-03-13 Angus Leeming <leeming@lyx.org>
7885 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7886 Probably only temporary. Let's see how things pan out.
7888 * BufferView.C (unlockInset):
7889 * BufferView_pimpl.C (fitCursor):
7890 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7892 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7893 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7895 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7896 new functions that convert ParagraphParameters to and from a string.
7898 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7899 BufferView::Pimpl's dispatch.
7900 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7902 2003-03-13 André Pönitz <poenitz@gmx.net>
7906 * factory.C: make it aware of InsetEnv
7908 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7910 * text2.C (setCursor): never ask for one past last
7911 (setCursor): add some debugging messages.
7913 * text.C (singleWidth): never ask for one past last
7914 (singleWidth): ditto
7916 (rightMargin): ditto
7917 (rowBreakPoint): ditto
7918 (setHeightOfRow): ditto
7919 (prepareToPrint): ditto
7921 * rowpainter.C (paintBackground): never ask for one past last
7922 (paintText): never ask for one past last
7924 * paragraph_pimpl.C (getChar): make the assert stricter, never
7925 allow the one past last pos to be taken
7927 * paragraph.C (getChar): ws changes only
7929 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7930 (numberOfSeparators): ditto
7931 (numberOfHfills): ditto
7933 2003-03-12 John Levon <levon@movementarian.org>
7939 * paragraph_funcs.C: fix per-buffer authorlists
7941 2003-03-12 John Levon <levon@movementarian.org>
7943 * text.C: fix newline in right address
7945 2003-03-12 Angus Leeming <leeming@lyx.org>
7947 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7948 duplicate those in LyXFunc::dispatch.
7952 * ToolbarDefaults.C:
7953 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7954 Add LFUN_FONTFREE_UPDATE.
7956 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7957 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7959 * bufferview_func.[Ch]: several new functions to facilliate
7960 transfer of data to and from the character dialog.
7962 2003-03-12 John Levon <levon@movementarian.org>
7967 * paragraph_funcs.C:
7968 * paragraph_pimpl.C:
7972 * text3.C: remove META_NEWLINE in favour of an inset
7975 * rowpainter.C: remove paintNewline (done by inset)
7977 2003-03-12 John Levon <levon@movementarian.org>
7979 * paragraph_pimpl.C: complain about bad getChar()s
7980 for a while at least
7982 2003-03-12 John Levon <levon@movementarian.org>
7985 * buffer.C: move paragraph read into a separate function,
7986 a little renaming to reflect that.
7989 * bufferparams.C: remove the author_ids map, not necessary now
7992 * factory.C: moved Buffer::readInset to here
7994 * paragraph_funcs.h:
7995 * paragraph_funcs.C: readParagraph free function moved from
7998 * tabular.C: name change
8000 2003-03-12 John Levon <levon@movementarian.org>
8003 * ParagraphParameters.C: move par params input to
8006 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8007 behave like a normal read from the stream wrt reading
8008 a line vs. a \\token
8010 2003-03-12 John Levon <levon@movementarian.org>
8013 * ParagraphParameters.h:
8014 * ParagraphParameters.C: move output code to a
8017 2003-03-12 John Levon <levon@movementarian.org>
8019 * BufferView.C (insertLyXFile):
8022 * tabular.C: use a parlist iterator for creating the
8025 2003-03-12 John Levon <levon@movementarian.org>
8027 * buffer.C: make current_change static local not
8030 2003-03-12 John Levon <levon@movementarian.org>
8032 * buffer.C: fix insertStringAsLines for change tracking
8034 2003-03-12 John Levon <levon@movementarian.org>
8041 * bufferparams.C: move author list into params. Rename some
8042 functions. Move the header reading into a separate token
8043 loop. Move the header token reading into BufferParams.
8045 2003-03-12 John Levon <levon@movementarian.org>
8047 * changes.C: put debug inside lyxerr.debugging() checks
8049 2003-03-11 André Pönitz <poenitz@gmx.net>
8051 * factory.C: make it aware of InsetHFill
8053 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8055 * buffer.C (latexParagraphs): move function from here...
8056 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8059 2003-03-10 Angus Leeming <leeming@lyx.org>
8061 * LyXAction.C (init): fix bug in poplating array with multiple entries
8062 with the same LFUN (spotted by JMarc).
8064 2003-03-10 John Levon <levon@movementarian.org>
8067 * text2.C: move getColumnNearX() near its
8070 2003-03-10 John Levon <levon@movementarian.org>
8072 * text.C: fix break before a minipage
8074 2003-03-10 John Levon <levon@movementarian.org>
8076 * text.C: fix the last commit
8078 2003-03-09 John Levon <levon@movementarian.org>
8082 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8083 bug 365 (don't break before insets unless needed). Don't
8084 return a value > last under any circumstances.
8086 2003-03-09 Angus Leeming <leeming@lyx.org>
8088 * BufferView_pimpl.C (trackChanges, dispatch): call
8089 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8091 2003-03-09 Angus Leeming <leeming@lyx.org>
8093 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8094 than Dialogs::showAboutlyx().
8096 2003-03-09 Angus Leeming <leeming@lyx.org>
8098 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8099 than Dialogs::showTabularCreate().
8101 2003-03-09 John Levon <levon@movementarian.org>
8105 * text2.C: 3rd arg to nextBreakPoint was always the same.
8108 2003-03-08 John Levon <levon@movementarian.org>
8115 * text2.C: Remove the "main" bit from the "main body"
8118 2003-03-08 John Levon <levon@movementarian.org>
8120 * text.C (leftMargin): The left margin of an empty
8121 manual label paragraph should not include the label width
8124 * text.C (prepareToPrint): don't attempt to measure hfills
8125 for empty manual label paragraphs - the answer should be 0
8127 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8129 * CutAndPaste.C: remove commented code and reindent.
8131 2003-03-08 John Levon <levon@movementarian.org>
8134 * lyxfunc.C: move reloadBuffer()
8137 * BufferView.C: to here
8139 * lyxvc.C: add comment
8142 * vc-backend.C: call bv->reload() to avoid
8143 getStatus() check on MENURELOAD
8145 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8147 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8148 to an old format .dep file.
8150 2003-03-07 Angus Leeming <leeming@lyx.org>
8152 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8153 when the LFUN_MOUSE_RELEASE should have been handled by
8154 inset->localDispatch.
8156 2003-03-07 Angus Leeming <leeming@lyx.org>
8158 * BufferView_pimpl.C (dispatch):
8159 * LyXAction.C (init):
8160 * ToolbarDefaults.C (init):
8162 * lyxfunc.C (getStatus):
8163 remove LFUN_INSET_GRAPHICS.
8165 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8167 2003-03-07 Angus Leeming <leeming@lyx.org>
8170 * LyXAction.C (init):
8171 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8173 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8176 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8178 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8179 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8181 2003-03-07 Angus Leeming <leeming@lyx.org>
8183 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8186 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8188 * ParagraphList.C (front): new function
8191 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8193 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8194 and top_row_offset_. removed var first_y.
8196 * text2.C (LyXText, removeRow):
8198 * BufferView_pimpl.C:
8199 use these methods instead of using first_y
8201 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8203 * text2.C (pasteSelection): adjust for checkPastePossible
8205 * CutAndPaste.C: remove Paragraph * buf and replace with
8206 ParagraphList paragraphs.
8207 (DeleteBuffer): delete
8208 (cutSelection): change the tc type to textclass_type
8209 (copySelection): change the tc type to textclass_type
8210 (copySelection): adjust for ParagraphList
8211 (pasteSelection): change the tc type to textclass_type
8212 (pasteSelection): adjust for Paragraphlist
8213 (nrOfParagraphs): simplify for ParagraphList
8214 (checkPastePossible): simplify for ParagraphList
8215 (checkPastePossible): remove unused arg
8217 * ParagraphList.C (insert): handle the case where there are no
8220 * CutAndPaste.h: make CutAndPaste a namespace.
8222 * text3.C (dispatch): adjust
8224 * text.C (breakParagraph): add a ParagraphList as arg
8226 * paragraph_funcs.C (breakParagraph): change to take a
8227 BufferParams and a ParagraphList as args.
8228 (breakParagraphConservative): ditto
8229 (mergeParagraph): ditto
8230 (TeXDeeper): add a ParagraphList arg
8231 (TeXEnvironment): ditto
8234 * buffer.C (readLyXformat2): adjust
8235 (insertStringAsLines): adjust
8236 (latexParagraphs): adjust
8238 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8239 (cutSelection): adjust
8240 (pasteSelection): adjust
8242 * BufferView_pimpl.C (insertInset): adjust
8244 2003-03-05 Angus Leeming <leeming@lyx.org>
8247 * LyXAction.C (init):
8248 * BufferView_pimpl.C (dispatch):
8249 * lyxfunc.C (getStatus):
8250 remove LFUN_CHILD_INSERT.
8252 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8254 2003-03-05 Angus Leeming <leeming@lyx.org>
8257 * LyXAction.C (init):
8258 * src/factory.C (createInset):
8259 * lyxfunc.C (getStatus):
8260 * text3.C (dispatch):
8261 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8263 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8265 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8267 * ParagraphList.C (insert): handle insert right before end()
8268 (erase): fix cases where it can be first or last paragraph.
8270 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8272 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8273 Paragraph::next and Paragraph::previous
8276 * text.C (breakParagraph): adjust
8278 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8279 BufferParams& as arg.
8280 (breakParagraph): use ParagraphList::insert
8281 (breakParagraphConservative): take a Buffer* instead of a
8282 BufferParams& as arg.
8283 (breakParagraphConservative): use ParagraphList::insert.
8285 * buffer.C (insertStringAsLines): un-const it
8286 (insertStringAsLines): adjust
8288 * ParagraphList.C (insert): new function
8290 * CutAndPaste.C (pasteSelection): adjust
8292 * text.C (backspace): adjust
8294 * tabular.C (SetMultiColumn): adjust
8296 * CutAndPaste.C (cutSelection): adjust
8297 (pasteSelection): adjust
8299 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8300 Buffer const * as arg
8302 * ParagraphList.C (erase): new function
8303 * paragraph_funcs.C (mergeParagraph): use it
8304 (mergeParagraph): make it take a Buffer* instead of a
8305 BufferParams* as arg
8307 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8309 (breakParagraphConservative): ditto
8311 * paragraph.h: remove the breakParagraph friend
8313 * paragraph.C (eraseIntern): new function
8314 (setChange): new function
8316 * paragraph_funcs.C (mergeParagraph): make it take a
8317 ParagraphList::iterator instead of a Paragraph *, adjust
8320 * paragraph.h: move an #endif so that the change tracking stuff
8321 also works in the NO_NEXT case.
8323 2003-03-04 Angus Leeming <leeming@lyx.org>
8326 * LyXAction.C: new LFUN_INSET_MODIFY.
8328 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8329 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8331 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8333 * several files: ws changes only
8335 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8336 (TeXEnvironment): ditto
8339 * buffer.C (makeLaTeXFile): adjust
8340 (latexParagraphs): make it take ParagraphList::iterator as args
8342 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8344 * buffer.C (latexParagraphs): adjust
8346 * paragraph.C (TeXOnePar): move function...
8347 (optArgInset): move function...
8348 (TeXEnvironment): move function...
8349 * paragraph_pimpl.C (TeXDeeper): move function...
8350 * paragraph_funcs.C: ...here
8352 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8354 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8356 * buffer.C (readInset): remove compability code for old Figure and
8359 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8361 * buffer.C: ws changes
8364 * BufferView_pimpl.C: ditto
8367 * bufferlist.h: ditto
8371 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8373 * converter.[Ch]: split into itself +
8376 * Makefile.am: += graph.[Ch] + format.[Ch]
8383 * lyxrc.C: added #include "format.h"
8385 2003-02-27 Angus Leeming <leeming@lyx.org>
8387 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8390 * factory.C (createInset): add "label" to the factory.
8392 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8393 string and do no more.
8395 2003-02-27 Angus Leeming <leeming@lyx.org>
8398 * LyXAction.C (init):
8399 * factory.C (createInset):
8400 * BufferView_pimpl.C (dispatch):
8401 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8403 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8405 * lyxfunc.C (dispatch):
8406 * text3.C (dispatch): pass name to params2string.
8408 2003-02-26 Angus Leeming <leeming@lyx.org>
8410 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8412 Rearrange the ~includes. Strip out the unnecessary ones.
8414 * factory.C (createInset): reformat.
8415 create new insets for the various LFUN_XYZ_APPLY lfuns.
8417 2003-02-26 John Levon <levon@movementarian.org>
8420 * lyxrow.C: add isParStart,isParEnd helpers
8422 * paragraph.h: make isInserted/DeletedText take refs
8424 * paragraph_funcs.h:
8425 * paragraph_funcs.C: remove #if 0'd code
8430 * text.C: use lyxrow helpers above.
8431 Move draw and paint routines to RowPainter.
8432 Make several methods use refs not pointers.
8433 Make backgroundColor() const.
8434 Add markChangeInDraw(), isInInset().
8435 Merge changeRegionCase into changeCase.
8436 Make workWidth() shouldn't-happen code into an Assert.
8439 * rowpainter.C: new class for painting a row.
8442 * vspace.C: make inPixels take a ref
8444 2003-02-26 Angus Leeming <leeming@lyx.org>
8446 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8449 2003-02-25 John Levon <levon@movementarian.org>
8451 * ispell.C: give the forked command a more accurate name
8453 2003-02-22 John Levon <levon@movementarian.org>
8456 * toc.C: make TocItem store an id not a Paragraph *
8459 2003-02-21 Angus Leeming <leeming@lyx.org>
8461 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8462 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8463 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8464 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8465 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8466 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8468 * BufferView_pimpl.C (dispatch):
8469 * LyXAction.C (init):
8470 * factory.C (createInset):
8471 * lyxfunc.C (getStatus, dispatch):
8472 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8474 2003-02-21 Angus Leeming <leeming@lyx.org>
8476 * BufferView_pimpl.C (MenuInsertLyXFile):
8477 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8478 * lyxfunc.C (menuNew, open, doImport):
8479 no longer pass a LyXView & to fileDlg.
8481 2003-02-21 Angus Leeming <leeming@lyx.org>
8483 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8484 * LyXAction.C: change, BIBKEY to BIBITEM.
8485 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8486 Change InsetBibKey to InsetBibitem.
8487 Change BIBKEY_CODE to BIBITEM_CODE.
8488 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8489 * factory.C: replace insetbib.h with insetbibitem.h.
8490 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8491 * paragraph.C: replace insetbib.h with insetbibitem.h.
8492 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8493 Change bibkey() to bibitem().
8494 * text.C: remove insetbib.h.
8495 * text2.C: replace insetbib.h with insetbibitem.h.
8496 change bibkey() to bibitem().
8497 * text3.C: remove insetbib.h.
8498 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8500 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8502 * lyxrc.C (output): enclose user email in quotes (in case there are
8505 2003-02-18 John Levon <levon@movementarian.org>
8507 * buffer.h: add std::
8509 2003-02-17 John Levon <levon@movementarian.org>
8515 * pspell.C: reworking. Especially in ispell, a large
8516 number of clean ups and bug fixes.
8518 * lyxfunc.C: fix revert to behave sensibly
8520 2003-02-17 André Pönitz <poenitz@gmx.net>
8523 * commandtags.h: new LFUN_INSERT_BIBKEY
8533 * paragraph_func.C: remove special bibkey handling
8535 2003-02-17 John Levon <levon@movementarian.org>
8537 * text.C (Delete): fix case where delete at the end of
8538 the very first paragraph would not merge the pars
8540 2003-02-17 John Levon <levon@movementarian.org>
8542 * lyxrow.C: fix lastPrintablePos()
8544 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8546 * bufferparams.C (writeLaTeX): add a std:here
8548 * buffer.C: and remove a using directive there
8550 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8552 * buffer.C (makeLaTeXFile): move the code that generates the
8555 * bufferparams.C (writeLaTeX): ... in this new method
8557 * LaTeXFeatures.C (getEncodingSet): make const
8558 (getLanguages): make const
8560 * MenuBackend.C (binding): returns the binding associated to this
8562 (add): sets the status of each item by calling getStatus. Adds
8564 (read): add support for OptSubMenu
8565 (expand): remove extra separator at the end of expanded menu
8567 2003-02-15 John Levon <levon@movementarian.org>
8570 * BufferView_pimpl.C:
8572 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8573 inset code that had no actual effect. Remove unneeded status
8576 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8578 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8581 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8583 * text.C (drawLengthMarker): also draw an arrow marker for
8584 symbolic lengths (medskip...)
8586 2003-02-14 John Levon <levon@movementarian.org>
8589 * tabular.C: better method names
8591 2003-02-14 John Levon <levon@movementarian.org>
8593 * BufferView_pimpl.C:
8598 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8599 it's a more accurate name. Remove some pointless uses.
8601 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8603 * text2.C (LyXText): change order of initilizers to shut off
8606 2003-02-14 John Levon <levon@movementarian.org>
8608 * buffer.C: use ParIterator for getParFromID()
8612 * paragraph_pimpl.h:
8613 * paragraph_pimpl.C: remove unused getParFromID()
8615 2003-02-14 John Levon <levon@movementarian.org>
8617 * buffer.C: remove some very old #if 0'd parse code
8619 2003-02-13 John Levon <levon@movementarian.org>
8623 * text2.C: move hfillExpansion(), numberOfSeparators(),
8624 rowLast(), rowLastPrintable(), numberofHfills(),
8625 numberOfLabelHfills() ...
8628 * lyxrow.C: ... to member functions here.
8633 * text.C: remove LyXText::beginningOfMainBody(), and call
8634 p->beginningOfMainBody() directly. Move the check for
8635 LABEL_MANUAL into the latter.
8642 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8648 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8649 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8651 2003-02-13 John Levon <levon@movementarian.org>
8653 * CutAndPaste.C: remove debug
8655 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8657 * paragraph.C (asString): remove two unused variables
8659 * lyxtextclass.C (readTitleType):
8661 (LyXTextClass): handle new members titletype_ and titlename_
8663 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8665 2003-02-09 John Levon <levon@movementarian.org>
8668 * buffer.C: replace hand-coded list with a map for the dep clean
8670 2003-02-08 John Levon <levon@movementarian.org>
8672 * LaTeX.C: consolidate code into showRunMessage() helper
8674 2003-02-08 John Levon <levon@movementarian.org>
8679 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8680 and pass the size in explicitly
8682 * BufferView_pimpl.h:
8683 * BufferView_pimpl.C:
8685 * BufferView.C: add getCurrentChange()
8687 * BufferView_pimpl.h:
8688 * BufferView_pimpl.C: handle change lfuns
8690 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8691 for changes. Mark pasted paragraphs as new.
8693 * support/lyxtime.h:
8694 * support/lyxtime.C:
8695 * DepTable.C: abstract time_t as lyx::time_type
8698 * LColor.C: add colours for new text, deleted text, changebars
8700 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8701 package use "usenames" option.
8705 * LyXAction.C: add change lfuns
8709 * author.C: author handling
8712 * buffer.C: add a per-buffer author list, with first entry as
8713 current author. Handle new .lyx tokens for change tracking. Output
8714 author list to .lyx file. Output dvipost stuff to .tex preamble.
8715 Bump lyx format to 222.
8718 * bufferlist.C: add setCurrentAuthor() to reset current author details
8722 * bufferparams.C: add param for tracking
8724 * bufferview_funcs.C: output change info in minibuffer
8728 * changes.C: add change-tracking structure
8731 * debug.C: add CHANGES debug flag
8734 * lyxfind.C: add code for finding the next change piece
8737 * lyxrc.C: add user_name and user_email
8740 * lyxrow.C: add a metric for the top of the text line
8743 * text.C: implement accept/rejectChange()
8746 * text.C: paint changebars. Paint new/deleted text in the chosen
8747 colours. Strike through deleted text.
8751 * paragraph_pimpl.h:
8752 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8753 in the current change to the insert functions. Rework erase to
8754 mark text as deleted, adding an eraseIntern() and a range-based
8755 erase(). Implement per-paragraph change lookup and
8758 * paragraph_funcs.C: Fixup paste for change tracking.
8760 * tabular.C: mark added row/columns as new.
8762 * text.C: fix rowLast() to never return -1. Don't allow
8763 spellchecking of deleted text. Track transpose changes. Don't
8764 allow paragraph break or merge where appropriate.
8766 * text2.C: leave cursor at end of selection after a cut.
8768 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8770 * text.C (getLengthMarkerHeight):
8771 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8772 visible on screen too.
8774 2003-02-07 John Levon <levon@movementarian.org>
8776 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8778 2003-02-05 Angus Leeming <leeming@lyx.org>
8780 * lyxserver.C (read_ready): revert my patch of 11 September last year
8781 as it sends PC cpu through the roof. Presumably this means that
8782 the lyxserver will no longer run on an Alpha...
8784 2003-01-30 Angus Leeming <leeming@lyx.org>
8786 * factory.C (createInset): create an InsetCommandParam of type "index"
8787 and use it to 'do the right thing'.
8789 * text2.C (getStringToIndex): ensure that cursor position is always
8790 reset to the reset_cursor position.
8792 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8794 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8797 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8801 * lyxfunc.C: Output messages with identical spelling, punctuation,
8804 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8806 * MenuBackend.C (expandFormats): List only viewable export formats
8809 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8812 * lyxfunc.C (getStatus): Make sure that formats other than
8813 "fax" can also be disabled
8815 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8817 * text3.C (dispatch): put the lfuns that insert insets in 3
8818 groups, and call doInsertInset with appropriate arguments.
8819 (doInsertInset): new function, that creates an inset and inserts
8820 it according to some boolean parameters.
8822 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8824 * buffer.C (readFile): remember to pass on 'par' when calling
8825 readFile recursively.
8827 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8829 * MenuBackend.C (expandFormats): add "..." to import formats.
8831 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8833 * paragraph.C (asString): Remove XForms RTL hacks.
8835 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8836 * buffer.C: fix typo
8838 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8840 * Makefile.am (LIBS): delete var
8841 (lyx_LDADD): add @LIBS@ here instead.
8843 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8845 * Clarify the meaning of "wheel mouse jump"
8847 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8849 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8852 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8854 * importer.C (Loaders): do not preallocate 3 elements in the
8855 vector, since one ends up with 6 elements otherwise
8857 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8859 * DepTable.C (write): write the file name as last element of the
8860 .dep file (because it may contain spaces)
8861 (read): read info in the right order
8863 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8865 * paragraph_pimpl.C (simpleTeXBlanks):
8866 (simpleTeXSpecialChars):
8867 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8869 * tabular.C (latex): add some missing case statements. Reindent.
8871 * MenuBackend.C (expandToc): remove unused variable.
8873 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8882 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8885 2003-01-05 John Levon <levon@movementarian.org>
8888 * BufferView.C: add getEncoding()
8891 * kbsequence.C: do not store last keypress
8894 * lyxfunc.C: store last keypress here instead. Pass encoding
8897 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8899 * lyx_main.C (init): remove annoying error message when following
8900 symbolic links (bug #780)
8902 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8904 * text.C (insertChar):
8905 * lyxrc.C (getDescription): remove extra spaces
8907 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8909 * lyxrc.C (getDescription): remove extra spaces
8911 2002-12-20 John Levon <levon@movementarian.org>
8913 * text3.C: hack fix for page up/down across tall rows
8915 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8917 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8920 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8922 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8923 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8924 thesaurus is not compiled in
8926 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8928 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8930 2002-12-16 Angus Leeming <leeming@lyx.org>
8933 * lyx_main.C (init): remove override_x_deadkeys stuff.
8935 2002-12-12 John Levon <levon@movementarian.org>
8937 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8938 insert. Only remove shift modifier under strict
8941 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8943 * MenuBackend.C (expandToc): fix crash.
8945 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8947 * MenuBackend.C (expandToc): gettext on float names.
8949 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8951 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8952 implement bool empty() [bug 490]
8954 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8956 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8958 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8960 * several files: ws changes
8962 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8964 * text2.C (setCounter): clean up a bit, use boost.format.
8965 (updateCounters): initialize par upon declaration.
8967 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8968 if the layout exists. We do not just store the layout any more.
8969 (SwitchLayoutsBetweenClasses): use boost.format
8971 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8973 * converter.C (convert): if from and to files are the same, use a
8974 temporary files as intermediary
8976 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8979 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8981 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8983 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8985 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8987 * tabular.C (asciiPrintCell): use string(size, char) instead of
8990 * sgml.C (openTag): fix order of arguments to string constructor
8993 * lyxfunc.C (dispatch): use boost.format
8995 * lots of files: change "c" -> 'c'
8997 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8999 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9001 2002-11-25 Angus Leeming <leeming@lyx.org>
9003 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9005 * lyx_main.C (init): compile fix.
9007 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9009 * lyx_cb.C (start): boost.formatify
9010 do not include <iostream>
9012 * lengthcommon.C: ws only
9014 * boost-inst.C,BoostFormat.h: add more explict instantations
9016 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9018 * lots of files: handle USE_BOOST_FORMAT
9020 2002-11-21 John Levon <levon@movementarian.org>
9022 * pspell.C: fix compile
9024 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9026 * lyxfunc.C (dispatch): use boost::format
9030 * lyxfont.C (stateText): use boost::format
9032 * lyx_main.C (LyX): use boost::format
9034 (queryUserLyXDir): ditto
9037 (typedef boost::function): use the recommened syntax.
9039 * importer.C (Import): use boost::format
9041 * debug.C (showLevel): use boost::format
9043 * converter.C (view): use boost::format
9048 * bufferview_funcs.C (currentState): use boost::format
9050 * bufferlist.C (emergencyWrite): use boost::format
9052 * buffer.C (readLyXformat2): use boost::format
9053 (parseSingleLyXformat2Token): ditto
9055 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9057 * LaTeX.C (run): use boost::format
9059 * Chktex.C (scanLogFile): use boost::format
9061 * BufferView_pimpl.C (savePosition): use boost::format
9062 (restorePosition): ditto
9063 (MenuInsertLyXFile): ditto
9065 * BoostFormat.h: help file for explicit instation.
9067 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9069 * tabular.C (latex): Support for block alignment in fixed width
9072 2002-11-17 John Levon <levon@movementarian.org>
9074 * BufferView_pimpl.C:
9076 * lyxfunc.C: split filedialog into open/save
9078 2002-11-08 Juergen Vigna <jug@sad.it>
9080 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9081 by my last patch (hopefully).
9083 2002-11-08 John Levon <levon@movementarian.org>
9092 * toc.C: ParConstIterator, and use it (from Lars)
9094 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9096 * lyxtextclass.[Ch]: revise and add doxygen comments
9098 2002-11-07 John Levon <levon@movementarian.org>
9100 * text.C: fix progress value for spellchecker
9102 * toc.C: fix navigate menu for insetwrap inside minipage
9104 * paragraph_funcs.C: added FIXME for suspect code
9106 2002-11-07 John Levon <levon@movementarian.org>
9108 * BufferView_pimpl.C: fix redrawing of insets
9111 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9113 * text2.C (updateCounters): fix bug 668
9115 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9117 * text3.C (dispatch): Do not make the buffer dirty when moving the
9120 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9122 * vc-backend.C: STRCONV
9125 * text2.C (setCounter): STRCONV
9127 * paragraph.C (asString): STRCONV
9129 * lyxlength.C (asString): STRCONV
9130 (asLatexString): ditto
9132 * lyxgluelength.C (asString): STRCONV
9133 (asLatexString): ditto
9135 * lyxfunc.C (dispatch): STRCONV
9138 * lyxfont.C (stateText): STRCONV
9140 * importer.C (Import): STRCONV
9142 * counters.C (labelItem): STRCONV
9143 (numberLabel): ditto
9144 (numberLabel): remove unused ostringstream o
9149 * bufferview_funcs.C (currentState): STRCONV
9151 * buffer.C (readFile): STRCONV
9152 (asciiParagraph): ditto
9153 (makeLaTeXFile): ditto
9155 * Spacing.C (writeEnvirBegin): STRCONV
9157 * LaTeXFeatures.C (getLanguages): STRCONV
9158 (getPackages): ditto
9160 (getBabelOptions): ditto
9161 (getTClassPreamble): ditto
9162 (getLyXSGMLEntities): ditto
9163 (getIncludedFiles): ditto
9167 (scanAuxFile): ditto
9170 * LString.h: add the STRCONV macros
9172 * BufferView_pimpl.C (savePosition): STRCONV
9173 (restorePosition): ditto
9174 (MenuInsertLyXFile): ditto
9176 * vc-backend.C (scanMaster): change from submatch[...] to
9179 * funcrequest.C: include config.h
9181 * factory.C: include config.h
9183 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9185 * box.C: include config.h
9187 * LaTeX.C (scanAuxFile): change from submatch[...] to
9191 2002-10-25 Angus Leeming <leeming@lyx.org>
9193 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9195 * ispell.[Ch] (setError): new method.
9196 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9197 Use setError() insetead of goto END.
9199 * lyx_cb.C (AutoSave): move out child process into new class
9202 2002-10-30 John Levon <levon@movementarian.org>
9204 * text3.C: make start appendix undoable
9206 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9208 * lyxlength.C (inPixels): Fix returned value.
9210 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9213 2002-10-24 Angus Leeming <leeming@lyx.org>
9215 * lyxgluelength.h: no need to forward declare BufferParams
9216 or BufferView, so don't.
9218 2002-10-21 John Levon <levon@movementarian.org>
9220 * BufferView.C: menuUndo ->undo, redo
9222 * BufferView.h: document, remove dead, make some methods private
9224 * paragraph_funcs.h:
9225 * paragraph_funcs.C:
9226 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9231 * sgml.C: move sgml open/close tag into sgml.C
9233 * bufferview_funcs.h: unused prototype
9236 * lyxfunc.C: remove unused
9239 * text.C: remove unused
9241 2002-10-21 John Levon <levon@movementarian.org>
9245 * BufferView_pimpl.h:
9246 * BufferView_pimpl.C: fix mouse wheel handling based on
9247 patch from Darren Freeman
9249 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9251 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9253 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9255 * lyxlength.C (inPixels): Fix hanfling of negative length.
9256 Fix LyXLength::MU case.
9258 2002-10-16 John Levon <levon@movementarian.org>
9260 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9262 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9264 * converter.C (view): add support for $$i (file name) and $$p
9265 (file path) for the viewer command. If $$i is not specified, then
9266 it is appended to the command (for compatibility with old syntax)
9268 2002-10-14 Juergen Vigna <jug@sad.it>
9270 * undo_funcs.C (textHandleUndo): alter the order in which the
9271 new undopar is added to the LyXText, as we have to set first
9272 the right prev/next and then add it as otherwise the rebuild of
9273 LyXText is not correct. Also reset the cursor to the right paragraph,
9274 with this IMO we could remove the hack in "redoParagraphs()".
9276 2002-10-09 Angus Leeming <leeming@lyx.org>
9278 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9279 to turn off an optimisation if a new inset is to be inserted.
9281 2002-10-11 André Pönitz <poenitz@gmx.net>
9283 * lyxtext.h: make some functions public to allow access
9284 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9286 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9288 * text3.C (dispatch): when changing layout, avoid an infinite loop
9291 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9293 * lyxrc.C (read): treat a viewer or converter command of "none" as
9296 * MenuBackend.C (expandFormats): for an update, also allow the
9297 formats that are not viewable
9299 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9300 script if it is newer than the lyxrc.defaults in user directory
9302 2002-10-07 André Pönitz <poenitz@gmx.net>
9304 * text.C: Vitaly Lipatov's small i18n fix
9306 2002-09-25 Angus Leeming <leeming@lyx.org>
9308 * ispell.h: doxygen fix.
9310 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9312 * buffer.h (readFile): Add a new argument to the method, to allow
9313 reading of old-format templates.
9315 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9317 * toc.C (getTocList): Get TOC from InsetWrap.
9319 2002-09-16 John Levon <levon@movementarian.org>
9321 * lyxfunc.C: check tabular for cut/copy too
9323 2002-09-12 John Levon <levon@movementarian.org>
9328 * factory.C: add header
9330 * paragraph_funcs.h:
9331 * paragraph_funcs.C: cleanup
9333 2002-09-11 John Levon <levon@movementarian.org>
9335 * PrinterParams.h: odd/even default to true
9337 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9339 * PrinterParams.h: update printer parameters for new xforms dialog
9341 2002-09-11 Angus Leeming <leeming@lyx.org>
9343 * lyxserver.C (read_ready): re-write to make it more transparent
9344 and to make it work in coherent fashion under Tru64 Unix.
9346 2002-09-11 André Pönitz <poenitz@gmx.net>
9350 * text3.C: implement LFUN_WORDSEL
9352 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9354 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9355 make floatlist_ a boost::shared_ptr<FloatList>
9357 * lyxtextclass.C: include FloatList.h
9358 (LyXTextClass): initialize floatlist_
9359 (TextClassTags): add TC_NOFLOAT
9360 (Read): match "nofloat" to TC_NOFLOAT and use it.
9361 (readFloat): modify call to floatlist_
9365 * FloatList.[Ch] (FloatList): remove commented out float
9367 (erase): new function
9369 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9371 * MenuBackend.C (expandToc): fix crash when there is no document
9374 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9376 * many files: Add insetwrap.
9378 2002-09-09 John Levon <levon@movementarian.org>
9380 * text2.C: remove confusing and awkward depth wraparound
9382 2002-09-09 John Levon <levon@movementarian.org>
9384 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9387 * buffer.C: remove getIncludeonlyList()
9390 * lyxfunc.C: remove headers
9392 2002-09-09 Juergen Vigna <jug@sad.it>
9394 * text.C (getColumnNearX): fix form Michael this is most
9395 probably a cut&paste bug.
9397 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9399 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9401 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9402 references, ws changes.
9404 * text2.C (init): update counters after init
9405 (insertParagraph): no need to set counter on idividual paragraphs.
9406 (setCounter): access the counters object in the textclass object
9407 on in the buffer object.
9408 (updateCounters): ditto
9410 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9411 shared_ptr<Counters> to avoid loading counters.h in all
9413 (LyXTextClass): initialize ctrs_
9414 (TextClassTags): add TC_COUNTER, and ...
9415 (Read): use it here.
9416 (CounterTags): new tags
9417 (readCounter): new function
9418 (counters): new funtion
9419 (defaultLayoutName): return a const reference
9421 * counters.C (Counters): remove contructor
9422 (newCounter): remove a couple of unneeded statements.
9423 (newCounter): simplify a bit.
9424 (numberLabel): some small formatting changes.
9426 * buffer.[Ch]: remove all traces of counters, move the Counters
9427 object to the LyXTextClass.
9429 2002-09-06 Alain Castera <castera@in2p3.fr>
9431 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9432 package to set the horizontal alignment on fixed width columns.
9435 * lyx_sty.h: added tabularnewline macro def.
9437 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9439 2002-09-06 John Levon <levon@movementarian.org>
9441 * LyXAction.C: tooltips for sub/superscript
9443 * MenuBackend.C: a bit more verbose
9445 * lyxfunc.C: tiny clean
9447 * undo_funcs.C: document undo_frozen
9449 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9451 * counters.C (Counters): add missing algorithm counter.
9453 * text2.C (setCounter): lookup the counter with layouts latexname
9454 instead of by section number.
9455 (setCounter): use a hackish way to lookup the correct enum
9457 a float name->type change
9458 reset enum couners with counter name directly instead of depth value.
9460 * counters.C (Counters): remove the push_backs, change to use the
9461 float type not the float name.
9462 (labelItem): remove unused string, float name->type change
9464 * counters.h: don't include vector, loose the enums and sects vectors
9466 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9468 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9469 (Read): add float->TC_FLOAT to textclassTags
9470 (Read): and handle it in the switch
9471 (readFloat): new function
9473 * FloatList.C (FloatList): comment out the hardcoded float
9476 * lyxlayout.h: ws change.
9478 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9480 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9482 2002-09-03 Angus Leeming <leeming@lyx.org>
9484 * BufferView_pimpl.h: qualified name is not allowed in member
9485 declaration: WorkArea & Pimpl::workarea() const;
9487 * factory.C: added using std::endl directive.
9489 * text3.C: added using std::find and std::vector directives.
9491 2002-08-29 André Pönitz <poenitz@gmx.net>
9494 * text2.C: remove unused member number_of_rows
9497 * BufferView2.C: remove file, move contents to...
9498 * BufferView.C: ... here
9500 * BufferView_pimpl.C:
9501 * factory.C: move more inset creation to factory
9503 * vspace.C: avoid direct usage of LyXText, ws changes
9506 don't provide direct access to WorkArea, use two simple
9507 acessors haveSelction() and workHeight() instead
9510 2002-08-29 John Levon <levon@movementarian.org>
9512 * BufferView_pimpl.C (dispatch): do not continue when
9515 2002-08-28 André Pönitz <poenitz@gmx.net>
9517 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9520 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9522 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9524 * buffer.C: increment LYX_FORMAT to 221
9526 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9527 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9529 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9531 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9533 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9535 * factory.C (createInset): use LyXTextClass::floats
9537 * MenuBackend.C (expandFloatListInsert):
9538 (expandFloatInsert):
9541 * text2.C (setCounter):
9543 * LaTeXFeatures.C (useFloat):
9544 (getFloatDefinitions):
9546 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9548 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9549 floatlist_, with accessor floats().
9551 * FloatList.h: remove global FloatList
9553 2002-08-26 André Pönitz <poenitz@gmx.net>
9555 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9559 * BufferView_pimpl.C:
9560 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9562 2002-08-25 John Levon <levon@movementarian.org>
9564 * LyXAction.C: fix margin note description
9566 2002-08-24 John Levon <levon@movementarian.org>
9570 * bufferview_funcs.C:
9572 * undo_funcs.C: cleanups
9574 * lyxfunc.C: disable CUT/COPY when no selection
9576 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9578 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9579 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9581 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9582 Add backward compatibility to "mono", "gray" and "no".
9584 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9586 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9587 (and file_format >= 200).
9589 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9591 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9593 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9595 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9597 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9599 * BufferView_pimpl.C:
9606 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9607 inset and code to make it work with the paragraph code. The inset
9608 can be anywhere in the paragraph, but will only do the expected
9609 thing in LaTeX if the layout file contains the parameter line
9611 (or more generally, a nonzero value) for that layout.
9613 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9615 * paragraph.h: remove the declaration of undefined counters class
9618 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9620 * text2.C (setCounter): fixed enumeration mis-count as reported by
9621 Dr. Richard Hawkins.
9623 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9625 * paragraph_funcs.h: remove some unneeded includes
9627 * text.C (backspace): pasteParagraph now in global scipe
9629 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9630 (pasteSelection): ditto
9632 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9633 * paragraph_funcs.C (pasteParagraph): ... here
9635 2002-08-20 André Pönitz <poenitz@gmx.net>
9637 * commandtags.h: new LFUNs for swapping/copying table row/colums
9640 * lyxfunc.C: support for new lfuns
9642 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9645 * buffer.[Ch]: remove NO_COMPABILITY stuff
9647 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9649 * boost.C (throw_exception): new file, with helper function for
9650 boost compiled without exceptions.
9655 * ParameterStruct.h:
9656 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9658 * bufferlist.C (emergencyWriteAll): use boost bind
9660 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9662 * text.C: include paragraph_funcs.h
9663 (breakParagraph): breakParagraph is now in global scope
9665 * paragraph_funcs.[Ch]: new files
9667 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9670 * buffer.C: include paragraph_funcs.h
9671 (insertStringAsLines): breakParagraph is now in global scope
9673 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9676 * CutAndPaste.C: include paragraph_funcs.h
9677 (cutSelection): breakParagraphConservative is now in global scope
9678 (pasteSelection): ditto
9680 * buffer.h: declare oprator== and operator!= for
9681 Buffer::inset_iterator
9683 * bufferlist.C (emergencyWrite): don't use fmt(...)
9685 * text3.C: add using std::endl
9687 * BufferView.C (moveCursorUpdate): remove default arg
9689 2002-08-20 André Pönitz <poenitz@gmx.net>
9691 * buffer.[Ch]: move inline functions to .C
9694 * BufferView_pimpl.C:
9696 * buffer.[Ch]: use improved inset_iterator
9699 * paragraph.[Ch]: write one paragraph at a time
9701 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9703 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9704 style if style is not specified.
9706 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9708 * text2.C (setCounter): when searching for right label for a
9709 caption, make sure to recurse to parent insets (so that a caption
9710 in a minipage in a figure float works) (bug #568)
9712 2002-08-20 André Pönitz <poenitz@gmx.net>
9714 * text3.C: new file for LyXText::dispatch() and helpers
9716 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9718 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9720 2002-08-19 André Pönitz <poenitz@gmx.net>
9723 * text.C: new LyXText::dispatch()
9725 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9727 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9729 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9731 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9734 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9736 * Makefile.am: use $(variables) instead of @substitutions@
9738 2002-08-15 André Pönitz <poenitz@gmx.net>
9741 * BufferView_pimpl.C: streamlining mathed <-> outer world
9745 * LyXAction.C: remove unused LFUN_MATH
9747 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9749 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9751 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9753 * paragraph.C (Paragraph): reformat a bit
9754 (cutIntoMinibuffer): use builtin InsetList function instad of
9758 * buffer.C: include boost/bind.hpp, add using std::for_each
9759 (writeFileAscii): use ParagraphList iterators
9760 (validate): use for_each for validate traversal of paragraphs
9761 (getBibkeyList): use ParagraphList iterators
9762 (resizeInsets): use for_each to resizeInsetsLyXText for all
9764 (getParFromID): use ParagraphList iterators
9766 * BufferView2.C (lockInset): use paragraph list and iterators
9768 2002-08-14 John Levon <levon@movementarian.org>
9770 * lyxserver.C: remove spurious xforms include
9772 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9774 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9776 2002-08-13 André Pönitz <poenitz@gmx.net>
9779 * lyxfunc.C: further cleaning
9781 2002-08-13 André Pönitz <poenitz@gmx.net>
9783 * funcrequest.h: new constructor
9785 * funcrequest.C: move stuff here from .h
9788 * BufferView_pimpl.C:
9791 * lyxfunc.C: subsequent changes
9793 * lyxfunc.h: new view() member function
9795 * lyxfunc.C: subsequent changes
9797 2002-08-13 Angus Leeming <leeming@lyx.org>
9800 * BufferView_pimpl.C:
9808 changes due to the changed LyXView interface that now returns references
9809 to member variables not pointers.
9811 2002-08-13 Angus Leeming <leeming@lyx.org>
9813 * WordLangTuple (word, lang_code): return references to strings,
9818 * lyxtext.h: forward-declare WordLangTuple.
9823 * text.C: #include "WordLangTuple.h".
9826 * text.C: (selectNextWordToSpellcheck): constify return type.
9828 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9834 * paragraph_pimpl.h:
9837 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9839 Made updateCounter always count from start of buffer, and removed
9840 second argument (par).
9841 Reverted floats number display to '#'. Perhaps I'll try again when the
9842 code base is sanitized a bit.
9844 2002-08-12 Angus Leeming <leeming@lyx.org>
9846 * buffer.[Ch] (getLabelList): constify.
9848 2002-08-07 André Pönitz <poenitz@gmx.net>
9850 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9852 * funcrequest.h: extension to keep mouse (x,y) position
9854 2002-08-12 Juergen Vigna <jug@sad.it>
9856 * BufferView2.C (insertErrors): forbid undo when inserting error
9859 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9861 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9863 * ParagraphList.[Ch]: new files
9865 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9867 * BufferView2.C (lockInset): ParagraphList changes
9870 * bufferlist.C: ditto
9874 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9876 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9877 unused class variable counter_,
9879 * paragraph.[Ch] (getFirstCounter): delete unused function
9881 * counters.C: include LAssert.h
9882 (reset): add a new function with no arg, change other version to
9883 not have def. arg and to not allow empty arg.
9885 * text2.C (setCounter): remove empty arg from call to Counters::reset
9887 2002-08-11 John Levon <levon@movementarian.org>
9889 * Makefile.am: add WordLangTuple.h
9891 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9893 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9894 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9896 * insets/insettext.C: InsetList changes
9898 * graphics/GraphicsSupport.C (operator()): InsetList changes
9900 * toc.C (getTocList): InsetList changes
9902 * paragraph_pimpl.[Ch]: InsetList changes
9904 * paragraph.[Ch]: InsetList changes
9906 * buffer.C (inset_iterator): InsetList changes
9907 (setParagraph): ditto
9908 * buffer.h (inset_iterator): ditto
9909 * iterators.C (operator++): ditto
9910 * iterators.h: ditto
9912 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9914 * InsetList.[Ch]: new files, most InsetList handling moved out of
9917 * BufferView2.C (removeAutoInsets): InsetList changes
9919 (ChangeInsets): ditto
9921 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9923 * paragraph_pimpl.h (empty): new function
9925 * paragraph.[Ch] (empty): new function
9927 * other files: use the new Paragraph::empty function
9929 2002-08-09 John Levon <levon@movementarian.org>
9931 * lyxtext.h: remove unused refresh_height
9933 2002-08-09 John Levon <levon@movementarian.org>
9940 * paragraph.C: move sgml char escaping out of paragraph
9943 * paragraph.C: remove id setter
9947 * paragraph_pimpl.C: remove dead tex_code_break_column
9949 * bufferview_funcs.C: small cleanup
9951 * lyxfunc.C: remove dead proto
9953 * lyxtext.h: make some stuff private. Remove some dead stuff.
9955 * lyxgluelength.C: make as[LyX]String() readable
9957 2002-08-08 John Levon <levon@movementarian.org>
9962 * ToolbarDefaults.C:
9965 * toc.C: lyxaction cleanup
9967 2002-08-08 John Levon <levon@movementarian.org>
9969 * BufferView2.C: small cleanup
9972 * lyxfind.C: move unnecessary header into the .C
9974 2002-08-08 John Levon <levon@movementarian.org>
9976 * funcrequest.h: just tedious nonsense
9979 * lyx_main.C: cleanups
9982 * vspace.C: remove dead header lyx_main.h
9984 2002-08-07 Angus Leeming <leeming@lyx.org>
9987 * paragraph_pimpl.h:
9988 Forward declare class Counters in paragraph.h by moving the ctrs member
9989 variable into Paragraph::Pimpl.
9990 (counters): new method, returning a reference to pimpl_->ctrs.
9992 * text2.C: ensuing changes.
9994 2002-08-07 John Levon <levon@movementarian.org>
9996 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9998 * BufferView_pimpl.C: announce X selection on double/triple
10001 * lyx_main.C: use correct bool in batch dispatch
10003 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10005 2002-08-07 André Pönitz <poenitz@gmx.net>
10007 * funcrequest.h: new class to wrap a kb_action and its argument
10010 * BufferView_pimpl[Ch]:
10014 * lyxrc.C: subsequent changes
10017 2002-08-07 John Levon <levon@movementarian.org>
10019 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10020 document options change.
10022 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10027 * makefile.am: move counters functionality over from
10028 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10030 2002-08-06 John Levon <levon@movementarian.org>
10032 * WordLangTuple.h: new file for word + language code tuple
10043 * BufferView2.C: use WordLangTuple
10046 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10048 2002-08-06 John Levon <levon@movementarian.org>
10050 * lyx_main.C: fix cmdline batch handling
10052 2002-08-06 André Pönitz <poenitz@gmx.net>
10054 * lyxrc.C: set default for show_banner to true
10056 2002-08-06 John Levon <levon@movementarian.org>
10058 * pspell.C: fix a crash, and allow new aspell to work
10060 2002-08-06 John Levon <levon@movementarian.org>
10063 * kbmap.C: small cleanup
10066 * vspace.C: add const
10068 2002-08-05 John Levon <levon@movementarian.org>
10070 * LyXAction.C: back to tabular-insert
10072 2002-08-04 John Levon <levon@movementarian.org>
10075 * BufferView.C: cosmetic change
10077 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10087 * BufferView2.C: purge all "Lyx" not "LyX" strings
10090 * lyxcursor.C: attempt to add some documentation
10095 * ToolbarDefaults.C:
10096 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10097 merge with LFUN_TABULAR_INSERT
10104 * pspell.C: split up i/pspell implementations into separate
10105 files, many cleanups
10107 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10109 * text2.C: some cleanup
10111 * lyxfunc.C: don't check for isp_command == "none" any more, it
10112 didn't make any sense
10114 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10119 * makefile.am: move counters functionality over
10120 from text2.C/paragraph.[Ch] to counters.[Ch], and
10122 2002-08-02 John Levon <levon@movementarian.org>
10124 * buffer.C: s/lyxconvert/lyx2lyx/
10126 2002-08-02 Angus Leeming <leeming@lyx.org>
10128 * lyxlex.C: revert John's change as it breaks reading of the user
10131 2002-08-02 Angus Leeming <leeming@lyx.org>
10133 * importer.C (Import):
10134 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10135 changes due to LyXView::view() now returning a boost::shared_ptr.
10137 2002-08-02 John Levon <levon@movementarian.org>
10139 * lyxlex.C: small cleanup
10141 2002-08-02 John Levon <levon@movementarian.org>
10143 * text2.C (status): small cleanup, no logic change
10145 2002-08-01 John Levon <levon@movementarian.org>
10148 * buffer.C (writeFile): don't output alerts, caller
10152 * lyx_cb.C: from above
10154 * lyxfunc.C: allow to open non-existent files
10156 2002-07-31 John Levon <levon@movementarian.org>
10158 * lyxserver.C: don't let incidental errors get
10161 2002-07-30 John Levon <levon@movementarian.org>
10163 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10165 2002-07-30 John Levon <levon@movementarian.org>
10168 * lyxserver.C: remove I/O callback too
10170 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10172 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10175 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10177 * many files: strip,frontStrip -> trim,ltrim,rtrim
10179 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10181 * PrinterParams.h: remove extern containsOnly, and include
10182 support/lstrings.h instead.
10184 * LaTeX.C (scanAuxFile): modify because of strip changes
10186 * buffer.C (makeLaTeXFile): ditto
10187 * bufferparams.C (writeFile): ditt
10188 * lyxfont.C (stateText): ditto
10189 * lyxserver.C (read_ready): ditto
10190 * vc-backend.C (scanMaster): ditto
10192 * BufferView_pimpl.h: ws changes
10194 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10196 2002-07-26 André Pönitz <poenitz@gmx.net>
10198 * kb_sequence.C: remove unnedred usings
10200 2002-07-26 Juergen Vigna <jug@sad.it>
10202 * lyxfind.C (LyXReplace): we have to check better if the returned
10203 text is not of theLockingInset()->getLockingInset().
10205 2002-07-25 Juergen Vigna <jug@sad.it>
10207 * lyxfind.C (LyXReplace): don't replace if we don't get the
10210 * undo_funcs.C (createUndo): remove debugging code.
10212 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10214 * buffer.C (parseSingleLyXformat2Token): Use default placement
10215 when reading old floats.
10217 * FloatList.C (FloatList): Change the default placement of figure
10218 and tables to "tbp".
10220 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10222 * MenuBackend.C: using std::max
10224 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10226 * MenuBackend.C (expandToc):
10227 (expandToc2): code moved from xforms menu frontend. It is now
10228 generic and TOCs are transparent to menu frontends.
10230 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10232 * toc.C (getTocList): protect against buf=0
10234 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10235 Menu as first parameter. Now, this calls itself recursively to
10236 expand a whole tree (this will be useful for TOC handling)
10237 (expandFloatInsert): remove 'wide' version of floats
10239 * MenuBackend.h (submenuname): returns the name of the submenu.
10240 (submenu): returns the submenu itself, provided it has been
10241 created by MenuBackend::expand
10243 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10245 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10246 insets which have noFontChange == true. (bug #172)
10248 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10250 * BufferView_pimpl.C: add connection objects and use them...
10253 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10255 * MenuBackend.C (expandLastfiles):
10258 (expandFloatListInsert):
10259 (expandFloatInsert):
10260 (expand): split expand in parts
10262 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10264 * lyx_gui.C: use lyx_gui::exit()
10266 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10268 * LyXAction.C: show the failing pseudo action
10270 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10272 * buffer.C (readFile): Run the lyxconvert script in order to read
10275 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10279 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10281 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10285 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10287 2002-07-22 Herbert Voss <voss@lyx.org>
10290 * lyxlength.[Ch]: add support for the vertical lengths
10292 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10294 * toc.[Ch]: std:: fixes
10296 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10298 * lyxrc.C: do not include lyx_main.h
10300 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10306 * BufferView2.C: include "lyxlex.h"
10309 * bufferparams.h: do not #include "lyxlex.h"
10311 * lyxtextclasslist.C (Add): remove method
10312 (classlist): renamed to classlist_
10314 * paragraph_pimpl.C:
10318 * bufferview_funcs.C:
10323 * toc.C (getTocList): use BufferParams::getLyXTextClass
10325 * toc.C (getTocList): use InsetFloat::addToToc
10327 * toc.[Ch]: new files, containing helper functions to handle table
10330 * lyxfunc.C (dispatch): no need to remove spaces around command
10332 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10333 first command of the sequence; it is not very clever, but I do not
10334 have a better idea, actually
10336 * LyXAction.C (LookupFunc): make sure to remove space at the
10337 beginning and end of the command
10339 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10341 * MenuBackend.C (getMenubar): new method: return the menubar of
10343 (read): treat differently reading of menu and menubar (in
10344 particular, the menubar has no name now)
10345 (Menu::menubar): remove
10347 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10350 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10352 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10353 a bibitem inset in a RTL paragraph.
10355 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10357 * paragraph_pimpl.C: constify
10359 * BufferView_pimpl.C:
10361 * lyxfunc.C: fix dispatch in a nicer way
10363 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10365 * lyxfunc.C (dispatch):
10366 * BufferView_pimpl.C:
10367 * BufferView_pimpl.h:
10369 * BufferView.h: rename Dispatch() to dispatch()
10371 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10373 * lyxlayout.C (Read): honor DependsOn tag
10375 * lyxlayout.[Ch] (depends_on): new method
10377 * version.C.in: update lyx_docversion
10379 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10381 * paragraph.C (validate): remove from here...
10382 * paragraph_pimpl.C (validate): ... and move here
10383 (isTextAt): make it const
10385 * buffer.C (getLists): ws cleanup
10387 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10389 * language.C (read): Use iso8859-1 encoding in latex_lang
10390 (this prevents LyX from crashing when using iso10646-1 encoding).
10392 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10394 * text2.C (toggleInset): if cursor is inside an inset, close the
10395 inset and leave cursor _after_ it
10397 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10399 * lyxfunc.C: move minibuffer completion handling out of here
10401 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10403 * BufferView_pimpl.C:
10404 * LaTeX.C: fix dispatch calls
10406 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10408 * text.C (drawChars): Fix Arabic text rendering.
10410 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10414 * lyxfunc.C: remove message-push/pop
10418 * lyxfunc.C: rationalise some code by removing verboseDispatch
10419 in favour of a bool argument to dispatch()
10421 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10423 * lyx_main.C (init): make sure to read symlinks as absolute paths
10425 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10428 * lyxfunc.C: no need for commandshortcut to be a member
10430 2002-07-15 André Pönitz <poenitz@gmx.net>
10432 * converter.C: add support for $$s (scripts from lib/scripts dir)
10433 * lyx_main.C: white space
10435 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10439 * lyxrc.C: remove second exit confirmation
10441 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10446 * BufferView_pimpl.h:
10447 * BufferView_pimpl.C:
10448 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10450 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10452 * MenuBackend.C (expand): add numeric shortcuts to document menu
10454 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10456 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10458 * lyxfont.C (setLyXFamily):
10465 * buffer.C (asciiParagraph): use ascii_lowercase
10467 2002-07-15 Mike Fabian <mfabian@suse.de>
10469 * lyxlex_pimpl.C (search_kw):
10470 * lyxlex.C (getLongString):
10471 * converter.h (operator<):
10472 * converter.C (operator<):
10473 * buffer.C (parseSingleLyXformat2Token):
10475 * ToolbarDefaults.C (read):
10476 * MenuBackend.C (checkShortcuts):
10478 * LColor.C (getFromGUIName):
10479 (getFromLyXName): use the compare_ascii_no_case instead of
10480 compare_no_case, because in turkish, 'i' is not the lowercase
10481 version of 'I', and thus turkish locale breaks parsing of tags.
10483 2002-07-16 Angus Leeming <leeming@lyx.org>
10485 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10486 now takes a Buffer const & argument.
10488 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10490 * BufferView.C (resize): check there's a buffer to resize
10492 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10494 * lyxfunc.C: remove dead code
10497 * lyxserver.C: use lyx_guii::set_read_callback
10499 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10501 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10502 an inset in a RTL paragraph.
10504 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10506 * lyxfunc.C: repaint after a font size update
10508 2002-07-15 André Pönitz <poenitz@gmx.net>
10510 * lyxlength.C: inBP should be able to return negative values
10512 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10514 * lyxfunc.C: use lyx_gui::update_fonts()
10516 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10518 * lyxfunc.C: use lyx_gui::update_color()
10520 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10526 * lyxrc.C: remove file->new asks for name option, and let
10527 buffer-new take an argument
10529 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10531 * BufferView_pimpl.C: remove unneeded extra repaint()
10533 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10535 * LyXAction.C: allow command-sequence with NoBuffer
10537 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10539 2002-07-10 Angus Leeming <leeming@lyx.org>
10541 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10543 2002-07-09 Angus Leeming <leeming@lyx.org>
10545 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10547 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10549 * lengthcommon.h: whitespace
10551 * lyxfunc.C: update scrollbar after goto paragraph
10553 * lyxtext.h: factor out page break drawing, and fix it so
10554 page break/added space paints as selected nicely
10556 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10558 * BufferView_pimpl.C: add FIXMEs, clean up a little
10560 2002-07-09 André Pönitz <poenitz@gmx.net>
10562 * lyxfont.[Ch]: support for wasy symbols
10564 2002-07-08 André Pönitz <poenitz@gmx.net>
10566 * BufferView_pimpl.C: apply John's patch for #93.
10568 2002-07-05 Angus Leeming <leeming@lyx.org>
10570 * BufferView_pimpl.C (buffer): generate previews if desired.
10572 * LColor.h: add "preview" to the color enum.
10574 * LColor.C (LColor): add a corresponding entry to the items array.
10576 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10579 2002-07-05 Angus Leeming <leeming@lyx.org>
10581 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10582 The body of the code is now in the method that is passed an ostream &
10583 rather than a file name.
10584 Pass an additional only_preamble parameter, useful for the forthcoming
10587 2002-07-03 André Pönitz <poenitz@gmx.net>
10589 * lyxfunc.C: simplify getStatus() a bit for math stuff
10591 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10593 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10595 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10597 * text.C (changeRegionCase): do not change case of all the
10598 document when region ends at paragraph end (bug #461)
10600 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10602 * paragraph.C (startTeXParParams):
10603 (endTeXParParams): add \protect when necessary
10605 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10607 * BufferView_pimpl.C (workAreaExpose): remove warning
10609 2002-06-27 Angus Leeming <leeming@lyx.org>
10611 * Makefile.am: add lyxlayout_ptr_fwd.h.
10613 2002-06-26 André Pönitz <poenitz@gmx.net>
10615 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10617 2002-06-25 Angus Leeming <leeming@lyx.org>
10619 * lyxfunc.C (dispatch): Comment out the call to
10620 grfx::GCache::changeDisplay. The method no longer exists now that the
10621 pixmap generation part of the graphics loader has been moved into
10624 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10626 * text2.C: layout as layout
10628 * text.C: layout as layout
10630 * tabular.C (OldFormatRead): layout as layout
10632 * paragraph_pimpl.C (TeXDeeper): layout as layout
10633 (realizeFont): layout as layout
10635 * paragraph.C (writeFile): layout as layout
10636 (validate): layout as layout
10637 (getFont): layout as layout
10638 (getLabelFont): layout as layout
10639 (getLayoutFont): layout as layout
10640 (breakParagraph): layout as layout
10641 (stripLeadingSpaces): layout as layout
10642 (getEndLabel): layout as layout
10643 (getMaxDepthAfter): layout as layout
10644 (applyLayout): layout as layout
10645 (TeXOnePar): layout as layout
10646 (simpleTeXOnePar): layout as layout
10647 (TeXEnvironment): layout as layout
10648 (layout): layout as layout
10649 (layout): layout as layout
10651 * lyxtextclass.C (compare_name): new functor to work with
10652 shared_ptr, layout as layout
10653 (Read): layout as layout
10654 (hasLayout): layout as layout
10655 (operator): layout as layout
10656 (delete_layout): layout as layout
10657 (defaultLayout): layout as layout
10659 * lyxlayout_ptr_fwd.h: new file
10661 * lyxlayout.C (Read): layout as layout
10663 * lyx_cb.C (MenuInsertLabel): layout as layout
10665 * bufferlist.C (newFile): layout as layout
10667 * buffer.C (readLyXformat2): layout as layout
10668 (parseSingleLyXformat2Token): layout as layout
10669 (insertStringAsLines): layout as layout
10670 (asciiParagraph): layout as layout
10671 (latexParagraphs): layout as layout
10672 (makeLinuxDocFile): layout as layout
10673 (simpleLinuxDocOnePar): layout as layout
10674 (makeDocBookFile): layout as layout
10675 (simpleDocBookOnePar): layout as layout
10676 (getLists): layout as layout
10678 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10680 * CutAndPaste.C (cutSelection): layout as layout
10681 (pasteSelection): layout as layout
10682 (SwitchLayoutsBetweenClasses): layout as layout
10684 * BufferView_pimpl.C (Dispatch): layout as layout
10685 (smartQuote): layout as layout
10687 * BufferView2.C (unlockInset): layout as layout
10689 2002-06-24 André Pönitz <poenitz@gmx.net>
10691 * lyxfunc.C: fix #487
10693 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10697 * lyxfunc.C: remove display_shortcuts, show_banner
10699 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10701 * Buffer_pimpl.C: oops, update on resize
10703 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10710 * BufferView.C: use repaint()
10712 * BufferView_pimpl.h:
10713 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10714 as it's a clearer description. Remove superfluous
10717 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10719 * text.C: fix bug 488. Not ideal, but getting
10720 getWord() to work properly for the insets that
10721 matter is more difficult ...
10723 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10725 * BufferView_pimpl.C:
10728 * lyxfunc.C: remove the six million index lyxfuncs to just
10729 one, and DTRT (bug 458)
10731 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10735 * BufferView_pimpl.h:
10736 * BufferView_pimpl.C: clean up resize() stuff,
10737 and unnecessary updateScreen()s
10739 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10743 * BufferView_pimpl.h:
10744 * BufferView_pimpl.C:
10747 * minibuffer.C: remove focus management of workarea,
10748 not needed. Use screen's greyOut()
10750 2002-06-17 Herbert Voss <voss@lyx.org>
10752 * converter.C: (convert) do not post a message, when converting
10753 fails, let the calling function decide what to do in this case
10755 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10757 * lyxfunc.C: tidy up a little
10759 2002-06-16 <alstrup@diku.dk>
10761 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10762 Got rid of FORMS_H_LOCATION include. Now we are
10765 2002-06-15 LyX Development team <lyx@rilke>
10767 * buffer.[Ch] (sgmlOpenTag):
10768 (sgmlCloseTag): Added support for avoiding pernicious mixed
10769 content. Return number of lines written.
10771 (makeLinuxDocFile):
10772 (makeDocBookFile): Fixed calls to sgml*Tag.
10773 Simple white space clean.
10775 (simpleDocBookOnePar): Simple white space clean.
10777 * tabular.[Ch] (docBook): Renamed to docbook and got another
10778 argument to related with the pernicious mixed content.
10780 (docbookRow): Fixed calls for docbook inset method.
10782 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10784 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10785 so it's X11 independent.
10789 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10791 2002-06-15 Lyx Development team <lyx@electronia>
10793 * intl.h: Renamed getTrans to getTransManager.
10795 2002-06-14 Angus Leeming <leeming@lyx.org>
10797 * Makefile.am: nuke forgotten stl_string_fwd.h.
10799 2002-06-12 Angus Leeming <leeming@lyx.org>
10801 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10803 2002-06-13 Angus Leeming <leeming@lyx.org>
10806 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10808 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10810 * kbmap.C (getiso): add support for cyrillic and greek
10812 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10816 * BufferView_pimpl.h:
10817 * BufferView_pimpl.C: move bogus scrolling logic
10820 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10823 * BufferView_pimpl.C: view->resize() change
10825 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10827 * BufferView_pimpl.C: topCursorVisible
10830 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10834 * lyx_gui.C: move to frontends/
10838 * lyx_main.C: changes from above
10840 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10847 * lyx_main.C: minor tidy
10849 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10851 * BufferView_pimpl.h:
10852 * BufferView_pimpl.C:
10854 * BufferView.C: make painter() const,
10857 * BufferView2.C: use screen() accessor
10860 * lyx_main.C: some minor cleanup
10862 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10864 * BufferView_pimpl.h:
10865 * BufferView_pimpl.C: remove enter/leaveView,
10868 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10873 * BufferView_pimpl.h:
10874 * BufferView_pimpl.C: only construct screen once,
10877 * lyxrc.C: remove pointless comment
10879 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10882 * BufferView.C: remove active() and belowMouse()
10884 * BufferView_pimpl.h:
10885 * BufferView_pimpl.C: use workarea() not workarea_,
10886 and make it use a scoped_ptr instead
10888 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10890 * lyx_gui.C: add debug message on BadWindow
10892 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10894 * sp_spell.C: fdopen is not part of the C++ standard.
10896 * paragraph.C (InsetIterator): use >= instead of ==
10898 2002-06-07 Angus Leeming <leeming@lyx.org>
10900 Fixes needed to compile with Compaq cxx 6.5.
10901 * BufferView_pimpl.C:
10908 * lyxtextclasslist.C:
10913 all c-library variables have been moved into namespace std. Wrap
10914 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10919 Add a using std::abs declaration.
10921 * kbmap.h (modifier_pair):
10922 * paragraph.h (InsetTable, InsetList):
10923 * lyxfont.h (FontBits):
10924 type definition made public.
10926 * bufferlist.C (emergencyWriteAll): the compiler complains that
10927 there is more than one possible lyx::class_fun template to choose from.
10928 I re-named the void specialisation as lyx::void_class_fun.
10930 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10932 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10933 the compiler is is unable to find tostr in write_attribute.
10935 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10937 * buffer.C (sgmlError): hide #warning
10939 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10941 * xtl/*: get rid of xtl, which is not in use anyway
10943 * LyXAction.C (init):
10944 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10945 were unimplemented xtl experimentation
10947 2002-06-04 André Pönitz <poenitz@gmx.net>
10949 * lyxfunc.C: disable array operation on simple formulae
10951 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10953 * converter.C: constify a bit
10955 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10957 * lyx_gui.C: check xforms version correctly
10959 2002-04-30 Herbert Voss <voss@lyx.org>
10961 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10964 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10966 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10967 attempt to register it with a VCS)
10969 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10971 * lyx_main.C (init): honor variables LYX_DIR_13x and
10974 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10978 * lyx_main.C: fix a crash on bad command line,
10979 and give a useful exit status on error
10981 * lyxfunc.C (doImport): allow -i lyx to work
10983 2002-03-30 André Pönitz <poenitz@gmx.net>
10985 * lyxfunc.C: mathed font changes
10987 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11002 * trans_mgr.h: srcdocs, and some minor cleanups
11004 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11006 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11007 call getFont all the time)
11009 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11011 * switch from SigC signals to boost::signals
11013 2002-05-29 André Pönitz <poenitz@gmx.net>
11015 * paragraph_pimpl.C (getChar): don't call size() too often...
11017 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11019 * paragraph_pimpl.C (insertChar): do not try to update tables when
11020 appending (pos == size())
11022 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11023 in order to reduce drastically the number of comparisons needed to
11024 parse a large document
11026 2002-05-29 André Pönitz <poenitz@gmx.net>
11032 * textclasslist.[Ch]:
11033 * sp_ispell.h: whitespace change
11035 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11037 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11038 lyxaction directly now.
11040 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11044 * lyxvc.C: remove unused headers
11046 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11053 * undo_funcs.C: some cleanups. Use shared_ptr
11054 and a template for the undo stacks.
11056 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11058 * BufferView_pimpl.h:
11059 * BufferView_pimpl.C:
11066 * text2.C: use key_state/mouse_state
11068 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11070 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11073 * chset.C: change include order
11074 (loadFile): use boost regex and get rid of LRegex and LSubstring
11076 * Makefile.am (BOOST_LIBS): new variable
11077 (lyx_LDADD): use it
11079 * LaTeX.C: change include order.
11080 (scanAuxFile): use boost regex and get rid of LRegex and
11084 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11089 * FontInfo.C: moved to frontends/xforms/
11092 * FontLoader.C: moved into frontends for GUIIzation
11097 * lyxfunc.C: changes from above
11099 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11101 * LColor.C: remove spurious X include
11103 * BufferView_pimpl.C:
11108 * text2.C: move font metrics to frontends/
11110 2002-05-24 Juergen Vigna <jug@sad.it>
11112 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11113 setting the undo_cursor.
11115 * ParagraphParameters.h: include local includes first.
11117 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11119 * BufferView_pimpl.C:
11120 * BufferView_pimpl.h:
11124 * screen.C: move WorkArea into frontends/
11130 * BufferView2.C: move LyXScreen into frontends/
11134 * lyx_gui.C: move lyxlookup into frontends/xforms/
11136 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11139 * BufferView_pimpl.C:
11149 * bufferview_funcs.C:
11162 * vc-backend.C: move LyX/XFormsView into frontends/
11164 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11176 * text2.C: move Painter to frontends/
11178 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11180 * buffer.C: comment out some some code that depend upon lyx_format
11183 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11184 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11186 * buffer.h (NO_COMPABILITY): turn off compability
11188 * ColorHandler.C: include scoped_array.hpp
11190 * font.C: Use more specific smart_ptr header.
11193 * ShareContainer.h: ditto
11194 * lyx_main.h: ditto
11196 * FontInfo.h: ditto
11197 * BufferView_pimpl.h: ditto
11198 * ColorHandler.h: ditto
11200 * kbmap.C (defkey): change call to shared_ptr::reset
11202 2002-05-21 Juergen Vigna <jug@sad.it>
11204 * buffer.C (insertErtContents): fix to insert ert asis if it is
11205 non empty. Skip it completely if it contains only whitespaces.
11207 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11209 * BufferView_pimpl.C:
11210 * BufferView2.C: clear selection on paste (bug 393)
11212 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11214 * DepTable.C: include ctime
11216 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11218 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11220 2002-05-14 Juergen Vigna <jug@sad.it>
11222 * text.C (breakParagraph): fixed function to honor the keepempty
11223 layout in the right maner and also to permit the right breaking
11224 algorithm on empty or non empyt keepempty paragraphs.
11226 * paragraph.C (breakParagraph): we have to check also if the par
11227 is really empty (!size()) for isempty otherwise we do the wrong
11230 2002-05-10 Juergen Vigna <jug@sad.it>
11232 * buffer.[Ch] : The following are only changes to the ert
11233 compatibility read reading old LaTeX layout and font stuff and
11234 convert it to ERTInsets.
11236 * buffer.h: added isErtInset().
11238 * buffer.C (struct ErtComp): add a fromlayout bool to check
11239 if we're inside a LaTeX layout.
11240 (isErtInset): new helper function.
11241 (insertErtContents): look for other ert insets before this one
11242 and insert the contents there, so that we don't have subsequent
11243 ERT insets with nothing between them. This way we create only one
11244 inset with multiple paragraphs. Also check if we don't insert only
11245 spaces ' ' as they are ignored anyway afterwards in the .tex file
11246 so if we have only spaces we will ignore this latex part in the
11248 (parseSingleLyXformat2Token \\layout): better compatibility when
11249 reading layout-latex stuff.
11250 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11252 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11253 stuff after reading the inset only get the information back from
11256 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11258 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11260 * LaTeXFeatures.C (getBabelOptions): New method.
11262 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11264 * BufferView_pimpl.C (Dispatch): work around missing argument for
11267 2002-05-08 Juergen Vigna <jug@sad.it>
11269 * text.C (leftMargin): handle paragraph leftindent.
11271 * paragraph.C (writeFile): write the new \\leftindent tag.
11272 (validate): handle leftindent code.
11273 (TeXEnvironment): handle paragraphleftindent code again.
11275 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11277 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11278 for paragrap_extra indent code and new token \\leftindent.
11279 (latexParagraphs): handle the leftindent as environment.
11281 * ParameterStruct.h: added leftindent support.
11283 * ParagraphParameters.C (leftIndent): added support functions for
11284 the paragraph left indent.
11286 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11289 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11291 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11294 * text.C (computeBidiTables): No bidi in insetERT.
11296 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11299 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11301 * version.C.in: pre 5
11303 2002-05-02 José Matos <jamatos@fep.up.pt>
11304 * buffer.C (makeDocBookFile): white space changes, add newline to
11306 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11308 * tabular.C (docBook): fix typo.
11310 2002-05-03 Juergen Vigna <jug@sad.it>
11312 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11313 change in LyXText as we can not be sure it was not freed.
11314 (drawOneRow): remove unused code.
11316 * text.C (drawInset): redo the calculation of the need_break_row as
11317 it could have a row which was already freed.
11318 (draw): look at the return value of drawInset and return false if
11319 it also returned false.
11320 (paintRowText): look at the return value of draw and return false if
11321 it also returned false.
11323 * lyxtext.h: added bool return type to drawInset() and draw() so that
11324 if we have a change in the row so that the rowbreak has to be redone
11325 we abort drawing as it will be called again.
11327 2002-05-02 Juergen Vigna <jug@sad.it>
11329 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11330 a change in the maintext also if we're inside an inset.
11331 (Dispatch): set the cursor again after a break line and after the
11332 screen has been updated as it could be we're in a different row.
11334 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11335 to set the cursor behind the pargraph with > size().
11336 (setCursor): check also for the same paragraph when checking where
11337 to put the cursor if we have a NFR inset.
11339 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11340 parts of layout read further up as it still was in the wrong
11343 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11345 * screen.C (drawFromTo): change sine fullRebreak always return
11348 * buffer.C (parseSingleLyXformat2Token): reindent some
11350 * BufferView_pimpl.C (update): change since fullRebreak always
11352 (Dispatch): git rid of the last hardcoded "Standard"s.
11354 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11356 * text2.[Ch] (fullRebreak): make it return void now that we always
11359 2002-04-30 Juergen Vigna <jug@sad.it>
11361 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11362 ert compatibility check for "latex" layout.
11364 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11366 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11367 minipages: use col% instead of p%, and also use the current font.
11368 (makeLaTeXFile): Fix use babel condition.
11369 (parseSingleLyXformat2Token): Correct font when reading old floats.
11371 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11373 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11374 inserting list of floats.
11376 2002-04-25 Herbert Voss <voss@lyx.org>
11378 * MenuBackend.C (expand): don't add the graphics extensions to the
11381 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11383 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11384 non-existing layout, do not complain if it was the default layout
11385 of the original class (bug #342)
11387 2002-04-24 Juergen Vigna <jug@sad.it>
11389 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11390 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11392 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11394 * buffer.C (getBibkeyList): If using \bibliography, return the
11395 option field with the reference itself. Enables us to provide natbib
11396 support when using \bibliography.
11398 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11400 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11402 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11403 natbib is provided by the LaTeX class.
11405 2002-04-23 Juergen Vigna <jug@sad.it>
11407 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11410 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11412 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11414 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11416 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11417 ensuremath around textordmasculine, textordfeminine and
11420 2002-04-19 Juergen Vigna <jug@sad.it>
11422 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11423 reinitializing the buffer otherwise row-dimensions may be wrong.
11424 (update): reset also the selection cursors if they do exits otherwise
11425 their x/y positions may be wrong.
11427 * text2.C (cursorDown): don't enter the inset if we came from a row
11428 above and are one row over the inset.
11430 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11431 really leaving an inset.
11433 2002-04-18 Juergen Vigna <jug@sad.it>
11435 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11436 of the selected paragraph does not have the selected layout also if
11439 * text2.C (setLayout): fixed bug which did not change last selected
11442 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11443 changed the read and substituted \\end_float with \\end_inset!
11445 * BufferView_pimpl.C (cursorPrevious):
11446 (cursorNext): fixed to make it work with rows heigher than the work
11447 area without moving the cursor only the draw of the row.
11448 (workAreaMotionNotify): fix jumping over high rows.
11450 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11452 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11455 2002-04-16 Juergen Vigna <jug@sad.it>
11457 * text2.C (setCursor): set also the irow().
11458 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11460 (cursorDown): support for locking an inset if the x_fix value goes
11461 inside it. That way I can transverse insets too with cursor up/down.
11463 * lyxrow.h: added irow helper function same as other (i) functions.
11465 * BufferView_pimpl.C (cursorPrevious):
11466 (cursorNext): fixed for insets!
11468 2002-04-15 Juergen Vigna <jug@sad.it>
11470 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11471 position otherwise it is wrong in some cases.
11473 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11474 inside the inset before the call.
11476 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11478 * buffer.[Ch] (getBibkeyList): make it const.
11480 2002-04-12 Juergen Vigna <jug@sad.it>
11482 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11484 * text2.C (getCursorX): new helper function
11485 (setCursor): compute also ix_
11486 (setCursorFromCoordinates): set also ix.
11488 * lyxcursor.h: added ix_ and helper functions.
11490 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11492 * buffer.C (insertStringAsLines): dont break paragraph if the this
11493 paragraph is inside an inset which does not permit it!
11495 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11496 also with no chars on this paragraph.
11497 (paintRowText): only paint stuff if it's inside the workarea!
11499 * paragraph.C (breakParagraph): honor keepempty flag and break the
11500 paragraph always below not above.
11502 * BufferView2.C (unlockInset): update the paragraph layout on inset
11503 unlock as we changed paragraph in such a case.
11505 * lyxfind.C (LyXFind): clear the former selection if not found!
11507 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11508 again called in insertChar().
11510 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11511 an inset which uses the whole row!
11512 (rightMargin): ditto.
11513 (insertChar): force a rebreak if we inserted an inset!
11515 2002-03-28 Herbert Voss <voss@lyx.org>
11517 * lyxlength.[Ch]: add inBP() to get the right PS-point
11518 units (BigPoint). With inPixels we have rounding errors
11520 2002-04-11 Juergen Vigna <jug@sad.it>
11522 * text2.C (setCursorFromCoordinates): set iy to the right value.
11523 (setCursor): add check if row->previous exists!
11525 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11526 an old float_type as this was the case in the old code!
11528 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11530 * BufferView2.C (showLockedInsetCursor): use iy
11531 (fitLockedInsetCursor): ditto
11533 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11534 locked insets as there we have the right value now.
11536 * lyxcursor.C: added iy_ variable and iy functions to set to the
11537 baseline of cursor-y of the locked inset.
11539 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11540 (setCursor): fixed for insets which need a full row.
11542 * text.C (rowLastPrintable): don't ignore the last space when before
11543 an inset which needs a full row.
11544 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11545 as last character of a row when before a inset which needs a full row.
11547 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11549 * version.C.in: update date
11551 * text2.C (fullRebreak): try to always return true and see what
11554 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11556 * MenuBackend.C (expand): use Floating::listName
11558 * FloatList.C (FloatList): add listName argument to the built-in
11561 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11562 text associated with the float.
11564 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11566 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11568 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11570 * ShareContainer.h: add a couple of missing typenames.
11572 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11574 * lyxrc.C (getDescription): use _() correctly rather than N_().
11576 2002-03-28 Herbert Voss <voss@lyx.org>
11578 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11579 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11581 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11583 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11584 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11586 2002-03-29 Juergen Vigna <jug@sad.it>
11588 * lyxfunc.C (dispatch): add a missing fitCursor call.
11590 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11591 it was scrolled by a cursor move, so return the bool status.
11593 * BufferView.C (fitCursor): return the bool flag also to the outside
11594 world as this is needed.
11596 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11598 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11599 call the edit() as it is not needed (and wrong) IMO.
11600 (workAreaButtonPress): set the screen_first variable before evt.
11601 unlock the inset as this may change screen_first and then we have
11602 a wrong y position for the click!
11604 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11606 * MenuBackend.C (expand): another translation that I missed
11608 2002-03-28 Juergen Vigna <jug@sad.it>
11610 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11612 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11614 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11616 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11618 * MenuBackend.C (expand): fix export/view/update when there is no
11621 2002-03-27 Herbert Voss <voss@lyx.org>
11623 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11626 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11628 * bufferview_funcs.C (currentState): only show paragraph number
11629 for is DEVEL_VERSION is set.
11631 * lyxfunc.C (dispatch): put warning in INFO channel
11633 * MenuBackend.C (expand): translate the name of floats
11635 * FloatList.C (FloatList): mark the float names for translation
11637 * converter.C (convert): use LibScriptSearch
11639 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11641 * MenuBackend.C (defaults): fix default menu (we might as well get
11644 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11646 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11649 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11651 * lyxvc.C: reorder includes.
11653 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11655 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11658 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11660 * CutAndPaste.C: change layouts earlier on paste
11661 to avoid crashing when calling getFont()
11663 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11665 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11668 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11670 * WorkArea.C: remove 'Pending' debug message.
11672 * most files: ws cleanup
11674 * buffer.[Ch]: ws changes
11676 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11678 2002-03-21 Juergen Vigna <jug@sad.it>
11680 * tabular.C (SetMultiColumn): collapse also the contents of the
11681 cells and set the last border right. Added a Buffer const * param.
11683 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11685 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11688 2002-03-19 Juergen Vigna <jug@sad.it>
11690 * text2.C (clearSelection): reset also xsel_cache.
11692 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11693 where it needs to be called (John tells us to do so too :)
11694 (selectionLost): reset sel_cache.
11696 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11698 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11700 * text2.C (setCursorIntern): put debuging code in INSETS channel
11702 2002-03-19 André Pönitz <poenitz@gmx.net>
11704 * lyxfunc.C: tiny whitespace change
11706 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11708 * ToolbarDefaults.C (init):
11709 * LyXAction.C (init):
11711 * BufferView_pimpl.C (Dispatch):
11712 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11714 2002-03-19 Allan Rae <rae@lyx.org>
11716 * exporter.C (Export): removeAutoInsets before doing anything else.
11717 While I've just introduced a dependency on BufferView this really is
11718 the best place to clean the buffer otherwise you need to cleanup in
11719 a dozen places before calling export or cleanup in a dozen functions
11722 * converter.C (runLaTeX):
11723 (scanLog): Better handling of removeAutoInsets and screen updates.
11725 * lyxfunc.C (dispatch): small whitespace changes
11727 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11729 * WorkArea.C (C_WorkAreaEvent): return a value.
11730 (event_cb): return 1 if we handled the event, 0 otherwise.
11732 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11734 2002-03-18 Juergen Vigna <jug@sad.it>
11736 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11737 (GetAdditionalWidth): ditto.
11738 (RightLine): ditto.
11741 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11742 inset if we're there actually (probably not used right now but this
11743 is the direction to go for unifying code).
11744 (paste): disable code to clear the selection.
11746 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11747 inside an InsetText and move the check further up as it is in the
11750 * text2.C (pasteSelection): set a selection over the pasted text.
11752 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11754 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11755 and libgraphics to build on Cygwin.
11757 2002-03-15 Juergen Vigna <jug@sad.it>
11759 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11760 inserting an Inset into the paragraph. I know this is not the best
11761 fix but we already use current_view in CutAndPaste so we will remove
11762 all of it's using at the same time.
11764 * buffer.C (sgmlError): deactivated function till it is rewritten in
11765 the right mode, now it can create problems.
11767 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11768 before accessing it.
11770 2002-03-14 Juergen Vigna <jug@sad.it>
11772 * undo_funcs.C (textHandleUndo): do the right thing when updating
11773 the inset after the undo/redo.
11775 * text2.C (setCursor): just some testcode for #44 not ready yet.
11777 * undo_funcs.C (textHandleUndo): set the next() and previous()
11778 pointers of the paragraph to 0 before deleting otherwise we have
11779 problems with the Paragraph::[destructor].
11781 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11782 on a paragraph insertion.
11784 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11786 * buffer.C (asciiParagraph): use += operator for char append to
11789 * paragraph.C (getFontSettings): compare >= not just >
11790 (highestFontInRange): ditto
11793 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11795 * paragraph.C: change several algorithm to be more appripriate for
11796 the problem domain. This is lookip in FontList and in the InsetList.
11798 2002-03-13 André Pönitz <poenitz@gmx.net>
11801 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11803 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11808 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11810 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11812 * Painter.C (display): anon helper function, adjust code for this
11814 (pixmap): remove function.
11816 * Painter.h: remove private display variable.
11818 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11820 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11822 * WorkArea.[Ch]: remove figinset_canvas cruft.
11824 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11826 * lyxtextclass.C (operator): add one item cache optimization.
11828 * bufferlist.h: doxy changes
11830 * bufferlist.C: ws changes
11832 * DepTable.[Ch] (ext_exist): place const in the right spot.
11834 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11836 (workAreaExpose): call resizeInsets when the with BufferView changes.
11837 (Dispatch): adjust for protectedBlank removal
11838 (specialChar): call updateInset if the insert went ok.
11840 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11841 specialChar instead.
11843 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11845 * BufferView.h: doxy change
11847 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11849 * lyxtextclass.C (operator[]): remove non-const version
11850 (defaultLayout): remove non-const version
11852 2002-03-12 Juergen Vigna <jug@sad.it>
11854 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11855 did resize the LyXText too.
11857 * buffer.C (readLyXformat2): set layout information on newly allocated
11860 * tabular.C (OldFormatRead): set layout information on the paragraph.
11862 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11864 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11866 2002-03-11 Juergen Vigna <jug@sad.it>
11868 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11870 (resizeCurrentBuffer): force also the insets to resize themselfes.
11871 (moveCursorUpdate): fixed up for InsetText.
11873 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11876 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11877 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11878 value of Dialogs::tooltipsEnabled().
11879 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11881 2002-03-08 Juergen Vigna <jug@sad.it>
11883 * BufferView_pimpl.C (updateInset): update inset inside inset also
11884 if it isn't inside theLockingInset().
11886 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11888 * buffer.C (asciiParagraph): redo some of the word and line length
11890 (getLists): look for Caption instead of caption.
11892 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11894 * buffer.C (Buffer): initialize niceFile to true
11896 (makeLinuxDocFile):
11897 (makeDocBookFile): make sure niceFile is true on exit
11899 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11901 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11903 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11905 * LyXSendto.C: remove.
11906 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11907 * lyx_gui.C: remove now-redundant comment.
11908 * ColorHandler.h: remove forward declaration of class WorkArea.
11909 * lyxfunc.C: remove #include "WorkArea.h".
11911 2002-03-07 Juergen Vigna <jug@sad.it>
11913 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11914 got moved away with the DEPM and also set the inset_owner always
11915 right which before could have been omitted.
11917 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11919 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11920 wanted layout is not found.
11922 2002-03-07 Juergen Vigna <jug@sad.it>
11924 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11926 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11928 * paragraph.C (breakParagraph): use default layout not layout of
11930 (Paragraph): clear ParagraphParameters.
11932 2002-03-06 Juergen Vigna <jug@sad.it>
11934 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11935 otherwise it would not be a valid lenght. Fixed a special case in
11936 the minipage compatibility read where we end the document with a
11939 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11940 was set as it could be 0 for InsetTexts first entry.
11942 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11944 * paragraph.C (writeFile): if layout is empty write out
11945 defaultLayoutName().
11947 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11948 file without named layout we set layout to defaultLayoutName().
11950 2002-03-06 Juergen Vigna <jug@sad.it>
11952 * CutAndPaste.C (copySelection): set layout for new paragraph.
11954 * text.C (prepareToPrint): leave ERT inset left aligned
11955 (leftMargin): don't indent paragraphs inside ERT insets
11957 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11959 * paragraph.C (breakParagraph): dont call clear do the work manually
11961 * paragraph.[Ch] (clear): remove function
11963 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11965 * paragraph.C (Paragraph): dont call clear, the work has already
11968 * lyxtextclass.C (operator): assert if n is empty
11970 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11971 work manually instead.
11973 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11975 * BufferView_pimpl.C: protect selectionLost against text == 0
11977 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11979 * text.C (breakParagraph): fix a setting layout to '0' problem.
11981 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11983 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11984 final location of file, for the included files, and graphics.
11986 2002-03-05 Juergen Vigna <jug@sad.it>
11988 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11990 2002-03-04 Juergen Vigna <jug@sad.it>
11992 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11994 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11995 last column of multicolumn cells.
11996 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11998 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12000 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12001 file if it doesn't go to a temporary file.
12003 * buffer.C (sgmlOpenTag):
12004 (sgmlCloseTag): remove extra newline insertion.
12006 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12008 * text.C (getRowNearY): comment out debug msg
12010 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12012 * text2.C: first -> first_y
12014 * text.C (getRowNearY): add some attemts at a possible
12015 optimization, not working.
12017 * tabular.[Ch]: add BufferParams to several function so that newly
12018 created paragraph can be initialized to he default layotu for the
12021 * tabular-old.C (ReadOld): add buf->params to call of Init
12023 * screen.C: rename text->first to text->first_y
12025 * paragraph.C (breakParagraph): always set layout in the broken
12028 * lyxtextclass.C (Read): remove lowercase
12031 (delete_layout): ditto
12033 * lyxtext.h: rename first -> first_y
12035 * lyxlayout.C (Read): remove lowercase
12038 (obsoleted_by): ditto
12040 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12042 * buffer.C (insertErtContents): add params are to InsetERT
12043 (parseSingleLyXformat2Token): add code to check if a paragraphs
12044 layout really exist.
12045 (parseSingleLyXformat2Token): add params to several inset
12047 (asciiParagraph): remove lowercase, do the layout comparisons with
12050 * BufferView_pimpl.C (cursorNext): first -> first_y
12051 (resizeCurrentBuffer): first -> first_y
12052 (updateScrollbar): first -> first_y
12053 (scrollCB): first -> first_y
12054 (workAreaMotionNotify): first -> first_y
12055 (workAreaButtonPress): first -> first_y
12056 (checkInsetHit): first -> first_y
12057 (cursorPrevious): first -> first_y
12058 (cursorNext): first -> first_y
12059 (Dispatch): add buffer_->params to severl inset contructors
12061 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12063 * lyxlayout.C (Read): remove some debug info that I forgot.
12065 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12066 clean up the code slightly.
12067 (makeLinuxDocFile): ditto
12068 (makeDocBookFile): ditto
12070 * text2.C: layout as string
12072 * text.C: layout as string
12074 * paragraph_pimpl.C: layout as string
12076 * paragraph.[Ch]: layout as string
12078 * lyxtextclasslist.[Ch]: layout as string
12080 * lyxtextclass.[Ch]: layout as string
12082 * lyxtext.h: layout as string
12084 * lyxlayout.[Ch]: layout as string
12086 * lyx_cb.C: layout as string
12088 * bufferview_funcs.C: layout as string
12090 * bufferparams.C: layout as string
12092 * buffer.C: layout as string
12094 * LyXView.[Ch]: layout as string
12096 * LaTeXFeatures.[Ch]: layout as string
12098 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12100 * BufferView_pimpl.C: change current_layout to string, remove
12105 (workAreaButtonRelease): layout as string
12107 * BufferView2.C (unlockInset): adjust
12109 * vspace.C (asLatexCommand): use an explict temp variable.
12111 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12113 * Makefile.am: use FRONTEND_*
12115 2002-03-01 Juergen Vigna <jug@sad.it>
12117 * tabular.C (SetWidthOfMulticolCell): changed to something better
12118 I hope but still work in progress.
12119 (recalculateMulticolumnsOfColumn): renamed function from
12120 recalculateMulticolCells as it is more appropriate now.
12121 (SetWidthOfCell): calculate multicols better.
12123 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12125 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12127 * lyxfunc.C (processKeySym): print sequence also if it is
12128 `deleted' (complete)
12130 * kbsequence.C (print): print sequence even if it is deleted
12131 (complete would be a better word, actually).
12133 * lyxfunc.C (dispatch): print complete options after a prefix key
12135 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12137 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12139 * text2.C (setCharFont): eliminate setCharFont code duplication.
12141 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12143 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12144 LFUN_TABULAR_FEATURE (bug #177)
12146 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12148 * Makefile.am: remove figure.h
12150 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12152 * Bufferview_pimpl.C:
12164 * text2.C: remove #include "lyx_gui_misc.h".
12166 * LaTeX.C: added #include <cstdio>
12168 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12170 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12171 that the paragraph following this one can have.
12173 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12175 * vspace.C (asLatexCommand): fix bogus gcc warning
12177 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12179 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12181 * text2.C (setLayout): get rid of redundant code
12183 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12185 * text2.C (incDepth): make sure depth cannot be increased beyond
12188 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12190 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12191 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12193 * PainterBase.h (image):
12194 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12195 a LyXImage const *.
12197 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12201 * BufferView_pimpl.C:
12202 * BufferView_pimpl.h:
12222 * sp_spell.C: remove fig inset, and the crap house of
12223 cards that follows it
12225 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12230 * os2_errortable.h:
12231 * nt_defines.h: move .h into support/
12233 * vms_defines.h: remove
12235 * WorkArea.C: add space in debug output
12239 * buffer.C: add WITH_WARNINGS
12243 * bufferlist.C: s/retrive/retrieve/, add docs
12252 * chset.C: add docs
12254 * lyxgui.C: add ID to X error handler
12256 * lyxtestclass.c: fix typo
12258 2002-02-26 Juergen Vigna <jug@sad.it>
12260 * tabular_funcs.C (write_attribute): changed so that some default
12261 attributes are not written at all.
12262 (getTokenValue): set default values before trying to read the
12263 value so we have the return value always set as default if we don't
12264 find the token we search for.
12266 * tabular.C (Write): write bools as bools not as strings!
12268 2002-02-22 Juergen Vigna <jug@sad.it>
12270 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12271 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12273 * text.C (leftMargin): don't add an indent for paragraphs inside
12274 tabular cells (fix #208).
12276 2002-02-21 José Matos <jamatos@fep.up.pt>
12278 * tabular.C (docBook): fixed support for long tables.
12280 2002-02-20 Juergen Vigna <jug@sad.it>
12282 * text2.C (getFont): get the drawing font of the Inset if this
12283 paragraph is inside an inset (only important for InsetERT for now).
12285 * buffer.C (insertErtContents): use new lanugage params in ERT
12288 * CutAndPaste.C: commenting out seemingly uneeded code.
12290 2002-02-19 Allan Rae <rae@lyx.org>
12292 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12293 Iterators might be simple to use but they also get invalidated.
12294 (removeAutoInsets): renamed saved cursor tracking variables and added
12295 some comments to clarify what everything does.
12297 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12304 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12305 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12308 * vc-backend.h: remove #include "support/syscall.h"
12312 * converter.C: rearrange #includes in Lars' approved fashion.
12314 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12315 forward declare class Timeout in the header file.
12317 * XFormsView.C: changes due to the above.
12319 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12320 similar to LyXView.
12322 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12323 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12325 2002-02-18 José Matos <jamatos@fep.up.pt>
12327 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12330 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12332 * a lot of small ws changes
12333 * add a lot of using std::XXX
12334 * use std construcs some places where approp.
12335 * use some exisint stuff from lyxfunctional where approp.
12336 * Make file changes to use partial linking (lets test this now...)
12338 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12342 remove #include "support/syscontr.h" as it's redundant. Always has been.
12350 change Systemcalls::System to Systemcalls::Wait and
12351 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12352 No change of functionality, just reflects the stripped down Systemcalls
12355 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12357 * debug.[Ch]: add a GRAPHICS type to the enum.
12359 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12361 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12363 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12366 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12368 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12369 match the changes below.
12371 * text2.C (toggleInset): if there is not editable inset at cursor
12372 position, try to see if cursor is _inside_ a collapsable inset
12375 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12377 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12378 document menu has a nice checkbox
12380 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12382 * lyxlength.C (asLatexString): change PW to output as percent of
12385 * lengthcommon.C: change '%' to 't%'
12387 * lyxfunc.C (dispatch): a few comments from Martin
12389 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12393 * BufferView_pimpl.h:
12394 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12397 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12399 * vspace.C (inPixels): fix compiler warning
12401 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12403 * lyxfunc.C (getStatus): fix status message for disabled commands.
12405 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12407 * BufferView_pimpl.C: fix crash on close buffer
12408 during selection (#227)
12410 2002-01-27 Herbert Voss <voss@lyx.org>
12412 * buffer.C: link old Figure to new graphic inset
12414 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12416 * FontLoader.C (getFontinfo): Change the latex font names in order
12417 to match the names of type1inst.
12419 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12421 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12423 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12424 (extchanged): ditto
12426 (remove_files_with_extension): ditto
12427 (remove_file): ditto
12430 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12431 document is smaller than the work area height. Do not initialize
12432 static variables to 0.
12434 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12436 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12438 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12439 LFUN_LAYOUT_PARAGRAPHS.
12441 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12442 tabular. It is possible to provide a possible cell, which will
12443 typically be the actcell from the corresponding insettabular
12445 * lyxfunc.C (getStatus): small cleanup; disable
12446 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12449 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12451 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12453 * paragraph.C (startTeXParParams):
12454 (endTeXParParams): new methods. The LaTeX code to
12455 start/end paragraph formatting
12456 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12457 empty (fixes bug #200)
12459 * vspace.C (inPixels): adapt to the change below
12460 (inPixels): [later] more cleanups (remove unused variables)
12462 * lyxlength.C (inPixels): change to use a width and a height as
12465 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12467 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12468 Replaced with \paperwidth
12470 * DepTable.C (insert): add std:: qualifier
12472 2002-01-18 Allan Rae <rae@lyx.org>
12474 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12477 * text.C (drawInset): Turned out I didn't know enough about how
12478 rebreaking worked. This fixes most of the redraw problems. I see
12479 an occasional cursor trail when a line is broken now and the cursor
12480 placement can seem out by a few pixels also after a rebreak.
12482 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12484 * buffer.C (parseSingleLyXformat2Token): update because minipage
12485 width is now a LyXLength
12487 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12489 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12492 2002-01-17 Juergen Vigna <jug@sad.it>
12494 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12496 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12497 is set correctly and the inset is updated correctly.
12499 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12501 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12502 the beginning of the loop.
12504 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12506 * lyxrc.C: improve help for use_scalable_fonts
12508 2002-01-17 Allan Rae <rae@lyx.org>
12510 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12512 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12514 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12515 make sure to set their inset_owner to the right value (bug #171)
12517 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12520 * DepTable.C: Implement mtime checking to reduce time spent doing
12523 2002-01-16 Juergen Vigna <jug@sad.it>
12525 * tabular.C (GetAdditionalHeight): one of error fixed.
12527 * lyxrc.C (output): small fix in writing use_pspell.
12529 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12531 * sp_base.h: #include LString.h
12533 2002-01-16 Allan Rae <rae@lyx.org>
12535 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12536 Can someone check this please?
12538 * text.C (drawInset): It was possible that p.row would be removed by
12539 breakAgainOneRow upsetting a few other settings. There may be another
12540 small tweak possible by setting need_break_row = 0 when p.row has been
12541 removed but I don't know enough about the logic here.
12543 2002-01-15 Allan Rae <rae@lyx.org>
12545 * text.C (insertChar): removed conditional truism.
12547 * BufferView2.C (removeAutoInsets): More tweaks.
12548 cur_par_prev could be a stray pointer. Check for trailing empty line
12549 in case last line was cur_par and only had an error inset on it.
12551 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12553 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12556 * vc-backend.C (most methods):
12557 * exporter.C (Export):
12558 * converter.C (convert):
12560 * LyXSendto.C (SendtoApplyCB):
12561 * lyxfunc.C (dispatch):
12565 * lyx_cb.C (AutoSave):
12567 * BufferView_pimpl.C (MenuInsertLyXFile):
12568 * buffer.C (runChktex): use Buffer::filePath().
12570 * buffer.h: rename filename to filename_; rename filepath to
12571 filepath_ and make it private
12572 (filePath): new method
12574 * buffer.C (writeFile): use fileName()
12577 * lyx_main.C (init): fix starting of LyX when the binary is a
12578 link from so,ewhere else.
12580 * minibuffer.C: include <cctype> for isprint
12582 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12584 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12585 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12586 name clash with InsetCollapsable's width function.
12588 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12590 * lastfiles.C: include <iterator>
12592 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12594 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12597 * buffer.C (makeLaTeXFile): ditto.
12598 Also make loop operation more transparent.
12600 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12602 * ToolbarDefaults.C: remove trailing comma closing namespace.
12604 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12606 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12609 * trans.C (Load): comment out unused variable, allowed.
12611 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12613 * minibuffer.[Ch] (append_char): new method to recieve input from the
12614 drop-down completion browser. If a key was pressed, then recieve this
12615 char and append it to the existing string.
12616 (peek_event): modify the positioning data passed to the completion
12617 browser so that it can be placed above the minibuffer rather than below.
12618 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12620 * LyXAction.C (init): alloe error-next for readonly documents.
12622 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12625 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12627 * bufferlist.C (readFile): create the buffer _after_ checking that
12630 * lyxfunc.C (verboseDispatch): fix handling of arguments
12632 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12634 * lyxrc.C: use string::erase() instead of initializing to "".
12637 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12639 * BufferView_pimpl.h:
12640 * BufferView_pimpl.C:
12643 * text2.C: tell X when we have made a selection for copying
12645 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12647 * BufferView_pimpl.C (MenuInsertLyXFile):
12648 * lyxfunc.C (menuNew):
12650 (doImport): add shortcuts to directory buttons
12652 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12655 * lyxfunc.C (setStatusMessage):
12656 (getStatusMessage): new methods
12657 (getStatus):use setStatusMessage instead of setErrorMessage
12658 (dispatch): when function is disabled, set error message here
12659 [instead of in getStatus previously]
12661 * BufferView_pimpl.C (workAreaButtonRelease): update
12662 toolbar/menubar here too.
12664 2002-01-13 Allan Rae <rae@lyx.org>
12666 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12667 Now seems indestructible. Remaining task is to audit all other
12668 code affected by deleteEmptyParagraphMechanism. One small quirk
12669 left is that an empty document with an error in the preamble can
12670 be made to report an error but no error box appears. I don't know
12672 (removeAutoInsets): Improved comments.
12674 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12677 * Thesaurus.C: update for Aiksaurus 0.14
12679 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12681 * text2.C (firstParagraph): removed member function, all uses
12682 replaces with ownerParagraph
12683 (redoParagraphs): here
12684 (updateInset): here
12685 (toggleAppendix): here
12686 * BufferView2.C (insertErrors): here
12687 (setCursorFromRow): here
12689 2002-01-13 Allan Rae <rae@lyx.org>
12691 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12692 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12693 There is still a way to segfault this although you may have to do this
12694 multiple times: Have an InsetERT with an unknown command in it.
12695 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12696 <down-arrow>, <Enter> again, View->DVI, BANG!
12698 * text2.C (setCursor):
12699 (deleteEmptyParagraphMechanism):
12700 * lyxtext.h (setCursor):
12701 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12702 Making use of the return value may help fix other bugs.
12704 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12706 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12708 * LyXView.C (updateMenubar): call MenuBar::update here
12709 (updateToolbar): but not here
12710 (showState): do not update toolbar/menubar
12712 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12713 should need to care about that.
12715 * lyxfunc.C (verboseDispatch): simplify a bit
12716 (getStatus): have a version which takes a pseudoaction, and
12717 another which requires a (kb_action,string).
12719 * LyXAction.C (retrieveActionArg): make it work also when action
12720 is not a pseudo-action.
12721 (getActionName): simplify a bit
12724 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12726 * lyxfunc.C (verboseDispatch): new families of methods with
12727 several ways to specify a command and a bool to indicate whether
12728 the command name and shortcut should be displayed in minibuffer
12729 (eventually, we could extend that to a finer bitmask like
12730 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12731 (dispatch): the pristine dispatch command which just, well,
12732 dispatchs! Note it still sets its result to minibuffer; I'm not
12735 * lyxfunc.h: remove setHintMessage
12737 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12739 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12741 * BufferView_pimpl.C (specialChar): delete new inset if we have
12742 not been able to insert it.
12744 * kbmap.C: revert to using int instead of kb_action, since all we
12745 are dealing with is pseudo-actions.
12747 * LyXAction.C (searchActionArg): change to return int instead of
12748 kb_action, since the result is a pseudoaction.
12750 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12752 * buffer.C (insertErtContents): Fix (partially) the font bug.
12754 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12756 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12757 as the other one is broken on my machine!
12759 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12762 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12764 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12766 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12767 reflect their actual use. Provide compatibility code for older lyxrc
12770 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12772 change names of popup font variables in line with the changes to lyxrc.C
12774 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12776 * buffer.C (asciiParagraph): avoid outputing a word twice after
12779 * lyxrc.C (getDescription): document that document_path and
12780 template_path can be empty.
12782 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12784 * LaTeXFeatures.C (getMacros):
12785 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12787 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12789 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12791 (getPackages): rename feature "floats" to "float". Use an array to
12792 iterate over 'simple' features (i.e. just a \usepackage). Add
12793 handling of "amsmath" (renamed from "amsstyle").
12795 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12797 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12800 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12802 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12803 FuncStaus::FuncStatus & FuncStaus::some_method().
12805 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12807 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12808 of the func_satus stuff. Edited and massaged in various ways by
12811 * lyxfunc.C (getStatus): use FuncStatus
12813 2002-01-08 Juergen Vigna <jug@sad.it>
12815 * text.C (nextBreakPoint): use function Inset::isChar().
12817 * paragraph.C (TeXOnePar): use function
12818 Inset::forceDefaultParagraphs.
12820 * buffer.C (latexParagraphs): use function
12821 Inset::forceDefaultParagraphs.
12823 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12825 * lyx_gui.C (init): set the style of the menu popups to
12826 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12828 2002-01-07 Juergen Vigna <jug@sad.it>
12830 * text.C (setHeightOfRow): small fix
12831 (prepareToPrint): don't look at alignment if we don't have the place
12834 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12836 * box.C: New file. Move the Box methods and functions out of box.h,
12837 following Lars' suggestion.
12839 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12841 * box.h: #include "support/LOstream.h", needed for inlined function.
12844 * lyxtextclasslist.C: added some using std declarations.
12846 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12848 * box.h: make signed dimensions to allow insets wider than
12849 the screen (bug #162)
12851 * BufferView_pimpl.C: add some insetHit debug
12853 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12855 * vc-backend.C: add FIXME
12857 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12859 * lyxfunc.C (getStatus): enable code for showing math font status
12862 2002-01-07 Juergen Vigna <jug@sad.it>
12864 * text.C (nextBreakPoint): removed debug output not needed anymore.
12866 2002-01-06 Juergen Vigna <jug@sad.it>
12868 * text.C (nextBreakPoint): fixed up this function we had this bug
12869 since ever but now hopefully we break row better.
12870 (insertChar): we have to check if an inset is the next char as it
12871 could now happen that a large inset is causing a break.
12873 2002-01-05 Juergen Vigna <jug@sad.it>
12875 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12876 if it doesn't like to be drawed.
12878 2002-01-04 Juergen Vigna <jug@sad.it>
12880 * BufferView2.C (lockInset): forgot to set a cursor.
12882 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12884 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12886 * FormMathsPanel.C:
12889 * form_maths_panel.C:
12890 * form_maths_panel.h:
12891 * form_maths_panel.fd: implemented sub- and super- buttons in math
12894 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12895 (or ^ space) to be used as in TeX (req'd by André).
12897 * lyxfunc.C: Allow ^ and _ again to be used both as
12898 super/subscript (mathed) and as themselves (in text).
12900 2002-01-03 Allan Rae <rae@lyx.org>
12902 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12903 "LyX" or the filename of the current buffer if it has one. This is a
12904 modified form of John Levon's patch.
12906 * XFormsView.C (setWindowTitle): also set icon title.
12908 * LyXView.h (setWindowTitle): signature changed.
12909 * XFormsView.h (setWindowTitle): ditto.
12911 2002-01-02 Juergen Vigna <jug@sad.it>
12913 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12915 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12917 * screen.C (topCursorVisible): introduce a temp var for
12918 text->cursor.row(), handle the case where this row is null. (kindo
12921 * text2.C (setCursor): add a couple of asserts.
12923 * paragraph.h (inset_iterator): add -> operator
12925 * paragraph.[Ch] (autoDeleteInsets): remove member function
12927 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12928 cursor pos correctly and handle inset deletion by itself.
12929 (insertErrors): move iterator declaration out of for expression
12931 * lyxtextclass.C: add <algorithm>
12933 * Makefile.am: added the new files to sources, removed layout.C
12935 * layout.C: removed file
12937 * layout.h: remove LYX_DUMMY_LAYOUT
12939 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12943 * lyxtextclass.[Ch]:
12944 * lyxtextclasslist.[Ch]: new files
12946 * include order changes to a lot of files, also changes because of
12949 2001-12-27 Juergen Vigna <jug@sad.it>
12951 * buffer.C (asciiParagraph): more fixes.
12953 * tabular.C (ascii): make ascii export support export of only the
12954 data separated by a column-delimiter.
12955 (ascii): better support for ascii export.
12957 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12959 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12961 * tabular_funcs.C: use a "using std::getline" instead of the
12962 previous fix from Angus (necessary for cxx + lyxstring)
12964 2001-12-24 Juergen Vigna <jug@sad.it>
12966 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12968 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12969 problems. First check a minipage also if we have some ert-contents
12970 (not only on par->size(), second set the right depth of the paragraph
12971 on the relink to the root-paragraph-list!
12973 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12974 which then did not anymore update the main paragraphs on undo/redo!
12976 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12978 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12979 code. Support all font-changing funcs (even those which are not in
12980 menu currently). Support for reporting font settings in
12981 mathed (disabled until Andre provides a function on mathed's side).
12983 * func_status.h (toggle): small helper function to set toggle
12986 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12988 * tabular_funcs.C: getline -> std::getline
12990 2001-12-21 Juergen Vigna <jug@sad.it>
12992 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12993 accessed and could be 0 (I couldn't generate this but it seems
12996 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12998 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12999 * tabular_funcs.h: here and include iosfwd
13001 2001-12-20 Juergen Vigna <jug@sad.it>
13003 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13004 inside inset but undo_par was.
13006 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13008 * Thesaurus.C: always include <config.h> in sources.
13012 * box.h: do not include <config.h> in header files
13014 * text.C (paintLastRow): remove unused variable
13016 * text.C (transformChar):
13018 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13020 * Painter.C (text):
13021 * font.C (width): rewrite to use uppercase() instead of
13024 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13026 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13028 * lyxfind.C: clean up of find failure position change
13030 2001-12-20 Juergen Vigna <jug@sad.it>
13032 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13034 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13035 (TeXRow): added to LaTeX a single tabular row.
13036 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13037 (Latex): simplified and finally good LT-h/f support.
13038 (various_functions): just small adaptions for LT-h/f support.
13040 * tabular_funcs.[hC]: added and moved here all not classfunctions
13043 2001-12-19 Juergen Vigna <jug@sad.it>
13045 * tabular.[Ch]: better support for longtabular options (not finished
13048 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13050 * text.C (paintLastRow): use the label font instead of the font of
13051 the last character to compute the size of *_BOX. This makes more
13052 sense and avoids a crash with empty paragraphs.
13053 Use Painter::rectangle to draw EMPTY_BOX.
13055 2001-12-19 Juergen Vigna <jug@sad.it>
13057 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13058 the paragraphs if the replaced paragraph is not the first one!
13059 Tried to delete not used paragraphs but does not work yet so for
13060 now it's inside #ifdef's and by default off!
13062 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13064 * MenuBackend.C: include "lyx_main.h" instead of declaring
13065 lastfiles (actually was declared as LastFiles* instead of a
13068 2001-12-17 Juergen Vigna <jug@sad.it>
13070 * tabular.C (AppendColumn): applied John's fix
13072 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13076 * BufferView_pimpl.h:
13077 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13080 * box.h: new start of class for above
13082 * lyxfunc.C: ignore space-only minibuffer dispatches.
13083 Show the command name when it doesn't exist
13085 * minibuffer.C: don't add empty lines to the history
13087 * minibuffer.C: add a space on dropdown completion
13089 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13091 * text.C: fix line above/below drawing in insets
13093 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13095 * lyxlength.C (LyXLength): Initialize private variables.
13097 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13099 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13100 when inserting error insets.
13102 2001-12-13 Juergen Vigna <jug@sad.it>
13104 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13105 actually sometimes the before-paragraph.
13106 (setUndo): don't clear the redostack if we're not actually undoing!
13108 2001-12-06 Juergen Vigna <jug@sad.it>
13110 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13111 and fixed redoing of main paragraph, so we can use it now ;)
13113 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13115 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13117 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13120 2001-12-13 André Pönitz <poenitz@gmx.net>
13123 * undo_func.C: minor cleanup
13125 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13127 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13128 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13129 font in urw-fonts package which is marked as -urw-fontspecific and
13130 does not work (incidentally, changing the encoding in the
13131 fonts.dir of this package to -adobe-fontspecific fixes the
13134 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13135 is a crash when undoing first paragraph (Juergen, please take a
13136 look). THis does not mean the undo fix is wrong, just that it
13139 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13140 the (Paragraph*) version when needed instead of duplicating the
13143 * text.C (workWidth): use Inset::parOwner to find out where the
13144 inset has been inserted. This is a huge performance gain for large
13145 documents with lots of insets. If Inset::parOwner is not set, fall
13146 back on the brute force method
13148 * paragraph_pimpl.C (insertInset):
13149 * paragraph.C (Paragraph):
13150 (cutIntoMinibuffer): set parOwner of insets when
13151 inserting/removing them
13153 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13155 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13161 * mathed/formulabase.C:
13162 * mathed/math_cursor.[Ch]:
13163 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13166 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13168 * lyxlength.[Ch] (operator!=): new function
13170 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13172 * text.C (workWidth): use Inset::parOwner to find out where the
13173 inset has been inserted. This is a huge performance gain for large
13174 documents with lots of insets. If Inset::parOwner is not set, fall
13175 back on the brute force method
13177 * paragraph_pimpl.C (insertInset):
13178 * paragraph.C (Paragraph):
13179 (cutIntoMinibuffer): set parOwner of insets when
13180 inserting/removing them
13182 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13184 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13186 * tabular-old.C (getTokenValue):
13187 * tabular.C (getTokenValue):
13188 (write_attribute): new versions for LyXLength
13189 (everywhere): adjust the use of widths
13191 * tabular.h: change the type of widths from string to LyXLength
13193 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13195 * paragraph.C: fixed missing line number count when exporting
13196 Environments to LaTeX file
13198 * buffer.C: added informational message for checking line numbers.
13200 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13202 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13203 paragraph, do the 'double space' part, but not the 'empty
13206 * text.C (workWidth): small optimization
13207 (getLengthMarkerHeight): use minimal size for negative lengths.
13209 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13211 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13213 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13215 2001-12-11 André Pönitz <poenitz@gmx.net>
13218 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13220 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13222 * text2.C: keep selection on a setFont()
13224 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13226 * lyx_cb.C: another bv->text misuse, from insert label
13228 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13231 * kbsequence.C: re-instate nmodifier mask
13233 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13235 * lyx_main.h: make lyxGUI private.
13237 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13239 * lyxfind.C: place the cursor correctly on failed search
13241 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13243 * text.C (getLengthMarkerHeight): for small heights, the arrows
13244 are not always on top/bottom of the text
13245 (drawLengthMarker): smaller arrows; take the left margin in
13246 account; draw also vfills.
13248 (paintLastRow): remove special code for vfill and standard spaces,
13249 since everything is handled in drawLengthMarker now.
13251 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13253 * buffer.C (insertErtContents): try to handle font and language
13254 interaction a bit better.g
13256 * ColorHandler.C (updateColor): change the hash to cover the whole
13257 LColor enum, ws cleanup
13258 (getGCLinepars): ditto
13259 (getGCLinepars): only lookup in the linecache once.
13261 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13263 * iterators.C (operator++): Make the iterator more robust
13265 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13267 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13269 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13272 * text.C: better added space drawing
13274 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13277 * BufferView2.C: fix layout combo update on inset unlock
13279 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13281 * Makefile.am: don't compile unused files
13283 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13287 * LyXAction.C: remove old LFUN_LAYOUTNO
13289 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13291 * paragraph_pimpl.h:
13292 * paragraph_pimpl.C: isTextAt() doesn't need font param
13294 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13297 * lyxlex.C: little cleanup
13299 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13301 * BufferView_pimpl.C: fix insertAscii for insets
13303 2001-12-05 Juergen Vigna <jug@sad.it>
13305 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13306 set the right font on the "multi" paragraph paste!
13308 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13314 * lyxlength.C: remove out-commented code.
13316 * BufferView_pimpl:
13330 * vc-backend.C: change "while(" to "while ("
13332 * lyxlength.[Ch]: add zero function to check if length is zero or
13334 * lyxgluelength.C: use it
13336 2001-12-05 Allan Rae <rae@lyx.org>
13338 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13339 Works for 2.95.3, from what I understand of Garst's reports this should
13340 work for other g++ versions. We're screwed if the abs(int) definition
13341 changed between bugfix releases of gcc.
13343 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13345 * text.C: fix chapter label offset !
13347 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13350 * text.C: fix hfill at end of line, clean up
13352 2001-12-04 Juergen Vigna <jug@sad.it>
13354 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13355 that we force an update of the inset and it's owners if neccessary.
13357 2001-12-03 Juergen Vigna <jug@sad.it>
13359 * text.C (rowLast): simplified code
13361 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13363 * lyxfunc.C: fix show options on timeout
13365 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13367 * screen.C (topCursorVisible): scroll half a page when the cursor
13368 reached top of bottom of screen
13370 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13372 * minibuffer.C: deactivate on loss of focus
13374 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13376 * vspace.[Ch] (operator!=): add operator.
13378 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13380 * BufferView_pimpl.C: refuse to open an inset when
13381 there's a selection.
13383 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13385 * BufferView_pimpl.C: allow to click on RHS of full row insets
13387 2001-11-30 Juergen Vigna <jug@sad.it>
13389 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13390 insets for undo reasons.
13392 2001-11-28 André Pönitz <poenitz@gmx.net>
13394 * vspace.[Ch]: cosmetical changes
13396 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13406 * kbsequence.C: part re-write of old kb code
13409 * WorkArea.C: remove Lgb_bug_find_hack
13411 2001-11-30 José Matos <jamatos@fep.up.pt>
13413 * buffer.C (makeDocBookFile): add a comment to point a hack.
13414 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13415 Fixed a double write of labels.
13417 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13420 * LaTeX.h Fixed bug in LaTeX class where it would not
13421 re-run latex if no depfiles were changed, but the .dvi was removed.
13423 2001-11-28 André Pönitz <poenitz@gmx.net>
13425 * all the files from the change on 2001/11/26:
13426 use lyx::layout_type instead of LyXTextClass::size_type
13427 use lyx::textclass_type instead of LyXTextClassList::size_type
13429 2001-11-29 Juergen Vigna <jug@sad.it>
13431 * text.C: added support for paragraph::isFreeSpacing()
13433 * buffer.C: same as above
13435 * paragraph.h: inserted isFreeSpacing() function to enable
13436 FreeSpacing inside InsetERT.
13438 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13439 of the paragraph's in the cut/copy buffer to 0!
13441 * text2.C (removeRow): remove the assert as it can!
13443 * lyxtext.h: added helper function firstRow returning firstrow and
13444 made firstrow private again.
13446 * BufferView2.C (lockInset): don't relock if we're already locked!
13448 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13449 the only paragraph.
13450 (removeRow): added Assert::(firstrow)
13452 * debug.C: forgot to add INSETTEXT here.
13454 2001-11-28 Juergen Vigna <jug@sad.it>
13456 * sp_spell.C (initialize): changed error text to more general
13457 spellchecker command use (not only ispell!)
13459 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13461 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13463 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13465 * vspace.C: initialise lyxgluelength on failure
13467 2001-11-28 Allan Rae <rae@lyx.org>
13469 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13470 declaration & definition that looks like a function declaration.
13472 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13474 * BufferView2.C (copy):
13475 (copyEnvironment): do not clear the selection when doing a copy.
13477 * text.C (paintFirstRow): compilation fix
13479 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13481 * tabular.C (Latex): correct line count when writing latex.
13483 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13485 * paragraph_pimpl.h:
13486 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13489 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13493 * LColor.C: change vfillline->added_space
13495 * text.C: add markers and text for added space
13497 * vspace.C: fix comment
13499 2001-11-28 André Pönitz <poenitz@gmx.net>
13501 * paragraph.C: whitespace changes
13502 * all the other files from the change on 2001/11/26:
13503 change *::pos_type into lyx::pos_type
13505 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13507 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13508 language of the document when inserting error insets.
13510 2001-11-26 André Pönitz <poenitz@gmx.net>
13512 * BufferView_pimpl.[Ch]:
13520 * paragraph_pimpl.[Ch]:
13523 * text2.C: reduce header dependencies, introduce type for positions
13525 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13527 * <various>: change to use Alert.h
13529 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13531 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13532 when encountering an unknown token.
13533 (readLyXformat2): Show an error message if there were unknown tokens.
13535 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13538 * BufferView_pimpl.C:
13542 * text2.C: use par->isInset()
13544 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13546 * paragraph_pimpl.h:
13547 * paragraph_pimpl.C: cleanup
13549 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13551 * text2.C (removeRow):
13552 * text.C (setHeightOfRow): remove useless (and costly) call to
13555 2001-11-20 Allan Rae <rae@lyx.org>
13557 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13558 Now need Inset*::checkInsertChar() to return true for appropriate
13559 cases so that the characters in the minibuffer will actually be
13562 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13564 * text.C: change the order of the includes.
13565 (workWidth): initialize it at once.
13566 (workWidth): make maxw unsigned
13567 (setHeightOfRow): remove unused variable (inset)
13568 (selectSelectedWord): remove unused variable (inset)
13569 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13571 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13573 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13574 server is not running.
13576 (closeConnection): add debug info when server is disabled.
13578 * ColorHandler.C (getGCForeground): send debug message to GUI
13581 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13583 * kbmap.C (bind): modify because return conventions of
13584 kb_sequence::parse have changed.
13586 * kbsequence.C (parse): only ignore spaces and not any stupid
13587 control character. This avoids tests like s[i] <= ' ', which are
13588 guaranteed to fail with 8bit characters and signed chars.
13589 Change return code to string::npos when there have been no error
13590 (0 was a bad idea when error is at first character)
13592 2001-11-14 José Matos <jamatos@fep.up.pt>
13595 * buffer.C (simpleDocBookOnePar): removed unused argument.
13597 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13599 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13600 insets which are part of a word. Paragraph::isLetter takes care of
13601 that now. Use Paragraph::isInset to identify insets.
13602 (selectSelectedWord): do not test for hyphenation break.
13604 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13605 that protected spaces are considered as spaces.
13607 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13610 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13613 * lyxserver.C: fix it. and small cleanup.
13615 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13617 * BufferView_pimpl.C: use inline helpers
13620 * LaTeXFeatures.C: fix typos
13623 * Spacing.C: move spacing_string into class
13625 * ToolbarDefaults.C: move stuff into namespace anon
13627 * layout.h: update enum
13629 * lyxfunc.C: use better debug
13631 * minibuffer.h: fix typo
13635 * WorkArea.C: add and use Debug::WORKAREA
13639 * text2.C: code re-organisation, inline helpers
13641 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13643 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13644 std::vector.empty().
13646 2001-11-09 Allan Rae <rae@lyx.org>
13648 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13649 '\n's after tables. Tabular and ERT inset work now makes this no
13652 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13655 * minibuffer.C: fix crash, improve drop-down completion
13657 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13660 * lyxserver.C: invalidate fd's when doing endPipe()
13662 2001-11-08 José Matos <jamatos@fep.up.pt>
13664 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13665 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13668 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13670 2001-11-07 José Matos <jamatos@fep.up.pt>
13673 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13676 * buffer.C (sgmlOpenTag):
13677 * buffer.C (sgmlCloseTag): removed debug info.
13679 * buffer.h (sgmlOpenTag):
13680 * buffer.h (sgmlCloseTag): made public.
13682 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13684 * buffer.C (saveParamsAsDefaults):
13685 * lyx_cb.C (MenuLayoutSave): remove
13687 * LyXAction.C (init):
13689 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13691 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13693 * buffer.C (setPaperStuff): removed from here...
13695 * bufferparams.C (setPaperStuff): ... and moved there.
13697 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13701 * XFormsView.C: add support for drop-down completion
13703 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13705 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13708 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13710 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13713 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13715 * lyx_main.C: change ref to known bugs
13717 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13719 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13720 to work around older babel problems.
13722 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13724 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13726 2001-10-24 Juergen Vigna <jug@sad.it>
13728 * tabular-old.C (ReadOld): below variable changes reflected.
13730 * tabular.[Ch]: added ltType struct for longtable header/footer
13731 defines and changed all instances where they are used. Added
13732 future support for double top/bottom rows.
13734 2001-10-24 José Matos <jamatos@fep.up.pt>
13736 * buffer.h (docbookHandleCaption):
13737 * buffer.C (docbookHandleCaption): removed unused function.
13738 (makeDocBookFile): moved docbook supported version to v4.1.
13740 2001-10-24 José Matos <jamatos@fep.up.pt>
13743 * tabular.C (docbookRow): new function to export docbook code of a row.
13744 (DocBook): now honors the longtable flags.
13746 2001-10-23 José Matos <jamatos@fep.up.pt>
13749 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13750 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13752 * buffer.C (makeLinuxDocFile):
13753 (makeDocBookFile): reworked the preamble, more clean, and with
13754 support for lyx defined entities. Changed the document declaration
13755 to be more XML friendly.
13757 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13758 if we need to output XML that should be done with a filter.
13760 2001-10-22 Juergen Vigna <jug@sad.it>
13762 * sp_pspell.h (class PSpell): add alive function needed in the
13763 controller to see if the spellchecker could be started.
13765 2001-10-22 Juergen Vigna <jug@sad.it>
13767 * buffer.C (insertStringAsLines): modify the font for inserting
13768 chars in certain conditions by calling checkInsertChar(font).
13770 2001-10-19 Juergen Vigna <jug@sad.it>
13772 * text.C (workWidth): use getRow instead of wrong algorithm.
13773 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13775 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13780 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13782 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13784 * text.C (workWidth): do not search for the exact row when
13785 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13786 optimization for big documents.
13788 2001-10-18 Juergen Vigna <jug@sad.it>
13790 * text.C (workWidth): new function with added Inset * parameter.
13792 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13794 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13796 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13797 change return type of getColumnNearX.
13800 * text.C (changeRegionCase): use uppercase/lowercase instead of
13803 (rightMargin): simplify code by factoring out the uses of
13808 (appendParagraph): use Paragraph::size_type
13810 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13812 * vspace.C (asLatexString): add a missing break
13814 2001-10-15 Herbert Voss <voss@perce.de>
13816 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13818 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13820 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13823 2001-10-10 André Pönitz <poenitz@gmx.net>
13825 * lyxfunc.C: removed greek_kb_flag.
13827 2001-10-10 Herbert Voss <voss@perce.de>
13829 * lyx_main.C: delete global string help_lyxdir.
13831 2001-10-09 Herbert Voss <voss@perce.de>
13833 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13835 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13837 * lyx_main.C: added global string help_lyxdir.
13839 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13841 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13843 * lyxrc.C (set_font_norm_type): support iso8859-4
13845 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13847 * LaTeX.C (deplog): add another regex for MikTeX
13849 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13851 * lyxrc.C (set_font_norm_type): support iso8859-3
13853 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13855 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13857 * LaTeXFeatures.C: remove special case of french and index
13859 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13860 before \begin{document}). This solves several incompatibilities.
13862 2001-10-03 Garst Reese <reese@isn.net>
13864 * lyx_cb.C: change CheckTex error msg.
13866 2001-10-03 José Matos <jamatos@fep.up.pt>
13868 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13870 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13872 * .cvsignore: update
13874 * lyx_main.C (commandLineVersionInfo): use new style version info.
13876 * buffer.C (writeFile):
13878 (makeLinuxDocFile):
13879 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13881 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13883 * version.h: update to use stuff in version.C
13885 * version.C.in: new file. Contains version information determined
13886 at compile time. This is a merging of version.h and
13889 2001-10-03 Juergen Vigna <jug@sad.it>
13891 * BufferView_pimpl.C (update): don't change "dirty" status in
13894 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13896 * WorkArea.C (c-tor): re-position version string slightly.
13898 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13900 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13901 revert to previous code.
13903 WorkArea.[Ch]: (show, destroySplash): methods removed.
13905 WorkArea.C: rework code so that it's an amalgam of the codes before and
13906 after the splash screen was moved to WorkArea.
13908 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13911 * vspace.C (inPixels):
13914 * buffer.C (insertStringAsLines):
13915 (asciiParagraph): fix types to be large enough
13917 * lyxlex_pimpl.h: change member status from short to int
13919 * layout.h: fix type of endlabeltype
13922 * kbsequence.C (parse): change return type to string::size_type
13924 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13927 * Bullet.C (bulletSize):
13928 (bulletEntry): do not use short ints as parameters
13930 * BufferView2.C (insertLyXFile): change a char to an int.
13932 * WorkArea.C (WorkArea): remove unneeded floats in computation
13934 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13936 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13938 * paragraph.C (asString): Do not ignore newline/hfill chars when
13939 copying to the clipboard.
13941 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13943 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13944 after a multi-line inset.
13946 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13948 * paragraph.C (validate): Set NeedLyXFootnoteCode
13950 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13952 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13953 and decrease-error to decrease.
13955 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13957 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13958 it more readable (should be equivalent)
13960 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13962 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13964 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13966 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13967 of a cursor (row, etc.) after a character has been deleted
13968 (deleteEmptyParagraphMechanism): call the method above on _all_
13969 cursors held by the LyXText when a double space has been
13972 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13974 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13976 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13978 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13979 background. Use greyOut() and the new show() methods to toggle between
13980 the foreground and background. Add code to remove the splash after
13981 its initial showing.
13983 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13984 (create_forms): no longer call Dialogs::showSplash.
13986 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13988 * .cvsignore: add version_info.h
13990 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13992 * version_info.h.in: new file
13994 * Makefile.am: add version_info.h.in
13996 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13997 version_info.h instead of VERSION_INFO
13999 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14001 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14002 The ERT inset now returns string().
14004 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14006 * lyxtext.h, text.C (selectNextWord): renamed as
14007 selectNextWordToSpellcheck.
14009 * text.C (selectNextWordToSpellcheck): Modified to not select
14010 words inside an ERT inset.
14012 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14014 * lyx_cb.C (MenuLayoutSave): change a bit the question
14016 * sp_base.h: include <sys/types.h>
14018 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14020 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14022 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14024 * several files: fix typos in user-visible strings
14026 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14028 * text2.C (pasteSelection): do not set the selection, since it
14029 will be cleared later. Actually, the intent was to fix the way the
14030 selection was set, but I figured rmoving the code was just as good.
14032 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14034 * FontLoader.C (available): Check if font is available without
14037 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14039 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14041 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14043 * lyxrc.[Ch]: added display_graphics variable and associated code.
14045 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14047 * bufferparams.C (hasClassDefaults): new method. Returns true if
14048 the buffer parameters correspond to known class defaults
14050 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14052 * XFormsView.C (show): set minimum size to the main window.
14054 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14056 * text2.C (copySelection):
14058 * lyxfind.C (LyXReplace):
14059 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14060 LyXText::selectionAsString.
14062 * paragraph.C (asString): add "label" argument to the second form
14064 * text2.C (selectionAsString): add "label" argument and pass it to
14065 Paragraph::asString.
14067 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14069 * lyx_main.C (commandLineHelp): remove version information
14071 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14073 * lyx_main.C: add -version commandline option
14075 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14077 * paragraph.h: make the optional constructor arg required instead.
14078 some modifications to other files because of this.
14080 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14082 * lyxserver.C (C_LyXComm_callback): make it static
14084 * lyx_main.C (error_handler): make it static
14086 * lyx_gui.C (LyX_XErrHandler): make it static
14088 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14090 * WorkArea.C: make the extern "C" methods static.
14092 * Makefile.am (lyx_LDADD): simplify
14094 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14096 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14097 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14099 * LyXAction.C (init):
14100 * lyxfunc.C (dispatch): associated code removal.
14102 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14104 * lyxfont.h (isSymbolFont): shut off warning
14106 * text.C (setHeightOfRow):
14107 (getVisibleRow): fix crash with empty paragraphs which have a
14110 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14112 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14115 2001-09-04 José Matos <jamatos@fep.up.pt>
14118 * tabular.C (docbook): rename docBook method to docbook.
14120 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14122 * Makefile.am: add dependencies to main.o.
14124 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14126 * FontLoader.C (available): Return false if !lyxrc.use_gui
14128 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14130 * FontInfo.C (query):
14131 * converter.C (view):
14132 * importer.C (Import):
14133 * exporter.C (Export): Can not -> cannot.
14135 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14137 * BufferView_pimpl.C: allow to create index inset even if
14140 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14142 * buffer.C (getLists): replace boost::tie code with an explicit pair
14143 as boost::tie can break some compilers.
14145 * iterators.h: Added a std:: declaration to the return type of
14148 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14150 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14153 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14155 * iterators.[Ch]: New files. Provide paragraph iterators.
14157 * buffer.C (changeLanguage): Use paragraph iterators.
14158 (isMultiLingual): ditto
14160 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14162 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14164 * FontLoader.C: Support for cmr font.
14166 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14168 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14169 (available): New method.
14171 * FontInfo.C (getFontname): Use scalable fonts even when
14172 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14175 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14177 * converter.C (Formats::view): reverted! Incorrect fix.
14179 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14181 * converter.C (Formats::view): only output the -paper option
14182 if the dvi viewer is xdvi, thereby fixing bug #233429.
14184 2001-08-23 Herbert Voss <voss@perce>
14186 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14188 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14190 * Spacing.h (Spacing): Set space to Default on in the default
14193 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14195 * vc-backend.h (RCS::versionString): add RCS to version
14196 (CVS::versionString): add CVS to version
14198 * vc-backend.C (scanMaster): do not add CVS to version.
14199 (scanMaster): do not add RCS to version
14201 * lyxvc.C (versionString): new method
14203 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14205 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14207 * Spacing.C (set): initialize fval
14209 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14211 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14214 2001-08-16 Juergen Vigna <jug@sad.it>
14216 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14218 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14220 * BufferView_pimpl.C:
14223 * text2.C: setParagraph takes linespacing now
14225 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14227 * LyxAction.C: add internal LFUN_CITATION_INSERT
14229 * LyXView.C: actually apply fix
14231 * bufferlist.C: fix open non-existent file
14233 * lyxfind.C: fix indentation
14235 * lyxfunc.C: remove unneeded assert, fix typo
14237 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14239 * MenuBackend.C: use "Floatname List"
14241 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14243 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14244 when converting LaTeX layout to insetERT.
14245 Generate a non-collapsed float when reading old float
14247 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14249 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14252 2001-08-13 Juergen Vigna <jug@sad.it>
14254 * text.C (fill): return 0 instead of 20 as this seems to be the more
14257 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14259 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14262 2001-08-13 Juergen Vigna <jug@sad.it>
14264 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14266 (SearchBackward): comment out the unlocking of the inset_owner this
14267 should not be needed!
14269 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14271 * Many files: Remove inherit_language, and add latex_language
14273 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14274 collapsible insets.
14276 2001-08-10 Juergen Vigna <jug@sad.it>
14278 * text.C (prepareToPrint): fixed hfill-width in draw!
14280 * BufferView2.C (selectLastWord): save the selection cursor as this
14281 now is cleared in the function LyXText::clearSelection!
14283 2001-08-08 Juergen Vigna <jug@sad.it>
14285 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14286 BACKSPACE type functions.
14288 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14289 is only cutted from the document but not put in the cut-buffer, where
14290 still the old stuff should be.
14292 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14294 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14296 * tabular.C (SetWidthOfCell): fixed special case where the width
14298 (LeftLine): handle '|' in align_special.
14300 (LeftAlreadyDrawed): ditto
14301 (SetWidthOfCell): ditto
14303 2001-08-07 Juergen Vigna <jug@sad.it>
14305 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14307 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14309 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14310 * lyxlex.[hC]: ditto
14312 2001-08-06 Juergen Vigna <jug@sad.it>
14314 * text.C (getVisibleRow): fix up row clearing a bit.
14316 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14318 * minibuffer.C: make sure the X server sees the changes in the input.
14320 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14322 * paragraph.C (getFont): split into...
14323 (getLabelFont): this
14324 (getLayoutFont): and this
14325 * paragraph_pimpl.C (realizeFont): calling this
14327 * text2.C (getFont): split into...
14328 (getLayoutFont): this
14329 (getLabelFont): and this
14330 (realizeFont): all three calling this
14332 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14335 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14337 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14339 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14341 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14342 layouts from the Quote inset insertion.
14344 2001-08-03 Juergen Vigna <jug@sad.it>
14346 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14348 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14349 only if status not is already CHANGED_IN_DRAW (second level).
14351 * text.C (draw): don't set the need_break_row when inside an
14354 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14356 * buffer.C (parseSingleLyXformat2Token): handle more latex
14359 * bufferview_funcs.[hC]: change function names to
14360 begin with small char, adjust other files.
14362 2001-08-02 André Pönitz <poenitz@gmx.net>
14365 BufferView_pimpl.C: remove broken special code for math-greek
14367 2001-08-02 Juergen Vigna <jug@sad.it>
14369 * BufferView_pimpl.C (update): redone this function so that we
14370 update the text again if there was a CHANGE_IN_DRAW.
14372 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14373 (drawFromTo): added a new internal bool which is used by draw() and
14375 (general): some cursor drawing problems fixed.
14377 2001-08-01 Juergen Vigna <jug@sad.it>
14379 * lyxfind.C (LyXFind): fixed
14380 (SearchForward): ditto
14381 (SearchBackward): ditto
14383 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14384 spurius drawing of the cursor in the main area.
14386 * text2.C (status): small fix which could lead to a segfault!
14387 (clearSelection): remove unneeded BufferView param.
14389 2001-08-01 André Pönitz <poenitz@gmx.net>
14391 * lyxfunc.C: small change due to changed mathed interface
14393 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14395 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14397 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14399 * lyxfunc.c: fail gracefully if file doesn't exist
14404 * BufferView_pimpl.C: IsDirWriteable() proto changed
14406 * LyXView.C: fix updateWindowTitle() to store the last title
14408 2001-07-31 Juergen Vigna <jug@sad.it>
14410 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14411 the font (wrong since using of Paragraph::highestFontInRange).
14413 * paragraph.C (highestFontInRange): added a default_size parameter.
14415 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14416 (setHeightOfRow): reformat
14418 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14420 * converter.[hC] + affected files: move to (inital-char)lowercase
14423 * ParagraphParameters.C (ParagraphParameters): remove commented code
14425 * PainterBase.[Ch]: remove commented code
14427 * LaTeXFeatures.h: add "bool floats" for float.sty
14429 * LaTeXFeatures.C (LaTeXFeatures): init floats
14430 (require): handle float
14431 (getPackages): do it with floats
14433 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14435 * BufferView_pimpl.C (Dispatch): improve handling of
14436 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14438 * commandtags.h: #include lyxfont.h here temporarily to avoid
14441 * bufferlist.h: include LString.h here.
14443 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14445 * text2.C (getStringToIndex): new method.
14447 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14449 * *: Reduced header file dependencies all over.
14451 2001-07-30 Baruch Even <baruch@lyx.org>
14453 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14455 2001-07-29 Baruch Even <baruch@lyx.org>
14457 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14459 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14461 * ParameterStruct.h (endif): add a default constructor to make
14462 sure that all variables is initialized.
14464 * ParagraphParameters.C (ParagraphParameters): adjust
14466 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14468 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14469 index; also, check that there is something to index, and that it
14470 does not span over several paragraphs.
14471 (doubleClick): use WHOLE_WORD_STRICT for double click.
14473 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14475 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14478 2001-07-26 Baruch Even <baruch@lyx.org>
14480 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14481 an InsetFig figure, backwards compatible reading of old figure code.
14483 2001-07-27 Juergen Vigna <jug@sad.it>
14485 * text2.C: font.realize function adaption.
14487 * text.C (draw): add a warnings lyxerr text if needed.
14489 * layout.C: font.realize function adaption.
14491 * language.C: add inherit_language and implement it's handlings
14493 * bufferview_funcs.C (StyleReset): remove language parameter from
14494 font creation (should be language_inherit now).
14496 * bufferparams.C (writeFile): handle ignore_language.
14498 * paragraph.C (getFontSettings): the language has to be resolved
14499 otherwise we have problems in LyXFont!
14501 * lyxfont.C (lyxWriteChanges): added document_language parameter
14502 (update): removed unneeded language parameter
14504 * paragraph.C (validate): fixed wrong output of color-package when
14505 using interface colors for certain fonts in certain environments,
14506 which should not seen as that on the final output.
14508 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14510 * BufferView_pimpl.C:
14515 * LyXAction.C: add thesaurus support
14518 * lyxfind.C: add "once" parameter, for thesaurus, to not
14519 move to the next match
14521 2001-07-26 Juergen Vigna <jug@sad.it>
14523 * lyxfont.C (realize): honor ignore_language too!
14526 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14528 * text.C (draw): one place more for ignore_language to not draw
14531 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14533 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14535 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14537 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14538 the minipage conversion problem.
14540 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14542 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14545 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14547 * BufferView.h: don't forward declare WorkArea
14549 * BufferView.C: don't include WorkArea.h
14551 2001-07-25 André Pönitz <poenitz@gmx.net>
14555 * lyxfunc.C: new LFUN 'math-space'
14557 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14559 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14561 * text2.C (toggleInset): call open/close
14563 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14565 * lyxfunc.C (dispatch): add debug for the disabled case
14567 * font.C (buttonText): make similar to rectText
14569 * buffer.C (readInset): comment out parsing of insetlist and
14572 * PainterBase.C (rectText): small correction
14574 * BufferView_pimpl.C: comment out insettheorem and insetlist
14575 * LyXAction.C: ditto
14576 * commandtags.h: ditto
14578 2001-07-24 Juergen Vigna <jug@sad.it>
14580 * text.C (draw): honor the ignore_language.
14582 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14584 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14586 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14589 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14591 * lyxtext.h: remove unused (and unimplemented) methods
14593 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14595 * text.C (getVisibleRow): honor background color
14598 * Painter.h: remove default color argument for fillRectangle
14600 * text.C (backgroundColor): new method
14602 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14604 * text.C (getVisibleRow): adjust
14606 * font.[Ch] (rectText): new method, metrics
14607 (buttonText): new method, metrics
14609 * PainterBase.[hC]: make rectText and buttonText always draw and take
14612 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14614 * ToolbarDefaults.C (read):
14615 * MenuBackend.C (read): allow escaping in all strings
14617 * BufferView_pimpl.C (insertAndEditInset): new method.
14618 (Dispatch): use insertAndEditInset whenever appropriate.
14620 * BufferView_pimpl.C (insertNote): removed
14622 * BufferView_pimpl.C (smartQuote): new method, moved from
14623 BufferView; if an insetquote cannot be inserted, insert a '"'
14626 * BufferView2.C: remove insertCorrectQuote();
14628 * lyxfunc.C (getStatus): Add support for all remaingin
14629 inset-insert lfuns.
14631 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14633 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14634 command (necessary to pass " as parameter of self-insert.
14636 * text.C (selectWordWhenUnderCursor):
14637 (selectWord): add word_location parameter
14638 (selectWordWhenUnderCursor): same + remove special code for word
14640 (selectNextWord): use kind() to guess type of insetspecialchar,
14643 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14644 (insertErtContents): create ert insets as collapsed.
14645 (readInset): better compatibility code for Info inset.
14647 2001-07-20 Juergen Vigna <jug@sad.it>
14649 * lyxfunc.C (dispatch): use always LyXFind now!
14651 * text2.C (init): add a reinit flag so that the LyXText can be
14652 reinited instead of deleted and reallocated (used in InsetText).
14654 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14660 2001-07-18 Juergen Vigna <jug@sad.it>
14662 * text.C (selectNextWord): handle insets inside inset by calling
14663 always the bv->text functions so that we can go up the_locking_inset!
14665 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14666 in strange locations when inside an inset!
14668 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14669 handling to include insets.
14671 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14673 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14675 * LyXAction.C (init):
14677 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14678 LIGATURE_BREAK, since the name is so stupid.
14680 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14682 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14685 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14687 * sp_form.[Ch]: remove.
14689 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14691 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14694 * src/buffer.C (readInset): ditto.
14696 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14698 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14699 menuSeparator(), endOfSentenceDot(), ldots() and
14700 hyphenationPoint(), which are therefore removed.
14701 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14703 * LyXAction.C (init):
14704 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14706 * paragraph.C (getWord): removed.
14708 * BufferView_pimpl.C (Dispatch): use last word or selection for
14709 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14711 * lyx_main.C (queryUserLyXDir): do not ask before creating
14712 user_dir, except if it has been named explicitely.
14714 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14716 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14717 a document of zero size.
14719 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14721 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14722 approriately in the c-tor and in require().
14723 (getPackages): output the appropriate LaTeX for natbib support.
14725 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14726 variables "use_natbib" and "use_numerical_citations" when reading the
14728 (readInset): read the various natbib cite commands.
14729 (validate): white-space change.
14731 * bufferparams.[Ch]: new variables "bool use_natbib" and
14732 "bool use_numerical_citations".
14733 (writeFile): output them in the LyX file.
14735 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14737 * lyxfunc.C (getStatus): add support for all the inset insertion
14740 * text2.C (insertInset):
14741 * paragraph.C (insetAllowed):
14742 * BufferView_pimpl.C (insertInset): update to take in account the
14743 renaming of insertInsetAllowed
14745 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14747 * text2.C (getInset): new method. returns inset at cursor position.
14749 * BufferView_pimpl.C (Dispatch): changes because of this.
14751 * LyXAction.C (init): rename open-stuff to inset-toggle.
14753 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14755 * text2.C (toggleInset): renamed from openStuff; use
14758 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14760 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14762 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14764 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14766 * buffer.C (readLyXformat2): Add filename to the error dialog
14768 2001-07-18 Juergen Vigna <jug@sad.it>
14770 * tabular.C (GetCellNumber): put an assert here instead of the check!
14772 2001-07-17 Juergen Vigna <jug@sad.it>
14774 * BufferView_pimpl.C (toggleSelection): adapted too.
14776 * text.C (selectNextWord): adapted for use with insets.
14777 (selectSelectedWord): ditto
14779 2001-07-17 Juergen Vigna <jug@sad.it>
14781 * sp_spell.C (PSpell): fix initialitation order.
14783 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14785 * paragraph.C: spacing
14787 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14789 * sp_spell.C: repair language selection for pspell
14791 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14793 * lyxfunc.h: change more methods to begin with lower char.
14795 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14797 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14798 for unknown layouts.
14800 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14802 * buffer.C (readLyXformat2): Generate an error dialog if there are
14805 2001-07-16 Juergen Vigna <jug@sad.it>
14807 * sp_spell.C: always compile ISpell part.
14809 * lyxrc.C: added use_pspell entry and it's handling.
14811 2001-07-13 Juergen Vigna <jug@sad.it>
14813 * sp_spell.C: removed double includes.
14815 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14817 Consistent use of Lsstream.h:
14818 * Lsstream.h: added using std::stringstream for consistencies sake.
14820 * buffer.C: removed using std::stringstream
14822 * lyxfont.C (stateText):
14823 * paragraph.C (asString):
14824 * text.C (selectNextWord, selectSelectedWord):
14825 * text2.C (setCounter):
14826 * vspace.C (asString, asLatexString):
14827 std::ostringstream -> ostringstream.
14829 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14831 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14832 * commandtags.h: add LFUN_HELP_ABOUTLYX
14833 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14835 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14837 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14839 * lyx_gui_misc.C: remove spellchecker
14840 * lyxfunc.C: showSpellchecker
14842 * sp_ispell.h: added
14843 * sp_pspell.h: added
14844 * sp_spell.C: added
14845 * sp_form.[Ch]: removed
14846 * spellchecker.[Ch]: removed
14848 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14850 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14852 (simpleTeXSpecialChars): Simply print the input character without
14853 any special translation if pass_thru is set.
14855 * layout.h: Added bool pass_thru to layout class for being able to
14856 implement pass through of a paragraph for Literate Programming.
14858 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14859 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14860 * layout.C (Read): add "passthru" to list of layout tags and add
14861 code to set the pass_thru boolean when it is read.
14863 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14865 * trans_decl.h: remove allowed from KmodInfo
14867 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14868 remove allowed code
14871 * paragraph_pimpl.C (erase): use boost::prior
14873 * Painter.C (text): use data() instead of c_str() when length is
14875 * WorkArea.C (putClipboard): ditto
14876 * font.h (width): ditto
14878 * BufferView2.C: use it-> instead of (*it). for iterators
14880 * paragraph_pimpl.C: ditto
14881 * paragraph.C: ditto
14882 * minibuffer.C: ditto
14883 * language.C: ditto
14885 * encoding.C: ditto
14886 * counters.C: ditto
14887 * converter.C: ditto
14889 * Variables.C: ditto
14890 * TextCache.C: ditto
14891 * MenuBackend.C: ditto
14892 * LyXAction.C: ditto
14894 * FloatList.C: ditto
14895 * DepTable.C: ditto
14896 * ColorHandler.C (LyXColorHandler): ditto
14898 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14900 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14902 * text2.C (openStuff): reintroduce this method (which had been
14903 nuked in NEW_INSETS frenzy).
14905 * lyxfunc.C (Dispatch): when an action has not been handled, use
14906 its name in the error message, not its number.
14908 * paragraph.C (inInset): change method name to begin with lowercase.
14911 * text2.C: updates because of this.
14913 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14915 * ToolbarDefaults.C (add): add spaces in error message
14917 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14919 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14920 (readLyXformat2): rename return_par to first_par, use lyxlex's
14921 pushToken and remove the manual push handling.
14922 (parseSingleLyXformat2Token): add another ert comp. variable:
14923 in_tabular, rename return_par to first_par. handle newlines better
14925 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14927 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14929 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14931 * text2.C (getParFromID): removed
14933 * buffer.C (getParFromID): new method moved form lyxtext.
14934 * BufferView2.C (insertErrors): adjust
14935 (setCursorFromRow): adjust
14936 * BufferView_pimpl.C (restorePosition): adjust
14937 * lyxfunc.C (Dispatch): adjust
14938 * undo_funcs.C (textUndo): adjust
14940 (textHandleUndo): adjust
14941 (textHandleUndo): adjust
14943 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14945 * buffer.C: up' the LYX_FORMAT
14947 * lyxfont.h: turn NO_LATEX on as default
14949 * buffer.C (insertErtContents): new methods of tex style compability.
14950 (parseSingleLyXformat2Token): use it several places.
14951 * tabular.C (OldFormatRead): and here
14953 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14955 * text2.C: remove some commented code.
14958 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14959 * trans.C: changes because of the above.
14961 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14963 * text2.C (setCounter): Fix counters bug with bibliography layout.
14965 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14967 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14968 own member functions
14969 (simpleTeXSpecialChars): ditto
14971 2001-07-06 Juergen Vigna <jug@sad.it>
14973 * a lot of files: changed the access to LyXText::status and the
14974 call of undo-functions.
14976 * undo.[Ch]: added a inset_id to the undo informations.
14978 * undo_funcs.[Ch]: added and moved here all undo functions.
14980 * lyxtext.h: give the status enum a weight, made status_ a private
14981 variable and made accessor functions for it, removed the whole bunch
14982 of undo-functions as they are now in their own file, make some
14983 functions publically available. Added function ownerParagraph with
14986 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14987 made InInset() a const function, added getParFromID() function.
14989 * buffer.[Ch]: added const version for inset_iterator functions,
14990 added getInsetFromID() function.
14992 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14993 changed undo functions for new version.
14995 2001-07-05 Juergen Vigna <jug@sad.it>
14997 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14998 unknow mechanism does not call the proper constructor but only this
14999 one also if I request the other!?
15001 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15003 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15005 * text2.C (LyXText): use initialization lists.
15007 * lyxtext.h (Selection): initialize set_ and mark_
15008 (init): remove method
15010 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15012 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15014 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15016 * screen.[Ch]: change method names to begin with lowercase
15018 * BufferView_pimpl.C (updateScrollbar): simplify further and
15019 hopefully make it a bit faster.
15021 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15023 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15024 calling directly xforms functions.
15026 * Painter.C (Painter):
15027 * lyx_cb.C (MenuWrite):
15028 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15031 * lyx_gui.C: remove bogus guiruntime extern declaration.
15033 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15035 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15037 (redoDrawingOfParagraph): ditto
15038 (redoParagraphs): ditto
15039 (cutSelection): don't create a object for CutAndPaste use the
15040 static method directly
15041 (pasteSelection): ditto
15043 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15046 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15048 * modifications to some other files because of this.
15050 * Makefile.am (lyx_SOURCES): add XFormsView
15052 * XFormsView.[Ch]: new files
15054 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15055 the main window. Move the gui dependent stuff to XFormsView
15057 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15059 * tabular.C (GetCellInset): update cur_cell also in the row/col
15060 version of this function.
15062 * lyxfunc.C: no need to include figure_form.h here.
15068 * lyxvc.C: no need to include forms.h here.
15070 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15072 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15074 * lyxfunc.C (Dispatch):
15076 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15077 constructor argument.
15079 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15081 * paragraph.C (Paragraph): dont't clear, and just set layout.
15082 (makeSameLayout): use params's copy contructor.
15084 * ParagraphParameters.[Ch] (makeSame): delete method
15086 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15088 * Variables.[Ch]: fix indentation, rename set to isSet
15090 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15092 * lyxfunc.C (Dispatch): fix typo
15094 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15096 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15099 * bufferlist.C: include assert.h for emergencyWrite().
15101 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15103 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15104 give up at last (bug #425202) !
15106 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15112 * spellchecker.C: strip spellchecker options and bring up
15113 preferences tab instead
15115 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15117 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15118 the istringstream constructor
15120 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15122 * paragraph.C (getLayout): fix return value
15124 * paragraph.h: do not declare getLayout as inline.
15126 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15128 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15130 * lyxcursor.h (operator<): new func
15131 (operator>): new func
15132 (operator>=): new func
15133 (operator<=): new func
15135 * text.C (changeCase): use selection.start and selection.end
15136 (changeRegionCase): require from to be <= to. Require par to be a
15139 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15141 2001-06-27 Juergen Vigna <jug@sad.it>
15143 * text.C (cursorLeftOneWord): changed to return the cursor and added
15144 overlay with BufferView * parameter which calls this one.
15146 (selectWord): use new getWord function.
15147 (changeCase): renamed from changeWordCase as and extended to work
15148 also on selections.
15150 * lyxtext.h: added enum word_location
15152 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15153 changeCase as this operates now also on selections.
15155 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15157 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15159 * many files: send debug output to Debug::INFO instead of
15162 * converter.C (View):
15164 (Move): send debug output to Debug::FILES instead of console.
15166 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15168 * lyxfunc.C (getStatus): use func_status
15170 * func_status.h: new header, describing the results of
15171 LyXFunc::getStatus;
15173 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15176 2001-06-25 The LyX Project <jug@sad.it>
15178 * buffer.C (sgmlOpenTag):
15180 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15182 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15184 * text2.C: remove some dead code
15186 * tabular.C (GetCellInset): store the last cell checked (gotten)
15188 * tabular.h: add the helper for the speedup
15190 * lyxtext.h: remove some dead code
15192 2001-06-26 The LyX Project <Asger>
15194 * paragraph.C: Change export to LaTeX of alignment to
15195 \begin{center} and family for better roundtrip work with reLyX.
15197 * Tune the math drawing a bit.
15199 2001-06-25 The LyX Project <Asger>
15201 * LColor.C (LColor): New color for math background. New color
15204 2001-06-25 The LyX Project <jug@sad.it>
15206 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15208 * lyxfunc.C (Open):
15209 * bufferlist.C (newFile): do not restrict to files ending with
15212 * BufferView_pimpl.C (MenuInsertLyXFile):
15214 2001-06-24 The LyX Project <jug@sad.it>
15216 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15219 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15221 * lyxtext.h: rename most methods to begin with a small char.
15222 Lots of changes because of this.
15224 * paragraph.C (Paragraph): do not call fitToSize
15225 (erase): call Pimpl::erase
15226 (insertChar): call Pimpl::insertChar
15227 (insertInset): call Pipl::insertInset
15228 (breakParagraph): do not call fitToSize
15229 (breakParagraphConservative): do not call fitToSize
15230 (fitToSize): remove method
15232 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15234 2001-06-24 The LyX Project <Asger>
15236 * Fix Qt compilation^2
15238 2001-06-24 The LyX Project <jug@sad.it>
15240 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15241 depthHook(getDepth()-1).
15244 * ParagraphParameters.h:
15245 * ParameterStruct.h: change type of depth to unsigned int ==
15246 depth_type. Many adaptations to other files before of that.
15248 2001-06-24 The LyX Project <Asger>
15250 * Fix Qt compilation.
15252 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15254 * paragraph.h: renamed several methods to begin with small letter.
15255 several changes to many parts of the code because of this.
15257 2001-06-23 The LyX Project <jug@sad.it>
15259 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15260 rewritten to discard all double spaces when KeepEmpty is off
15261 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15262 to only handle newlines but not fiddle with spaces and friends.
15264 * lyxfunc.C (MenuNew): when doing 'new from template', use
15265 template_path as default directory
15267 2001-06-23 The LyX Project <Asger>
15269 * Clean-up of header file includes all over
15270 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15272 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15274 * paragraph.h: renamed from lyxparagraph.h
15276 2001-06-23 Asger <lyx@violet.home.sad.it>
15278 * Buffer.h: Removed Buffer::resize
15279 * BufferList.h: Removed BufferList::resize
15280 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15281 the document lazily when we change the width, or the font settings.
15283 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15285 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15287 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15289 * buffer.h: remove out of date comment
15291 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15294 * screen.C: fix "theoretical" GC leak
15296 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15298 * LaTeX.C (scanAuxFile):
15299 (deplog): remove trailing \r when reading stream (useful under
15302 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15304 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15305 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15306 and BufferView::theLockingInset(Inset*), so should use them and not
15307 access bv_->text->the_locking_inset directly.
15309 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15311 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15314 * tex-defs.h: remove old unused file
15316 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15318 * BufferView_pimpl.C: fix typo, remove minibuffer message
15319 when buffer has loaded
15321 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15323 * lyxfunc.C (Dispatch): use stringstream
15324 (MenuNew): use stringstream
15325 (Open): use stringstream
15327 * importer.C (Import): use stringstream
15329 * bufferview_funcs.C (CurrentState): use stringstream
15331 * LaTeX.C (run): use stringstream
15333 * BufferView_pimpl.C (savePosition): use stringstream
15334 (restorePosition): use stringstream
15335 (MenuInsertLyXFile): use stringstream
15337 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15350 * vspace.C: removed // -*- C++ -*- as first line.
15353 * version.h: added // -*- C++ -*- as first line.
15355 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15357 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15359 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15362 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15364 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15367 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15369 * gettext.C: include LString.h even when --disable-nls is on.
15371 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15373 * converter.h (Get): changed argument type from int to
15374 FormatList::size_type to avoid unnecessary conversion.
15376 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15379 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15381 * gettext.h: include LString.h even when --disable-nls is on.
15383 2001-06-07 Juergen Vigna <jug@sad.it>
15385 * text.C (BreakAgain): subst spaces with tabs.
15387 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15388 (resizeInsetsLyXText): set force on resizeLyXText.
15390 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15392 * gettext.h (gettext_init):
15393 (locale_init): use a real definition instead of a macro
15395 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15397 * Bufferview_pimpl.C:
15399 * LColor.C: further lcolor tidies
15401 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15403 * BufferView_pimpl.C (updateScrollbar): simplify.
15405 * BufferView2.C: don't include insets/insetinfo.h, change
15406 prototype for insertInset and call the Pimpl version. let
15407 updateInset call Pimpl version.
15409 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15410 gotoInset to BufferView::Pimpl
15412 2001-06-01 Juergen Vigna <jug@sad.it>
15414 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15415 inside a LockingInset (is the update needed at all?).
15417 2001-05-31 Juergen Vigna <jug@sad.it>
15419 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15420 here not the old one otherwise how should we compare it afterwards
15423 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15428 * FontInfo.C: bring C functions into global namespace when
15431 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15433 * LString.h: make sure config.h has been loaded before LString.h.
15435 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15436 (one for each char read by EatLine!).
15438 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15441 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15443 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15444 to the same as the par we break from
15446 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15448 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15450 * MenuBackend.C (expand): also create menu entries for wide
15451 versions of the floats.
15453 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15455 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15457 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15458 frontends/Makefile.am
15464 * tabular.C (getTokenValue): add std::
15466 * tabular-old.C (getTokenValue): add std::
15467 (getTokenValue): ditto
15468 (getTokenValue): ditto
15470 * screen.C (ToggleSelection): adjust
15472 * lyxtext.h: put selection cursors inside a Selection struct.
15474 * lyxfunc.C (moveCursorUpdate): adjust
15476 * lyxfont.C (latexWriteStartChanges): add std::
15478 * lyxfind.C: adjust
15480 * font.h: delete with(char const *, LyXFont const &)
15482 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15484 * FontInfo.C (getFontname): add std::
15486 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15487 (workAreaButtonPress): adjust
15488 (tripleClick): adjust
15490 (moveCursorUpdate): adjust
15493 * BufferView2.C (gotoInset): adjust
15495 2001-05-30 Juergen Vigna <jug@sad.it>
15497 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15498 to check pspell I add this as default as I now have new pspell
15499 libraries and they seem to use this.
15501 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15503 * text2.C (CutSelection): make the cursor valid before the call to
15506 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15508 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15509 relied on 0 terminated strings and other horrors. Bug found due to
15510 the new assert in lyxstring!
15512 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15515 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15517 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15520 * lyxfunc.C (processKeySym): change method of getting to the
15523 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15524 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15525 * BufferView_pimpl.[Ch]: here as private methods.
15527 2001-05-28 Juergen Vigna <jug@sad.it>
15529 * text.C (SetHeightOfRow): added the update() call again as it is
15530 needed to initialize inset dimensions!
15532 2001-05-16 Juergen Vigna <jug@sad.it>
15534 * text2.C (SetCharFont): Add new function with BufferView * and
15535 bool toggleall parameters for setting insets internal fonts.
15536 (SetFont): Freeze the undo as we may change fonts in Insets and
15537 all this change should be inside only one Undo!
15539 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15540 setting font's in insets as for them we have the SetFont function!
15542 2001-05-15 Juergen Vigna <jug@sad.it>
15544 * text2.C (ClearSelection): to be sure we REALLY don't have any
15547 * tabular.C (TeXCellPreamble): fixed the left border problem for
15550 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15552 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15555 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15557 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15558 LFUN_BREAKPARAGRAPH.
15560 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15561 help test to "internal only", similar for LFUN_INSERT_URL
15563 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15564 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15565 auto_region_delete and deadkeys.
15567 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15570 * LColor.C: remove some dead entries, tidy a little
15572 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15574 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15576 (Dispatch): implement LFUN_ESCAPE
15578 * commandtags.h: add LFUN_ESCAPE
15580 * LyXAction.C (init): add entry for LFUN_ESCAPE
15582 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15583 Remove commented code.
15584 (insertNote): moved here
15585 (open_new_inset): moved here
15587 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15590 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15592 * kbmap.C (findbinding): clean it up and make it work correctly.
15594 * lyx_main.C (init): do not pass argc and argv as parameters
15596 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15598 * buffer.C: fix path for OS/2 & Win32
15602 * lyx_main.C: Added os:: class.
15604 * os2_defines.h: update
15606 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15608 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15609 better by trying again with reduced state.
15611 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15613 * lyxrc.C (read): print error about invalid key sequence only when
15614 debugging (because not all latinX keysyms are known to some X
15617 * kbsequence.C (getiso): add a few std:: qualifiers
15618 (getiso): comment out extra return statement.
15620 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15622 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15624 (Dispatch): enhance the accent inset a bit. (not perfect)
15626 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15628 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15630 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15632 * bufferlist.C (emergencyWrite): fix assert() call
15634 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15636 * text.C (InsertChar): Added trivial patch to only send the "you
15637 can not do multiple spaces this way" message once during a
15640 2001-05-08 Baruch Even <baruch@lyx.org>
15642 * Makefile.am: Changed order of libraries to get LyX to link properly
15643 with the gnome frontend.
15645 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15647 * LaTeXFeatures.h: add a std:: qualifier
15649 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15651 * paragraph.C (String): use stringstream
15653 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15655 * paragraph.C (writeFile): remove footflag arg
15657 * buffer.C (makeLaTeXFile): use stringstream
15658 (latexParagraphs): remove footnot gurba
15660 * LaTeXFeatures.C (getPackages): use stringstream
15661 (getMacros): likewise
15662 (getTClassPreamble): likewise
15663 (getFloatDefinitions): new method
15665 * paragraph.C (writeFile): reindent
15668 * WorkArea.h: revert the xpos + etc changes.
15670 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15672 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15674 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15675 (pasteSelection): likewise
15676 * text2.C (CreateUndo): likewise
15678 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15680 * minibuffer.C (peek_event): temporarily reduce the functionality
15681 of the minibuffer (to allow args on lfuns)
15683 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15684 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15686 * buffer.C (readInset): add compability reading of old float
15687 lists, add reading of new style float list.
15688 (readInset): avoid reevaluation of inscmd.getCmdName()
15689 (getLists): reindent
15691 * MenuBackend.C (MenuItem): implement parsing of
15692 md_floatlistinsert and md_floatinsert.
15693 (expand::LastFiles): move initalizaton of iterators out of loop,
15694 avoid reevaluation.
15695 (expand::Documents): introduce typdedef vector<string> Strings,
15697 (expand::ExportFormats): introduce typedef vector<Format const *>
15698 Formats, and use it.
15699 (expand): implement FloatListInsert and FloatInsert.
15701 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15702 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15703 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15705 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15707 (Dispatch::LFUN_FLOAT_LIST): implement
15709 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15711 * LaTeX.C (run): Fix problem with --export code.
15713 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15715 * BufferView.[Ch] (workarea): removed.
15716 (getClipboard) new method; wrapper for workarea()->getClipboard()
15718 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15721 * WorkArea.h (width, height, xpos, ypos): These methods all
15722 returned the dimensions of the work_area sub-area of WorkArea,
15723 resulting in a position error if the WorkArea were resized. Now
15724 return the dimensions of the entire WorkArea.
15726 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15728 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15730 * LaTeX.C (deplog): correct the syntax of regex reg1
15732 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15734 * undo.C: remove !NEW_INSETS cruft
15736 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15738 * text2.C: remove !NEW_INSETS cruft
15740 * text.C: remove !NEW_INSETS cruft
15742 * tabular.C: remove !NEW_INSETS cruft
15744 * spellchecker.C: remove !NEW_INSETS cruft
15746 * lyxtext.h: remove !NEW_INSETS cruft
15748 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15750 * lyxfunc.C: remove !NEW_INSETS cruft
15752 * lyxfind.C: remove !NEW_INSETS cruft
15754 * lyx_cb.C: remove !NEW_INSETS cruft
15756 * figureForm.C: remove !NEW_INSETS cruft
15758 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15760 * buffer.[Ch]: remove !NEW_INSETS cruft
15762 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15764 * CutAndPaste.C: remove !NEW_INSETS cruft
15766 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15768 * BufferView2.C: remove !NEW_INSETS cruft
15770 * BufferView.h: remove !NEW_INSETS cruft
15772 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15774 * Lsstream.h: include LString.h before the sstream headers to
15775 fix problem with gcc 2.95.3 and lyxstring
15777 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15779 * lyx_main.C: add using directives when needed for C functions
15780 declared in std:: namespace.
15782 2001-04-27 Juergen Vigna <jug@sad.it>
15784 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15785 (SetHeightOfRow): comment out the update call should not be needed!
15787 2001-04-13 Juergen Vigna <jug@sad.it>
15789 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15790 (LyXTabular): tried to minimize operator= operations (and realized
15791 hopfully Lars wish).
15793 2001-04-27 Juergen Vigna <jug@sad.it>
15795 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15797 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15799 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15801 * buffer.C (readInset): hack to make listof algorithm work
15803 * BufferView_pimpl.C: hack to make listof algorithm work
15805 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15807 * LyXAction.C: removed all !NEW_INSETS cruft
15808 (init): moved lfun_item in method
15810 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15812 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15814 * BufferView2.C (theLockingInset): white space.
15816 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15818 * minibuffer.C: include <iostream>
15820 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15822 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15824 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15826 * text.[Ch] (TransposeChars): new method
15828 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15830 * call message directly through LyXView instead of through LyXFunc
15831 * BufferView2.C: adjust
15832 * BufferView_pimpl.C: adjust
15833 * FontLoader.C: adjust
15835 * bufferview_funcs.C: adjust
15836 * converter.C: adjust
15837 * figureForm.C: adjust
15838 * importer.C: adjust
15840 * lyx_gui_misc.C: adjust
15841 * lyxfunc.C: adjust
15844 + more files in subdirs
15846 * lyxparagraph.h (size): move up int file
15849 * adjust all uses of Assert to lyx::Assert.
15851 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15852 lyxfunctional in namespace lyx
15853 * layout.C (hasLayout): ditto
15856 (delete_layout): ditto
15857 (NumberOfClass): ditto
15858 * converter.C (GetFormat): ditto
15863 * bufferlist.C (getFileNames): ditto
15864 (emergencyWriteAll): ditto
15867 * MenuBackend.C (hasSubmenu): ditto
15870 * BufferView_pimpl.C (getInsetByCode): ditto
15872 2001-04-18 Juergen Vigna <jug@sad.it>
15874 * vspace.C (asLatexString): fixed the 100% problem.
15876 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15878 * lyxfunc.C (Dispatch):
15880 * minibuffer.h: add a few std:: qualifiers
15882 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15884 * minibuffer.[Ch]: reimplement so that commands is initiated and
15885 run from lyxfunc, simplified som handling, and made the completion
15886 and history code for complete. wip.
15888 * lyxfunc.C (processKeySym): call message
15889 (miniDispatch): new temporary method
15890 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15891 (LFUN_MESSAGE): implement
15892 (LFUN_MESSAGE_PUSH): implement
15893 (LFUN_MESSAGE_POP): implement
15894 (initMiniBuffer): the initial/defualt minibuffer message.
15896 * lyxfont.[Ch]: inline some more getters
15898 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15900 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15902 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15903 (AutoSave): use LFUN_MESSAGE
15904 (Reconfigure): ditto
15906 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15908 * figureForm.C: use LFUN_MESSAGE
15910 * converter.C (runLaTeX): use LFUN_MESSAGE
15912 * bufferview_funcs.C: use LFUN_MESSAGE
15914 (changeDepth): ditto
15916 * bufferparams.h: use boost::
15918 * bufferlist.h: inherit privately from noncopyable
15920 * bufferlist.C (loadLyXFile): remove some commented code.
15922 * buffer.C (runChktex): use LFUN_MESSAGE
15924 * ShareContainer.h: inherit privately from noncopyable
15926 * ParagraphParameters.[hC] (depth): inline it.
15928 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15930 (message): new method
15931 (messagePush): ditto
15932 (messagePop): ditto
15933 (show): init minibuffer
15934 (showState): direct call
15936 * LaTeX.[Ch]: inherit privately from noncopyable
15937 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15938 instead of WriteStatus.
15940 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15942 * BufferView_pimpl.C (buffer): don't init minibuffer
15943 (workAreaButtonPress): use LFUN_MESSAGE
15944 (workAreaButtonRelease): ditto
15945 (savePosition): ditto
15946 (restorePosition): ditto
15947 (MenuInsertLyXFile): ditto
15948 (workAreaExpose): don't init minibuffer
15949 (update): remove commented code, simplify
15951 * BufferView2.C (openStuff): use LFUN_MESSAGE
15952 (toggleFloat): ditto
15955 (copyEnvironment): ditto
15956 (pasteEnvironment): ditto
15961 (updateInset): remove some commented code
15963 * lastfiles.h: inherit privately from noncopyable
15966 * lyx_main.h: ditto
15968 * lyxlex_pimpl.h: ditto
15970 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15971 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15972 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15974 * LyXAction.h: inherit privately from noncopyable, add methods
15975 func_begin, func_end, returning iterators to the func map.
15977 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15978 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15979 (func_begin): new method
15980 (func_end): new method
15982 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15984 (copySelection): ditto
15985 (pasteSelection): ditto
15987 * BufferView.C: whitespace change
15988 * BufferView.h: inherit privately from noncopyable
15990 2001-04-16 Allan Rae <rae@lyx.org>
15992 * tabular-old.C (l_getline):
15993 * spellchecker.C (sc_check_word):
15994 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15995 an unrecognised preprocessor directive. So ensure they're wrapped.
15997 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15999 * src/exporter.C (Export): Give an error message when path to file
16002 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16004 * LaTeX.C (deplog): Always check that foundfile exists.
16006 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16009 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16011 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16013 * tabular.[Ch] (getLabelList): implement new method
16015 * minibuffer.h: comment ouf setTiimer
16017 * minibuffer.C (ExecutingCB): constify res
16018 (peek_event): constify s
16019 (Set): constify ntext
16020 (Init): constify nicename
16022 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16024 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16025 (savePosition): use two params to Minibuffer::Set
16026 (restorePosition): ditto
16028 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16030 * lyx_main.C: include language.h
16032 * Makefile.am (lyx_main.o): add language.h
16034 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16040 * CutAndPaste.C: include gettext.h
16042 * lyxfont.h: remove old hack with ON and OFF.
16045 * lyxfont.h: do not include language.h...
16050 * bufferview_funcs.C:
16056 * paragraph.C: ... but do it here instead
16058 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16060 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16062 * tabular.C: small reformat
16064 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16067 (BreakParagraph): ditto
16068 (SetOnlyLayout): ditto
16071 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16074 * lastfiles.C: removed most using decl, add std:: where needed
16076 * buffer.C: ws changes
16078 * MenuBackend.C (class compare_format): put into anon namespace
16079 (expand): constify label, names, action, action2
16082 * text.C (SingleWidth): constify font
16083 (IsBoundary): constify rtl2
16084 (GetVisibleRow): constify ww
16086 * LaTeX.C (deplog): constify logfile
16088 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16090 (workAreaExpose): constify widthChange, heightChange
16092 * lyxrow.C (par): moved
16095 * lyxrow.h: as inlines here
16097 * lyxfont.h (shape): moved from lyxfont.C
16098 (emph): moved from lyxfont.C
16100 * lyxfont.C (LyXFont): use initialization list for all
16102 (shape): move to lyxfont.h as inline
16103 (emph): move to lyxfont.h as inline
16106 2001-04-04 Juergen Vigna <jug@sad.it>
16108 * vspace.C: had to include stdio.h for use of sscanf
16110 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16113 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16114 independent of xforms.
16116 2001-04-02 Juergen Vigna <jug@sad.it>
16118 * spellchecker.C: fixed namespace placing!
16120 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16122 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16123 the LyXParagraph * is 0.
16125 2001-03-29 Juergen Vigna <jug@sad.it>
16127 * vspace.C: added support for %, c%, p%, l%.
16128 (stringFromUnit): added helper function.
16129 (asLatexString): changed to give right results for the %-values.
16131 * buffer.C: convert the widthp in a width%.
16133 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16135 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16138 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16139 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16141 * lyx_cb.[Ch]: see above.
16143 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16147 * lyx.[Ch]: replaced by figure_form.[Ch].
16151 * lyxfunc.C: changed headers associated with above changes.
16153 2001-03-27 Juergen Vigna <jug@sad.it>
16155 * BufferView_pimpl.C: set the temporary cursor right!
16157 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16159 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16161 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16163 * LString.h: removed "using std::getline"!
16165 * BufferView_pimpl.C (Dispatch): changes due to changes in
16166 InsetInclude::Params.
16168 * buffer.C (tag_name): removed redundant break statements as they were
16169 producing lots of warnings with my compiler.
16171 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16173 * LString.h: add "using std::getline" when using the real <string>.
16175 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16177 * buffer.C: removed bitset usage.
16178 PAR_TAG moved to an anonymous name space.
16179 (tag_name): new funtion, also in the anonymous namespace.
16180 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16181 (makeDocBookFile): clean code. Completed transition from string arrays
16183 (SimpleDocBookOnePar): code clean.
16185 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16187 * tabular.C: add some comments.
16189 2001-03-22 Juergen Vigna <jug@sad.it>
16191 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16192 compatibility read a bit and fixed bug with minipage in different
16195 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16197 * buffer.C (pop_tag): removed.
16198 (push_tag): removed.
16199 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16200 array replaced with vector. Added support for CDATA sections.
16201 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16203 (makeDocBookFile): XML conformant declaration of CDATA section,
16204 fixed bug related to <emphasis> in the first paragraph char.
16205 (sgmlOpenTag): exclude empty tags.
16206 (sgmlCloseTag): ditto.
16208 * buffer.h (pop_tag): removed.
16209 (push_tag): removed.
16211 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16213 * language.h (Languages): added size_type and size().
16215 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16217 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16218 response on compability reading of minipages. One probliem is that
16219 the old usage of minipages was «flertydig»
16221 * several files here and in subdirs: don't use static at file
16222 scope use anon namespaces instead.
16224 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16226 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16227 LaTeX output. This is necessary for Literate document
16230 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16232 * buffer.C: insert hfill when needed.
16234 * tabular.C (l_getline): use string::erase, small whitespace change.
16236 * BufferView_pimpl.C: try the anon namespace.
16237 * WorkArea.C: ditto
16239 2001-03-16 Juergen Vigna <jug@sad.it>
16241 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16242 otherwise it won't open options-dialogs.
16244 * buffer.C: honor pextraWidth(p) on converting minipages.
16246 * tabular.C (l_getline): changed the functions to strip trailing \r.
16248 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16250 * BufferView_pimpl.C:
16251 * minibuffer..C: added "using SigC::slot" declaration.
16253 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16255 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16261 * paragraph.C: ditto
16263 * lyxtext.h: NO_PEXTRA
16265 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16267 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16268 * ParameterStruct.h: ditto
16269 * ParagraphParameters.h: ditto
16270 * lyxparagraph.h: ditto
16272 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16274 * buffer.C: add compability for minipage alignment.
16275 (latexParagraphs): remove unwanted pextra check.
16277 * several files: remove CXX_WORKING_NAMESPACES
16279 * buffer.C (pop_tag): tie is in namespace boost
16281 * BufferView.h: noncopyable is in namespace boost
16283 * lyx_main.h: ditto
16286 * lastfiles.h: ditto
16287 * bufferlist.h: ditto
16288 * ShareContainer.h: ditto
16290 * LyXAction.h: ditto
16293 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16295 * Merging changes from BRANCH_MVC back into HEAD.
16297 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16299 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16301 * BufferView_pimpl.C: change from intl.C
16305 * Makefile.am: move combox.*
16311 * intl.C: remove dialog (covered by prefs)
16313 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16315 * lyxfunc.C (Dispatch): removed redundant break statement.
16317 2001-03-14 Juergen Vigna <jug@sad.it>
16319 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16321 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16323 * buffer.C: add hack to fix compability reading of minipages.
16325 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16327 * buffer.C (getLists): Cleanup.
16329 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16331 * lyxfont.C (update): don't honor toggleall on font size.
16333 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16337 * Makefile.am: moved to frontends/xforms/
16341 * BufferView_pimpl.C: changes for moved mathpanel
16343 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16345 * gettext.h: fix gettext_init() in --disable-nls
16347 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16349 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16351 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16354 * lyx.h: strip external form
16356 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16358 * BufferView_pimpl.C: add comment, destroySplash()
16360 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16362 * BufferView_pimpl.C:
16366 * lyxfunc.C: use re-worked insetinclude
16368 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16370 * buffer.C: add using std::stringstream.
16372 * lyx_cb.C: readd using std::ios.
16374 * buffer.C: add using std::map.
16376 * BufferView_pimpl.C: add using std::vector.
16378 * ShareContainer.h: add std:: to swap.
16380 * buffer.h: add some typedefs
16381 * buffer.C (getLists): use them
16382 (getLists): renamed from getTocList.
16383 add a counter for the different float types and use it in the
16385 (getLists): use the same counter for the NEW_INSETS and the "non"
16388 * lyx_cb.h: remove unused items, includes, using etc.
16390 * ShareContainer.h: remove some commented code, add more comments
16391 and "documentation".
16393 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16395 * buffer.C (getTocList): make the list also when NEW_INSETS is
16398 * buffer.h: remove TocType
16400 * buffer.C (getTocList): change to return a map<string,
16401 vector<TocItem> >, implement for dynamic number of list.
16403 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16404 * text2.C (PasteSelection): adjust
16405 * CutAndPaste.C (pasteSelection): adjust
16407 * FloatList.C (FloatList): update from the new_insets branch.
16408 * Floating.[Ch]: ditto
16409 * LaTeXFeatures.C: ditto
16411 * lyxlex_pimpl.C: ditto
16413 * paragraph.C (Last): remove when NEW_INSETS is defined.
16415 * other file: changes because of the above.
16417 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16419 * lyxparagraph.h: rename next to next_, previous to previous_,
16420 make them private for NEW_INSETS. Rename Next() to next(),
16421 Previous() to previous().
16423 * other files: changes because of the above.
16425 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16428 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16431 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16433 * main.C (main): pass lyx_localedir to gettext_init().
16435 * gettext.h: remove locale_init and gettext_init macros
16437 * gettext.C (locale_init): new function
16438 (gettext_init): new function
16440 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16443 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16445 * Moved credits to frontends:
16446 * credits.[Ch]: removed
16447 * credits_form.[Ch]: removed
16448 * lyx_gui_misc.C: remove credits stuff
16451 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16453 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16455 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16456 unneeded destructor.
16458 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16459 a standalone pointer again.
16461 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16463 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16469 * ToolbarDefaults.C:
16478 * BufferView_pimpl.C: use new file dialog in GUII
16481 * lyx_cb.C: remove LayoutsCB to Toolbar
16483 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16485 * ShareContainer.h (get): add std:: qualifier
16487 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16489 * ShareContainer.h: define a proper ShareContainer::value_type
16490 type (and use typename to please compaq cxx)
16492 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16494 * lyxparagraph.h: move serveral local vars to
16495 ParameterStruct/ParagraphParameters., use ShareContainer in
16496 FontTable., make vars in FontTable private and add getter and
16499 * paragraph.C: changes because of the above.
16501 * lyxfont.h: remove copy constructor and copy assignment. (the
16502 default ones is ok), move number inside FontBits. move inlines to
16505 * lyxfont.C: add number to initializaton of statics, move several
16506 inlines here. constify several local vars. some whitespace
16507 cleanup. Dont hide outerscope variables.
16509 * Spacing.h: add two new constructors to match the set methods.
16511 * ShareContainer.h: new file, will perhaps be moved to support
16513 * ParameterStruct.h: new file
16515 * ParagraphParameters.h: new file
16517 * ParagraphParameters.C: new file
16519 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16520 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16522 * BufferView_pimpl.C: ParagraphParameter changes.
16523 * buffer.C: Likewise.
16524 * bufferview_funcs.C: Likewise.
16525 * text.C: Likewise.
16526 * text2.C: Likewise.
16528 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16530 * lyxfind.C (LyXReplace): do not redefine default argument in
16532 (IsStringInText): ditto
16533 (SearchForward): ditto
16534 (SearchBackward): ditto
16536 2001-03-06 Juergen Vigna <jug@sad.it>
16538 * lyxfind.C (IsStringInText): put parentes around expressions.
16540 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16542 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16544 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16546 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16548 * stl_string_fwd.h: add comment
16550 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16553 * tabular.C: remove unused DocBook methods
16559 killed DO_USE_DEFAULT_LANGUAGE
16561 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16563 * lyx_gui.C: do not include language.h.
16565 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16566 arguments in function implementation.
16568 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16570 * BufferView_pimpl.C: add <ctime>
16572 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16574 * BufferView_pimpl.C: add using std::find_if
16576 2001-02-27 José Matos <jamatos@fep.up.pt>
16578 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16581 2001-02-11 José Matos <jamatos@fep.up.pt>
16583 * buffer.C (makeDocBookFile): command styles now have a parameter as
16584 "title" by default.
16586 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16588 * layout_forms.[Ch]: removed
16589 * lyx_cb.[Ch]: out character
16590 * lyx_gui.C: out character
16591 * lyx_gui_misc.C: out character
16592 * bufferview_funcs.C: : out character,
16593 added toggleall as parameter in ToggleAndShow
16595 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16597 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16599 * text2.C (SetCurrentFont): Disable number property at boundary.
16601 2001-02-26 Juergen Vigna <jug@sad.it>
16603 * lyxfunc.C (getStatus): added a string argument override function so
16604 that this is correctly called from LyXFunc::Dispatch if it contains a
16605 do_not_use_argument which is used!
16606 (Dispatch): added check for "custom" export and call appropriate func.
16608 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16610 * lyxrc.C: Add language_command_local, language_use_babel and
16611 language_global_options.
16613 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16615 * buffer.C (makeLaTeXFile): Use language_use_babel and
16616 language_global_options.
16618 2001-02-23 Juergen Vigna <jug@sad.it>
16620 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16621 which works with LyXText and putted it inside BufferView. Here now we
16622 only call for that part the BufferView::Dispatch() function.
16624 * BufferView.C (Dispatch): added.
16626 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16627 functions which needs to use a LyXText over from LyXFunc.
16628 (MenuInsertLyXFile): added
16629 (getInsetByCode): added
16630 (moveCursorUpdate): added
16631 (static TEXT): added
16633 2001-02-22 Juergen Vigna <jug@sad.it>
16635 * BufferView_pimpl.C (update): call a status update to see if LyXText
16638 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16640 * vc-backend.C (revert): implement for CVS
16641 (getLog): implement for CVS
16643 2001-02-20 Juergen Vigna <jug@sad.it>
16645 * text2.C (ClearSelection): added BufferView param for inset_owner call
16647 * lyxfunc.C (TEXT): added this function and use it instead of
16648 directly owner->view()-text of getLyXText().
16650 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16652 * src/layout_forms.C: out preamble
16653 * src/layout_forms.h: out preamble
16654 * src/lyx_cb.C: out preamble
16655 * src/lyx_cb.h: out preamble
16656 * src/lyx_gui.C: out preamble
16657 * src/lyx_gui_misc.C: out preamble
16658 * src/lyxfunc.C: connect with guii preamble
16660 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16662 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16664 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16666 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16667 whether to run bibtex.
16669 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16671 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16673 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16675 * Makefile.am (lyx_SOURCES): removed bibforms.h
16677 * vspace.h: doxygen
16679 * text.C (GetVisibleRow): make several local vars const
16681 * tabular.C: small cleanup.
16683 * lyxserver.C (callback): use compare instead of strncmp
16685 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16686 inlines to after class or to paragraph.C
16688 * lyxfont.h: remove friend operator!=
16690 * converter.h: move friend bool operator< to non friend and after
16693 * combox.h: small cleanup
16695 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16696 to inlines after class def.
16698 * buffer.C (pop_tag): use string operations instead of strcmp
16700 * bmtable.c: doxygen, small cleanup
16702 * LaTeX.h: remove friend operator==
16704 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16716 * BufferView_pimpl.C:
16717 * BufferView.[Ch]: remove cruft
16719 2001-02-14 Juergen Vigna <jug@sad.it>
16721 * lyxfunc.C: removed #if 0 unused code
16723 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16725 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16727 * text2.C (SetSelection): added a BufferView * parameter
16729 2001-02-13 Juergen Vigna <jug@sad.it>
16731 * lyxfunc.C (Dispatch): fixed protected blank problem.
16732 * BufferView2.C (protectedBlank): added LyxText * parameter.
16734 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16735 (AppendColumn): same as above for column_info.
16737 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16738 (moveCursorUpdate): use a LyXText param for support of InsetText.
16740 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16741 (tripleClick): ditto
16743 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16745 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16747 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16749 * text2.C (SetSelection): set correct update status if inset_owner
16750 (ToggleFree): ditto
16752 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16754 * tabular.C: remove some commented code.
16756 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16758 * BufferView_pimpl.C: call hideSplash()
16760 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16763 * bibforms.h: remove
16766 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16767 add LFUN_CHILD_CREATE
16769 * counters.h: fix tiny typo
16774 * lyx.C: move splash to frontends/xforms/
16776 * lyx_gui_misc.C: move Include and Bibform to frontends
16778 * lyxvc.h: clarify comment
16780 * vspace.C: tiny housekeeping
16782 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16784 * text.C (PrepareToPrint): RTL Fix.
16786 * paragraph.C (GetUChar): New method.
16787 (String): Use GetUChar.
16789 * buffer.C (asciiParagraph): Use GetUChar.
16791 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16793 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16795 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16798 * buffer.C: rename to getLogName(), handle
16799 build log / latex log nicely
16801 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16804 * MenuBackend.h: remove support for reference menuitem type.
16806 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16808 * BufferView_pimpl.C: housekeeping
16809 * BufferView_pimpl.h:
16814 * minibuffer.h: move Timeout GUI-I
16816 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16818 * lyxrc.C (read): Update converters data-structures.
16820 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16822 * LaTeX.h (operator!=): add operator != for Aux_Info
16824 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16826 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16828 * LaTeXLog.C: deleted, useful code moved to Buffer
16831 * buffer.C: new function getLatexLogName()
16837 * lyxfunc.C: use frontends for LaTeX and VC logs
16839 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16841 * LaTeX.h: yet another std:: that Allan forgot.
16843 * Variables.C (set): renamed from isset(), because this clashes
16844 with some HP-UX macros (grr).
16846 2001-02-06 Allan Rae <rae@lyx.org>
16848 * LaTeX.h: Another bug fix. Missing std:: this time.
16850 2001-02-04 Allan Rae <rae@lyx.org>
16852 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16853 floats problem. I've left it commented out because it's not quite
16854 correct. It should also test that the current object is a table or
16855 figure inset. But I haven't gotten around to figuring out how to do
16856 that. I *think* it'll be something like: "table" == inset.type()
16858 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16861 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16863 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16864 all the citation/databases/styles in the auxilary file.
16865 (run): Rerun latex if there was a babel language error.
16867 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16869 * text.C (Backspace): Preserve the font when changing newline char
16871 (BreakParagraph): If the cursor is before a space, delete the space.
16873 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16875 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16877 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16878 new argument (code).
16879 (ChangeCitationsIfUnique): New method.
16881 * paragraph.C (GetPositionOfInset): Handle bibkey.
16883 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16885 * BufferView_pimpl.h: change type of Position::par_pos to
16886 LyXParagraph::size_type.
16888 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16890 * BufferView_pimpl.C (savePosition, restorePosition): Write
16891 messages to minibuffer.
16893 2001-01-28 José Matos <jamatos@fep.up.pt>
16895 * buffer.C (makeDocBookFile): adds support for document language.
16896 A silly restriction on the name of LatexCommand types where removed.
16897 Added support for CDATA sections, allows to chars unescaped, used
16898 among others in code, to avoid escape < and >.
16900 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16902 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16903 saved positions instrad of a stack. Furthermore, a position is
16904 stored using paragraph id/paragraph position.
16906 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16907 Remove LFUN_REF_BACK.
16909 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16911 * converter.C (dvipdfm_options): New method.
16913 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16915 * vspace.C (isValidLength): Fix for empty input string.
16917 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16919 * LyXAction.C (init): change description of LFUN_FIGURE to
16922 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16924 * LaTeX.C: add using directive
16926 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16928 * MenuBackend.C (expand): Fix the sorting of the formats.
16930 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16932 * lyx_main.C: tiny error message fix
16934 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16936 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16937 calling fl_initialize(). This fixes the problem with ',' as
16938 decimal separator in text files.
16940 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16942 * trans.C (process): Fix the keymap bug.
16944 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16946 * LaTeX.C (scanAuxFiles): New method. Provides support for
16947 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16948 (scanLogFile) Scan for "run BibTeX" messages.
16950 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16951 OT1 font encoding. Also, load the aecompl package if the ae
16954 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16956 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16958 * texrow.C (increasePos): turn two error messages into debug
16961 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16963 * LaTeX.C (scanAux): Handle the \@input macro.
16964 (runBibTeX): Use scanAux().
16966 * language.C (latex_options_): New field.
16968 * LaTeXFeatures.C (getMacros): Add language macros.
16970 * buffer.C (makeLaTeXFile): Small fix.
16972 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16974 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16976 * text2.C: add a using directive.
16978 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16983 * lyxfunc.C: kill LyXBell.
16985 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16987 * text.C (IsBoundary): Remove the error message
16989 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16991 * lyxrc.C (setDefaults): Correct initialization value for
16994 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16996 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16999 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17000 and GotoNextNote().
17002 * src/LyXAction.C: Added reference-next.
17004 * text.C (InsertChar): Use contains instead of strchr.
17006 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17008 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17010 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17011 alignment commands (when needed).
17013 * text.C (InsertChar): Add ':' to number separator chars.