1 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * vc-backend.C (find_file): rewrite to use boost.filesystem
6 * main.C (main): sett default name check for boost.filesystem to
9 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
12 (actOnUpdatedPrefs): ditto
14 * lyx_main.C (init): rewrite to use boost.filesystem
15 (queryUserLyXDir): ditto
17 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
18 (getContentsOfAsciiFile): ditto
20 * lastfiles.C (readFile): rewrite to use boost.filesystem
22 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
24 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
27 * buffer.C (Buffer): adjust for destroydir
28 (getLogName): rewrite to use boost.filesystem
30 (save): use fs::copy_file (from fs_extras)
32 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
34 * LaTeX.C (run): rewrite to use boost.filesystem
36 (handleFoundFile): ditto
38 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
40 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
42 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
44 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
46 * lyxlayout.[Ch]: change some vars from float to double
48 * buffer.C (readFile): make a local var const
50 * Several files: use convert<> instead of atoi,strToXXX and friends
52 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
54 * LaTeXFeatures.[Ch]: Add a static list packages_ that
55 holds the contens of packages.lst. New functions getAvailable
56 and isAvailable to parse and check that list, resp.
60 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
62 * bufferparams.[Ch]: new param output_changes.
64 * Buffer.C: increase file format to 240.
65 Use output_changes and isVailable.
69 * paragraph_pimpl.C: Use output_changes and isVailable.
71 2005-01-23 Angus Leeming <leeming@lyx.org>
73 * output_latex.C: #include "insetbibitem.h", rather than
74 forward declare function bibitemWidest.
76 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
78 * lyx_main.C (init): make it compile on the Mac.
80 2005-01-20 Angus Leeming <leeming@lyx.org>
82 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
83 (setLyXMisc): (char string literal) != (char string literal) is
84 performing a comparison on the addresses. Convert one operand
85 explicitly to string to guarantee expected behaviour.
88 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
91 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
93 * output_plaintext.C: remove unneeded #include gzstream.h.
95 2005-01-20 Angus Leeming <leeming@lyx.org>
97 * SpellBase.h: rename some of the elements of the Result enum.
104 * pspell.C (check): ditto
106 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
108 * buffer.C: add #include <fstream>.
110 * lyx_main.C (init): Compile fix.
112 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
114 2005-01-20 Angus Leeming <leeming@lyx.org>
116 * mover.h: change commentary to reflect the changed meaning of
119 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
121 * output_linuxdoc.C (linuxdocParagraphs): silence warning
123 * lyxfind.C (MatchString::operator()): remove bogus semicolon
125 2005-01-20 Angus Leeming <leeming@lyx.org>
127 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
128 printing diagnostic data by not dereferecing an iterator past the
131 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
133 * buffer.C (readHeader): use "&&" rather than "and".
135 * lyxserver.h (inPipeName, outPipeName): make these const.
137 2005-01-19 Angus Leeming <leeming@lyx.org>
139 * lyx_main.C (error_handler, init): protect SIGHUP with
140 #ifdef SIGHUP guards.
142 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
144 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
146 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
148 * text.C (setHeightOfRow): add a margin at the top and bottom of
149 the document (bug 1761)
151 2005-01-17 Angus Leeming <leeming@lyx.org>
153 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
154 with "python ". Workaround for a brain-dead Windows.
156 2005-01-16 Angus Leeming <leeming@lyx.org>
158 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
159 for MacOSX and Windows to use prependEnvPath.
160 Strip out the hard-coded block to add elements to the PATH for
161 MacOSX and replace it with a call to prependEnvPath using the
162 contents of LyXRC::path_prefix.
163 (queryUserLyXDir): strip out the code to run reconfigure, instead
164 returning a boolean indicating the necessity to do so.
165 (reconfigureUserLyXDir): contains the code to reconfigure the
166 user support directory. Is now called after the various LyXRC data
167 files have been read.
169 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
171 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
173 * converter.[Ch] (convert): take a new parameter try_default. Use
174 a default converter (imagemagick) if try_default is true.
176 2005-01-13 Angus Leeming <leeming@lyx.org>
178 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
180 (write): output LyXRC::cygwin_path_fix as necessary.
182 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
185 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
187 2005-01-12 Angus Leeming <leeming@lyx.org>
189 * lyx_main.C (init): set the PATH variable to include the
190 directory containing the LyX binary when running on Mac or Windows.
192 2005-01-12 Angus Leeming <leeming@lyx.org>
194 * lyx_main.C (init): remove cruft that purports to set the locale
195 dir. It doesn't and is not needed anyway.
197 2005-01-10 Angus Leeming <leeming@lyx.org>
199 * Makefile.am: remove the lyx_main.C special casing.
201 * BufferView_pimpl.C:
207 * messages.C: use support/package.h to provide the paths to the
208 various directories used by LyX.
210 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
212 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
213 layout if pasting into an empty paragraph)
215 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
217 * tex-accent.C: add <string>
219 2005-01-06 José Matos <jamatos@lyx.org>
221 * ParagraphParameters.C (write): put every parameter in its own line.
222 * paragraph.C (write): reduce number of consecutive empty lines exported.
223 * buffer.C (LYX_FORMAT): increase file format to 239.
225 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
227 * everywhere: change support/tostr.h -> support/convert.h
229 * tabular.C: make all write_attributes templates, tostr -> convert
231 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
232 (emptyTag): and -> &&, and fix type for ret from getChar
233 (getFirstWord): fix type for ret from getChar
234 (onlyText): and -> &&
235 (simpleDocBookOnePar): and not -> && !, fix type for ret from
238 * toc.C (goTo, action):
239 * text3.C (dispatch):
240 * text.C (currentState):
241 * tex-accent.C (DoAccent):
244 * lyxfunc.C (menuNew):
245 * lyxfinc.C (replace):
246 * counters.C (laberItem):
247 * bufferview_funcs.C (font2string):
248 * bufferparams.C (writeFile):
249 * buffer.C (readFile):
251 * MenuBackend.C: tostr -> convert
253 * LaTeX.C (runMessage): fix format
254 (scanAuxFiles): tostr -> convert
256 * BufferView_pimpl.C (savePosition): fix format
257 (restorePosition): ditto
260 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
262 * Spacing.[Ch]: New method getValueAsString().
266 * ParagraphParameters.C:
269 * text3.C: store/read spacing value as string.
271 * rowpainter.C: change float value (spacing_val) to double.
273 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
274 broken custom document spacing).
276 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
278 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
279 namespace, also more use of temp references and const
281 * cursor.[Ch] (getStatus): move to lyxfunc.C
283 * bufferparams.C: reformat slightly
285 * bufferview_funcs.C (font2string): constify arg
291 * buffer_funcs.C: (many funcs): constify arg on function
292 definitions, also make more local vars const, also add ASSERTS on
295 * buffer.C (LYX_FORMAT): put const in correct place
296 (many funcs): constify arg on function definitions, also make
297 more local vars const
299 * aspell_local.h: remove "struct" from typdef setup
301 * aspell.C (check): make word_ok const
302 (nextMiss): simplify slightly
305 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
307 * lyxrc.[Ch]: store all float values as strings.
308 use int (not float) for lyxrc.dpi.
310 2005-01-04 Angus Leeming <leeming@lyx.org>
312 * lyx_cb.C (Reconfigure):
313 * lyx_main.C (queryUserLyXDir):
314 to run the <system_lyxdir>/configure correctly on Windows, prefix
315 the path to the script with "sh " when generating the string that
316 is passed to system().
318 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
320 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
322 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
324 * lyxlength.C (asLatexString): get rid of setprecision
326 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
328 * text2.C (setLayout): remove unused variable endpit.
329 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
331 * paragraph.C (onlyText): remove unused variable style.
333 * cursor.C (bruteFind): remove unused variables beg and end.
335 * Makefile.am (dist_noinset_DATA): not needed anymore
337 * cheaders/*: remove.
339 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
341 * text3.C: fix LFUN_MATH_MODE.
343 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
345 * buffer_funcs.C (countWords): new function. Counts words between
348 * BufferView_pimpl.C (getStatus, dispatch): handle
351 * LyXAction.C (init):
352 * lfuns.h: add LFUN_WORDS_COUNT.
354 2004-12-19 Angus Leeming <leeming@lyx.org>
356 * buffer.C (save): s/slashify_path/internal_path/.
358 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
360 * lyxfind.C (findChange): do not search for end of pars, because
361 the change tracker cannot handle this (fixes bug 1719).
363 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
365 * paragraph.[Ch] (autoBreakRows): remove
367 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
369 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
370 avoid using the paragraph one
372 * text2.C (LyXText, insertStringAsLines): adjust
374 2004-12-16 Angus Leeming <leeming@lyx.org>
378 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
380 2004-12-14 Angus Leeming <leeming@lyx.org>
382 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
384 * bufferlist.C (emergencyWrite):
385 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
388 2004-12-14 Angus Leeming <leeming@lyx.org>
390 * main.C: (main): no longer pass pointers to os::init.
392 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
394 * undo.C (textUndoOrRedo): simplify logic, fix a crash
395 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
397 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
400 * text3.C: remove selection_possible global flag
402 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
404 * text2.C (getSelectionSpan): remove
405 (changeDepth, changeDepthAllowed): adjust
407 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
409 * Makefile.am (BOOST_LIBS): use boost variables
411 2004-12-03 José Matos <jamatos@lyx.org>
413 * buffer.C: format up to 238.
415 2004-12-03 José Matos <jamatos@lyx.org>
417 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
419 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
421 * cursor.C (goUpDown): remove call to idxUpDown2
423 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
425 * tabular.[Ch]: use size_t-like types for cell, row and column
428 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
430 * lyxfunc.C (getStatus): do not lose previous information when
431 calling BufferView::getStatus; do not set a default "Command
432 disabled" message at the beginning, but just before returning.
434 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
436 * cursor.h (getStatus): add better comment from src/cursor.C
438 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
440 * text3.C (getStatus): return false when the lfun is not handled
442 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
444 * broken_headers.h: remove
446 * Makefile.am (lyx_SOURCES): remove broken_headers.h
448 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
450 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
453 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
454 top_y_, merge fitcursor with update
455 (updateScrollbar, scrollDocView, fitCursor, center, update): new
458 (workAreaDispatch): adapt to new coord scheme
459 (redoCurrentBuffer): remove
461 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
463 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
466 * coordcache.[Ch]: add paragraph cache and helpers
468 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
471 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
472 (targetX, setTargetX): introduce
474 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
475 baseline -> ascent, as the rest of lyx
477 * lyxtext.h: remove redoParagraphs, updateParPositions,
478 fullRebreak, redoParagraphInternal. move dist to anon namespace in
479 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
480 have ascent/descent (ascent is ascent of first par)
482 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
485 * paragraph.[Ch]: unify dimension handling with the rest of lyx
487 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
489 * pariterator.C: fix infinite loop introduced in par->pit renaming
491 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
492 in insets and LyXText, draw two off-screen paragraphs using
493 NullPainter, and adapt to new coord scheme
497 * text3.C: adapt lfun handlers to the new coord scheme, which
498 means: there's only guaranteed coord information for onscreen pars
499 plus one above and one below. This implies that one can do search
500 from y coordinates in the range [-1,workHeight]
502 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
504 * rename a lot of InsetOld to InsetBase
506 2004-11-25 Angus Leeming <leeming@lyx.org>
508 * BufferView_pimpl.C:
510 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
512 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
514 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
515 call BufferView::getStatus if LCursor::getStatus did nothing
516 (setStatusMessage, getStatusMessage): removed.
518 * FuncStatus.C (message): new methods. Used to provide an error
519 message indicating why a command is disabled.
520 (clear, |=, FuncStatus): update for message.
522 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
524 * lyxfunc.C (dispatch): always call sendDispatchMessage
526 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
529 * BufferView_pimpl.C:
543 * undo.C: par->pit renaming
545 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
547 * tabular.C (cellstruct): use initialization, store a shared_ptr
548 to insettext instead of the insettext directly, adjust to fit.
549 (operator=): new function
551 (rowstruct): use initialization
552 (columnstruct): use initialization
553 (ltType): use initialization
556 * lyxlength.h (swap): new function
558 * LColor.[Ch] (operator=): use the common semantics
560 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
562 * lyxfind.C (findNextChange): update the bufferview after setting
565 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
567 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
568 number of InsetOptArgs has already been inserted.
570 * output_latex.C (latexOptArgInsets): new method. This outputs all
571 the optarg insets, up to the limit defined in the layout file.
572 (optArgInset): removed
573 (TeXOnePar): call latexOptArgInsets; correctly update texrow
575 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
577 * paragraph.C (isLetter): remove special spellchecker-related
578 code; return true also for digits
579 (isWord, isKomma): remove
581 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
582 * lyxfind.C (MatchString()): use isLetter instead of isWord
584 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
586 * pariterator.h (operatir=): comment out un-implemented member
589 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
592 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
594 * lyxfont.h: include LColor.h to satisfy concept checks.
596 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
598 * pariterator.h: add typdefs for value_type, difference_type,
599 pointer and reference to satisfy concept checks. Also add default
600 constructor for same reason.
602 * pariterator.C (operator++): add post-increment operator to
603 satisfy concept checks.
605 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
608 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
610 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
611 checks. Also rename base_type to BaseType to follow naming
614 * FloatList.h: include Floating.h to satisfy concept checks.
616 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
618 * lyxfunc.C (getStatus): when the origin of the request is menu or
619 toolbar, and the LyXView does not have focus, do as if there was
622 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
623 FuncRequest to individual entries of LFUN_SEQUENCE
625 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
627 * output_latex.C (TeXOnePar): override runparams.moving_arg
628 according to the needprotect value of the current paragraph (bug
631 * paragraph.C (simpleTeXOnePar): no need to override
632 runparams.moving_args here
634 2004-11-14 John Spray <spray_john@users.sourceforge.net>
636 * vspace.C: fix off-by-one-error, related to fix #1682
638 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
640 * lengthcommon.C: a more general fix for bug 1682
642 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
644 * text.C (backspace): fix crash
646 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
648 * format.[Ch] (getFormatFromFile): new method
649 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
651 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
653 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
655 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
657 * lyxfunc.C (dispatch): remove the verbose argument
658 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
661 * kbmap.C (defkey): set the origin of func to KEYBOARD
663 * MenuBackend.C (MenuItem):
664 * ToolbarBackend.C (add): set the origin of func to UI
666 * funcrequest.[Ch]: add origin member, which indicates which part
667 of LyX requests an action
669 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
671 * converter.C (move): don't lie in the error message
672 * converter.h (isReachable, move): document
674 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
676 * buffer.C: remove unused using lyx::support::atoi
677 * paragraph_funcs.C: ditto
679 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
681 * bufferlist.C (exists): use bind and equal_to instead of
684 * lyxtextclasslist.C (NumberOfClass): ditto
686 * cursor.C (insert): use for_each instead of explicit for loop
688 * bufferlist.C (getFileNames): use std::transform and
689 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
691 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
694 * buffer.C (changeLanguage): use for_each instead of explicit for
696 (hasParWithID): implement using getParFromID
698 * LaTeXFeatures.C: ws change only
700 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
703 * BufferView_pimpl.C (trackChanges): use for_each instead of
706 2004-11-04 André Pönitz <poenitz@gmx.net>
709 * undo.C (textUndoOrRedo): fix crash when creating undo information.
711 * dociterator.C (asDocIterator): use hard assert again.
713 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
715 * lyxlength.C (asLatexString): rewrite so that it does not use
718 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
720 * text3.C (specialChar, dispatch): make sure cursor moves to the
721 right after inserting an inset
723 2004-11-02 José Matos <jamatos@lyx.org>
725 * output_docbook.C (docbook):
726 * paragraph.C (getID):
727 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
728 garantee that the output is always legal.
730 * tabular.C (docbook):
731 * outputprams.[Ch]: remove mixed contents.
733 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
735 * text2.C (setCounter): prevent endless loop
737 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
739 * exporter.C (copyFile): use the mover instead of support::copy()
740 * exporter.C (Export): pass format and latex name to copyFile()
741 * exporter.h (addExternalFile): document
742 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
744 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
746 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
748 2004-10-30 José Matos <jamatos@lyx.org>
750 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
751 text and no inset or font change. This allows to use CDATA
752 sections just for the whole paragraph.
754 2004-10-30 José Matos <jamatos@lyx.org>
756 * paragraph.C (getFirstWord): remove unused variable.
758 2004-10-30 José Matos <jamatos@lyx.org>
760 * paragraph.C (getFirstWord): the content should always be escaped
762 (simpleDocBookOnePar):
763 * output_docbook.C (makeEnvironment): replace reference to CDATA
766 2004-10-30 José Matos <jamatos@lyx.org>
768 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
770 2004-10-30 José Matos <jamatos@lyx.org>
772 * output_docbook.C (makeParagraphs):
773 * paragraph.[Ch] (emptyTag): for docbook and company, if the
774 standard paragraph has only a given type of content drop the wrapper.
776 2004-10-29 José Matos <jamatos@lyx.org>
778 * output_docbook.C (makeEnvironment):
780 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
782 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
784 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
785 (cleanID): sanitize any id.
787 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
789 * buffer.C, lyxlex_pimpl.C:
790 * lyxlex_pimpl.C (setFile):
791 s/getExtFromContents/getFormatFromContents/
793 2004-10-28 José Matos <jamatos@lyx.org>
795 * output_docbook.C (makeEnvironment): move id to broadest possible
798 * sgml.C (openTag): apply substitution of <> for all attributes.
800 2004-10-28 José Matos <jamatos@lyx.org>
802 * buffer.C (makeLinuxDocFile, makeDocBookFile):
803 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
804 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
806 * sgml.[Ch]: new version for open and closeTag for paragraph and
807 for strings. Now they handle the ids of paragraphs.
809 2004-10-26 Angus Leeming <leeming@lyx.org>
811 * Makefile.am: add mover.[Ch].
813 * converter.C (convert, move): use the new Movers to move external
814 files to the temp directory.
816 * lyx_main.C (init): ensure that the global system_movers data
819 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
822 * mover.[Ch]: new files, defining a Mover as a utility to move an
823 external file between directories and, if necessary, manipulate this
824 file using a helper script.
826 2004-10-25 José Matos <jamatos@lyx.org>
828 * output_docbook.C (makeCommand): merge two if's that tested the
831 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
833 * sgml.C (escapeString): fix warning in a better way
835 2004-10-25 José Matos <jamatos@lyx.org>
837 * sgml.C (escapeString): import the require boosts header file for
838 tie, and avoid a signed unsigned comparison.
840 2004-10-25 José Matos <jamatos@lyx.org>
842 * sgml.h: add #include <string>
844 2004-10-25 José Matos <jamatos@lyx.org>
846 * sgml.[Ch] (escapeString): new function to escape all the string.
848 2004-10-24 José Matos <jamatos@lyx.org>
850 * paragraph.[Ch] (getFirstWord): new function to get the first
851 word. Useful for description.
852 (simpleDocBookOnePar): remove depth argument, add another that
853 says where to start the paragraph.
855 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
856 use the new functions to fix cleanly the support for descriptions.
858 2004-10-24 José Matos <jamatos@lyx.org>
860 * buffer.C (makeLinuxDocFile, makeDocBookFile):
861 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
862 * output_linuxdoc.C (linuxdocParagraphs):
863 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
864 add buffer as argument.
866 2004-10-24 José Matos <jamatos@lyx.org>
868 * output_docbook.C (makeEnvironment, searchEnvironment): place
869 CDATA inside paragraphs and fix scope for listitems.
871 2004-10-24 José Matos <jamatos@lyx.org>
873 * output_docbook.C: remove using statement for stack.
875 2004-10-23 José Matos <jamatos@lyx.org>
877 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
878 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
879 docbook. The new scheme is recursive and makes use of iterators, the
880 same as latex export works.
881 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
882 directly with the paragraph contents. This code was moved up to
883 output_docbook.C (docbookParagraphs).
884 * sgml.C (openTag, closeTag): removed unneeded newlines.
885 (closeEnvTags) removed.
887 2004-10-23 André Pönitz <poenitz@gmx.net>
889 * undo.C (textUndoOrRedo):
890 * dociterator.C (asDocIterator): work around crash
892 * cursor.C (getStatus): replace ASSERT by more verbose error message
893 and manual correction of the problem. Should increase stability
894 while providing more sensible information.
896 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
898 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
900 * bufferlist.C (previous, next): new methods
903 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
905 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
907 * buffer.C (makeDocBookFile): add dsssl stylesheet control
908 entities to preamble.
910 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
912 * messages.C (Pimpl): strip off translation context information
914 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
916 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
917 the cursor is correct (bug 1694)
919 2004-10-13 José Matos <jamatos@lyx.org>
921 * output_docbook.C (docbookParagraphs): fix closing tags in the
924 2004-10-09 José Matos <jamatos@lyx.org>
926 * buffer.C: format up to 237.
927 * bufferparams.C (write): use tostr to convert booleans to strings.
929 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
931 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
933 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
935 * LaTeX.C: implement use of babel language in xindy.
937 2004-10-05 José Matos <jamatos@lyx.org>
939 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
940 Add new translators to help reading and writing the lyx file.
942 2004-10-05 José Matos <jamatos@lyx.org>
944 * ParagraphParameters.C (read):
945 * text.C (readParToken): replace nexToken by more appropriate lex
948 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
950 * LaTeX.C (runMakeIndex):
951 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
952 (usually 'makeindex') configurable.
954 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
955 with a variable rather than with a number.
957 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
959 * output_latex.C (TeXOnePar): make sure font setting is the first
960 thing that gets output (and the last at the end). Should fix bug
963 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
965 * pch.h: use proper signal include
967 * LaTeX.h: Use preferred calling of Boost.Signal
970 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
972 * pch.h: dont include <boost/function/function0.hpp>
974 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
976 * paragraph_pimpl.h: remove usage of ShareContainer
978 * paragraph_pimpl.C: remove initialization of ShareContainer.
980 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
984 * BufferView.C (putSelectionAt): change the semantics when
985 backwards == true: now, this just swaps cursor and anchor wrt the
988 * BufferView.h (putSelectionAt): add some documentation
990 * lyxfind.C (findBackwards): rewrite using while(). In particular,
991 make sure backwardChar is done at least once (to avoid getting
993 (findNextChange): use putSelectionAt in the forward direction
994 (operator()): use Paragraph::isWord
996 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
998 * Spacing.C (set): c_str fix
1000 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1002 * lyx_cb.C (Reconfigure): quote the name of configure script in
1003 case it contains spaces
1005 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1009 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1010 (BOOST_LIBS): use top_buildir when looking for the file
1012 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1014 * pch.h: do not use include boost/format.hpp, multiple symbols
1015 will result (gcc bug)
1018 2004-08-23 José Matos <jamatos@lyx.org>
1020 * bufferparams.C (readToken): fix reading of the author field.
1022 2004-08-20 José Matos <jamatos@lyx.org>
1024 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1026 2004-08-20 José Matos <jamatos@lyx.org>
1028 * lyxlex.[Ch] (findToken): remove function.
1030 * ParagraphParameters.C (findToken):
1031 * bufferparams.C (findToken): replace call for previous function
1032 with local copy. This local function has one more argument, the
1033 read string argument.
1035 2004-08-16 José Matos <jamatos@lyx.org>
1037 * ParagraphParameters.C (write):
1038 * Spacing.C (writeFile):
1039 * bufferparams.C (writeLaTeX):
1040 * lyx_cb.C (Reconfigure):
1041 * paragraph.C (write):
1042 * tabular.C (write): remove unnecessary space at end of line.
1045 2004-08-16 José Matos <jamatos@lyx.org>
1047 * text.C (readParagraph): remove debug message.
1049 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1051 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1054 * output_plaintext.C (asciiParagraph): set depth correctly
1056 * outputparams.h: add member depth
1058 * paragraph_funcs.C (ownerPar): remove.
1060 * text2.C (setCounter): remove first_pit; comment out some
1061 non-working code that uses ownerPar
1063 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1066 2004-08-16 José Matos <jamatos@lyx.org>
1068 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1069 For the same level of importance use the same chanel to report problems.
1070 (read): add code to deal with \begin_body and \end_body.
1073 2004-08-15 José Matos <jamatos@lyx.org>
1075 * lyxlex.C (getString): fix comment, buffer::readBody is now
1076 buffer:readDocument.
1078 * tex-strings.C (string_papersize): Default -> default,
1079 Custom -> custom, for consistency with other options.
1081 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1085 * Makefile.am: support pch
1087 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1089 * text.C (readParToken): remove the static LyXFont variable and
1090 pass it as a parameter instead. This fixes a nasty bug where an
1091 inset will be inserted with a bad font in some situations
1092 (readParagraph): adapt
1094 * text2.C (setCounter): reduce number of calls to pars_[pit]
1096 * text.C (singleWidth): add an assert, fix a test
1098 * rowpainter.C (paintText): reduce number of calls to singleWidth
1100 * paragraph.C (isHfill):
1101 (isNewline): ws only
1103 2004-08-14 André Pönitz <poenitz@gmx.net>
1108 * lyxtext.h (several functions): use a Paragraph & argument
1111 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1113 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1115 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1117 * text.C (singleWidth): remove useless test
1119 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1121 * tabular.h: remove bogus comments
1123 * tabular.C (getDescentOfRow):
1124 (isPartOfMultiColumn): add assertions
1126 * lyxlength.C (inPixels): remove #warning
1128 2004-08-14 André Pönitz <poenitz@gmx.net>
1130 * paragraph.h: inline getChar()
1132 * BufferView.h: remove unused declarations
1134 2004-08-14 José Matos <jamatos@lyx.org>
1136 * Buffer.[Ch] (readDocument): new name for old readBody.
1137 * Buffer.C: new file format, new keywords: \begin_document,
1138 \begin_header, \begin_body, \end_body.
1140 * bufferparams.C (readToken): replace all calls to lex.nextToken
1141 by lex.next(). Do the same to eatLine except where really needed.
1143 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1144 line when writing to the lyx file.
1146 * output_plaintext.C (asciiParagraph): fix Bibliography style
1149 * text.C (read): fix end of file handling.
1151 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1153 * MenuBackend.C (Menu::operator[]): new method to access
1154 individual menu items
1155 (Menu::hasFunc): new method. search for an item that corresponds
1157 (MenuBackend::specialMenu): new method
1158 (MenuBackend::expand): if a special menu has been set, skip
1159 entries whose func() appears in this menu
1161 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1163 * text3.C: use Debug::DEBUG a bit more
1165 * text.C (leftMargin): try to simplify a tiny bit change var x to
1166 l_margin. Dont output the wide margins always.
1167 (rightMargin): no margin in inner texts
1169 * rowpainter.h (nestMargin): new func
1170 (changebarMargin): new func
1171 (rightMargin): new func
1173 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1177 * factory.C (createInset): modify setDrawFrame
1179 * cursor.C: use Debug::DEBUG a bit more
1181 2004-08-14 André Pönitz <poenitz@gmx.net>
1184 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1185 cache for all insets in (at least partially) visible (top-level)
1188 * BufferView_pimpl.C: reset external coord cache before every update.
1189 This means the coord cache only contains valid entries.
1191 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1194 * BufferView_pimpl.C (getInsetByCode): move function out of class
1195 and change in to a template in anon namespace. Also fix to do what
1198 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1201 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1203 (breakParagraph): rename par to par_offset and use a local
1204 reference. Add code to keep the language over a rebreak.
1205 (breakParagraphConservative): rename par to par_offset, use a
1207 (mergeParagraph): ditto
1209 (isFirstInSequence): ditto
1210 (outerFont): rename pit to par_offset
1212 * paragraph.C: ws change
1213 * paragraph.h: ditto
1217 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1219 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1222 * paragraph.C (simpleTeXOnePar): when we have a \item with
1223 optional argument, enclose the argument with curly brackets (in
1224 case it contains a closing square bracket)
1228 * text3.C (checkInsetHit): constify
1230 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1232 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1233 documents (bug 1629)
1235 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1237 Fix toggling of collapsable insets with the mouse (bug 1558)
1239 * lyxfunc.C (dispatch): adapt to LCursor changes
1241 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1242 make sure that dispatch is not invoked twice
1244 * cursor.C (needsUpdate): new method
1245 (dispatch): return void
1246 (result): new method, to access the DispatchResult of the cursor.
1248 2004-08-13 José Matos <jamatos@lyx.org>
1250 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1252 2004-08-13 André Pönitz <poenitz@gmx.net>
1254 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1256 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1259 2004-08-12 André Pönitz <poenitz@gmx.net>
1261 * text3.C: take out the 'cursor right' form insertInset and only
1262 do it in those places when it is really needed. Fixes crash on
1265 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1267 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1269 * BufferView_pimpl.C (setBuffer): initialize the current font of
1270 the underlying LyXText
1272 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1274 * kbsequence.C (print): use UI native formatting for menu
1277 * text.C (insertChar): call Paragraph::insertChar with a font
1280 * paragraph.C (insertInset, insertChar): the version that takes a
1281 LyXFont argument is now a wrapper around the other one (the
1282 opposite used to be true).
1284 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1285 argument. Font setting is done in Paragraph now.
1287 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1289 * outputparams.h: add new members intitle and lang.
1291 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1292 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1294 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1296 * text3.C (dispatch): remove special handling of button 4 and 5,
1297 it is now taken care of in the frontend code.
1299 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1301 * Spacing.h: add <string> (STLPort compile fix)
1303 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1305 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1307 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1309 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1312 * converter.C (showMessage): inherit from unary_function, make
1315 * buffer.C (writeFile): initialize retval
1317 * InsetList.h: rename private variable list to list_
1318 * InsetList.[Ch]: adjust accordingly.
1320 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1322 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1323 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1324 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1325 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1326 * ParagraphParameters.C, LaTeXFeatures.C: replace
1327 "support/std_sstream.h" with <sstream>
1329 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1331 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1332 * lyxsocket.C (LyXServerSocket): ditto
1333 (serverCallback): ditto
1335 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1337 * LaTeXFeatures.C: check release date when loading jurabib.
1339 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1341 * lyxserver.C (startPipe): call register_socket_callback
1342 (endPipe): call unregister_socket_callback
1344 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1346 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1347 (LyXServerSocket): register the callback
1348 (LyXServerSocket): unregister the callback
1349 (fd): delete function
1350 (serverCallback): improve error checking and setup the callbacks.
1351 (dataCallback): change arg to fd.
1352 (writeln): new func (copied fro the client socket) used for server
1354 (LyXDataSocket): simplify
1355 (~LyXDataSocket): close ann unregiser callback
1356 (server): delete function
1357 (fd): delete function
1358 (readln): small changes, improve some std::string usage
1359 (writeln): constify a bit
1361 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1363 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1366 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1368 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1369 after it has been populated
1371 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1373 * text2.C (insertInset): move cursor when inserting inset.
1375 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1377 * kbmap.C (findbindings): a couple of new methods. returns a
1378 container of kb_sequence objects. The real work is done by the
1379 private recursive version
1380 (printbindings): uses findbindings to print out a bracketed list
1381 of bindings (renamed from findbinding).
1383 * MenuBackend.C (binding): use kb_keymap::findbindings
1385 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1387 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1389 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1391 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1393 * paragraph.C (isWord): return true on insets that report
1396 * text.C (getWord): use Paragraph::isWord to decide what is in a
1397 word and what is not; fix bug 1609.
1399 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1401 * tex-strings.C: add "none" to string_paperpackages[], fixes
1402 off-by-one-error in the paperpackage selection.
1405 * tex-strings.[Ch]: char const * string[n]
1406 -> char const * const string[]
1408 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1410 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1411 command, return early.
1413 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1415 * debug.h: add DEBUG to enum and fix size of ANY.
1417 * debug.C: add support for Debug::DEBUG
1418 (showTags): cast errorTags.level to unsigned int
1420 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1421 (redoCurrentBuffer): ditto
1422 (updateScrollbar): ditto
1423 * cursor.C (dispatch): ditto
1424 * text2.C (setLayout): ditto
1426 (updateCounters): ditto
1428 (deleteEmptyParagraphMechanism): ditto
1430 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1432 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1433 annotations to cleanup the Makefile slightly.
1435 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1437 * lyxrc.C: do not set user_email to a default value but use empty
1438 instead. The entry used to be translated, which does not work
1439 since at the point where lyxrc is constructed there is no
1440 translation service available
1442 * messages.C (getLocaleDir): remove and use directly
1443 lyx_localedir() instead
1445 2004-06-02 Angus Leeming <leeming@lyx.org>
1447 Fix crash caused by dereferencing null pointer 'exportdata' in
1448 OutputParams by creating a new ExportData variable on the heap,
1449 storing it in a boost::shared_ptr.
1450 The crash was triggered when generating an Instant Preview
1451 of an external inset.
1453 * Makefile.am: add outputparams.C
1455 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1456 (c-tor): allocate memory to it.
1458 * exporter.C (c-tor): associated changes.
1460 2004-06-01 Angus Leeming <leeming@lyx.org>
1462 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1463 contains data before calling isInset(0). (Bug 1513.)
1465 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1467 * exporter.C (checkOverwrite): new method
1468 * exporter.C (copyFile): new method
1469 * exporter.C (Export): copy referenced files to the document dir
1470 * exporter.[Ch]: new class ExportedFile
1471 * exporter.[Ch]: new class ExportData. Contains currently the
1472 names of referenced external files
1473 * outputparams.h: add exportdata member.
1475 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1477 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1480 2004-05-19 Angus Leeming <leeming@lyx.org>
1485 * lyxfunc.C: small changes due to the introduction of namespace
1486 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1488 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1490 * text3.C (dispatch): supress update when only moving the cursor
1491 * cursor.C (selHandle): remove commented code
1493 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1495 * paragraph.C (startTeXParParams): correct column count
1496 * CutAndPaste.C (pasteSelection): remove const_cast
1497 * output_docbook.C (docbookParagraphs): remove const_cast
1498 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1499 const_cast and return ParagraphList::const_iterator
1500 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1501 * output_plaintext.C (writeFileAscii): remove const_cast
1502 * paragraph.[Ch] (simpleTeXOnePar): make const
1503 * paragraph_funcs.C (outerPar): use const iterators
1504 * paragraph_pimpl.C (validate): use const iterators
1505 * text.C (setHeightOfRow): use const iterators
1507 2004-05-17 Angus Leeming <leeming@lyx.org>
1510 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1512 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1513 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1514 if the citation engine has changed.
1516 2004-05-14 José Matos <jamatos@lyx.org>
1518 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1519 if the textclass does not provide it. Have it different for sgml and
1521 support the language of document.
1522 * output_docbook.C (docbookParagraphs):
1523 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1524 first anchor as the id of the paragraph, remove special case code.
1525 * sgml.C (escapeChar): escape only < & >.
1527 2004-05-14 Angus Leeming <leeming@lyx.org>
1529 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1530 dependencies on src/frontends/controllers/biblio.h. Define a
1531 CiteEngine_enum wrapper class to enable the enum to be forward
1534 2004-05-12 Angus Leeming <leeming@lyx.org>
1536 * buffer.C: up LYX_FORMAT to 234.
1537 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1538 use_numerical_citations with a single biblio::CiteEngine cite_engine
1540 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1542 2004-05-13 José Matos <jamatos@lyx.org>
1545 * converter.C (Converter, readFlags): add xml member.
1546 * outputparams.h: add XML flavor.
1547 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1549 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1551 * lyxfunc.C (dispatch):
1552 (getStatus): fix handling of LFUN_SEQUENCE
1554 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1556 * debug.C (showLevel): do not forget the end-of-line marker
1558 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1560 * kbmap.C (read): do not stop parsing a bind file when an error
1563 2004-04-29 Angus Leeming <leeming@lyx.org>
1568 * text2.C: wrap a bunch of #warning statements
1569 inside #ifdef WITH_WARNINGS blocks.
1571 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1573 * buffer.C: increment format to 233.
1575 2004-04-28 Angus Leeming <leeming@lyx.org>
1577 * BufferView_pimpl.C:
1580 s/updateToolbar()/updateToolbars()/
1581 s/Toolbar.h/Toolbars.h/
1583 2004-04-28 Angus Leeming <leeming@lyx.org>
1585 * BufferView.[Ch] (c-tor):
1586 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1587 No longer passes these data to the WorkArea generator.
1589 2004-04-28 Angus Leeming <leeming@lyx.org>
1591 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1593 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1595 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1597 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1599 * output_latex.C (TeXEnvironment): make sure that there is a line
1600 break before \end{foo} for the last paragraph of a document
1601 (TeXOnePar): if the paragraph is at the end of the document (or
1602 inset) and the language has to be reset, then make sure that the
1603 line break is _before_ the language command, not after (fixes bug
1604 1225); also make sure that the language reset command is the first
1605 thing after the paragraph (to ensure proper nesting of
1606 environments and thus fix bug 1404)
1608 2004-04-21 John Levon <levon@movementarian.org>
1611 * ToolbarBackend.C: make "name" be a programmatic name
1612 and a gui_name field.
1614 * lyxfunc.C: display the minibuffer on M-x
1616 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1618 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1621 2004-04-19 Angus Leeming <leeming@lyx.org>
1623 * BufferView_pimpl.C (setBuffer): changed preview interface.
1625 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1628 2004-04-19 John Levon <levon@movementarian.org>
1630 * BufferView_pimpl.C:
1631 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1633 2004-04-05 Angus Leeming <leeming@lyx.org>
1635 * text.C (redoParagraphs): add call to updateCounters(), thereby
1636 fixing the missing "Figure #:" label from the caption of a
1639 2004-04-13 Angus Leeming <leeming@lyx.org>
1641 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1642 cursor is clicked out of an inset.
1644 2004-04-13 Angus Leeming <leeming@lyx.org>
1646 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1647 than an InsetOld one.
1649 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1651 * format.[Ch]: add editor to Format
1652 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1653 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1655 2004-04-08 André Pönitz <poenitz@gmx.net>
1657 * metricsinfo.h: remove PainterInfo::width member
1659 2004-04-08 Angus Leeming <leeming@lyx.org>
1661 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1662 "\providecommand" rather than "\newcommand", thereby preventing
1663 clashes with packages that define "\boldsymbol" themselves.
1666 2004-04-08 Angus Leeming <leeming@lyx.org>
1668 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1669 thereby squashing an unnecessary warning.
1671 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1673 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1676 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1678 * BufferView.C (setCursor): call redoParagraph (some insets could
1680 (putSelectionAt): remove the 'double update' trick
1682 * BufferView_pimpl.C (fitCursor): call refreshPar
1683 (workAreaDispatch): remove an uneeded update call
1684 (dispatch): remove some manual update calls
1686 * cursor.[Ch]: remove cached_y_, updatePos
1687 (selHandle): set noUpdate when appropriate
1689 * lyxfunc.C (dispatch): track if we need an update
1691 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1693 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1694 (paintSelection): cheap optimization, do not call cursorX when not
1696 (paintPars): change signature
1699 (paintTextInset): adjust
1703 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1705 * lengthcommon.C: compilation fix: remove explicit array size from
1706 unit_name[] and friends
1708 2004-04-05 Angus Leeming <leeming@lyx.org>
1710 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1712 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1713 present only for the preferences dialog.
1714 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1716 2004-04-05 Angus Leeming <leeming@lyx.org>
1718 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1719 to enable the frontends to export changes to lyxrc correctly.
1721 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1723 2004-04-07 André Pönitz <poenitz@gmx.net>
1725 * cursor.[Ch] (selClear, adjust): remove math
1727 * cursor_slice.C: more agressive assert
1730 * BufferView_pimpl.C: rework mouse event dispatch
1737 2004-04-05 André Pönitz <poenitz@gmx.net>
1739 * cursor.[Ch] (valign, halign...): remove unneeded functions
1741 2004-04-05 Angus Leeming <leeming@lyx.org>
1743 * lyxlength.[Ch] (unit_name et al.): const-correct.
1745 2004-04-05 Angus Leeming <leeming@lyx.org>
1747 * BufferView_pimpl.C:
1756 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1758 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1760 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1762 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1764 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1765 * BufferView_pimpl.[Ch] (getStatus)
1766 * BufferView.[Ch] (getStatus): add
1767 * lyxfunc.C (getStatus): move lfuns handled in
1768 BufferView::dispatch to te function above
1769 * Cursor.C (setSelection): set selection() = true
1771 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1773 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1775 2004-03-31 Angus Leeming <leeming@lyx.org>
1777 * lyxfunc.C (dispatch): Fall through to the generic
1778 Dialogs::show("preamble").
1780 2004-03-31 Angus Leeming <leeming@lyx.org>
1782 * lyxfunc.C (dispatch): Fall through to the generic
1783 Dialogs::show("spellchecker").
1785 2004-03-31 Angus Leeming <leeming@lyx.org>
1787 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1790 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1795 * insetiterator.[Ch]:
1800 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1802 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1804 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1805 insets where we are putting the cursor.
1807 2004-03-31 Angus Leeming <leeming@lyx.org>
1810 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1812 * lyxrc.[Ch] (read, write): overloaded member functions taking
1813 a std::[io]stream arguments.
1815 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1817 2004-03-31 Angus Leeming <leeming@lyx.org>
1819 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1820 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1822 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1823 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1825 2004-03-31 Angus Leeming <leeming@lyx.org>
1827 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1828 the LFUN_ALL_INSETS_TOGGLE code.
1830 2004-03-30 Angus Leeming <leeming@lyx.org>
1832 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1833 has died. Fall through to the generic Dialogs::show("document").
1835 2004-03-30 Angus Leeming <leeming@lyx.org>
1838 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1839 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1841 * lyxfunc.C (getStatus, dispatch): define the actions for these
1842 lfuns. Little more than a cut and pste job from ControlDocument.C
1844 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1846 2004-03-30 Angus Leeming <leeming@lyx.org>
1849 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1850 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1852 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1853 open/closed state of ollapsable insets. Usage:
1855 all-inset-toggle <state> <name>, where
1856 <state> == "open" || "closed" || "toggle" and
1857 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1859 * lyxtext.h, text2.C (toggleInset): removed.
1861 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1862 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1863 now passes LFUN_INSET_TOGGLE to the found inset.
1865 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1866 is now invoked as "all-insets-toggle toggle branch".
1868 2004-03-30 Angus Leeming <leeming@lyx.org>
1872 * pariterator.[Ch]: added/corrected header blurb.
1874 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1876 * dociterator.[Ch]: add an inset_ member
1877 (backwardPos): implemented
1878 (backwardPos, forwardPos): use inset_ when the stack is empty.
1879 (doc_iterator_begin, doc_iterator_end): implemented
1880 * pariterator.[Ch]: adjust, add begin, end
1881 * insetiterator.[Ch]: adjust, add begin, end
1885 * BufferView_pimpl.C:
1886 * CutAndPaste.C: adjust
1888 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1890 * buffer.C: increment file format to 232.
1891 * LaTeXFeatures.C: add bibtopic package.
1892 * bufferparams.[Ch]: param \use_bibtopic.
1894 * lyxrc.[Ch]: add lyxrc bibtex_command
1895 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1897 * buffer.C: increment file format to 231.
1899 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1901 * dociterator.C: implement forwardPar
1902 * iterators.[Ch]: remove, replaced by
1903 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1905 * BufferView_pimpl.C:
1908 * bufferview_funcs.C:
1914 * Makefile.am: adjust
1916 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1918 * CutAndPaste.C (pasteSelection): fix 2 crashes
1919 (eraseSelection): fix a crash
1920 * paragraph_funcs.C: remove a warning
1922 2004-03-28 Angus Leeming <leeming@lyx.org>
1925 * LyXAction.C (init): new LFUN_PRINT.
1927 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1929 2004-03-27 Angus Leeming <leeming@lyx.org>
1932 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1934 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1936 2004-03-27 Angus Leeming <leeming@lyx.org>
1938 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1939 insetlist always contains non-null pointers to insets.
1941 2004-03-26 Angus Leeming <leeming@lyx.org>
1943 * src/BufferView_pimpl.C:
1944 * src/CutAndPaste.C:
1947 * src/output_plaintext.C:
1948 * src/outputparams.h:
1949 * src/paragraph_funcs.C:
1953 * src/frontends/controllers/ControlErrorList.C:
1954 * src/frontends/gtk/FileDialogPrivate.C:
1955 * src/frontends/gtk/GPainter.C:
1956 * src/frontends/gtk/GToolbar.C:
1957 * src/frontends/qt2/QRef.C:
1958 * src/mathed/math_scriptinset.C: squash compiler warnings.
1960 2004-03-26 Angus Leeming <leeming@lyx.org>
1962 * ispell.C (LaunchIspell::start):
1963 * lyx_cb.C (AutoSaveBuffer::start):
1964 invoke run(DontWait) rather than runNonBlocking().
1966 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1968 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1970 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1972 * kbsequence.C (print): adjust
1974 * kbmap.C (printKeySym): rename and change signature
1975 (printKey): use LyXKeySym::print()
1977 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1979 * undo.C: add using std::advance to compile for stlport
1981 2004-03-24 Angus Leeming <leeming@lyx.org>
1983 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1984 it leads to a crash when no buffer is present.
1986 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1987 Martin Vermeer <martin.vermeer@hut.fi>
1989 * lyxfunc.C (dispatch):
1990 * bufferparams.C (readToken): use the new LColor::setColor
1992 * LColor.[Ch] (setColor): new version that takes two strings as
1993 argument and creates a new color entry if necessary
1995 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1997 * buffer.C (makeLaTeXFile): if the main latex file that is
1998 processed is usually a subdocument of some master, then pretend
1999 for a while that it is actually the master
2001 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2003 * buffer.C (getLabelList):
2004 (getBibkeyList): use getMasterBuffer()
2005 (getMasterBuffer): new method. Returns the main document in the
2006 case where one is using included documents.
2008 2004-03-25 André Pönitz <poenitz@gmx.net>
2012 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2014 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2016 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2017 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2019 * ParameterStruct.h: merge with ParagraphParameters
2021 * lyxtext.h: remove LyXText::parOffset() and getPar()
2023 * text3.C: Remove all 'manual' update calls. We do now one per user
2024 interaction which is completely sufficient.
2028 * BufferView_pimpl.C:
2029 * FontIterator.[Ch]:
2031 * ParagraphParameters.[Ch]:
2036 * cursor_slice.[Ch]:
2043 * output_docbook.[Ch]:
2044 * output_latex.[Ch]:
2045 * output_linuxdoc.[Ch]:
2046 * output_plaintext.[Ch]:
2048 * paragraph_funcs.[Ch]:
2049 * paragraph_pimpl.[Ch]:
2057 * frontends/controllers/ControlDocument.C:
2058 * frontends/controllers/ControlErrorList.C:
2059 * frontends/controllers/ControlSpellchecker.C:
2062 * insets/insetbase.h:
2063 * insets/insetbibitem.C:
2064 * insets/insetbox.C:
2065 * insets/insetbranch.C:
2066 * insets/insetcaption.C:
2067 * insets/insetcharstyle.C:
2068 * insets/insetcharstyle.h:
2069 * insets/insetcollapsable.C:
2070 * insets/insetcollapsable.h:
2071 * insets/insetert.C:
2072 * insets/insetfloat.C:
2073 * insets/insetfoot.C:
2074 * insets/insetmarginal.C:
2075 * insets/insetnote.C:
2076 * insets/insetoptarg.C:
2077 * insets/insettabular.C:
2078 * insets/insettext.C:
2079 * insets/insettext.h:
2080 * insets/insetwrap.C:
2081 * mathed/math_mboxinset.C:
2082 * mathed/math_nestinset.C:
2083 * mathed/math_scriptinset.C:
2084 * mathed/math_scriptinset.h:
2087 2004-03-24 Angus Leeming <leeming@lyx.org>
2089 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2090 deal with any child processes that have finished but are waiting to
2091 communicate this fact to the rest of LyX.
2093 2004-03-24 Angus Leeming <leeming@lyx.org>
2095 64-bit compile fixes.
2097 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2098 (c-tor): pass lyx::pos_types rather than ints.
2100 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2103 * text.C (Delete): compile fix.
2104 (getPar): ensure that function declaration is the same as that in
2107 2004-03-23 Angus Leeming <leeming@lyx.org>
2109 * ispell.C (LaunchIspell):
2110 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2111 a boost::shred_ptr rather than a std::auto_ptr.
2113 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2115 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2116 handle LFUN_FILE_INSERT_*
2118 * lyxrc.C (setDefaults, getDescription, output, read):
2119 * lyxrc.h: remove ps_command
2121 2004-03-22 Angus Leeming <leeming@lyx.org>
2123 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2124 Ensure that error_handler is processed once only and that all data
2125 is saved before attempting to output any warning messages.
2127 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2129 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2131 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2133 2004-03-19 André Pönitz <poenitz@gmx.net>
2135 * cursor.[Ch] (reset): take main text inset as argument
2137 * BufferView: adjust
2138 * BufferView_pimpl.C: adjust
2140 * paragraph.[Ch]: fix completely broken operator=()
2142 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2144 * LColor.C (getFromLyXName): make sure that the color name is used
2147 2004-03-17 Angus Leeming <leeming@lyx.org>
2150 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2152 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2153 dialog and to kill a forked process.
2155 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2157 * text2.C (setCursorFromCoordinates): fix font problem
2159 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2161 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2162 bogus "rebuild cursor" code
2164 2004-03-11 André Pönitz <poenitz@gmx.net>
2166 * buffer.[Ch]: use InsetText instead of LyXText as container for
2169 * dociterator.[Ch]: drop the BufferView * member which is not needed
2170 anymore after the change to buffer.C
2172 * paragraph_funcs.C:
2176 * BufferView_pimpl.[Ch]:
2178 * cursor_slice.[Ch]: adjust
2180 * text3.C: fix bug in mathDispatch
2182 2004-03-08 André Pönitz <poenitz@gmx.net>
2184 * undo.[Ch]: use 'StableDocumentIterator' as base for
2187 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2190 * bufferparams.[Ch]: add jurabib support and param.
2192 * LaTeX.C: add FIXME/comment.
2194 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2196 * buffer.C: increment file format to 230.
2198 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2200 * cursor.C (dispatch): avoid infinite loops
2202 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2204 * rowpainter.C (paintSelection): fix x coordinates
2206 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2208 * text.C (rowBreakPoint): fix breaking before displayed insets
2210 2004-03-01 André Pönitz <poenitz@gmx.net>
2212 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2214 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2218 * BufferView_pimpl.C:
2226 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2232 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2233 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2235 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2237 * Bidi.[Ch] (computeTables): const correctness
2238 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2239 fill_hfill, fill_label_hfill and x from Row
2240 * lyxtext.h: prepareToPrint returns a RowMetrics
2241 * rowPainter.C: adjust
2242 * text.C (prepareToPrint): use width, not textWidth. adjust
2243 (redoParagraphInternal, cursorX): adjust
2244 * text2.C (getColumnNearX): adjust
2245 (init): put a default value to the top LyXText::width
2247 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2249 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2251 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2253 * lyxtext.h: add FontIterator class
2255 * text.C (FontIterator, operator*, operator->, operator++): add
2256 (rowBreakPoint, setRowWidth): adjust (fixing a
2259 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2261 * BufferView_pimpl.C (workAreaDispatch): allow also
2262 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2264 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2266 * text.C (rowBreakPoint): fix a bug showing with very large insets
2268 2004-02-25 André Pönitz <poenitz@gmx.net>
2271 * cursor.[Ch]: move some mathed specific code to mathed
2273 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2275 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2276 use_tempdir in preferences
2277 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2279 * lyx_main.C: ensure that tempdir is valid
2280 * lyxlex.h: correct typo
2281 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2282 * paragraph.[Ch] (isMultiLingual): make const
2283 * cursor.[Ch] (openable): make const
2285 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2287 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2289 2004-02-20 André Pönitz <poenitz@gmx.net>
2291 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2293 * cursor.[Ch]: prepare for localized getStatus()
2299 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2301 2004-02-20 André Pönitz <poenitz@gmx.net>
2303 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2305 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2307 * text2.C (setCursorFromCoordinates): switch to absolute coords
2309 (cursorDown): adjust
2310 * text3.C (dispatch): adjust
2312 2004-02-16 André Pönitz <poenitz@gmx.net>
2314 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2317 * cursor_slice.[Ch]: remove unneeded acessor function
2319 * lyxtext.h: rename rtl() to isRTL()
2327 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2329 * rowpainter.C (paintSelection): coord fix
2331 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2333 * Spacing.C: compile fix
2335 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2337 * cursor.C (dispatch): restore current_ before returning
2339 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2341 * text2.C (cursorUp, cursorDown): fix coords
2344 2004-02-12 André Pönitz <poenitz@gmx.net>
2349 * text3.C: add LCursor & parameter to most cursor movement functions
2350 remove usage of LyXText::cursorRow() and cursorPar()
2352 * cursor.[Ch]: add textRow() needed members
2355 * BufferView_pimpl.C:
2358 * BufferView_pimpl.C: adjust
2360 2004-02-11 André Pönitz <poenitz@gmx.net>
2364 * BufferView_pimpl.C: shift undo/redo handling
2366 * cursor.[Ch]: fix mathed crash
2369 * lyxtext.h: move selectionAsText to LCursor
2377 * rowpainter.C: fix excessive drawing
2379 2004-02-06 André Pönitz <poenitz@gmx.net>
2382 * BufferView_pimpl.[Ch]:
2383 * text3.C: move some text specific LFUN handling
2385 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2387 * text3.C (checkInsetHit): adjust coords
2388 * text2.C (getColumnNearX): adjust coords
2389 (edit): adjust coords
2390 * text.C (getRowNearY): add two asserts
2392 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2395 * format.C: add using std::distance to compile on gcc 2.95/stlport
2397 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2399 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2401 2004-02-04 André Pönitz <poenitz@gmx.net>
2403 * BufferView.[Ch] (insertInset):
2404 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2409 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2411 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2412 on the default clause of the switch
2413 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2414 wasn't catched by LCursor::dispatch
2416 2004-02-03 André Pönitz <poenitz@gmx.net>
2419 * cursor.[Ch]: some additional asserts
2421 * undo.[Ch]: remove LyXText dependency in interface
2425 * lyxtext.h (firstPar, lastPar): remove dead functions
2430 * paragraph.[Ch]: adjust
2432 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2434 * lyxfind.C (find): fix argument order in call to ::find
2436 2004-02-02 André Pönitz <poenitz@gmx.net>
2438 * cursor.[Ch]: remove direct access to anchor
2440 * text.C: remove findText() hack
2442 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2444 * iterators.[Ch] (lockPath): remove in favour of...
2445 * BufferView.[Ch] (setCursor): this addition
2446 * BufferView.C (putSelectionAt): adjust
2447 * undo.C (performUndoOrRedo): adjust
2448 * lyxfunc.C (dispatch): adjust
2450 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2452 * iterators.C (lockPath): add a missing slice
2453 * undo.C (performUndoOrRedo): remove redundant positioning code
2455 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2457 * vc-backend.C (scanMaster): ";" -> ';'
2459 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2461 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2462 std::binary_function
2464 * lyxtextclass.C (compare_name): rename to...
2465 (LayoutNamesEqual): ...this
2467 * lyxlex_pimpl.C (compare_tags): inherit from
2468 std::binary_function, put back into anon namespace
2470 * lyxfind.C (MatchString): inherig from std::binary_function
2471 (findChange): use empty() istead of !size()
2473 * format.C (FormatNamesEqual): new functor
2480 * converter.C (compare_Converter): rename to...
2481 (ConverterEqual): ...this, and fixup a bit.
2482 (getConverter): use it, and make function const
2483 (getNumber): use it, and make function const
2487 * bufferlist.C: add using boost::bind
2489 * MenuBackend.C (MenuNamesEqual): new functor
2490 (hasMenu): use it, and make function const
2491 (hasSubmenu): use nested bind to get rid of compare_memfun.
2493 2004-01-30 André Pönitz <poenitz@gmx.net>
2495 * BufferView_pimpl.C:
2498 * cursor_slice.[Ch]:
2501 * paragraph_funcs.C:
2502 * paragraph_funcs.h:
2506 * text3.C: move some of the edit(x,y) handling to the insets
2507 some coordinate changes.
2509 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2511 * text.C: add using statements for std::advance and std::distance
2513 * paragraph.C: add using statement for std::distance
2515 * lyxfind.C: add using statement for std::advance
2517 * cursor.C (region): remove std:: from swap
2518 (openable): use nucleus in stead of operator->
2520 * BufferView.C: add using statements for std::distance and std::swap
2522 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2524 * iterators.C: Remove the pimple, move the needed structures to
2525 the header file. Create accessor for the positions stack.
2526 (asPosIterator): remove function
2528 * PosIterator.C (PosIterator): move constructors to top of file
2529 (PosIterator): reimplement the constructor taking a ParIterator in
2531 (setFrom): new function
2532 (operator!=): inline it
2534 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2536 * lyxfind.C (replaceAll): use std::advance
2538 * iterators.h: inherit from std::iterator.
2540 * PosIterator.C (advance, distance): remove
2541 * PosIterator.h: interit from std::iterator.
2543 2004-01-26 André Pönitz <poenitz@gmx.net>
2546 * BufferView_pimpl.[Ch]:
2550 * bufferview_funcs.C:
2560 * output_linuxdoc.C:
2561 * output_plaintext.C:
2563 * paragraph_funcs.[Ch]:
2564 * paragraph_pimpl.[Ch]:
2570 * text3.C: more IU: dumps most of the rest of the mathcursor
2571 implementation into cursor.[Ch]; "globalize" a bit of it.
2573 2004-01-25 Angus Leeming <leeming@lyx.org>
2575 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2577 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2579 * LaTeXFeatures.h: add nice_ and nice() const
2580 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2582 2004-01-20 André Pönitz <poenitz@gmx.net>
2585 * BufferView_pimpl.C:
2587 * bufferview_funcs.C:
2589 * cursor_slice.[Ch]:
2600 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2601 LCursor and mathcursor parts to LCursor and InsetBase.
2603 2004-01-15 André Pönitz <poenitz@gmx.net>
2605 * cursor_slice.[Ch]: add a few covienience functions
2607 * funcrequest.[Ch]: remove BufferView * member
2609 * BufferView_pimpl.C:
2616 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2618 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2620 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2621 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2623 2004-01-13 André Pönitz <poenitz@gmx.net>
2626 * lyxtext.h: hide cursor and selection anchor behind accessor function
2629 * BufferView_pimpl.[Ch]:
2631 * bufferview_funcs.C:
2641 * cursor_slice.[Ch]: some integer type changes for inset unification
2643 * lyxcursor.[hC]: remove, it's CursorSlice now.
2646 * BufferView_pimpl.[Ch]:
2647 * bufferview_funcs.C:
2653 * textcursor.[Ch]: adjust
2655 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2657 * text2.C (undoSpan): add and use
2658 * text.C (breakParagraph): use undoSpan (fix bug 578)
2661 2004-01-08 Angus Leeming <leeming@lyx.org>
2663 * BufferView_pimpl.C (MenuInsertLyXFile):
2664 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2665 * lyxfunc.C (menuNew, open, doImport):
2666 FileFilterList change to the FileDialog open and save functions.
2668 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2670 * ShareContainer.h: make isEqual and isUnique adaptable
2672 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2674 2004-01-07 Angus Leeming <leeming@lyx.org>
2677 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2679 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2681 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2682 functions replacing find, replace and replaceAll.
2684 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2685 LFUN_WORDFIND(FORWARD|BACKWARD).
2687 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2689 * text.C (breakParagraph): remove an outdated #warning
2691 2004-01-07 André Pönitz <poenitz@gmx.net>
2693 * lyxfind.C: somewhat clearer logic
2695 * text.C: prevent crash in cursorX on unitialized row cache
2697 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2699 * lyxcursor.[Ch] (operator>): add
2700 * textcursor.C (selStart, selEnd): use std::min and std::max
2702 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2704 * Chktex.C: include boost/format.hpp
2706 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2708 * InsetList.C: replace functor MathcIt with adaptable functor
2710 (insetIterator): modify accordingly
2712 * BranchList.h: move the BranchNamesEqual functor here from...
2713 * BranchList.C: ... to here
2715 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2717 (add): replace a finding loop with std::find_if.
2719 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2721 * output_docbook.C: moving LatexParam functionality into
2724 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2726 * buffer.C: increment format to 229.
2728 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2731 * lyx_sty.[Ch]: remove minipageindent_def
2737 * text3.C: remove LFUN_INSET_MINIPAGE
2739 2003-12-28 Angus Leeming <leeming@lyx.org>
2741 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2743 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2745 * text2.C (setParagraph): fix off-by-one crash
2747 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2749 * output_docbook.C: header stuff for AGU
2751 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2753 * text2.C (redoCursor): remove
2756 * BufferView_pimpl.C: remove calls to redoCursor and
2757 setCursor(cursor.par(), cursor.pos()) all around
2759 2003-12-15 Angus Leeming <leeming@lyx.org>
2761 * buffer.C: up the format to 228.
2763 2003-12-15 André Pönitz <poenitz@gmx.net>
2765 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2770 * BufferView_pimpl.C:
2779 2003-12-15 Angus Leeming <leeming@lyx.org>
2781 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2782 than getFromGUIName to manipulate the color.
2784 2003-12-14 Angus Leeming <leeming@lyx.org>
2786 * BranchList.[Ch]: minimize the API.
2787 (Branch::getBranch, getColor): now return a 'const &'.
2788 (Branch::setSelected) now returns a bool set to true if the
2789 selection status changes.
2790 (BranchList::clear, size, getColor, setColor, setSelected,
2791 allBranches, allSelected, separator): removed.
2792 (BranchList::find): new functions, returning the Branch with
2794 (BranchList::add, remove): return a bool indicating that
2795 the operation was successful.
2797 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2798 new InsetBranch::isBranchSlected member function.
2800 * LColor.[Ch]: mimimize the API.
2801 (fill): renamed as addColor and made private.
2802 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2803 versions of these functions taking a string arg have been removed.
2805 * bufferparams.C (readToken):
2806 * lyxfunc.C (dispatch):
2807 * lyxrc.C (read): changes due to the altered BranchList and
2810 * factory.C (createInset, readInset): changes due to altered
2813 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2816 * lyxfunc.C: remove insetminipage. "minipage-insert"
2817 now produces a frameless minipage box inset.
2819 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2821 * textcursor.[Ch] (selStart,selEnd): add new methods
2822 remove selection::start, end, use LyXCursor::operator<
2823 * lyxcursor.[Ch] (operator<): add
2824 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2825 * BufferView.[Ch] (unsetXSel): add
2826 * text2.C (clearSelection): use unsetXSel,adjust
2829 * rowpainter.C: adjust
2830 * bufferview_funcs.C (put_selection_at): adjust
2832 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2834 * BufferView_pimpl.C: small coord. correction
2836 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2838 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2839 dragging over the splash screen.
2841 2003-12-11 Angus Leeming <leeming@lyx.org>
2843 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2844 as it is now handled in LyXText::dispatch.
2846 * text3.C (doInsertInset): remove a level of nesting.
2848 2003-12-11 Angus Leeming <leeming@lyx.org>
2850 * factory.C (createInset): changes due to the changed interface to
2851 InsetCommandMailer::string2params.
2853 2003-12-10 Angus Leeming <leeming@lyx.org>
2855 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2856 'dialog-show-new-inset <inset name>'
2858 2003-12-10 Angus Leeming <leeming@lyx.org>
2860 * buffer.C: up the format to 227.
2862 * factory.C: the box inset is now identified simply by 'Box'.
2864 2003-12-10 Angus Leeming <leeming@lyx.org>
2866 * buffer.C: up the format to 226.
2868 * factory.C: the note inset is now identified simply by 'Note'.
2870 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2872 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2873 when a pit is enough. Standarize a couple of loops.
2875 2003-12-05 Angus Leeming <leeming@lyx.org>
2877 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2878 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2879 data to the re-worked "log" dialog.
2881 2003-12-03 André Pönitz <poenitz@gmx.net>
2887 * paragraph_funcs.C:
2889 * text2.C: use Inset::getText instead of Inset::getParagraph
2891 2003-12-03 André Pönitz <poenitz@gmx.net>
2895 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2896 InsetText::read() as LyXText::read()
2898 2003-12-02 Angus Leeming <leeming@lyx.org>
2900 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2901 type. Add a comment in the implementation that the function uses
2902 the stream's bad() function rather than fail() as the std::streams
2905 2003-12-02 André Pönitz <poenitz@gmx.net>
2907 * lyxlex.[Ch]: make interface more similar to std::stream
2909 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2911 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2913 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2915 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2917 * vspace.[Ch]: remove VSpace::NONE
2919 2003-12-01 André Pönitz <poenitz@gmx.net>
2922 * lyxtext.h: move ParagraphList member to LyXText
2923 rename LyXText::ownerParagraphs to LyXText::paragraph
2926 * bufferview_funcs.C:
2936 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2938 * undo.C: fix cursor positioning
2940 2003-12-01 John Levon <levon@movementarian.org>
2942 * BufferView_pimpl.C: fix a crash on exit with
2945 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2947 * BranchList.C: fix setSelected() method.
2949 2003-11-28 André Pönitz <poenitz@gmx.net>
2951 * ParagraphParameters.[Ch]:
2952 * ParameterStruct.h: remove space above/below from Paragraph to
2955 * BufferView_pimpl.C:
2961 * paragraph_funcs.C:
2967 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2969 * factory.C: Syntax change for CharStyles
2971 2003-11-28 André Pönitz <poenitz@gmx.net>
2976 * buffer.[Ch]: move LyXText member
2978 2003-11-28 André Pönitz <poenitz@gmx.net>
2980 * BufferView.[Ch]: make LyXText * text a private member
2982 * BufferView_pimpl.C:
2993 * output_plaintext.C: cleanup
2995 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2998 * lyxtextclass.[Ch]: parametrize SGML document header
3000 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3003 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3006 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3008 * text2.C (setFont): rework using PosIterator (no more recursive)
3009 (setCharFont): no more needed
3010 (setLayout): no more selection cursors fiddling (done by redoCursor)
3011 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3012 destroy remaining ones)
3014 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3016 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3018 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3021 * text3.C: adjust + re-allow multi par depth changes
3022 * textcursor.C: simplify a bit
3024 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3030 * src/output_docbook.C:
3031 * src/output_latex.C:
3036 * src/text2.C: Introducing a number of tags parametrizing various
3037 XML formats that we may want to support
3039 2003-11-25 André Pönitz <poenitz@gmx.net>
3041 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3043 * lyxtext.h (leftMargin/rightMargin): simplify interface
3050 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3052 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3053 master file to any child files. Fixes bug 546.
3055 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3057 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3059 2003-11-24 André Pönitz <poenitz@gmx.net>
3061 * rowpainter.C: simplification
3063 * text2.C (updateCounters): remove call to redoParagraph on
3064 changed labels as this is far too expensive.
3066 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3068 * converter.C (convert): fix a crash: this function gets
3069 called with buffer == 0 from importer code.
3071 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3073 * text3.C (cursorPrevious): make sure that we do not compare
3074 iterators form different containers.
3077 * rowpainter.C (paintSelection): make sure that we do not compare
3078 iterators from different containers.
3080 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3081 iterators from different ParagraphList containers.
3084 * text2.C (LyXText): change order of initialization slightly
3085 (operator=): new function. copy all variables except cache_par_
3086 (moveUp): make sure that we do not compare iterators from
3087 different ParagraphList constainers.
3090 * text.C (firstPar): new function
3091 (lastPar): new function
3092 (endPar): new function
3094 * lyxtext.h: move things around and group public functions, public
3095 variables, private functions, private variables
3097 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3099 * factory.C: change call to InsetERT constructor to avoid
3100 additional invocation of method status
3101 * text2.C (toggleInset): remove redundant update() call
3102 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3103 instead of a Bufferview pointer
3105 2003-11-21 André Pönitz <poenitz@gmx.net>
3107 * rowpainter.C: simplification
3109 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3111 * text3.C (dispatch): make possible to extend a word/row selection
3114 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3116 * lyxtext.h: x0_,y0_ -> xo_,yo_
3117 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3118 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3119 * rowpainter.C (paintRows): paint full paragraphs
3121 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3123 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3126 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3128 * lyxtext.h: add x0_, y0_
3129 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3130 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3132 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3134 * text2.C (setCursorIntern): move the x_target update here *
3135 * text3.C: change some bv() to true/false in calls to
3136 cursorUp/Down/Right/Left
3137 * cursor.C: use helper function.
3139 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3141 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3142 * paragraph_funcs.[Ch]: correct comment
3143 * rowpainter.C: do not paint selections away from bv->cursor()
3144 Fix a long standing selection painting bug.
3145 * text3.C: generalize mouse-selection code to LyXTexts other that
3147 * textcursor.C: do not use y coords if we can use par offsets
3149 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3151 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3152 cursor position after e.g. inset insert)
3154 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3156 * lyxfind.C (replace): adjust to locking removal + some
3159 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3161 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3164 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3167 * output_docbook.C: XML sanitation: new layout
3168 parameters InnerTag and CommandDepth
3170 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3172 * BufferView_pimpl.C:
3174 * text3.C: Fix the insertion and modification of button-style
3177 2003-11-13 André Pönitz <poenitz@gmx.net>
3179 * InsetList.[Ch]: remove deleteLyXText
3181 * paragraph.[Ch]: cache beginOfBody position
3186 * text3.C: remove superfluous update() calls
3190 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3192 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3193 * BufferView.C (fitLockedInsetCursor): remove
3194 * cursor.[Ch] (getDim): add
3195 * text.C (getRowNearY): add faster version
3196 * text3.C: remove some update calls
3198 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3210 * text3.C: The Character Style /XML short element patch.
3212 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3215 * factory.C: Small step to solving 'unable to insert some insets'
3218 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3220 * cursor.[Ch] (updatePos): new function for updating the y
3221 position of the tip inset
3222 * bufferview_funcs.C (put_selection_at):
3223 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3225 2003-11-11 André Pönitz <poenitz@gmx.net>
3227 * text.C: remove big comment on invalid Paragraph pointers as it is
3230 2003-11-11 André Pönitz <poenitz@gmx.net>
3232 * text_funcs.[Ch]: merge with ...
3240 * Makefile.am: remove text_funcs.[Ch]
3242 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3244 * cursor.C (getPos): return absolute cached y coord
3246 * BufferView_pimpl.C (fitCursor): new simplistic code
3247 (workAreaDispatch): add a fitCursor call
3249 2003-11-10 André Pönitz <poenitz@gmx.net>
3252 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3254 2003-11-10 André Pönitz <poenitz@gmx.net>
3256 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3257 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3258 indicate that the cursor needs to leave an inset
3260 * lyxtext.h: remove inset locking
3262 * cursor.[Ch]: re-implement functionality provided by inset locking
3265 * BufferView_pimpl.[Ch]:
3267 * bufferview_funcs.[Ch]:
3279 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3281 * PosIterator.[Ch]: replace the stack with a vector, add inset
3283 * iterators.[C]: adjust
3285 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3287 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3289 * paragraph_funcs.C (readParToken): put the correct id in the
3290 error item, not the id of the top paragraph
3292 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3294 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3295 * bufferview_funcs.C (put_selection_at): use the above
3297 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3299 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3301 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3303 * output_linuxdoc.h:
3304 * output_plaintext.h:
3306 * output_docbook.h: add #include statements
3308 2003-11-05 José Matos <jamatos@lyx.org>
3310 * output_docbook.[Ch]:
3311 * output_latex.[Ch]:
3312 * output_linuxdoc.[Ch]:
3313 * output_plaintext.[Ch]: New files for output formats.
3314 * output.[Ch]: New file for helper functions.
3317 * paragraph_funcs.[Ch]: output functions moved to new files.
3319 * outputparams.h: rename of latexrunparams.h
3327 * paragraph_funcs.[Ch]:
3328 * paragraph_pimpl.[Ch]:
3329 * tabular.[Ch]: rename ascii to plaintext
3330 and LatexRunParams to OutputParams.
3332 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3334 * iterators.[Ch] (text): require bv argument
3335 * undo.C (recordUndo):
3336 * lyxfunc.C (dispatch):
3337 * bufferview_funcs.C (put_selection_at): adjust
3339 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3341 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3343 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3345 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3348 2003-11-04 André Pönitz <poenitz@gmx.net>
3350 * cursor.[Ch]: restructure
3353 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3355 * iterators.[Ch] (asCursor): remove
3357 * lfuns.h: remove LFUN_INSET_EDIT
3363 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3365 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3367 * lyxfind.[Ch]: complete overhaul
3368 * BufferView_pimpl.C:
3370 * paragraph.[Ch] (insert): add
3372 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3376 * text.C: remove dead spellcheck code
3378 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3380 * dispatchresult.h: add a val setter
3382 * cursor.C (dispatch): use a tempvar for data_[i]
3384 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3386 * PosIterator.[Ch]: compile fix
3388 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3390 * text.C (cursorPar): deactivate the cursor cache
3392 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3394 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3396 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3398 * text3.C (dispatch): adjust for new DisptchResult semantics.
3400 * lyxfunc.C (dispatch): handle update when return from
3401 Cursor::dispatch, adjust for new DispatchResult semantics.
3403 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3404 DispatchResult(true) mean to not update. Add class functions for
3405 setting dispatched and update, as well as reading.
3407 * cursor.C (dispatch): don't handle update here
3409 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3411 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3412 * trans_mgr.C: adjust
3414 * paragraph_funcs.C (readParToken): exception safety
3416 * lyxvc.h: store the vcs pointer in a scoped_ptr
3419 * lyxsocket.C (serverCallback): exception safety
3421 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3423 * ispell.C (clone): make it return a auto_ptr
3425 * factory.C (createInset): exception safety
3426 (readInset): exception safety
3428 * bufferlist.C (newBuffer): exception safety
3430 * Thesaurus.C (Thesaurus): use initialization for aik_
3432 * MenuBackend.C (expandToc): exception safety.
3434 2003-11-03 André Pönitz <poenitz@gmx.net>
3438 * bufferview_funcs.C: remove getInsetFromId()
3441 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3447 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3449 * PosIterator.C (distance, advance): new
3450 * bufferview_funcs.[Ch] (put_selection_at): new
3451 * iterators.[Ch] (lockPath): new
3453 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3455 * iterators.[Ch] (asPosIterator): added
3456 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3457 * PosIterator.[Ch]: added
3459 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3463 * cursor.C (dispatch):
3464 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3466 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3467 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3468 contructor, add a class function dispatched. Remove operator>=
3470 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3472 * debug.C: only use the default constructor for debugstream
3475 * main.C (main): include debug.h and setup the lyxerr streambuf
3478 2003-10-31 José Matos <jamatos@lyx.org>
3480 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3482 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3483 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3484 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3485 * paragraph_pimpl.C (simpleTeXSpecialC):
3486 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3487 add LatexRunParams argument.
3489 * exporter.C (Export): change call accordingly.
3491 * latexrunparams.h: add new member to take care of the other backends.
3492 2003-10-30 José Matos <jamatos@lyx.org>
3494 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3495 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3496 factorise code for paragraph output.
3498 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3501 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3503 * text3.C (dispatch):
3504 * lyxfunc.C (dispatch):
3505 * cursor.C (dispatch):
3506 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3508 * dispatchresult.h: make the dispatch_result_t ctor explicit
3510 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3513 * buffer.C: small refactoring of docbook stuff
3515 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3517 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3520 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3522 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3523 operator dispatch_result_t, and operators for == != and >=
3525 * cursor.C (dispatch): adjust for operator dispatch_result_t
3526 removal. comment out call to update
3528 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3530 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3538 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3541 * dispatchresult.h: new file, DispatchResult broken out of
3544 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3546 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3548 * text.C (rowBreakPoint): put a hack inside #if 0
3550 2003-10-28 André Pönitz <poenitz@gmx.net>
3554 * paragraph_funcs.C:
3557 * text2.C: general cleanup (lots of small stuff)
3559 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3561 * text2.C (cursorEnd): simple fix to the "end key goes to one
3562 before the end on last row" bug
3564 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3566 * text.C (backspace): fix the "zombie characters"
3568 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3570 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3572 2003-10-27 André Pönitz <poenitz@gmx.net>
3574 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3576 * factory.C: handle new InsetPagebreak, InsetLine
3578 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3579 and move handling into new InsetPagebreak, InsetLine
3581 * BufferView_pimpl.C:
3583 * ParagraphParameters.C:
3584 * ParameterStruct.h:
3589 * paragraph_funcs.C:
3590 * paragraph_pimpl.C:
3596 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3599 * lyxrow_funcs.[Ch]:
3605 * text3.C: remove lastPos uses in favour of Row::endpos
3607 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3609 * undo.C (performUndoOrRedo): fix two crashes by setting a
3610 cursor by hand and reordering some calls. Use bv->lockInset instead
3611 of inset->edit because the latter loses cursor information
3613 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3615 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3617 (rowBreakPoint): fix width. change point to point + 1.
3618 Add a missing check.
3620 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3623 * lyxfunc.C: fix (at least partly) the problems
3624 with the Nav menu and headers inside branch insets
3627 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3629 * paragraph.C (getChar): add strong asserts
3631 * lyxrow_funcs.C (lastPos): remove hideous hack
3633 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3634 (fill): adjust to that (avoid an infinite loop)
3636 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3638 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3640 2003-10-23 André Pönitz <poenitz@gmx.net>
3642 * RowList_fwd.h: change list<> to vector<> to gain speed
3643 after suggestion from Alfredo
3645 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3647 * lyxtext.h: move the bidi stuff from here...
3650 * Bidi.[Ch]: ... to here
3652 2003-10-23 André Pönitz <poenitz@gmx.net>
3655 * text.C (isLastRow, isFirstRow): new functions
3657 * paragraph.h: new width cache member
3659 * rowpainter.C: replace RowList::iterator with Row & where possible
3661 * lyxfunc.C: replace several view()->text with a single call
3663 * toc.C: fix 'unused' warning
3665 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3667 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3668 when woring with stream::pos_type
3669 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3671 2003-10-22 André Pönitz <poenitz@gmx.net>
3674 * text.C: use Row & instead of RowList::iterator
3676 * lyxrow.h: rename end() to endpos()
3682 2003-10-22 Angus Leeming <leeming@lyx.org>
3684 * buffer.[Ch] (fully_loaded): new member function, returning true
3685 only when the file has been loaded fully.
3686 Used to prevent the premature generation of previews and by the
3687 citation inset to prevent computation of the natbib-style label.
3689 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3690 templates are all set up.
3692 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3694 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3696 * text.C: fixed an "oops" in the "is a bit silly"
3699 2003-10-21 André Pönitz <poenitz@gmx.net>
3701 * FuncStatus.[Ch]: small stuff, whitespace
3703 * lyxfont.[Ch]: operator<<() for debug reasons
3707 * lyxtext.h: whitespace, spelling
3709 * paragraph.C: naming of variables
3712 * text2.C: small stuff
3715 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3717 * text.C: (1) finish off the inset display() work;
3718 (2) fix the "is a bit silly" bug (accessing char
3721 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3723 * text.C: re-introduce display() for insets, fixing the
3724 various bugs (stretch of line above, math inset
3727 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3729 * text.C (rightMargin): remove spurious semicolon
3731 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3734 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3736 * text3.C: fix one crash due to wrong cursor def
3738 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3740 * vc-backend.C (scanMaster): make the regex static
3742 * LaTeX.C (scanAuxFile): make the regexs static
3744 * text3.C (doInsertInset, dispatch, dispatch):
3745 * text2.C (cursorUp, cursorDown):
3746 * text.C (selectNextWordToSpellcheck):
3747 * BufferView_pimpl.C (dispatch):
3748 * lyxfunc.C (dispatch): localDispatch -> dispatch
3750 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3752 * lyxsocket.C: include <cerrno>
3754 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3756 * lyxfunc.C (dispatch): remove textcache stuff
3758 * bufferlist.C (release): remove textcache stuff
3761 * TextCache.C: delete file
3762 * TextCache.h: delete file
3764 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3766 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3767 delete of the bv_->text.
3768 (resizeCurrentBuffer): remove texcache stuff
3769 (workAreaResize): ditto
3771 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3773 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3776 2003-10-16 André Pönitz <poenitz@gmx.net>
3783 * text3.C: speed up by storing y positions per paragraph plus per-row
3784 offset instead of having a 'full' y position in the row.
3786 2003-10-15 André Pönitz <poenitz@gmx.net>
3790 * undo.[Ch]: make undo aware of inner insets
3792 2003-10-14 Angus Leeming <leeming@lyx.org>
3794 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3795 static member functions LyX::ref() and LyX::cref.
3796 (lastfiles): new accessor functions for the new lastfiles_ member var.
3797 (addLyXView, views_): add a new LyXView to the list of views_.
3798 (updateInset): loop over all LyXViews to call their own updateInset
3799 member function, returning a pointer to the Buffer owning the inset.
3801 * BufferView_pimpl.C (loadLyXFile):
3802 * MenuBackend.C (expandLastfiles):
3803 * bufferlist.C (MenuWrite, QuitLyX):
3804 lastfiles is no longer a global variable.
3805 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3807 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3808 static function. Access through LyX::cref().emergencyCleanup().
3810 2003-10-14 André Pönitz <poenitz@gmx.net>
3812 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3814 * undo.[Ch]: restoring part of 'undo in insets'
3817 * undo_funcs.[Ch]: merge with undo.[Ch]
3819 * tabular.C: small cleansing stuff
3821 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3823 * paragraph_funcs.C (readParToken): report unknown insets as error
3824 boxes. Use the outer paragraph as location (also for unknown
3827 * factory.C (readInset): do not abort on reading an unknown inset.
3828 Eat it and return 0.
3830 2003-10-13 Angus Leeming <leeming@lyx.org>
3832 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3834 * lyxrc.C: displayTranslator is now a function,
3835 declared in GraphicsTypes.h.
3837 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3839 * format.C: new placeholder $$a to pass the socket address.
3841 * bufferlist.[Ch]: new function getBufferFromTmp.
3843 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3844 files in the temporary dir.
3846 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3848 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3850 * Makefile.am: add lyxsocket.[Ch].
3852 * lyx_main.C (error_handler): handle SIGPIPE.
3854 2003-10-13 André Pönitz <poenitz@gmx.net>
3856 * BufferView_pimpl.C:
3861 * undo_funcs.[Ch]: use paroffset_type instead of
3862 ParagraphList::iterators to prevent multiple conversion
3863 (and get a more robust interface)
3865 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3867 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3869 * text3.C (dispatch): ditto
3871 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3873 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3874 move the onlyfile, use onlyfile instead of foundfile in a couple
3877 * DepTable.C (update): flush the error stream a bit more
3879 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3881 * lyxserver.C (callback): adjust
3883 * lyxfunc.C (getStatus): add a missing brace in commented code
3884 (ensureBufferClean): reindent
3885 (dispatch): delete version taking a string
3887 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3889 * LaTeX.C (deplog): move found file handlig from here...
3890 (handleFoundFile): .. to new function here.
3891 (deplog): make sure to discover several files mentioned on the
3894 2003-10-10 André Pönitz <poenitz@gmx.net>
3901 * text3.C: fix some of the tabular crashes
3903 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3905 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3907 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3909 2003-10-09 André Pönitz <poenitz@gmx.net>
3911 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3914 * BufferView_pimpl.C:
3915 * bufferview_funcs.C:
3926 * undo_funcs.C: adjust
3928 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3930 * text2.C (incrementItemDepth): new function, use a backtracking
3931 algorithm to discover the correct item depth.
3932 (resetEnumCounterIfNeeded): new function, use a backtracking
3933 algorithm to discover if counter reset is needed.
3934 (setCounter): use them. Simplify a bit. Add different labels for
3935 different item depths for itemize.
3937 * paragraph.C (Paragraph): remove initialization of enumdepth
3940 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3941 enumerate and itemize. Change the type of itemdepth to signed char.
3943 2003-10-08 André Pönitz <poenitz@gmx.net>
3945 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3950 * tabular.[Ch]: fix crash after 'row-insert'
3952 2003-10-08 Angus Leeming <leeming@lyx.org>
3954 Fix doxygen warnings.
3956 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3957 Remove CutAndPaste:: prefix from header file declaration.
3959 * LColor.h (fill): remove LColor:: prefix from declaration.
3961 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3962 use lyx::depth_type rather than Paragraph::depth_type so that
3963 header file and .C file match.
3965 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3967 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3968 * aspell.C: \file aspell_local.C -> \file aspell.C
3969 * gettext.C: \file gettext.C -> \file src/gettext.C
3970 * gettext.h: \file gettext.h -> \file src/gettext.h
3971 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3972 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3973 * text.C: \file text.C -> \file src/text.C
3975 * toc.C: move comment so that doxygen is not confused.
3977 2003-10-07 Angus Leeming <leeming@lyx.org>
3979 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3981 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3984 * aspell_local.h: add forgotten std::string's.
3986 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3993 * text3.C: The Box patch. Fancybox support, minipage, parbox
3995 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4001 * ParagraphParameters.h:
4011 * lyxtextclasslist.h:
4014 * paragraph_pimpl.C:
4015 * textcursor.h: add <string> and other small fixes to make Lars'
4016 std::string patch compile with STLport.
4018 2003-10-06 Angus Leeming <leeming@lyx.org>
4020 * LColor.h: Add missing #include <string>.
4022 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4024 * All most all file in all subdirs: Make <string> be the prefered
4025 way of getting to std::string, add using declarations.
4027 2003-10-06 André Pönitz <poenitz@gmx.net>
4029 * metricsinfo.C: initialize LyXFont before changing attribute.
4030 (fixes the 'math in \emph is upright' bug)
4032 2003-10-06 André Pönitz <poenitz@gmx.net>
4034 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4036 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4039 * paragraph_pimpl.C: Small fixes to build using STLport
4041 2003-10-02 André Pönitz <poenitz@gmx.net>
4044 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4046 2003-10-01 André Pönitz <poenitz@gmx.net>
4048 * factory.C: assert early
4050 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4052 * lyx_main.C: remove the global debug object
4054 * debug.h: adjust for new debugstream
4056 * debug.C: adjust for new debugstream and keep the global debug
4059 2003-09-22 Angus Leeming <leeming@lyx.org>
4061 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4062 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4063 an incomplete class LyXFont.
4065 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4067 * factory.C: bug fix in branches
4069 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4071 * lyxfunc.C (processKeySym): adjust
4073 (dispatch): change arg name from ev to func, adjust
4074 (sendDispatchMessage): ditto
4076 * lyx_main.C (defaultKeyBindings): adjust keybindings
4077 (deadKeyBindings): ditto
4079 * kbsequence.C (addkey): return a FuncRequest
4081 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4083 * kbmap.C (bind): take a FuncRequest as arg, adjust
4086 (defkey): change to take a FuncRequest as arg, adjust
4087 (findbinding): take a FuncRequest as arg, adjust.
4089 * funcrequest.h (operator=): added
4091 * funcrequest.C (FuncRequest): default kb_action changed from
4092 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4094 * buffer.C (dispatch): simplify
4095 (dispatch): adjust to take a FuncRequest as arg, adjust
4097 * boost.C (assertion_failed): change assertion message slightly
4099 * ToolbarBackend.C (read): simplify
4101 * MenuBackend.C (binding): adjust call to findbinding, add a
4102 message if no binding is found.
4104 (expandToc): correct by adding a empty FuncRequest
4106 * LyXAction.C: include <boost/assert.hpp>
4107 (isPseudoAction): delete function
4108 (LookupFunc): change name to...
4109 (lookupFunc): this. change return type to FuncRequest.
4110 (getActionName): take kb_action as arg, simplify
4111 (funcHasFlag): add an assert, simplify.
4113 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4115 * toc.C (action): return a FuncRequest, simplify
4117 * lyxfunc.C (processKeySym): adjust
4118 (getStatus): delete version that takes an int.
4120 (dispatch): delete version that takes action as int
4122 (sendDispatchMessage): simplify and adjust
4124 * funcrequest.C (getArg): take unsigned int as arg
4126 * ToolbarBackend.C (read): adjust
4127 (add): delete version that takes func as a string.
4128 (getIton): take a FuncRequest as arg
4130 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4133 * MenuBackend.C (MenuItem): add a new construct that only takes a
4134 Kind, simplify the constructor use for submenus.
4136 (expandLastfiles): adjust
4137 (expandDocuments): adjust
4138 (expandFormats): adjust
4139 (expandFloatListInsert): adjust
4140 (expandFloatInsert): adjust
4141 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4143 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4144 Remove class variables lyx_pseudo_map and lyx_arg_map
4146 * LyXAction.C (searchActionArg): delete function
4147 (getPseudoAction): delete function
4148 (retrieveActionArg): delete function
4149 (LookupFunc): make it return kb_action, simplify.
4150 (getActionName): simplify
4152 * factory.C (createInset): fix new bug
4154 2003-09-19 Angus Leeming <leeming@lyx.org>
4156 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4157 masterFilename_ parameter in the include inset.
4159 * factory.C (createInset): changes due to the changes to InsetInclude.
4161 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4163 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4165 2003-09-18 Angus Leeming <leeming@lyx.org>
4168 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4169 Inset::fillWithBibKeys.
4170 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4172 2003-09-18 Angus Leeming <leeming@lyx.org>
4174 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4176 (ctor): pass and store a 'Buffer const &'
4177 (buffer): new member function.
4179 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4180 '*this' to the LaTeXFeatures ctor.
4182 2003-09-18 Angus Leeming <leeming@lyx.org>
4188 * text.C: rename EnumLColor as LColor_color.
4190 2003-09-18 Angus Leeming <leeming@lyx.org>
4192 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4193 remove #include "insets/insetbase.h" from cursor.h.
4195 2003-09-18 Angus Leeming <leeming@lyx.org>
4197 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4198 InsetOld_code to remove #include "inset.h".
4200 * iterators.C: add #include "insets/inset.h"
4202 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4204 * BufferView.C: remove more locking stuff that apparently doesn't
4205 do anything sensible.
4207 2003-09-16 André Pönitz <poenitz@gmx.net>
4210 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4213 2003-09-16 Angus Leeming <leeming@lyx.org>
4215 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4217 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4220 * paragraph.h: remove #include "lyxfont.h". Forward declare
4223 2003-09-16 Angus Leeming <leeming@lyx.org>
4225 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4226 of support/textutils.h.
4227 (isWord): move the contents of support/textutils.h's IsWordChar here.
4233 * text2.C: add #include "paragraph.h".
4236 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4238 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4244 * LaTeX.C: use namespace alias for lyx::support::os
4246 2003-09-16 Angus Leeming <leeming@lyx.org>
4249 * bufferview_funcs.C:
4252 * paragraph_pimpl.C:
4254 * text.C: add #include "LColor.h".
4256 2003-09-16 Angus Leeming <leeming@lyx.org>
4258 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4259 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4261 Store the FontBits::color variable as an int rather than as an
4262 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4265 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4266 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4267 string calls together.
4269 * lyxrc.C: add #include "LColor.h".
4271 2003-09-15 Angus Leeming <leeming@lyx.org>
4273 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4276 2003-09-15 Angus Leeming <leeming@lyx.org>
4278 * LColor.h: add an EnumLColor wrapper for LColor::color.
4280 * lyxfont.[Ch] (color, setColor, realColor):
4281 * lyxtext.h, text.C (backgroundColor):
4282 pass EnumLColor args to/from the functions, rather than LColor::color
4286 * lyxtext.h: forward declare EnumLColor.
4288 * lyx_main.C: add #include "LColor.h".
4290 2003-09-15 Angus Leeming <leeming@lyx.org>
4292 * .cvsignore: add lyx-gtk.
4294 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4299 * ParagraphParameters.C
4303 * bufferview_funcs.C
4313 * vc-backend.C: remove usage of STRCONV
4315 2003-09-15 Angus Leeming <leeming@lyx.org>
4317 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4318 explicitly define the color passed to the painter.
4320 2003-09-15 Angus Leeming <leeming@lyx.org>
4322 * bufferparams.C (BufferParams): reorder member initializers to avoid
4325 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4327 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4328 * text.C (updateRowPositions): remove an unusual nop
4330 2003-09-12 André Pönitz <poenitz@gmx.net>
4332 * BufferView_pimpl.C:
4341 * Counters.[Ch]: finish the 'automatic counters' job
4343 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4345 * aspell.C: include <boost/assert.cpp> (compile fix)
4347 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4349 * boost.C (assertion_failed): use lyx::support::abort instead of
4352 2003-09-10 Angus Leeming <leeming@lyx.org>
4354 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4355 with their _fwd progeny.
4357 2003-09-09 Angus Leeming <leeming@lyx.org>
4359 134 files throughtout the source tree: replace 'using namespace abc;'
4360 directives with the appropriate 'using abc::xyz;' declarations.
4362 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4364 * boost.C (emergencyCleanup): moved here from LAssert.c
4365 (assertion_failed): new function, called by BOOST_ASSERT
4367 * several files: change Assert to BOOST_ASSERT
4369 2003-09-09 Angus Leeming <leeming@lyx.org>
4371 * buffer.[Ch]: Add an Impl class and move Buffer's member
4372 variables into it. As a result move several header files out of
4375 Add header files to lots of .C files all over the tree as a result.
4377 2003-09-09 Angus Leeming <leeming@lyx.org>
4379 * buffer.[Ch]: make Buffer's member variables private. Add
4382 Lots of changes all over the tree as a result.
4384 2003-09-08 Angus Leeming <leeming@lyx.org>
4386 * graph.C: #include <config.h>.
4388 2003-09-08 Angus Leeming <leeming@lyx.org>
4392 * BufferView_pimpl.C:
4421 * toc.C: remove redundant using directives.
4423 2003-09-07 Angus Leeming <leeming@lyx.org>
4425 * LaTeXFeatures.h: remove #include "support/types.h".
4426 * ToolbarBackend.h: remove #include <algorithm>.
4427 * changes.h: remove #include <ctime>.
4428 * debug.h: remove #include <iosfwd>.
4429 * graph.h: remove #include "support/std_string.h".
4430 * lyx_main.h: remove #include <csignal>.
4431 * lyxlex_pimpl.h: remove #include <fstream>.
4432 * sgml.h: remove #include <algorithm>, <utility>.
4433 * toc.h: remove #include "support/std_ostream.h".
4434 Add #include <iosfwd>.
4436 2003-09-07 Angus Leeming <leeming@lyx.org>
4438 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4440 * converter.h: forward declare LatexRunParams.
4441 * encoding.h: remove #include "lyxrc.h".
4442 * lyxtext.h: remove #include "LColor.h".
4443 * lyxtextclass.h: remove #include "support/types.h".
4444 * trans.h: remove #include "tex-accent.h".
4445 * trans_mgr.h: remove #include "tex-accent.h".
4446 * insets/inset.h: remove #include "support/types.h", <vector>.
4447 * insets/insetcollapsable.h: remove #include "LColor.h".
4448 * insets/insetinclude.h: remove #include "dimension.h".
4449 * insets/insetlatexaccent.h: remove #include "dimension.h".
4450 * insets/insetoptarg.h:: remove #include "insettext.h".
4451 * insets/insettext.h: remove #include "dimension.h",
4452 <boost/shared_ptr.hpp>
4454 * insets/renderers.h: add #include "dimension.h".
4455 * insets/updatableinset.h: add #include "support/types.h".
4457 * many .C files: Associated changes.
4459 2003-09-06 Angus Leeming <leeming@lyx.org>
4461 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4462 one, inside testInvariant.
4464 * PrinterParams.C: new file.
4465 * PrinterParams.[Ch]: move the function bodies out of line.
4467 2003-09-06 Angus Leeming <leeming@lyx.org>
4469 * ParagraphParameters.h: forward declare ParameterStruct rather than
4470 including its header file.
4471 (depth): moved out-of-line.
4473 2003-09-06 Angus Leeming <leeming@lyx.org>
4475 * BufferView_pimpl.h:
4478 * lyxfunc.h: forward declare LyXKeySym rather than
4479 #include "frontends/LyXKeySym.h".
4481 * BufferView_pimpl.C:
4484 * lyxfunc.C: associated changes.
4486 2003-09-06 Angus Leeming <leeming@lyx.org>
4488 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4489 As a result, can remove the #include "insets/inset.h" from BufferView.h
4491 2003-09-06 Angus Leeming <leeming@lyx.org>
4493 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4494 As a result, can remove the #include "insets/inset.h" from BufferView.h
4496 2003-09-06 Angus Leeming <leeming@lyx.org>
4502 * bufferview_funcs.C:
4503 * BufferView_pimpl.C:
4508 * ParagraphParameters.C:
4513 * frontends/controllers/ControlDocument.C:
4514 * insets/insetcaption.C: rearrange the #includes into some sort of
4517 * buffer.h: remove #includes ErrorList.h, undo.h
4519 2003-09-06 Angus Leeming <leeming@lyx.org>
4521 * support/types.h: add a 'depth_type' typedef, used to store the
4522 nesting depth of a paragraph.
4525 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4526 defining explicitly.
4529 * paragraph_funcs.h:
4530 * ParagraphParameters.h:
4531 * sgml.h: use lyx::depth_type rather than Paragraph or
4532 ParameterStruct's depth_type.
4535 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4538 * BufferView_pimpl.C:
4540 * ParagraphParameters.C:
4543 * bufferview_funcs.C:
4550 * frontends/LyXView.C:
4551 * frontends/controllers/ControlDocument.C:
4552 * frontends/controllers/ControlErrorList.C:
4553 * insets/insetbibitem.C:
4554 * insets/insetbranch.C:
4555 * insets/insetcaption.C:
4556 * insets/insetcollapsable.C:
4557 * insets/insetenv.C:
4558 * insets/insetert.C:
4559 * insets/insetfloat.C:
4560 * insets/insetfoot.C:
4561 * insets/insetfootlike.C:
4562 * insets/insetnewline.C:
4563 * insets/insetquotes.C:
4564 * insets/insettabular.C:
4565 * insets/insettext.C:
4566 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4568 * frontends/controllers/ControlChanges.C: #include "changes.h".
4570 2003-09-06 Angus Leeming <leeming@lyx.org>
4572 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4573 than #including paragraph.h.
4576 * RowList.h: deleted. Superfluous.
4586 * insets/insettext.h: use ParagraphList_fwd.h rather than
4589 * paragraph.h: don't forward declare ParagraphList.
4592 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4593 rather than ParagraphList.h. paragraph.h is still needed for the
4594 Paragraph::depth_type parameters.
4596 * textcursor.h: enable it to compile stand-alone in light of the
4599 * bufferview_funcs.C:
4611 * frontends/controllers/ControlParagraph.C:
4612 * frontends/controllers/ControlTabular.C:
4613 * insets/insetmarginal.C:
4614 * insets/insetminipage.C:
4615 * insets/insetnote.C:
4616 * insets/insetoptarg.C: add header files needed to compile again.
4618 2003-09-06 Angus Leeming <leeming@lyx.org>
4620 * RowList_fwd.h: new file, forward-declaring Row rather than
4621 #including lyxrow.h.
4626 * insets/insettext.h: use it instead of RowList.h
4628 * bufferview_funcs.C:
4635 * text3.C: #include "RowList.h".
4637 2003-09-05 Angus Leeming <leeming@lyx.org>
4639 * factory.C (createInset):
4640 * vspace.C (c-tor): replace sscanf call with an istringstream.
4641 * ispell.C: re-add missing HP/UX headers.
4642 * lyxserver.C: re-add missing os2 headers.
4644 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4653 * text3.C: re-add missing system headers, needed for 2.95.2.
4655 2003-09-05 Angus Leeming <leeming@lyx.org>
4657 Changes most place everywhere due to the removal of using directives
4658 from support/std_sstream.h.
4660 2003-09-05 Angus Leeming <leeming@lyx.org>
4662 Replace LString.h with support/std_string.h,
4663 Lsstream.h with support/std_sstream.h,
4664 support/LIstream.h with support/std_istream.h,
4665 support/LOstream.h with support/std_ostream.h.
4667 Changes resulting throughout the tree.
4669 2003-09-05 Angus Leeming <leeming@lyx.org>
4671 * sgml.h: ensure that the header file can be compiled stand-alone.
4672 * *.C: strip out redundant #includes. (320 in total.)
4674 2003-09-04 Angus Leeming <leeming@lyx.org>
4676 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4677 here (from getPackages).
4679 * debug.[Ch]: add a new EXTERNAL tag.
4681 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4683 * text2.C (cursorEnd): simplify
4685 (getColumnNearX): adjust
4687 * text.C (computeBidiTables): adjust
4690 * rowpainter.C (paintChars): adjust
4691 (paintSelection): adjust
4692 (paintChangeBar): adjust
4695 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4697 (numberOfSeparators): adjust
4699 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4705 * text3.C: Restricts the mouse click functionality
4706 of insets like bibtex, include, toc and floatlist to the visible
4707 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4708 up the dialogs. Cursor has to be in front of the inset (i.e.
4709 start of row) for this to function.
4711 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4713 * bufferview_funcs.C (currentState): output row information
4715 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4717 * bufferview_funcs.C (currentState): output paragraph position
4719 2003-09-04 Angus Leeming <leeming@lyx.org>
4721 * FloatList.h: move out #include "Floating.h".
4722 * LaTeX.h: move out #include "DepTable.h".
4723 * LyXAction.h: move out #include "funcrequest.h".
4724 * buffer.h: move out #include "author.h", "iterators.h".
4725 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4726 * lyx_main.h: move out #include "errorlist.h".
4727 * lyxfunc.h: move out #include "FuncStatus.h".
4728 * lyxtext: move out #include "lyxcursor.h".
4729 * paragraph_pimpl.h: move out #include "counters.h".
4731 2003-09-03 Angus Leeming <leeming@lyx.org>
4733 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4734 preamble_snippets list, enabling us to add snippets to the preamble
4735 only if the snippet was not there already.
4737 2003-09-04 Angus Leeming <leeming@lyx.org>
4739 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4741 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4743 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4746 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4748 * BranchList.C: point fix, earlier forgotten
4750 2003-09-02 Angus Leeming <leeming@lyx.org>
4752 * box.C (contains): renamed from 'contained' after a fantastic
4755 2003-09-02 John Levon <levon@movementarian.org>
4761 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4763 2003-09-02 John Levon <levon@movementarian.org>
4765 * text2.C: simplification of cursorEnd(), including partial
4768 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4770 * buffer.C (readFile): add a space
4772 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4774 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4776 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4778 * buffer.C (readFile): new function, take a filename and a
4779 ParagraphList::iterator
4781 (readFile): adjust, make it private. don't use setStream, make
4782 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4783 always contain the filename.
4785 * BufferView.C (insertLyXFile): simplify and make it work for
4788 2003-08-30 John Levon <levon@movementarian.org>
4790 * Makefile.am: fix dist (from Kayvan)
4792 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4794 * most files: change to use const Buffer refs
4796 2003-08-27 André Pönitz <poenitz@gmx.net>
4798 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4799 on top of ownerPar().
4801 2003-08-27 John Levon <levon@movementarian.org>
4803 * funcrequest.C: properly initialise POD members
4805 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4807 * lyxtext.h (top_y): move top_y from here
4812 * BufferView_pimpl.[Ch]: to here
4813 * frontends/screen.C:
4814 * insets/insettabular.C:
4815 * insets/insettext.C: adjust
4816 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4818 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4821 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4823 2003-08-26 André Pönitz <poenitz@gmx.net>
4825 * paragraph_func.[Ch] (outerPar): new function
4828 * paragraph_funcs.C:
4829 * paragraph_funcs.h:
4830 * paragraph_pimpl.C:
4831 * text2.C: remove Inset::par_owner
4833 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4838 * text2.C: eliminates the needFullRow/display() stuff
4839 altogether, putting the logic in metrics/draw in the insets.
4841 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4843 * text2.C (redoParagraphInternal, redoParagraphs):
4844 * text.C (redoParagraph): add a call to updateRowPositions at the
4845 end of each 'metrics-like' call. Remove all others.
4846 (getRow): remove the 'y-computing' version.
4847 (getRowNearY): do not compute nor return the real y. Solve the
4848 'y < 0' problem and simplify.
4850 2003-08-22 Angus Leeming <leeming@lyx.org>
4852 * *.[Ch]: clean-up of licence and author blurbs.
4853 Also move config.h out of a few .h files and into a few .C files.
4855 2003-08-22 André Pönitz <poenitz@gmx.net>
4857 * lyxrow.[Ch]: add x_ and *fill_ members
4862 * text2.C: adjust/remove prepareToPrint() calls
4864 2003-08-22 André Pönitz <poenitz@gmx.net>
4866 * lyxrow.[Ch]: add end_ member
4868 * lyxrow_funcs.C: use LyXRow::end_
4870 * lyxtext.h (singleWidth): add LyXFont parameter
4873 * text2.C: adjust LyXText::singleWidth() calls
4875 * text.C (redoParagraph): simplify row breaking logic
4878 2003-08-19 André Pönitz <poenitz@gmx.net>
4880 * funcrequest.C: initialize button_ member
4883 * rowpainter.[Ch]: interface consolidation
4885 2003-08-18 André Pönitz <poenitz@gmx.net>
4888 * BufferView_pimpl.C:
4890 * paragraph_funcs.C:
4892 * text3.C: remove LyXScreen::draw() and fitCursor calls
4894 * BranchList.h: remove spurious semicolons
4896 * MenuBackend.C: fix branchlist related crash
4898 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4906 * bufferparams.[Ch]:
4910 * text3.C: implements the 'branch inset'
4911 idea. This allows the output of various versions of a document
4912 from a single source version, selectively outputing or suppressing
4913 output of parts of the text.
4914 This implementation contains a 'branch list editor' in a separate
4915 tab of the document settings dialog. Branches are user definable
4916 and have a "display colour" to distinguish them on-screen.
4918 ColorHandler was somewhat cleaned up.
4919 (1) make possible a dynamically growing LColor list by allowing
4920 the graphic context cache to grow along (vector);
4921 (2) eliminate an IMHO unnecessary step in colour allocation.
4923 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4925 * BufferView_pimpl.C: compile fix
4927 2003-08-15 André Pönitz <poenitz@gmx.net>
4929 * rowpainter.C: remove extra metrics calls
4931 * lyxtext.h: merge the two constructors into a single one,
4932 pass reference to owner's par list
4934 * BufferView_pimpl.C:
4938 2003-08-15 André Pönitz <poenitz@gmx.net>
4940 * lyxrow_funcs.[Ch]:
4943 * paragraph_funcs.C:
4948 * text_funcs.C: split LyXText::rowlist_ into individual
4949 Paragraph::rows_ chunks
4952 * BufferView_pimpl.[Ch]:
4955 * text3.C: remove toggleSelection()
4957 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4959 * bufferlist.C: beautify two alerts (shorter text of buttons)
4960 * buffer.C: Remove redundant ' ' from message
4962 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4963 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4964 rename VALIGN_CENTER to VALIGN_MIDDLE
4966 2003-08-11 André Pönitz <poenitz@gmx.net>
4968 * lyxtext.h (getPar):
4969 * text.C: new function
4971 2003-08-11 André Pönitz <poenitz@gmx.net>
4974 * tracer.[Ch]: remove unneeded files
4976 * InsetList.[Ch]: remove resizeInsetsLyXText()
4981 * text3.C: merge insertParagraphs() and appendParagraph()
4982 remove breakAgain(), update()
4984 * BufferView_pimpl.[Ch]:
4985 * bufferview_funcs.[Ch]:
4989 * tabular.C: adjust after text & InsetList changes.
4991 2003-08-08 André Pönitz <poenitz@gmx.net>
4993 * text.C (insertChar, backspace): replace rowlist fiddling
4994 with rebreak of full par
4997 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4998 checkParagraph, updateInset): removed
5000 2003-08-07 André Pönitz <poenitz@gmx.net>
5003 * text3.C: merge some LFUN handlers, remove dead code
5005 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5007 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5009 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5011 * text2.C (DEPM): fix part of bug 1255 and 1256
5013 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5015 * BufferView_pimpl.C (workAreaDispatch): change to use
5016 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5017 that are no mouse related.
5019 2003-08-05 André Pönitz <poenitz@gmx.net>
5022 * BufferView_pimpl.[Ch]:
5023 * bufferview_funcs.C:
5025 * text3.C: rip out "deep update"
5027 * textcursor.[Ch] (last_sel_cursor): remove unused member
5029 2003-08-04 André Pönitz <poenitz@gmx.net>
5032 * BufferView_pimpl.[Ch]:
5033 * ParagraphParameters.C:
5034 * bufferview_funcs.C:
5040 * text3.C: replace "complicated" BufferView::update(...) calls with
5043 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5045 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5047 * Makefile.am (lyx_SOURCES): add paper.h
5049 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5051 * Makefile.am: move things around so that both lyx-qt and
5052 lyx-xforms can be built (according to --with-frontend). Then lyx
5053 is a symbolic link to lyx-[firstfrontend]
5055 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5057 * Always use std::endl with lyxerr
5059 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5061 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5063 2003-08-01 André Pönitz <poenitz@gmx.net>
5066 * BufferView_pimpl.[Ch]:
5068 * text3.C: merge BufferView::repaint() and BufferView::update()
5070 2003-08-01 José Matos <jamatos@lyx.org>
5072 * buffer.[Ch]: file_format is no longer a buffer data element.
5074 2003-08-01 André Pönitz <poenitz@gmx.net>
5079 * text2.C: make redoParagraph more independent of current cursor
5081 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5083 * text2.C: remove unneeded members
5085 2003-07-30 André Pönitz <poenitz@gmx.net>
5087 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5089 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5090 create a single function...
5092 * paragraph_funcs.C (moveItem): ... here.
5095 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5097 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5099 * LColor.[Ch]: Add comment and greyedout logical colors.
5101 2003-07-30 André Pönitz <poenitz@gmx.net>
5103 * tabular.C: don't use Assert too heavily. This crashes where it
5106 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5108 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5109 is disabled (bug 1232)
5111 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5113 * factory.C: limited 'arg' scope
5115 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5117 * factory.C: fixed Note submenu issues
5119 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5121 * factory.C: submenu for Note/Comment/Greyedout
5123 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5126 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5128 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5131 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5132 greyedout. Patch provided by Jürgen Spitzmüller.
5134 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5136 * kbmap.C (read): fix error message when reading bind files
5138 2003-07-29 Angus Leeming <leeming@lyx.org>
5140 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5141 certainly does not do what it purports to do. I am doing it, and
5142 us, a favour by killing it.
5144 2003-07-28 José Matos <jamatos@lyx.org>
5146 * buffer.C (readBody, do_writeFile):
5147 * paragraph.C(readParagraph): \end_document replaces \the_end.
5149 2003-07-29 André Pönitz <poenitz@gmx.net>
5152 * BufferView_pimpl.[Ch]:
5156 * textcursor.[Ch]: remove toggleToggle & Co
5158 2003-07-28 José Matos <jamatos@fep.up.pt>
5160 * buffer.C (readParagraph):
5161 * params_func (readParToken, readParagraph):
5162 * paragraph.C (write): \layout -> \begin_layout.
5164 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5166 * lyxlex_pimpl.C (setFile): clean up slightly.
5168 * bufferparams.h: add compressed var
5170 * buffer_funcs.C (readFile): adjust for LyXLex change
5171 (newFile): ditto + simplify
5173 * buffer.C (writeFile): handle writing of compressed files
5175 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5176 Check if the file is compressed and set a bufferparm if so.
5178 * Makefile.am (lyx_LDADD): remove explicit -lz
5180 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5182 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5183 makeDocBookFile): put the real LyX version in the first line of
5187 * version.C.in: remove lyx_docversion
5189 * tabular.C (write_attribute): add a template-based version to
5190 write enums properly
5192 2003-07-28 André Pönitz <poenitz@gmx.net>
5197 * text3.C: use doubles again for x-coordinates. They are needed.
5199 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5201 * messages.C (getLocaleDir): use lyx_localedir()
5203 * lyxlex_pimpl.C (setFile): compress stuff
5205 * buffer.C (writeFile): add some compression stuff
5206 (do_writeFile): new func, dont call expliti close... will this
5209 * Makefile.am (lyx_LDADD): add -lz
5211 2003-07-28 José Matos <jamatos@fep.up.pt>
5213 * buffer.C: increment file format.
5214 * paragraph_funcs (readParagraph, readParToken):
5215 * paragraph.C (readParagraph): add \end_layout.
5217 2003-07-27 Angus Leeming <leeming@lyx.org>
5219 * Makefile.am: remove special casing for configure-time setting of
5220 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5222 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5223 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5225 2003-07-26 André Pönitz <poenitz@gmx.net>
5227 * paragraph_func.[Ch]:
5228 * paragraph.C (realizeFont): inline it whereever it is used
5233 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5236 2003-07-26 André Pönitz <poenitz@gmx.net>
5240 * text2.C: get rid of LyXText::need_break_row
5242 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5244 * toc.[Ch]: put namespace toc inside namespace lyx
5246 * MenuBackend.C (expandToc2): adjust for lyx::toc
5249 * lyxfunc.C (dispatch): adjust for lyx::find
5251 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5252 lyx::find instead. Reorganize a bit.
5253 (LyXReplace): rename to replace
5254 (LyXFind): rename to find
5256 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5259 2003-07-26 André Pönitz <poenitz@gmx.net>
5261 * text.C (setHeightOfRow): restrict scope of temporary variable
5263 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5264 code (never has been used?)
5266 2003-07-27 Asger Alstrup <alstrup@local>
5268 * text.C (fill): Optimise algorithm to exploit that we can reuse
5269 the LyXFont for many characters.
5270 (setHeightOfRow): Same thing.
5271 (rowBreakPoint): Same thing.
5273 2003-07-26 Asger Alstrup <alstrup@local>
5275 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5277 * text.C (singleWidth): Spurious font copying in hot-spot
5278 singleWidth avoided. Reorder tests for arabic for efficiency.
5280 * text.C (fill): handle empty paragraphs better.
5282 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5285 * encoding.h: add includes
5287 * lyxrc.C: remove reading of bind files
5289 * lyx_main.C (init): setup bindings and menus only if we have a
5292 * kbmap.C (read): new method. Do the actual reading of bind
5295 * converter.C (dvipdfm_options):
5298 (output): adapt PAPER_* enums.
5300 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5302 * bufferparams.h: remove paper-related enums from there
5304 * paper.h: New file. A trivial header file to hold paper-related
5305 enums. It should later expand to contain many paper-related
5308 * lyxrc.C: declare extern displayTranslator
5310 2003-07-27 José Matos <jamatos@fep.up.pt>
5312 * tabular.[Ch] (linuxdoc): add support for tables and figures
5315 2003-07-27 José Matos <jamatos@fep.up.pt>
5317 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5318 consistency in both functions.
5319 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5321 2003-07-26 Asger Alstrup <alstrup@local>
5323 * rowpainter.C (paintRows): Change algorithm to work directly on
5324 the insets rather than asking every character in the document
5325 whether its an inset.
5327 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5329 * buffer.C (openFileWrite): factorize some code
5331 2003-07-26 Angus Leeming <leeming@lyx.org>
5334 * lyx_main.[Ch]: replace occurances of system_tempdir with
5337 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5339 * rename Inset to InsetOld
5341 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5343 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5344 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5345 which I think is a bit clearer. EDIT is gone, since it was
5346 premature optimisation, and broken for mathed anyway.
5347 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5348 with cursor positioning in insets as well (math insets still do not
5349 work, but that's a different story anyway.) It mysteriously
5350 crashes sometimes with undo in the first paragraph, but I'm fairly
5351 confident that this is a compiler bug.
5353 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5355 * paragraph.C (Paragraph): adjust for new clone return type
5357 (copyIntoMinibuffer): ditto
5359 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5361 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5362 by not having a special case, and always doing a full rebreak of
5363 the document after undo.
5365 2003-07-23 Angus Leeming <leeming@lyx.org>
5367 * factory.C (createInset): InsetExternal::setParams now takes a
5370 2003-07-23 Angus Leeming <leeming@lyx.org>
5372 * factory.C (createInset): changed interface to the external and
5373 graphics mailers' string2params functions.
5375 2003-07-23 Angus Leeming <leeming@lyx.org>
5377 * factory.C (createInset): pass a
5378 Buffer const * parameter to InsetExternalMailer's string2params.
5380 2003-07-22 John Levon <levon@movementarian.org>
5382 * Thesaurus.h: include the right aiksaurus header
5384 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5386 * MenuBackend.C (expand): check menu shortcuts unconditionally
5388 2003-07-21 Angus Leeming <leeming@lyx.org>
5390 * factory.C (createInset): pass a
5391 buffer_path parameter to InsetGraphicsMailer's string2params.
5393 2003-07-21 Angus Leeming <leeming@lyx.org>
5395 * BufferView_pimpl.C (buffer):
5398 * lyxfunc.C (dispatch):
5399 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5400 rather than the grfx shortcut.
5402 2003-07-21 André Pönitz <poenitz@gmx.net>
5404 * rowpainter.C: remove unused variables
5407 * tabular_funcs.h: move to tabular.C
5408 * Makefile.am: adjust
5410 * tabular.[Ch]: basic optical cleaning
5412 * author.h: pass references, not values
5414 2003-07-18 André Pönitz <poenitz@gmx.net>
5422 * text3.C: two-phase drawing for InsetText and InsetTabular
5423 some float -> int changes.
5425 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5427 * lyx_main.C: fix the fix
5429 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5431 * lyx_main.C: fix a crash in batch mode if no files specified
5434 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5436 * format.[Ch] (papersize): moved to BufferParams
5437 * converter.[Ch] (dvips_options): moved to BufferParams
5438 (dvipdfm_options): moved to anon namespace
5439 * bufferparams.[Ch]: added above functions.
5441 2003-07-17 André Pönitz <poenitz@gmx.net>
5445 * text2.C: don't call inset->update() anymore
5447 * metricsinfo.[Ch]: add convenience constructor
5449 2003-07-16 André Pönitz <poenitz@gmx.net>
5454 * text2.C: replace the LyXCursor::irow_ member with
5455 on-demand computation of the value
5457 2003-07-16 John Levon <levon@movementarian.org>
5459 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5461 2003-07-15 André Pönitz <poenitz@gmx.net>
5464 * text2.C: remove no more needed refresh_row
5466 2003-07-15 André Pönitz <poenitz@gmx.net>
5471 * text3.C: refresh_status tristate -> need_update bool
5473 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5475 * lyxtext.h (init): remove reinit argument (act as if always true)
5476 * text2.C: adjust to that
5478 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5480 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5481 * text3.C: use it to delete selections in some cases
5482 (bugs 441, 673, 702, 954).
5484 2003-07-14 André Pönitz <poenitz@gmx.net>
5486 * rowpainter.[Ch]: reduce interface
5488 2003-07-14 André Pönitz <poenitz@gmx.net>
5490 * BufferView_pimpl.C:
5491 * text2.C: adjust after removing unused BufferView * argument
5493 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5495 * text2.C (init): fix a crash fired on resize
5497 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5499 * buffer.[Ch]: added new closing signal
5500 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5501 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5502 BufferView::Pimpl via the closing the signal
5504 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5506 * buffer.[Ch]: take out all bv-related from buffer
5508 * BufferView_pimpl.[Ch]: connect to new signals
5509 * CutAndPaste.C: removed useless asserts
5510 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5513 * lyxfunc.C: moved view-related funciontality from vc here
5514 * paragraph.C: removed outdated comments
5517 2003-07-10 André Pönitz <poenitz@gmx.net>
5519 * BufferView_pimpl.C:
5523 * text2.C: remove InsetText::InnerCache, clean up consequences
5525 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5527 * ispell.C: fix two typos in error messages
5529 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5531 * Extend Note inset to other forms of annotation like Comment
5532 and Greyedout. Right button click gives dialog.
5534 Files modified or added (+):
5538 * ControlNote.[Ch] +
5540 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5541 frontends/controllers
5545 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5547 * aspell.C: add missing namespace lyx::support
5549 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5551 * BufferView.[Ch] (newFile): Add
5552 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5553 * LaTeX.[Ch] (message): added this signal and use it
5554 * buffer.[Ch] (busy, message): added these signals and use them
5555 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5559 * importer.C: use buffer signals instead of direct bv calling
5560 * lyx_cb.[Ch] (ShowMessage): removed
5563 * paragraph_funcs.C:
5564 * text2.C: use buffer signals
5566 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5568 * introduce namespace lyx::graphics
5570 2003-07-02 André Pönitz <poenitz@gmx.net>
5572 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5574 2003-07-01 André Pönitz <poenitz@gmx.net>
5581 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5582 text*.C to text_func.C
5584 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5586 * introduce namespace lyx::support
5588 2003-06-30 André Pönitz <poenitz@gmx.net>
5593 * text.C: re-enable --with-included-string
5595 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5597 * textcursor.C: add <config.h>
5599 * text.C (getWord): remove const from word_location arg
5601 * lyxvc.C (getLogFile): fix const type order
5603 * lyxtext.h: remove const from word_location arg, add arg name
5605 * lyxlayout.h: currect type on labeltype.
5607 * importer.C: correct \file
5609 * converter.C (intToFormat): use std:: on ret val, ws changes
5611 * bufferlist.h: correct \file
5613 * buffer.C (makeLinuxDocFile): fix const type order
5614 (makeDocBookFile): ditto
5615 (fillWithBibKeys): use std:: on stdlib args.
5617 * CutAndPaste.C: fix authors.
5618 (availableSelections): use std:: on return vector
5620 2003-06-27 André Pönitz <poenitz@gmx.net>
5622 * BufferView_pimpl.C:
5623 * bufferview_funcs.C:
5631 * text3.C: remove LyXCursor::row_ member
5634 * text.C: rename fullRebreak() to partialRebreak() and implement
5635 a fullRebreak() that really bereks fully
5637 * textcursor.h: new struct for cursor-related data
5639 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5641 * lyx_main.C (LyX): get full path of document loaded on the
5644 2003-06-26 André Pönitz <poenitz@gmx.net>
5646 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5647 remove unused/broken operator>,<,>=.
5649 * text.C: remove only use of broken operator<= in an Assert().
5651 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5653 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5654 moved errorlist_.clear to showErrorList
5656 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5658 * converter.C (scanLog, runLaTeX):
5659 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5660 move the bv->showErrorList call to the callers
5661 * lyxfunc.C: i.e. here...
5663 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5664 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5665 namespace, the second to...
5666 * buffer_funcs (BufferFormat, parseErrors): added
5667 * errorlist.C (ErrorList(TeXErrors const &)): removed
5669 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5671 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5673 2003-06-24 "Garst R. Reese" <reese@isn.net>
5677 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5679 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5681 * version.C.in: change docversion to 1.4
5683 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5685 * buffer.C: fix a bug just introduced
5687 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5689 * buffer.[Ch]: added the parseError signal and use it, removed
5691 * BufferView.[Ch] (addError): moved to ...
5692 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5693 to the Buffer::parseError signal to catch (guess what) parse errors
5694 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5696 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5698 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5699 ability to create a buffer and to return an existing one from
5700 the list. Moved these functions to...
5701 * buffer_funcs.[Ch]: added
5702 * BufferView.[Ch] (loadLyXFile): added
5703 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5704 job removed from bufferlist::loadLyXFile.
5705 * buffer.C (setReadOnly): make it work without view
5706 (i.e added an if (users))
5708 2003-06-19 Angus Leeming <leeming@lyx.org>
5711 * LyXAction.C (init):
5712 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5713 with LFUN_DIALOG_SHOW <name> <data>.
5715 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5717 * CutAndPaste.C (availableSelections): small compilation fix for
5718 ancient (gcc 2.9x) compilers
5720 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5722 * text3.C (cursorNext): add tmp var
5724 * text2.C (updateCounters): for function calling out of for clause
5725 (replaceSelectionWithString): ditto
5726 (insertStringAsParagraphs): ditto
5727 (getColumnNearX): add tmp var
5728 (setCursorFromCoordinates): add tmp var
5729 (cursorDownParagraph): add tmp var
5730 (deleteEmptyParagraphMechanism): add tmp var
5732 * text.C (insertChar): add tmp var
5734 * rowpainter.C (paintDepthBar): add tmp var
5736 * CutAndPaste.C (availableSelections): potentially check all
5737 paragraphs in a cut to fill the shown strings.
5739 2003-06-18 André Pönitz <poenitz@gmx.net>
5741 * kbmap.[Ch]: use vector<> instead of list<>
5743 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5745 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5746 pasteSelection with index
5748 * text2.C (pasteSelection): modify, call pasteSelection with index
5750 * paragraph.C (asString): reimplement version with no interval to
5751 call the one with interval.
5753 * lyxtext.h: add index arg to pasteSelection
5755 * MenuBackend.C (MenuItem): handle PasteRecent
5756 (Menu::read::Menutags): add md_pasterecent
5758 (expandPasteRecent): new function
5761 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5763 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5765 (availableSelections): new function
5767 2003-06-17 Angus Leeming <leeming@lyx.org>
5769 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5771 2003-06-17 Angus Leeming <leeming@lyx.org>
5774 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5776 * lyxfunc.C (dispatch): invoke it.
5778 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5780 * iterators.C (operator++, ParPosition): reintroduce some
5781 const_cast for the benefit of older compilers.
5783 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5785 * text3.C (dispatch): do not modify clipboard when doing
5786 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5787 LFUN_DELETE_SKIP on a selection selection
5789 2003-06-16 André Pönitz <poenitz@gmx.net>
5795 * tabular.[Ch]: IU of clone() and getLabelList();
5797 2003-06-13 André Pönitz <poenitz@gmx.net>
5799 * tabular.h: compactification
5801 2003-06-12 André Pönitz <poenitz@gmx.net>
5805 * tabular_funcs.h: some renaming plus whitespace
5807 2003-06-12 André Pönitz <poenitz@gmx.net>
5810 * BufferView_pimpl.C:
5816 * toc.C: Return a Paragraph & for ParIterator::operator*()
5818 2003-06-11 John Levon <levon@movementarian.org>
5822 * ToolbarBackend.C: add "Toolbars" section and
5825 2003-06-10 Angus Leeming <leeming@lyx.org>
5828 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5830 * lyxfunc.C (dispatch): invoke it.
5832 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5834 * main.C: protect <ios> with HAVE_IOS
5835 (main): protect sync_with_stdio with HAVE_IOS
5837 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5839 * text2.C (cutSelection): adjust
5840 (pasteSelection): adjust
5842 * messages.C: handle get of empty string
5844 * main.C (main): use sync_with_stdio(false)
5846 * lyxfunc.C (dispatch): adjust
5848 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5849 (WriteAs): remove unneeded BufferView arg.
5851 * bufferparams.h: use correct types on papersize, papersize2 and
5854 * bufferparams.C (readToken): adjust for type
5855 (writeLaTeX): add missing cases to switch.
5857 * bufferlist.C (quitWriteBuffer): adjust
5860 * buffer.C (asciiParagraph): remove some commented code.
5862 * CutAndPaste.C: remove current_view extern variable.
5863 (cutSelection): add BufferParams arg.
5864 (eraseSelection): add BufferParams arg.
5865 (pasteSelection): add Buffer const & arg
5867 2003-06-07 John Levon <levon@movementarian.org>
5870 * paragraph_funcs.C:
5871 * paragraph_pimpl.C:
5875 * paragraph.C: allow InsetERT to freely space lines,
5876 and some consolidation of code
5878 2003-06-06 José Matos <jamatos@fep.up.pt>
5880 * buffer.C (makeDocBookFile): fix bug #821
5882 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5884 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5886 2003-06-04 Angus Leeming <leeming@lyx.org>
5888 * buffer.C: bump format to 224.
5890 2003-06-05 André Pönitz <poenitz@gmx.net>
5892 * text2.C (redoParagraphs): remove two const_cast<>
5894 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5896 * ParagraphList.h: remove last remnants of NO_STD_LIST
5898 2003-06-03 Angus Leeming <leeming@lyx.org>
5900 * factory.C (createInset): small change to the way InsetExternal's params
5903 2003-06-04 André Pönitz <poenitz@gmx.net>
5905 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5907 * paragraph_pimpl.h:
5908 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5910 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5912 * undo_funcs.C: make some simple cases of undo work again
5914 2003-06-03 John Levon <levon@movementarian.org>
5916 * ispell.C: HPUX doesn't have sys/select.h
5919 2003-06-03 John Levon <levon@movementarian.org>
5921 * CutAndPaste.C: update tabular and include inset
5926 * paragraph.C: remove owningBuffer(), don't pass Buffer
5929 * factory.C: insetGraphicsParams changed
5931 2003-06-02 John Levon <levon@movementarian.org>
5937 * text3.C: remove insetparent
5939 2003-06-02 John Levon <levon@movementarian.org>
5942 * buffer.C: fix inset_iterator.end(), move out of line
5945 2003-06-01 John Levon <levon@movementarian.org>
5947 * text3.C: use a proper cut/paste when doing inset
5948 insert (from Jürgen Spitzmüller)
5950 2003-06-01 John Levon <levon@movementarian.org>
5952 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5954 2003-05-30 André Pönitz <poenitz@gmx.net>
5956 * rowpainter.C: unify second drawing phase
5958 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5960 * trans_mgr.C: remove one case of current_view
5962 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5964 * paragraph_funcs.h: remove paragraph.h include
5966 * paragraph.h: delete NO_STD_LIST stuff
5968 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5970 * buffer.h: remove paragraph.h include
5972 * ParagraphList.C: delete file
5974 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5976 * toc.C (getTocList): adjust
5978 * paragraph_pimpl.C (validate): adjust
5980 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5982 * paragraph.C (Paragraph): adjust
5983 (getPositionOfInset): use const_iterator, adjust
5984 (bibitem): use const_iterator, adjust
5985 (setInsetOwner): adjust
5987 * iterators.C (operator++): adjust
5989 * InsetList.[Ch]: Replace selfmade iterator with standard
5990 vector::iterator also introduce const_iterator. Remove getPos,
5991 getInset and setInset from InsetTable. Adjust accordingly.
5993 * BufferView.C (lockInset): adjust
5994 (ChangeInsets): adjust
5996 * tabular.[Ch]: delete commented same_id functions
5998 2003-05-28 John Levon <levon@movementarian.org>
6000 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6002 2003-05-28 André Pönitz <poenitz@gmx.net>
6004 * metricsinfo.[Ch]: remove 'fullredraw' member
6006 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6008 * lyxtextclass.C (operator): remove caching.
6010 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6014 * text2.C (cursorBottom): adjust
6015 (setCounter): use ParagraphList::find, adjust
6017 * text.C (workWidth): use ParagraphList::find, adjust
6019 * lyxcursor.C (LyXCursor): adjust
6021 * buffer.C (inset_iterator): adjust
6023 * ParagraphList.h: make iterator(value_type) private, make
6024 ParagraphList a friend of iterator.
6026 * ParagraphList.C (find): new function
6028 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6030 2003-05-27 André Pönitz <poenitz@gmx.net>
6032 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6034 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6036 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6038 2003-05-26 John Levon <levon@movementarian.org>
6040 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6042 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6044 * remove same_id from function signatures, adjust.
6046 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6048 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6050 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6052 * paragraph.C (Paragraph): get rid of same_ids parameter
6054 * ParagraphList.C (insert): adjust
6057 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6059 * paragraph_funcs.C (breakParagraph): adjust
6060 (breakParagraphConservative): adjust
6062 * buffer.C (readParagraph): adjust
6064 * ParagraphList.C (insert): take a reference instead of a pointer
6067 * paragraph.[Ch] (id): new function
6069 * bufferlist.C (newFile): adjust
6071 * ParagraphList.C (ParagraphList): adjust
6073 (push_back): take a reference instead of a pointer.
6075 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6077 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6080 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6081 set else use old code.
6083 * ParagraphList.C: remove all NO_NEXT code and only compile this
6084 code of NO_STD_LIST is set.
6086 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6088 * BufferView_pimpl.C:
6098 * graphics/GraphicsConverter.C:
6099 * graphics/PreviewLoader.C: header adjustment
6101 2003-05-23 Angus Leeming <leeming@lyx.org>
6103 * LaTeXFeatures.[Ch] (useBabel): new method.
6104 * bufferparams.C (writeLaTeX): use it.
6106 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6108 * ParagraphList.h (set): remove unused function.
6110 2003-05-23 André Pönitz <poenitz@gmx.net>
6113 * BufferView_pimpl.C:
6117 * undo_funcs.C: setUndo reworked
6119 * iterators.[Ch]: add access to topmost ParagraphList
6121 * lyxtext.[Ch] (workWidth): add a const
6123 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6125 * texrow.[Ch] (increasePos): remove function
6126 * exporter.C (export): removed unused var and outdated comment
6128 2003-05-23 Angus Leeming <leeming@lyx.org>
6130 * latexrunparams.h: rename fragile as moving_arg.
6131 * paragraph.C (simpleTeXOnePar): ditto.
6132 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6134 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6136 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6138 (textUndoOrRedo): comment out a currently unused var.
6140 * paragraph.h (NO_NEXT): enable NO_NEXT
6142 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6144 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6146 * exporter.C (Export): adjust for removeAutoInsets removal.
6148 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6150 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6152 * BufferView.[Ch] (removeAutoInsets): delete function
6154 2003-05-22 Angus Leeming <leeming@lyx.org>
6156 * latexrunparams.h: add a free_spacing variable.
6158 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6159 to pass moving_arg, as the data is stored in runparams.fragile.
6161 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6162 to Inset::latexOptional or to simpleTeXOnePar.
6164 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6165 free_spacing arg to Inset::latexOptional.
6167 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6170 2003-05-22 Angus Leeming <leeming@lyx.org>
6172 * latexrunparams.h: add fragile and use_babel variables.
6174 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6175 * buffer.C (makeLaTeXFile): store this returned value in
6176 runparams.use_babel, thus passing it to the inset::latex methods.
6178 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6179 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6181 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6182 longer has a fragile arg, as it is stored in runparams.fragile.
6184 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6185 moving_arg parameter as the data is stored in runparams.fragile.
6187 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6188 a fragile parameter as the data is stored in runparams.fragile.
6190 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6192 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6194 2003-05-22 Angus Leeming <leeming@lyx.org>
6196 * latexrunparams.h: add a 'bool nice' which defaults to false.
6198 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6199 now encapsulated within runparams.
6201 * bufferlist.C (updateIncludedTeXfiles):
6202 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6204 2003-05-22 Angus Leeming <leeming@lyx.org>
6206 * latexrunparams.h: new file containing struct LatexRunParams.
6207 * Makefile.am: add new file.
6209 * LaTeX.[Ch] (c-tor, run):
6210 * buffer.[Ch] (makeLaTeXFile):
6211 * bufferlist.[Ch] (updateIncludedTeXfiles):
6212 * converter.C (convert, scanLog):
6213 * converter.[Ch] (runLaTeX):
6214 * exporter.C (Export):
6215 * paragraph.[Ch] (simpleTeXOnePar):
6216 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6217 * paragraph_funcs.[Ch] (latexParagraphs):
6218 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6219 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6220 pass around a LatexRunParams parameter.
6222 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6224 * paragraph.[Ch]: remove unused constructor
6226 * ParagraphList.C (erase): new function, taking two iterators
6228 2003-05-22 André Pönitz <poenitz@gmx.net>
6230 * undo_funcs.C: remove duplicated code
6232 * iterator.[Ch]: operator=
6234 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6236 * tabular.C (SetMultiColumn): ws changes
6238 * rowpainter.C (paintFirst): get rid of a ->previous
6240 * lyx_cb.C (getPossibleLabel): parlist simplification
6242 * BufferView.C (ChangeInsets): simplify slightly.
6244 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6246 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6247 * lfuns.h: new LFUN_SPACE
6248 * lyxfunc.C: protected space has a new lfun
6249 * paragraph_funcs.C: read new space insets
6251 * factory.C: handle new space insets
6253 2003-05-22 André Pönitz <poenitz@gmx.net>
6256 * BufferView_pimpl.C:
6259 * undo_funcs.C: return a ParIterator from getParFromID.
6261 * iterators.[Ch]: add two const's
6263 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6265 * toc.C (getTocList): adjust
6267 * iterators.[Ch]: rework for parlist
6269 * buffer.C (par_iterator_begin): adjust
6270 (par_iterator_end): adjust
6272 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6274 * BufferView.C (removeAutoInsets): adjust
6275 (ChangeInsets): adjust
6277 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6279 * text.C (top_y): fix bug 1110
6281 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6283 * errorlist.[Ch]: added
6286 * BufferView_pimpl.C:
6287 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6290 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6292 * Makefile.am: ensure that lyx is relinked upon changes to the
6293 various "convenience" libs.
6295 2003-05-20 Angus Leeming <leeming@lyx.org>
6297 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6298 files are compiled in alphabetical order again.
6300 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6302 2003-05-19 Angus Leeming <leeming@lyx.org>
6304 * gettext.[Ch]: remove "char const * _(char const *)".
6306 2003-05-19 André Pönitz <poenitz@gmx.net>
6308 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6317 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6319 2003-05-19 André Pönitz <poenitz@gmx.net>
6323 * lyxtextclass.[Ch]:
6325 * paragraph_funcs.[Ch]:
6327 * text3.C: more insetenv work
6329 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6331 * ParagraphParameters.C (params2string): small bug fixed
6333 2003-05-16 André Pönitz <poenitz@gmx.net>
6336 * bufferview_funcs.C: patch from Kornel Benko to prevent
6337 crash when _(...) is called twice in a statement
6339 2003-05-16 André Pönitz <poenitz@gmx.net>
6346 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6348 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6350 * lyx_main.C (init): remove spurious static_cast
6352 2003-05-14 André Pönitz <poenitz@gmx.net>
6354 * BufferView.C: fix format string
6356 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6358 * BufferView.[Ch] (insertErrors): removed
6359 * BufferView.[Ch] (showErrorList): added
6360 * buffer.C (runChkTeX):
6361 * converter.C (scanLog): call showErrorList instead of inserterrors
6363 2003-05-13 André Pönitz <poenitz@gmx.net>
6365 * BufferView_pimpl.C:
6367 * bufferview_func.C:
6374 * tabular_funcs.h: tostr() from its own header
6376 * ParagraphParameters.C:
6381 * text3.C: STRCONV()
6383 2003-05-12 André Pönitz <poenitz@gmx.net>
6386 * BufferView_pimpl.C:
6390 * ParagraphParameters.C:
6394 * bufferview_funcs.C:
6407 * paragraph_funcs.C:
6411 * text3.C: boost::format -> bformat all over the place
6414 2003-05-09 André Pönitz <poenitz@gmx.net>
6416 * LColor.[Ch]: Pimpl the #include <map> away
6418 2003-05-09 John Levon <levon@movementarian.org>
6420 * bufferlist.C: never remove emergency saves
6422 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6424 * Makefile.am: better lib building
6426 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6428 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6430 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6431 (simpleTeXSpecialChars): adjust
6432 (simpleTeXSpecialChars): adjust
6433 * paragraph.C (simpleTeXOnePar): adjust
6434 * buffer.C (makeLaTeXFile): adjust
6436 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6438 * text2.C (changeDepth): parlist cleanup
6439 (getColumnNearX): ditto
6441 * rowpainter.C (getLabelFont): parlist cleanup
6443 * bufferlist.C (newFile): parlist cleanup
6445 * CutAndPaste.C (eraseSelection): parlist cleanup
6447 * BufferView_pimpl.C (trackChanges): parlist cleanup
6450 * BufferView.C (lockInset): parlist cleanup.
6451 (ChangeInsets): ditto
6453 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6455 * CutAndPaste.h: Update file header.
6457 * CutAndPaste.C: Update file header.
6458 Store the parts cut out of the Document in a limited_stack.
6459 (copySelection): adjust
6460 (pasteSelection): new function, takes the index in the limited stack.
6461 (nrOfParagraphs): adjust
6462 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6463 simplify error inset insertion.
6464 (checkPastePossible): adjust
6466 2003-05-06 John Levon <levon@movementarian.org>
6468 * text2.C: don't cast wrap inset to float
6470 2003-05-05 André Pönitz <poenitz@gmx.net>
6473 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6475 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6476 few naked Paragraph *.
6478 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6480 * bufferparams.C: Output warning if a document with missing
6481 TeX document class is loaded
6482 * exporter.C: Disable TeX exports if the document class is missing
6485 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6486 isTeXClassAvailable()
6488 2003-05-03 John Levon <levon@movementarian.org>
6491 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6492 explicit cursor show/hide
6494 * BufferView_pimpl.h:
6495 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6496 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6498 * lyxfunc.C: hide cursor before dispatching.
6503 * text3.C: remove explicit cursor hides
6505 2003-05-02 André Pönitz <poenitz@gmx.net>
6507 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6510 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6513 * text2.C: tiny whitespace
6515 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6517 * undo_funcs.C: almost only ws changes.
6519 * ParagraphList.C (splice): just return if pl is empty.
6521 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6523 * ParagraphList.C (splice): new function.
6525 * CutAndPaste.C (pasteSelection): use it
6527 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6529 * CutAndPaste.C (pasteSelection): remove the last next and
6530 previous from this file.
6532 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6534 * CutAndPaste.C (pasteSelection): more clean up, user proper
6535 ParagraphList functions for pasteing.
6537 * ParagraphList.C (insert): new function, three arg insert
6539 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6541 * ParagraphList.C (insert): new function, three arg insert
6543 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6546 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6548 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6550 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6552 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6554 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6556 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6557 (copySelection): clean up a bit.
6558 (pasteSelection): use make_pair
6560 * ParagraphList.C (ParagraphList): implement copy constructor
6561 (operator=): implement, base on copy constructor.
6564 * paragraph.C (erase): return a bool
6566 * paragraph_pimpl.C (erasePos): remove function, move contents...
6567 (erase): ... here. Return a bool.
6568 (erase): call erase instead of erasePos.
6570 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6572 * ParagraphList.h: define PitPosPair
6573 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6574 ParagraphList, fix a bug on pasting multiple pars
6575 * text2.C: change interface to C&P
6577 2003-04-30 André Pönitz <poenitz@gmx.net>
6579 * undo_func.C: revert part of yesterday's patch 2
6581 2003-04-30 John Levon <levon@movementarian.org>
6583 * LColor.C: s/tabular/table/
6585 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6587 * text3.C (dispatch): do not convert iterator -> pointer
6588 * undo_funcs.C (setCursorParUndo): ditto
6589 * text_funcs.C (transposeChars): ditto
6591 * text2.C (setLayout): ws changes only
6593 * text.C (breakParagraph): do not convert iterator -> pointer
6595 (acceptChange): ditto
6596 (rejectChange): ditto
6601 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6604 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6606 * text3.C (gotoInset): YABG (yet another bad getChar)
6608 2003-04-29 André Pönitz <poenitz@gmx.net>
6610 * paragraph.h: make operator= private unimplemented as long as
6613 * ParagraphList.C: whitespace
6616 * paragraph_pimpl.[Ch]:
6617 * paragraph_funcs.C:
6619 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6622 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6624 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6626 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6627 * paragraph.[Ch] (erase):
6628 * paragraph_pimpl.[Ch] (erase): change return type and value
6629 * text2.C (cutSelection): some rework
6631 2003-04-28 John Levon <levon@movementarian.org>
6633 * bufferlist.C: changes for unsaved changes dialog
6635 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6637 * bufferlist.C (newFile): set language (messages_) for new
6640 * buffer.C (readFile): ws changes only.
6642 2003-04-28 André Pönitz <poenitz@gmx.net>
6647 * BufferView_pimpl.C:
6648 * BufferView.C: getParFromID related ParagraphList::iterator changes
6650 2003-04-28 André Pönitz <poenitz@gmx.net>
6652 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6655 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6657 * messages.C: remove one more localedir class variable.
6659 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6661 * messages.C (getLocaleDir): singleton generation function
6663 (Messages): add a default constructor.
6665 * main.C (main): do not setup localedir here, do not call
6668 * gettext.C (_): use it.
6669 (gettext_init): delete funciton
6671 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6673 * gettext.C (getLyXMessages): new singleton generating function.
6675 * buffer.C (updateDocLang): adjust
6677 * Makefile.am (messages.o): add target
6678 (main.o): remove target
6680 2003-04-27 John Levon <levon@movementarian.org>
6685 * lyxvc.C: specify cancel button in Alert::prompt
6687 2003-04-26 John Levon <levon@movementarian.org>
6692 * LyXAction.C: add LFUN_INSET_SETTINGS
6694 * lyxfunc.C: don't enable tabular-feature when there's
6695 just any locking inset
6697 2003-04-26 John Levon <levon@movementarian.org>
6699 * bufferlist.C: re-add Cancel to buffer close question
6701 * lyxfunc.C: fix import UI a bit
6703 2003-04-25 John Levon <levon@movementarian.org>
6705 * gettext.C: remove the broken asserts for now
6707 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6709 * messages.C: make case where setlocale cannot comply work better.
6711 * buffer.C (updateDocLang): new function
6712 (changeLanguage): use it
6715 * text2.C (setCounter): use B_ a bit.
6717 * lyxlayout.C (Read): be sure to trim the label strings.
6719 * messages.C (Messages): fix typo in comment
6721 * buffer.C (readFile): set message_ after file is loaded.
6722 (makeDocBookFile): remove double return
6723 (changeLanguage): reset message_ upon language change.
6724 (B_): new func, use this to get translated buffer strings.
6726 * main.C: add myself and Jean Marc as authors.
6728 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6730 * messages.[hC]: pimplify Messages, and three different pimpls to be
6731 used in different circumstances.
6733 * gettext.[Ch]: change for use with new message code.
6735 2003-04-24 André Pönitz <poenitz@gmx.net>
6737 * factory.C: support for eqref
6739 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6741 * messages.[Ch]: add missing char
6743 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6745 * messages.[Ch]: New files
6747 2003-04-18 John Levon <levon@movementarian.org>
6751 * BufferView_pimpl.C:
6755 * text2.C: remove layout-copy/paste (bug 778)
6757 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6759 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6761 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6763 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6764 if they succeed. Act accordingly.
6766 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6768 * text2.C (setCharFont): adjust
6769 (setCounter): adjust
6770 (insertStringAsLines): adjust
6772 * text.C (leftMargin): adjust
6773 (setHeightOfRow): adjust
6775 * rowpainter.C (paintFirst): adjust
6778 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6780 (isFirstInSequence): ditto
6781 (getEndLabel): ditto
6784 * paragraph.C (getParLanguage): comment out some hard stuff.
6786 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6788 (simpleDocBookOnePar): ditto
6789 (makeDocBookFile): use ParagraphList::iterator
6791 * CutAndPaste.C (pasteSelection): adjust
6793 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6795 * text2.C (getFont): adjust
6796 (getLayoutFont): adjust
6797 (getLabelFont): adjust
6799 * paragraph_funcs.C (TeXOnePar): adjust
6801 * buffer.C (simpleLinuxDocOnePar): adjust
6802 (simpleDocBookOnePar): adjust
6804 * CutAndPaste.C (pasteSelection): adjust
6806 * BufferView.C (getEncoding): adjust
6808 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6810 2003-04-16 John Levon <levon@movementarian.org>
6812 * lyxfind.C: use parlist stuff for search/changes
6814 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6816 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6818 * text2.C (deleteEmptyParagraphMechanism): adjust
6820 * text2.[Ch] (ownerParagraph): delete func (both of them
6822 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6824 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6826 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6828 * ParagraphList.C: prepare for NO_NEXT
6830 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6832 * text2.C (getFont): adjust
6833 (getLayoutFont): adjust
6834 (getLabelFont): adjust
6836 * paragraph.C (getFont): adjust
6837 (getLabelFont): adjust
6838 (getLayoutFont): adjust
6840 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6842 2003-04-15 John Levon <levon@movementarian.org>
6846 * lyx_main.C: handle Include in .ui files
6848 2003-04-15 John Levon <levon@movementarian.org>
6850 * MenuBackend.C: make the doc files length shorter
6853 * ToolbarBackend.C: handle toolbar placement flags,
6856 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6858 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6861 * paragraph_funcs.C (TeXOnePar): adjust
6863 * paragraph.C (getLabelFont): add outerfont arg, adjust
6864 (getLayoutFont): ditto
6865 (simpleTeXOnePar): adjust
6867 * paragraph_pimpl.C (realizeFont): delete func
6869 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6871 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6872 row argument, constify cur argument.
6874 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6876 * text2.C (getFont): adjust
6877 (getLayoutFont): adjust
6878 (getLabelFont): adjust
6880 * paragraph_funcs.C (TeXOnePar): adjust
6881 (outerFont): new func...
6882 (realizeFont): ...moved out from here, changed this to facilitate
6885 * paragraph.C (getFont): take outerfont as arg, adjust
6886 (simpleTeXOnePar): add outerfont arg, adjust
6888 * buffer.C (simpleLinuxDocOnePar): adjust
6889 (simpleDocBookOnePar): adjust
6891 * CutAndPaste.C (pasteSelection): adjust
6893 * BufferView.C (getEncoding): adjust
6895 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6897 * text2.C (setCharFont): adjust
6898 (setCounter): adjust
6900 * text.C (leftMargin): adjust
6901 (setHeightOfRow): adjust
6903 * rowpainter.C (paintFirst): adjust
6906 * paragraph_pimpl.C (realizeFont): adjust
6908 * paragraph.C (isFirstInSequence): move from here...
6909 * paragraph_funcs.C (isFirstInSequence): ...to here
6911 * paragraph.C (outerHook): move from here...
6912 * paragraph_funcs.C (outerHook): ...to here
6914 * paragraph.C (depthHook): move from here...
6915 * paragraph_funcs.C (depthHook): ...to here
6917 * paragraph.C (getEndLabel): move from here...
6918 * paragraph_funcs.C (getEndLabel): ...to here
6920 * text2.C (realizeFont): move from here...
6921 * paragraph_funcs.C (realizeFont): ...to here
6923 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6925 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6927 2003-04-14 Angus Leeming <leeming@lyx.org>
6929 * LColor.[Ch]: scrap LColor mathcursor.
6931 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6933 * lyxlex.[Ch] (text): delete function
6934 * trans.C (Load): adjust
6935 * paragraph_funcs.C (readParToken): adjust
6937 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6939 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6940 vector<char> instead of a char[].
6942 * lyxlex_pimpl.C (getString): adjust
6944 (lex): use getString
6948 * lyxlex.C (text): use pimpl_->getString()
6952 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6954 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6955 (makeFontEntriesLayoutSpecific): temp var for par.size()
6956 (setLayout): temp var for ownerParagraphs().end()
6957 (fullRebreak): temp var for rows().end()
6958 (selectionAsString): temp var for boost::next(startpit), realize
6959 that the while really is a regular for loop.
6960 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6961 setCursor in one place.
6962 (setParagraph): temp vr for ownerParagraphs().end()
6963 (updateCounters): make the while loop a for loop
6964 (cutSelection): temp var for ownerParagraphs().end()
6965 (updateInset): make the do {} while() a regular for loop
6966 (getCursorX): use temp vars
6967 (setCurrentFont): use temp vars
6968 (getColumnNearX): use temp vars
6970 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6972 * text.C (transformChar): use temp var for getChar
6973 (computeBidiTables): use temp var for row->par()
6974 (fill): move temp vars for row->par() and pit->layout() earlier in
6976 (labelFill): use temp var for row->par()
6977 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6978 asc and desc, realize that pit never changes and that firstpit is
6979 just a duplicate and not needed. Exchange rit->par() with pit in a
6981 (breakAgain): use a temp var for boost::next(rit)
6982 (breakAgainOneRow): ditto
6983 (breakParagraph): use a temp var for rows().begin()
6984 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6985 (cursorRightOneWord): use temp var for cursor.par() and
6986 cursor.pos(), remove usage of tmpcursor.
6987 (cursorLeftOneWord): use temp var for cursor.par() and
6988 cursor.pos() only set cur at end of function.
6990 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6992 * text.C, text2.C: exchange all usage of Paragraph::next with
6993 boost::next(ParagraphList::iterator)
6995 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6997 * text2.C (cursorTop): simplify implementation
6998 (cursorBottom): ditto
6999 (setParagraph): use ParagraphList::iterator
7000 (setCurrentFont): adjust
7001 (getColumnNearX): adjust
7002 (cursorRight): adjust
7003 (cursorLeft): remove usage of Paragraph::previous
7004 (cursorUpParagraph): ditto
7005 (deleteEmptyParagraphMechanism): slight cleanup
7007 * text.C (isBoundary): take a Paragraph const & instead of a
7009 (addressBreakPoint): ditto
7010 (leftMargin): remove usage of Paragraph::previous.
7011 (setHeightOfRow): ditto
7012 (cursorLeftOneWord): ditto
7013 (selectNextWordToSpellcheck): ditto
7016 (breakParagraph): remove one usage of Paragraph::next
7017 (redoParagraph): ditto
7018 (acceptChange): ditto
7019 (insertChar): adjust
7020 (rowBreakPoint): adjust
7022 * bufferview_funcs.C (toggleAndShow): adjust
7024 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7026 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7027 methods to access it.
7029 * text.C: Added updateRowPositions to compute all row positions.
7030 Make top_y and getRowNearY() to use the cached y position
7032 2003-04-11 John Levon <levon@movementarian.org>
7034 * text.C (rowBreakPoint): reintroduce the labelEnd
7035 checks, code copied from the row fill stuff. Deep voodoo.
7037 * text.C (fill): add a comment and debugging for the
7040 2003-04-11 John Levon <levon@movementarian.org>
7042 * text.C: make sure fullrow insets get wrapped to the next line,
7043 even when they're in a manual label
7045 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7047 * text2.C (insertParagraph): make it take ParagraphList::iterator
7049 (setLayout): make it return ParagraphList::iterator
7050 (redoParagraphs): ditto
7052 (checkParagraph): ditto
7054 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7056 * text2.C: adjust several funcs.
7057 (realizeFont): take a ParagraphList::iterator as arg.
7058 (getLayoutFont): ditto
7059 (getLabelFont): ditto
7060 (setCharFont): ditto
7062 * text.C: adjust several funcs.
7064 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7066 * text.C (selectNextWordToSpellcheck): don't accidentally
7069 2003-04-10 John Levon <levon@movementarian.org>
7071 * ToolbarBackend.C (getIcon): special handling for
7074 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7076 * text2.C (cursorRight): a getChar assert fixed
7078 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7080 * text2.C (getFont): change to take a ParagraphList::iterator
7081 instead of Paragraph*
7082 Adjust several functions.
7084 * text.C (transformChar): change to take a ParagraphList::iterator
7085 instead of Paragraph*
7086 (singleWidth): ditto
7087 Adjust several functions.
7089 * rowpainter.C: adjust several functions
7090 * rowpainter.h:store a ParagraphList::iterator and not a
7094 2003-04-09 John Levon <levon@movementarian.org>
7099 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7100 and the "help" bits as well
7102 2003-04-09 John Levon <levon@movementarian.org>
7105 * ToolbarBackend.C: allow multiple toolbars
7107 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7109 * undo_funcs.C (setCursorParUndo): adjust
7111 * text_funcs.C (transposeChars): adjust
7113 * text3.C (gotoNextInset): adjust
7116 * text2.C (setLayout): adjust
7117 (changeDepth): adjust
7119 (redoParagraphs): adjust
7120 (selectionAsString): adjust
7121 (setParagraph): adjust
7122 (insertInset): adjust
7123 (cutSelection): adjust
7124 (copySelection): adjust
7125 (pasteSelection): adjust
7126 (insertStringAsLines): adjust
7127 (updateInset): adjust
7128 (setCursor): change to take a ParagraphList::iterator parameter
7129 (setCursorIntern): change to take a ParagraphList::iterator parameter
7130 (setCurrentFont): adjust
7131 (cursorLeft): adjust
7132 (cursorRight): adjust
7133 (deleteEmptyParagraphMechanism): adjust
7135 * text.C (breakParagraph): adjust
7136 (insertChar): adjust
7137 (acceptChange): adjust
7138 (rejectChange): adjust
7139 (selectNextWordToSpellcheck): adjust
7140 (changeCase): adjust
7144 * lyxfind.C (SearchForward): adjust
7145 (SearchBackward): adjust
7146 (nextChange): adjust
7148 * lyxcursor.C (par): adjust
7150 * lyxcursor.h: store a ParagraphList::iterator instead of a
7153 * lyx_cb.C (getPossibleLabel): adjust
7155 * bufferview_funcs.C (toggleAndShow): adjust
7157 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7160 * BufferView.C (removeAutoInsets): adjust
7161 (lockedInsetStoreUndo): adjust
7163 2003-04-09 John Levon <levon@movementarian.org>
7165 * ToolbarBackend.C: try icon without argument
7166 if with argument fails
7168 2003-04-08 John Levon <levon@movementarian.org>
7171 * ToolbarBackend.C: add getIcon(), handle tooltip,
7172 and change from "Icon" to "Item".
7174 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7176 * BufferView.C (lockInset): another bad getchar crunched
7178 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7180 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7183 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7185 * lyxfind.C (searchForward, searchBackwards): bug 782
7187 2003-04-07 John Levon <levon@movementarian.org>
7189 * paragraph.C: remove dead comment
7191 * text.C: remove troublesome depth-fiddling code
7192 in leftMargin() and rightMargin() (bug 1017)
7194 * text.C: fix breaking of rows in nested lists
7197 * text2.C (updateCounters): fix up depth values
7200 2003-04-07 John Levon <levon@movementarian.org>
7202 * BufferView_pimpl.C: clear message when doc finishes resizing,
7203 and after a mouse event
7205 * lyxfunc.C: clear message after exiting inset
7207 2003-04-07 John Levon <levon@movementarian.org>
7209 * bufferview_funcs.C: show math status not outside
7210 status in the statusbar
7212 2003-04-07 John Levon <levon@movementarian.org>
7214 * lyxfunc.C: note status changed after a depth change
7216 2003-04-04 Angus Leeming <leeming@lyx.org>
7218 * LaTeX.h: move AuxInfo operator==, != out of line.
7219 Remove LaTeX virtual destructor; nothing derives from it.
7220 Move operator()() out of public area and rename it startscript().
7221 Change protected for private.
7223 2003-04-04 Angus Leeming <leeming@lyx.org>
7226 * text2.C: remove unneeded #includes.
7228 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7230 * text2.C (dEPM): fix the heigth of the next row
7232 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7234 * text.C: squashed an invalid getChar requester + some ws changes
7236 2003-04-03 John Levon <levon@movementarian.org>
7238 * bufferview_funcs.h:
7239 * bufferview_funcs.C:
7242 * text2.C: make getStatus work for the env depth lfuns
7244 2003-04-03 John Levon <levon@movementarian.org>
7246 * bufferview_funcs.h:
7247 * bufferview_funcs.C:
7250 * text2.C: parlistize decDepth(), by merging it with incDepth()
7252 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7254 * lyxrow.h: store a ParagraphList::iterator instead of a
7255 Paragraph* and adjust other class functions to suit.
7257 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7260 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7262 * text2.C (setCursor): do not anchor to cursor row for the time being
7264 2003-04-02 John Levon <levon@movementarian.org>
7271 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7273 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7275 * paragraph.h: make ParagraphList and ParagraphList::iterator
7276 friends of Paragraph.
7278 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7280 * ParagraphList.C: Use the private next_ and previous_ from
7283 2003-04-01 John Levon <levon@movementarian.org>
7287 * Makefile.am: rename, remove defaults gunk
7290 * MenuBackend.C: remove defaults gunk
7293 * Languages.C: remove defaults gunk
7296 * lyx_main.C: error out if files couldn't be found.
7298 2003-04-02 John Levon <levon@movementarian.org>
7300 * text2.C: make incDepth() use parlist
7302 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7304 * undo_funcs.C (firstUndoParagraph): adjust
7306 * text3.C (gotoInset): adjust
7307 (dispatch): adjust, and rewrite loop.
7309 * text2.C (init): adjust, and rewrite loop.
7310 (redoParagraphs): adjust
7311 (updateInset): adjust, and rewrite loop.
7312 (deleteEmptyParagraphMechanism): adjust
7314 * tabular.C (LyXTabular): adjust
7315 (SetMultiColumn): adjust
7318 * lyxtext.[Ch] (ownerParagraph): delete function
7319 (ownerParagraphs): new function returns a ParagraphList.
7321 * BufferView.C (removeAutoInsets): adjust
7322 (insertErrors): adjust
7323 (setCursorFromRow): adjust
7325 2003-04-01 Angus Leeming <leeming@lyx.org>
7327 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7330 2003-04-02 John Levon <levon@movementarian.org>
7336 * text_funcs.C: make transposeChars a free function
7338 * lyxrow_funcs.C: remove wrong comment
7340 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7343 * rowpainter.C: adjust
7348 * lyxrow_funcs. [Ch]: new files
7350 * lyxrow.[Ch]: remove next and previous pointers
7351 (next,previous): remove accessor functions
7352 (isParEnd): move to lyxrow_funcs
7353 (lastPos): move to lyxrow_funcs
7354 (nextRowIsAllInset): move to lyxrow_funcs
7355 (lastPrintablePos): move to lyxrow_funcs
7356 (numberOfSeparators): move to lyxrow_funcs
7357 (numberOfHfills): move to lyxrow_funcs
7358 (numberOfLabelHfills): move to lyxrow_funcs
7359 (hfillExpansion): move to lyxrow_funcs
7363 * bufferview_funcs.C (toggleAndShow): adjust
7365 * RowList.h: Remove class RowList from file leave just a
7368 * RowList.C: delete file
7370 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7373 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7375 * text3.C (cursorPrevious): adjust
7376 (cursorNext): adjust
7379 * text2.C (redoHeightOfParagraph): adjust
7380 (redoDrawingOfParagraph): adjust
7383 * text.C (breakParagraph): adjust
7384 (insertChar): adjust
7387 * rowpainter.C (RowPainter): adjust
7388 (leftMargin): simplify and adjust
7389 (most rowpainter functions): adjust.
7391 * rowpainter.h: store the row as RowList::iterator not as Row*
7393 * lyxcursor.C (row): taka RowList::iterator as arg
7396 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7399 2003-04-01 Angus Leeming <leeming@lyx.org>
7401 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7402 stuff like bool Bool.
7404 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7406 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7409 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7411 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7414 * lyxtext.h (rows): drop one version and leve a const variant that
7415 returns a RowList::iterator.
7417 2003-03-31 Angus Leeming <leeming@lyx.org>
7419 * text.C (fill): ensure that the signature is the same as that in the
7422 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7424 * text2.C (redoParagraphs): adjust
7425 (updateCounters): adjust
7426 (checkParagraph): adjust
7427 (getColumnNearX): adjust and reformat a bit.
7429 * text.C (top_y): adjust
7431 (leftMargin): adjust
7432 (prepareToPrint): adjust
7434 (getRowNearY): adjust
7436 * lyxtext.h: make rowlist_ mutable.
7438 * RowList.h: add const_iterator
7439 * RowList.C: adjust for RowList::const_iterator.
7441 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7444 2003-03-31 John Levon <levon@movementarian.org>
7447 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7449 * lyx_main.C: set default fonts from using lyx_gui funcs
7451 * exporter.C: pdf_mode moved from lyxrc
7454 * lyxfunc.C: changes from above
7456 2003-03-31 John Levon <levon@movementarian.org>
7458 * lyx_main.C: fix to the last fix
7460 2003-03-31 John Levon <levon@movementarian.org>
7462 * bufferlist.C: "Load original" -> "Load Original"
7468 * format.C: more Alert cleanups
7470 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7472 * text2.C (removeParagraph): make it take a RowList::iterator as
7474 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7475 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7477 * text.C (anchor_row): make it take a RowList::iterator as arg,
7479 (computeBidiTables): make it take a const reference to Row instead
7480 of Row pointer, adjust.
7481 (leftMargin): make it take a RowList::iterator as arg, adjust.
7482 (rowBreakPoint): adjust
7483 (breakAgainOneRow): make it take a RowList::iterator as arg,
7485 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7487 * bufferview_funcs.C (toggleAndShow): adjust
7489 2003-03-30 John Levon <levon@movementarian.org>
7493 * boost-inst.C: moved to support
7495 * several files: changes as a result
7497 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7499 * text2.C (LyXText): adjust.
7501 (removeRow): make it take a RowList::iterator as arg, adjust.
7502 (fullRebreak): adjust
7503 (deleteEmptyParagraphMechanism): adjust
7504 (clearPaint): adjust
7507 * text.C (top_y): adjust
7508 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7509 (breakAgain): make it take a RowList::iterator as arg, adjust.
7510 (breakParagraph): adjust
7511 (insertChar): adjust
7514 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7515 need_break_row, and refresh_row.
7517 * text3.C (dispatch): adjust
7519 * text2.C (checkParagraph): adjust
7521 (setCursorFromCoordinates): adjust
7523 * text.C (top_y): adjust
7525 (getRow): make it return a RowList::iterator, adjust
7526 (getRowNearY): make it return a RowList::iterator, adjust
7528 * text2.C (init): adjust
7529 (insertRow): remove function
7530 (insertParagraph): adjust
7531 (redoParagraphs): adjust
7532 (fullRebreak): adjust
7533 (updateCounters): adjust
7535 * text.C (top_y): rewrite to use RowList iterators.
7537 (setHeightOfRow): rewrite to sue RowList iterators.
7538 (appendParagraph): adjust
7539 (breakAgain): adjust
7540 (breakAgainOneRow): adjust
7541 (breakParagraph): adjust
7543 (getRowNearY): adjust, and remove commented code.
7545 * lyxtext.h (firstRow): delete function
7546 (lastRow): delete function
7547 (rows): new function (const and non-const versions.)
7548 (insertRow): delete function
7550 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7552 2003-03-29 John Levon <levon@movementarian.org>
7554 * BufferView_pimpl.C: always update scrollbar top
7555 because pasting text when we're anchored could mean we
7556 miss an update altogether
7558 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7560 * text2.C (init): use rowlist_.end() and not 0.
7561 (insertRow): change to take a RowList::iterator as arg, adjust
7563 (insertParagraph): change to take a RowList::iterator as arg,
7565 (redoParagraphs): remove some debug msgs.
7567 * text.C (appendParagraph): change to take a RowList::iterator
7568 arg, adjust for this.
7569 (breakAgain): add an assert
7570 (breakAgainOneRow): ditto
7572 2003-03-29 John Levon <levon@movementarian.org>
7574 * text2.C: do not clear selection after inc/decDepth
7577 2003-03-29 John Levon <levon@movementarian.org>
7580 * buffer.C: fix broken strerrors according to Lars
7582 2003-03-29 John Levon <levon@movementarian.org>
7584 * converters.C: more Alert cleanups
7586 2003-03-29 John Levon <levon@movementarian.org>
7588 * bufferview_funcs.C: remove pointless Alert
7590 * buffer.C: fix confusing error message when
7591 a template is chmoded 000
7593 2003-03-29 John Levon <levon@movementarian.org>
7597 * BufferView_pimpl.C: Alert fixes
7601 * tabular-old.C: remove unused table compat reading
7603 2003-03-29 John Levon <levon@movementarian.org>
7608 * lyx_cb.C: more Alert cleanups
7610 * lyxfunc.C: don't allow chktex if not latex document
7612 2003-03-29 John Levon <levon@movementarian.org>
7616 * buffer.C: warnings pushed down from support/,
7619 2003-03-29 John Levon <levon@movementarian.org>
7621 * lyxfunc.C: safety check for C-r (revert)
7623 2003-03-29 John Levon <levon@movementarian.org>
7626 * bufferlist.C: several UI fixes using Alert::prompt.
7627 Fix the pointless looping quit code. Fix stupid revert
7632 * lyx_cb.C: use Alert::prompt
7634 * lyx_main.C: remove a silly question
7636 * lyxfunc.C: remove a couple of silly questions,
7639 2003-03-28 John Levon <levon@movementarian.org>
7641 * text2.C: fix bug 974 (End on empty par)
7643 2003-03-28 John Levon <levon@movementarian.org>
7645 * BufferView_pimpl.C:
7647 * lfuns.h: remove do-nothing math greek lfuns
7649 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7651 * lyxgluelength.h (isValidGlueLength): add default arg on
7652 parameter 2. Remove default arg from friend in class.
7654 * lyxlength.h (isValidLength): add default arg on parameter 2.
7655 Remove default arg from friend in class.
7657 * text2.C (LyXText): adjust, initialize refresh_row.
7661 (insertParagraph): adjst
7662 (redoParagraphs): adjust
7663 (fullRebreak): adjust
7664 (updateCounters): adjust
7665 (deleteEmptyParagraphMechanism): first attempt at fixing a
7668 * text.C (top_y): adjust
7669 (setHeightOfRow): adjust
7671 (getRowNearY): adjust
7673 * lyxtext.h: include RowList.h
7674 (~LyXText): not needed anymore, deleted.
7675 (firstRow): modify for RowList
7676 (lastRow): new function
7677 Delete firstrow and lastrow class variables, add a Rowlist
7678 rowlist_ class variable.
7680 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7683 * RowList.C (insert): fix case where it == begin().
7685 2003-03-26 Angus Leeming <leeming@lyx.org>
7687 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7688 the thesaurus dialog.
7690 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7692 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7694 * RowList.[Ch]: new files
7696 * ParagraphList.C (erase): handle the case where it == begin
7699 2003-03-25 John Levon <levon@movementarian.org>
7703 * aspell.C: add new aspell support
7706 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7709 2003-03-25 Angus Leeming <leeming@lyx.org>
7712 * LyXAction.C (init): new LFUN_INSET_INSERT.
7714 * BufferView_pimpl.C (dispatch): split out part of the
7715 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7717 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7720 2003-03-25 Angus Leeming <leeming@lyx.org>
7722 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7724 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7727 * text3.C: remove useless row->height(0)
7729 2003-03-25 John Levon <levon@movementarian.org>
7733 * text3.C: rename the refreshing stuff to better names
7735 2003-03-24 John Levon <levon@movementarian.org>
7737 * BufferView_pimpl.h:
7738 * BufferView_pimpl.C: update layout choice on a mouse
7741 2003-03-23 John Levon <levon@movementarian.org>
7743 * Makefile.am: fix commandtags.h reference
7745 2003-03-22 John Levon <levon@movementarian.org>
7747 * BufferView_pimpl.C:
7752 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7754 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7757 * text.C: take the rtl methods out of line
7759 2003-03-21 André Pönitz <poenitz@gmx.net>
7761 * metricsinfo.[Ch]: new files containing structures to be passed around
7762 during the two-phase-drawing...
7764 2003-03-21 André Pönitz <poenitz@gmx.net>
7766 * lyxtextclass.C: read 'environment' tag.
7768 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7770 * text2.C (removeRow): fix bug 964
7772 2003-03-20 John Levon <levon@movementarian.org>
7776 * text2.C: paint cleanups. Inset::update() dropped font
7779 2003-03-19 John Levon <levon@movementarian.org>
7781 * lyxfunc.C: only fitcursor/markDirty if available()
7783 2003-03-19 John Levon <levon@movementarian.org>
7785 * commandtags.h: rename to ...
7787 * lfuns.h: ... this, and renumber / cleanup
7789 2003-03-19 John Levon <levon@movementarian.org>
7791 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7792 fit the cursor after an lfun
7796 * BufferView_pimpl.h:
7797 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7799 * LyXAction.C: layout-character should have ReadOnly
7801 * ParagraphParameters.C:
7803 * bufferview_funcs.C:
7810 * undo_funcs.C: changes from above
7812 2003-03-18 John Levon <levon@movementarian.org>
7814 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7815 remove it from update()
7817 * lyxfunc.C: update layout choice after an lfun
7819 * text3.C: remove extra updateLayoutChoice()s
7821 2003-03-18 John Levon <levon@movementarian.org>
7823 * text.C: top_y change means full repaint, fix
7824 a drawing bug with cursor movement
7826 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7830 * text2.C: anchor row on setCursor
7832 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7834 * lyxtext.h: remove almost all mutable keywords
7837 * text3.C: remove const keywords accordingly
7839 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7841 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7843 (TeXEnvironment): ditto
7846 2003-03-17 John Levon <levon@movementarian.org>
7848 * text.C (rowBreakPoint): remove attempt to fix displayed
7849 math insets inside a manual label
7851 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7853 * lyxtext.h: remove BufferView* as first arg from almost all class
7855 * other files: adjust.
7857 2003-03-17 John Levon <levon@movementarian.org>
7861 * text2.C: more paint cleanups
7863 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7866 * rowpainter.C: remove "smart" background painting code
7868 2003-03-16 John Levon <levon@movementarian.org>
7873 * text3.C: add helper functions for setting refresh_row/y
7875 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7877 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7878 newline inset which *can* get inserted in the pass_thru layouts.
7879 This is primarily for literate documents.
7881 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7883 * buffer.C: increment LYX_FORMAT to 223
7885 2003-03-14 André Pönitz <poenitz@gmx.net>
7887 * textclass.h: prepare for environment handling, ws changes
7888 * lyxlayout.C: read latexheader and latexfooter tags
7890 2003-03-14 John Levon <levon@movementarian.org>
7892 * text2.C: rewrite ::status() a bit
7894 2003-03-13 John Levon <levon@movementarian.org>
7896 * lyxtext.h: add some docs
7898 2003-03-13 John Levon <levon@movementarian.org>
7903 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7905 2003-03-13 John Levon <levon@movementarian.org>
7907 * text3.C: fix appendix redrawing
7909 2003-03-13 John Levon <levon@movementarian.org>
7911 * text.C (setHeightOfRow):
7913 * rowpainter.C: make appendix mark have the text
7914 "Appendix" so the user knows what it is
7917 * LColor.C: s/appendixline/appendix/ from above
7919 2003-03-13 John Levon <levon@movementarian.org>
7921 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7923 * text.C: fix a getChar(pos) bug properly
7925 2003-03-13 Angus Leeming <leeming@lyx.org>
7928 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7929 Probably only temporary. Let's see how things pan out.
7931 * BufferView.C (unlockInset):
7932 * BufferView_pimpl.C (fitCursor):
7933 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7935 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7936 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7938 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7939 new functions that convert ParagraphParameters to and from a string.
7941 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7942 BufferView::Pimpl's dispatch.
7943 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7945 2003-03-13 André Pönitz <poenitz@gmx.net>
7949 * factory.C: make it aware of InsetEnv
7951 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7953 * text2.C (setCursor): never ask for one past last
7954 (setCursor): add some debugging messages.
7956 * text.C (singleWidth): never ask for one past last
7957 (singleWidth): ditto
7959 (rightMargin): ditto
7960 (rowBreakPoint): ditto
7961 (setHeightOfRow): ditto
7962 (prepareToPrint): ditto
7964 * rowpainter.C (paintBackground): never ask for one past last
7965 (paintText): never ask for one past last
7967 * paragraph_pimpl.C (getChar): make the assert stricter, never
7968 allow the one past last pos to be taken
7970 * paragraph.C (getChar): ws changes only
7972 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7973 (numberOfSeparators): ditto
7974 (numberOfHfills): ditto
7976 2003-03-12 John Levon <levon@movementarian.org>
7982 * paragraph_funcs.C: fix per-buffer authorlists
7984 2003-03-12 John Levon <levon@movementarian.org>
7986 * text.C: fix newline in right address
7988 2003-03-12 Angus Leeming <leeming@lyx.org>
7990 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7991 duplicate those in LyXFunc::dispatch.
7995 * ToolbarDefaults.C:
7996 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7997 Add LFUN_FONTFREE_UPDATE.
7999 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8000 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8002 * bufferview_func.[Ch]: several new functions to facilliate
8003 transfer of data to and from the character dialog.
8005 2003-03-12 John Levon <levon@movementarian.org>
8010 * paragraph_funcs.C:
8011 * paragraph_pimpl.C:
8015 * text3.C: remove META_NEWLINE in favour of an inset
8018 * rowpainter.C: remove paintNewline (done by inset)
8020 2003-03-12 John Levon <levon@movementarian.org>
8022 * paragraph_pimpl.C: complain about bad getChar()s
8023 for a while at least
8025 2003-03-12 John Levon <levon@movementarian.org>
8028 * buffer.C: move paragraph read into a separate function,
8029 a little renaming to reflect that.
8032 * bufferparams.C: remove the author_ids map, not necessary now
8035 * factory.C: moved Buffer::readInset to here
8037 * paragraph_funcs.h:
8038 * paragraph_funcs.C: readParagraph free function moved from
8041 * tabular.C: name change
8043 2003-03-12 John Levon <levon@movementarian.org>
8046 * ParagraphParameters.C: move par params input to
8049 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8050 behave like a normal read from the stream wrt reading
8051 a line vs. a \\token
8053 2003-03-12 John Levon <levon@movementarian.org>
8056 * ParagraphParameters.h:
8057 * ParagraphParameters.C: move output code to a
8060 2003-03-12 John Levon <levon@movementarian.org>
8062 * BufferView.C (insertLyXFile):
8065 * tabular.C: use a parlist iterator for creating the
8068 2003-03-12 John Levon <levon@movementarian.org>
8070 * buffer.C: make current_change static local not
8073 2003-03-12 John Levon <levon@movementarian.org>
8075 * buffer.C: fix insertStringAsLines for change tracking
8077 2003-03-12 John Levon <levon@movementarian.org>
8084 * bufferparams.C: move author list into params. Rename some
8085 functions. Move the header reading into a separate token
8086 loop. Move the header token reading into BufferParams.
8088 2003-03-12 John Levon <levon@movementarian.org>
8090 * changes.C: put debug inside lyxerr.debugging() checks
8092 2003-03-11 André Pönitz <poenitz@gmx.net>
8094 * factory.C: make it aware of InsetHFill
8096 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8098 * buffer.C (latexParagraphs): move function from here...
8099 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8102 2003-03-10 Angus Leeming <leeming@lyx.org>
8104 * LyXAction.C (init): fix bug in poplating array with multiple entries
8105 with the same LFUN (spotted by JMarc).
8107 2003-03-10 John Levon <levon@movementarian.org>
8110 * text2.C: move getColumnNearX() near its
8113 2003-03-10 John Levon <levon@movementarian.org>
8115 * text.C: fix break before a minipage
8117 2003-03-10 John Levon <levon@movementarian.org>
8119 * text.C: fix the last commit
8121 2003-03-09 John Levon <levon@movementarian.org>
8125 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8126 bug 365 (don't break before insets unless needed). Don't
8127 return a value > last under any circumstances.
8129 2003-03-09 Angus Leeming <leeming@lyx.org>
8131 * BufferView_pimpl.C (trackChanges, dispatch): call
8132 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8134 2003-03-09 Angus Leeming <leeming@lyx.org>
8136 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8137 than Dialogs::showAboutlyx().
8139 2003-03-09 Angus Leeming <leeming@lyx.org>
8141 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8142 than Dialogs::showTabularCreate().
8144 2003-03-09 John Levon <levon@movementarian.org>
8148 * text2.C: 3rd arg to nextBreakPoint was always the same.
8151 2003-03-08 John Levon <levon@movementarian.org>
8158 * text2.C: Remove the "main" bit from the "main body"
8161 2003-03-08 John Levon <levon@movementarian.org>
8163 * text.C (leftMargin): The left margin of an empty
8164 manual label paragraph should not include the label width
8167 * text.C (prepareToPrint): don't attempt to measure hfills
8168 for empty manual label paragraphs - the answer should be 0
8170 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8172 * CutAndPaste.C: remove commented code and reindent.
8174 2003-03-08 John Levon <levon@movementarian.org>
8177 * lyxfunc.C: move reloadBuffer()
8180 * BufferView.C: to here
8182 * lyxvc.C: add comment
8185 * vc-backend.C: call bv->reload() to avoid
8186 getStatus() check on MENURELOAD
8188 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8190 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8191 to an old format .dep file.
8193 2003-03-07 Angus Leeming <leeming@lyx.org>
8195 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8196 when the LFUN_MOUSE_RELEASE should have been handled by
8197 inset->localDispatch.
8199 2003-03-07 Angus Leeming <leeming@lyx.org>
8201 * BufferView_pimpl.C (dispatch):
8202 * LyXAction.C (init):
8203 * ToolbarDefaults.C (init):
8205 * lyxfunc.C (getStatus):
8206 remove LFUN_INSET_GRAPHICS.
8208 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8210 2003-03-07 Angus Leeming <leeming@lyx.org>
8213 * LyXAction.C (init):
8214 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8216 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8219 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8221 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8222 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8224 2003-03-07 Angus Leeming <leeming@lyx.org>
8226 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8229 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8231 * ParagraphList.C (front): new function
8234 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8236 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8237 and top_row_offset_. removed var first_y.
8239 * text2.C (LyXText, removeRow):
8241 * BufferView_pimpl.C:
8242 use these methods instead of using first_y
8244 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8246 * text2.C (pasteSelection): adjust for checkPastePossible
8248 * CutAndPaste.C: remove Paragraph * buf and replace with
8249 ParagraphList paragraphs.
8250 (DeleteBuffer): delete
8251 (cutSelection): change the tc type to textclass_type
8252 (copySelection): change the tc type to textclass_type
8253 (copySelection): adjust for ParagraphList
8254 (pasteSelection): change the tc type to textclass_type
8255 (pasteSelection): adjust for Paragraphlist
8256 (nrOfParagraphs): simplify for ParagraphList
8257 (checkPastePossible): simplify for ParagraphList
8258 (checkPastePossible): remove unused arg
8260 * ParagraphList.C (insert): handle the case where there are no
8263 * CutAndPaste.h: make CutAndPaste a namespace.
8265 * text3.C (dispatch): adjust
8267 * text.C (breakParagraph): add a ParagraphList as arg
8269 * paragraph_funcs.C (breakParagraph): change to take a
8270 BufferParams and a ParagraphList as args.
8271 (breakParagraphConservative): ditto
8272 (mergeParagraph): ditto
8273 (TeXDeeper): add a ParagraphList arg
8274 (TeXEnvironment): ditto
8277 * buffer.C (readLyXformat2): adjust
8278 (insertStringAsLines): adjust
8279 (latexParagraphs): adjust
8281 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8282 (cutSelection): adjust
8283 (pasteSelection): adjust
8285 * BufferView_pimpl.C (insertInset): adjust
8287 2003-03-05 Angus Leeming <leeming@lyx.org>
8290 * LyXAction.C (init):
8291 * BufferView_pimpl.C (dispatch):
8292 * lyxfunc.C (getStatus):
8293 remove LFUN_CHILD_INSERT.
8295 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8297 2003-03-05 Angus Leeming <leeming@lyx.org>
8300 * LyXAction.C (init):
8301 * src/factory.C (createInset):
8302 * lyxfunc.C (getStatus):
8303 * text3.C (dispatch):
8304 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8306 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8308 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8310 * ParagraphList.C (insert): handle insert right before end()
8311 (erase): fix cases where it can be first or last paragraph.
8313 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8315 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8316 Paragraph::next and Paragraph::previous
8319 * text.C (breakParagraph): adjust
8321 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8322 BufferParams& as arg.
8323 (breakParagraph): use ParagraphList::insert
8324 (breakParagraphConservative): take a Buffer* instead of a
8325 BufferParams& as arg.
8326 (breakParagraphConservative): use ParagraphList::insert.
8328 * buffer.C (insertStringAsLines): un-const it
8329 (insertStringAsLines): adjust
8331 * ParagraphList.C (insert): new function
8333 * CutAndPaste.C (pasteSelection): adjust
8335 * text.C (backspace): adjust
8337 * tabular.C (SetMultiColumn): adjust
8339 * CutAndPaste.C (cutSelection): adjust
8340 (pasteSelection): adjust
8342 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8343 Buffer const * as arg
8345 * ParagraphList.C (erase): new function
8346 * paragraph_funcs.C (mergeParagraph): use it
8347 (mergeParagraph): make it take a Buffer* instead of a
8348 BufferParams* as arg
8350 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8352 (breakParagraphConservative): ditto
8354 * paragraph.h: remove the breakParagraph friend
8356 * paragraph.C (eraseIntern): new function
8357 (setChange): new function
8359 * paragraph_funcs.C (mergeParagraph): make it take a
8360 ParagraphList::iterator instead of a Paragraph *, adjust
8363 * paragraph.h: move an #endif so that the change tracking stuff
8364 also works in the NO_NEXT case.
8366 2003-03-04 Angus Leeming <leeming@lyx.org>
8369 * LyXAction.C: new LFUN_INSET_MODIFY.
8371 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8372 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8374 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8376 * several files: ws changes only
8378 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8379 (TeXEnvironment): ditto
8382 * buffer.C (makeLaTeXFile): adjust
8383 (latexParagraphs): make it take ParagraphList::iterator as args
8385 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8387 * buffer.C (latexParagraphs): adjust
8389 * paragraph.C (TeXOnePar): move function...
8390 (optArgInset): move function...
8391 (TeXEnvironment): move function...
8392 * paragraph_pimpl.C (TeXDeeper): move function...
8393 * paragraph_funcs.C: ...here
8395 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8397 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8399 * buffer.C (readInset): remove compability code for old Figure and
8402 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8404 * buffer.C: ws changes
8407 * BufferView_pimpl.C: ditto
8410 * bufferlist.h: ditto
8414 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8416 * converter.[Ch]: split into itself +
8419 * Makefile.am: += graph.[Ch] + format.[Ch]
8426 * lyxrc.C: added #include "format.h"
8428 2003-02-27 Angus Leeming <leeming@lyx.org>
8430 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8433 * factory.C (createInset): add "label" to the factory.
8435 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8436 string and do no more.
8438 2003-02-27 Angus Leeming <leeming@lyx.org>
8441 * LyXAction.C (init):
8442 * factory.C (createInset):
8443 * BufferView_pimpl.C (dispatch):
8444 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8446 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8448 * lyxfunc.C (dispatch):
8449 * text3.C (dispatch): pass name to params2string.
8451 2003-02-26 Angus Leeming <leeming@lyx.org>
8453 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8455 Rearrange the ~includes. Strip out the unnecessary ones.
8457 * factory.C (createInset): reformat.
8458 create new insets for the various LFUN_XYZ_APPLY lfuns.
8460 2003-02-26 John Levon <levon@movementarian.org>
8463 * lyxrow.C: add isParStart,isParEnd helpers
8465 * paragraph.h: make isInserted/DeletedText take refs
8467 * paragraph_funcs.h:
8468 * paragraph_funcs.C: remove #if 0'd code
8473 * text.C: use lyxrow helpers above.
8474 Move draw and paint routines to RowPainter.
8475 Make several methods use refs not pointers.
8476 Make backgroundColor() const.
8477 Add markChangeInDraw(), isInInset().
8478 Merge changeRegionCase into changeCase.
8479 Make workWidth() shouldn't-happen code into an Assert.
8482 * rowpainter.C: new class for painting a row.
8485 * vspace.C: make inPixels take a ref
8487 2003-02-26 Angus Leeming <leeming@lyx.org>
8489 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8492 2003-02-25 John Levon <levon@movementarian.org>
8494 * ispell.C: give the forked command a more accurate name
8496 2003-02-22 John Levon <levon@movementarian.org>
8499 * toc.C: make TocItem store an id not a Paragraph *
8502 2003-02-21 Angus Leeming <leeming@lyx.org>
8504 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8505 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8506 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8507 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8508 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8509 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8511 * BufferView_pimpl.C (dispatch):
8512 * LyXAction.C (init):
8513 * factory.C (createInset):
8514 * lyxfunc.C (getStatus, dispatch):
8515 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8517 2003-02-21 Angus Leeming <leeming@lyx.org>
8519 * BufferView_pimpl.C (MenuInsertLyXFile):
8520 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8521 * lyxfunc.C (menuNew, open, doImport):
8522 no longer pass a LyXView & to fileDlg.
8524 2003-02-21 Angus Leeming <leeming@lyx.org>
8526 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8527 * LyXAction.C: change, BIBKEY to BIBITEM.
8528 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8529 Change InsetBibKey to InsetBibitem.
8530 Change BIBKEY_CODE to BIBITEM_CODE.
8531 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8532 * factory.C: replace insetbib.h with insetbibitem.h.
8533 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8534 * paragraph.C: replace insetbib.h with insetbibitem.h.
8535 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8536 Change bibkey() to bibitem().
8537 * text.C: remove insetbib.h.
8538 * text2.C: replace insetbib.h with insetbibitem.h.
8539 change bibkey() to bibitem().
8540 * text3.C: remove insetbib.h.
8541 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8543 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8545 * lyxrc.C (output): enclose user email in quotes (in case there are
8548 2003-02-18 John Levon <levon@movementarian.org>
8550 * buffer.h: add std::
8552 2003-02-17 John Levon <levon@movementarian.org>
8558 * pspell.C: reworking. Especially in ispell, a large
8559 number of clean ups and bug fixes.
8561 * lyxfunc.C: fix revert to behave sensibly
8563 2003-02-17 André Pönitz <poenitz@gmx.net>
8566 * commandtags.h: new LFUN_INSERT_BIBKEY
8576 * paragraph_func.C: remove special bibkey handling
8578 2003-02-17 John Levon <levon@movementarian.org>
8580 * text.C (Delete): fix case where delete at the end of
8581 the very first paragraph would not merge the pars
8583 2003-02-17 John Levon <levon@movementarian.org>
8585 * lyxrow.C: fix lastPrintablePos()
8587 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8589 * bufferparams.C (writeLaTeX): add a std:here
8591 * buffer.C: and remove a using directive there
8593 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8595 * buffer.C (makeLaTeXFile): move the code that generates the
8598 * bufferparams.C (writeLaTeX): ... in this new method
8600 * LaTeXFeatures.C (getEncodingSet): make const
8601 (getLanguages): make const
8603 * MenuBackend.C (binding): returns the binding associated to this
8605 (add): sets the status of each item by calling getStatus. Adds
8607 (read): add support for OptSubMenu
8608 (expand): remove extra separator at the end of expanded menu
8610 2003-02-15 John Levon <levon@movementarian.org>
8613 * BufferView_pimpl.C:
8615 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8616 inset code that had no actual effect. Remove unneeded status
8619 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8621 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8624 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8626 * text.C (drawLengthMarker): also draw an arrow marker for
8627 symbolic lengths (medskip...)
8629 2003-02-14 John Levon <levon@movementarian.org>
8632 * tabular.C: better method names
8634 2003-02-14 John Levon <levon@movementarian.org>
8636 * BufferView_pimpl.C:
8641 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8642 it's a more accurate name. Remove some pointless uses.
8644 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8646 * text2.C (LyXText): change order of initilizers to shut off
8649 2003-02-14 John Levon <levon@movementarian.org>
8651 * buffer.C: use ParIterator for getParFromID()
8655 * paragraph_pimpl.h:
8656 * paragraph_pimpl.C: remove unused getParFromID()
8658 2003-02-14 John Levon <levon@movementarian.org>
8660 * buffer.C: remove some very old #if 0'd parse code
8662 2003-02-13 John Levon <levon@movementarian.org>
8666 * text2.C: move hfillExpansion(), numberOfSeparators(),
8667 rowLast(), rowLastPrintable(), numberofHfills(),
8668 numberOfLabelHfills() ...
8671 * lyxrow.C: ... to member functions here.
8676 * text.C: remove LyXText::beginningOfMainBody(), and call
8677 p->beginningOfMainBody() directly. Move the check for
8678 LABEL_MANUAL into the latter.
8685 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8691 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8692 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8694 2003-02-13 John Levon <levon@movementarian.org>
8696 * CutAndPaste.C: remove debug
8698 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8700 * paragraph.C (asString): remove two unused variables
8702 * lyxtextclass.C (readTitleType):
8704 (LyXTextClass): handle new members titletype_ and titlename_
8706 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8708 2003-02-09 John Levon <levon@movementarian.org>
8711 * buffer.C: replace hand-coded list with a map for the dep clean
8713 2003-02-08 John Levon <levon@movementarian.org>
8715 * LaTeX.C: consolidate code into showRunMessage() helper
8717 2003-02-08 John Levon <levon@movementarian.org>
8722 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8723 and pass the size in explicitly
8725 * BufferView_pimpl.h:
8726 * BufferView_pimpl.C:
8728 * BufferView.C: add getCurrentChange()
8730 * BufferView_pimpl.h:
8731 * BufferView_pimpl.C: handle change lfuns
8733 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8734 for changes. Mark pasted paragraphs as new.
8736 * support/lyxtime.h:
8737 * support/lyxtime.C:
8738 * DepTable.C: abstract time_t as lyx::time_type
8741 * LColor.C: add colours for new text, deleted text, changebars
8743 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8744 package use "usenames" option.
8748 * LyXAction.C: add change lfuns
8752 * author.C: author handling
8755 * buffer.C: add a per-buffer author list, with first entry as
8756 current author. Handle new .lyx tokens for change tracking. Output
8757 author list to .lyx file. Output dvipost stuff to .tex preamble.
8758 Bump lyx format to 222.
8761 * bufferlist.C: add setCurrentAuthor() to reset current author details
8765 * bufferparams.C: add param for tracking
8767 * bufferview_funcs.C: output change info in minibuffer
8771 * changes.C: add change-tracking structure
8774 * debug.C: add CHANGES debug flag
8777 * lyxfind.C: add code for finding the next change piece
8780 * lyxrc.C: add user_name and user_email
8783 * lyxrow.C: add a metric for the top of the text line
8786 * text.C: implement accept/rejectChange()
8789 * text.C: paint changebars. Paint new/deleted text in the chosen
8790 colours. Strike through deleted text.
8794 * paragraph_pimpl.h:
8795 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8796 in the current change to the insert functions. Rework erase to
8797 mark text as deleted, adding an eraseIntern() and a range-based
8798 erase(). Implement per-paragraph change lookup and
8801 * paragraph_funcs.C: Fixup paste for change tracking.
8803 * tabular.C: mark added row/columns as new.
8805 * text.C: fix rowLast() to never return -1. Don't allow
8806 spellchecking of deleted text. Track transpose changes. Don't
8807 allow paragraph break or merge where appropriate.
8809 * text2.C: leave cursor at end of selection after a cut.
8811 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8813 * text.C (getLengthMarkerHeight):
8814 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8815 visible on screen too.
8817 2003-02-07 John Levon <levon@movementarian.org>
8819 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8821 2003-02-05 Angus Leeming <leeming@lyx.org>
8823 * lyxserver.C (read_ready): revert my patch of 11 September last year
8824 as it sends PC cpu through the roof. Presumably this means that
8825 the lyxserver will no longer run on an Alpha...
8827 2003-01-30 Angus Leeming <leeming@lyx.org>
8829 * factory.C (createInset): create an InsetCommandParam of type "index"
8830 and use it to 'do the right thing'.
8832 * text2.C (getStringToIndex): ensure that cursor position is always
8833 reset to the reset_cursor position.
8835 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8837 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8840 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8844 * lyxfunc.C: Output messages with identical spelling, punctuation,
8847 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8849 * MenuBackend.C (expandFormats): List only viewable export formats
8852 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8855 * lyxfunc.C (getStatus): Make sure that formats other than
8856 "fax" can also be disabled
8858 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8860 * text3.C (dispatch): put the lfuns that insert insets in 3
8861 groups, and call doInsertInset with appropriate arguments.
8862 (doInsertInset): new function, that creates an inset and inserts
8863 it according to some boolean parameters.
8865 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8867 * buffer.C (readFile): remember to pass on 'par' when calling
8868 readFile recursively.
8870 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8872 * MenuBackend.C (expandFormats): add "..." to import formats.
8874 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8876 * paragraph.C (asString): Remove XForms RTL hacks.
8878 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8879 * buffer.C: fix typo
8881 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8883 * Makefile.am (LIBS): delete var
8884 (lyx_LDADD): add @LIBS@ here instead.
8886 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8888 * Clarify the meaning of "wheel mouse jump"
8890 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8892 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8895 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8897 * importer.C (Loaders): do not preallocate 3 elements in the
8898 vector, since one ends up with 6 elements otherwise
8900 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8902 * DepTable.C (write): write the file name as last element of the
8903 .dep file (because it may contain spaces)
8904 (read): read info in the right order
8906 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8908 * paragraph_pimpl.C (simpleTeXBlanks):
8909 (simpleTeXSpecialChars):
8910 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8912 * tabular.C (latex): add some missing case statements. Reindent.
8914 * MenuBackend.C (expandToc): remove unused variable.
8916 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8925 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8928 2003-01-05 John Levon <levon@movementarian.org>
8931 * BufferView.C: add getEncoding()
8934 * kbsequence.C: do not store last keypress
8937 * lyxfunc.C: store last keypress here instead. Pass encoding
8940 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8942 * lyx_main.C (init): remove annoying error message when following
8943 symbolic links (bug #780)
8945 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8947 * text.C (insertChar):
8948 * lyxrc.C (getDescription): remove extra spaces
8950 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8952 * lyxrc.C (getDescription): remove extra spaces
8954 2002-12-20 John Levon <levon@movementarian.org>
8956 * text3.C: hack fix for page up/down across tall rows
8958 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8960 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8963 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8965 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8966 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8967 thesaurus is not compiled in
8969 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8971 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8973 2002-12-16 Angus Leeming <leeming@lyx.org>
8976 * lyx_main.C (init): remove override_x_deadkeys stuff.
8978 2002-12-12 John Levon <levon@movementarian.org>
8980 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8981 insert. Only remove shift modifier under strict
8984 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8986 * MenuBackend.C (expandToc): fix crash.
8988 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8990 * MenuBackend.C (expandToc): gettext on float names.
8992 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8994 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8995 implement bool empty() [bug 490]
8997 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8999 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9001 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9003 * several files: ws changes
9005 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9007 * text2.C (setCounter): clean up a bit, use boost.format.
9008 (updateCounters): initialize par upon declaration.
9010 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9011 if the layout exists. We do not just store the layout any more.
9012 (SwitchLayoutsBetweenClasses): use boost.format
9014 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9016 * converter.C (convert): if from and to files are the same, use a
9017 temporary files as intermediary
9019 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9022 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9024 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9026 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9028 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9030 * tabular.C (asciiPrintCell): use string(size, char) instead of
9033 * sgml.C (openTag): fix order of arguments to string constructor
9036 * lyxfunc.C (dispatch): use boost.format
9038 * lots of files: change "c" -> 'c'
9040 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9042 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9044 2002-11-25 Angus Leeming <leeming@lyx.org>
9046 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9048 * lyx_main.C (init): compile fix.
9050 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9052 * lyx_cb.C (start): boost.formatify
9053 do not include <iostream>
9055 * lengthcommon.C: ws only
9057 * boost-inst.C,BoostFormat.h: add more explict instantations
9059 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9061 * lots of files: handle USE_BOOST_FORMAT
9063 2002-11-21 John Levon <levon@movementarian.org>
9065 * pspell.C: fix compile
9067 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9069 * lyxfunc.C (dispatch): use boost::format
9073 * lyxfont.C (stateText): use boost::format
9075 * lyx_main.C (LyX): use boost::format
9077 (queryUserLyXDir): ditto
9080 (typedef boost::function): use the recommened syntax.
9082 * importer.C (Import): use boost::format
9084 * debug.C (showLevel): use boost::format
9086 * converter.C (view): use boost::format
9091 * bufferview_funcs.C (currentState): use boost::format
9093 * bufferlist.C (emergencyWrite): use boost::format
9095 * buffer.C (readLyXformat2): use boost::format
9096 (parseSingleLyXformat2Token): ditto
9098 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9100 * LaTeX.C (run): use boost::format
9102 * Chktex.C (scanLogFile): use boost::format
9104 * BufferView_pimpl.C (savePosition): use boost::format
9105 (restorePosition): ditto
9106 (MenuInsertLyXFile): ditto
9108 * BoostFormat.h: help file for explicit instation.
9110 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9112 * tabular.C (latex): Support for block alignment in fixed width
9115 2002-11-17 John Levon <levon@movementarian.org>
9117 * BufferView_pimpl.C:
9119 * lyxfunc.C: split filedialog into open/save
9121 2002-11-08 Juergen Vigna <jug@sad.it>
9123 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9124 by my last patch (hopefully).
9126 2002-11-08 John Levon <levon@movementarian.org>
9135 * toc.C: ParConstIterator, and use it (from Lars)
9137 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9139 * lyxtextclass.[Ch]: revise and add doxygen comments
9141 2002-11-07 John Levon <levon@movementarian.org>
9143 * text.C: fix progress value for spellchecker
9145 * toc.C: fix navigate menu for insetwrap inside minipage
9147 * paragraph_funcs.C: added FIXME for suspect code
9149 2002-11-07 John Levon <levon@movementarian.org>
9151 * BufferView_pimpl.C: fix redrawing of insets
9154 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9156 * text2.C (updateCounters): fix bug 668
9158 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9160 * text3.C (dispatch): Do not make the buffer dirty when moving the
9163 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9165 * vc-backend.C: STRCONV
9168 * text2.C (setCounter): STRCONV
9170 * paragraph.C (asString): STRCONV
9172 * lyxlength.C (asString): STRCONV
9173 (asLatexString): ditto
9175 * lyxgluelength.C (asString): STRCONV
9176 (asLatexString): ditto
9178 * lyxfunc.C (dispatch): STRCONV
9181 * lyxfont.C (stateText): STRCONV
9183 * importer.C (Import): STRCONV
9185 * counters.C (labelItem): STRCONV
9186 (numberLabel): ditto
9187 (numberLabel): remove unused ostringstream o
9192 * bufferview_funcs.C (currentState): STRCONV
9194 * buffer.C (readFile): STRCONV
9195 (asciiParagraph): ditto
9196 (makeLaTeXFile): ditto
9198 * Spacing.C (writeEnvirBegin): STRCONV
9200 * LaTeXFeatures.C (getLanguages): STRCONV
9201 (getPackages): ditto
9203 (getBabelOptions): ditto
9204 (getTClassPreamble): ditto
9205 (getLyXSGMLEntities): ditto
9206 (getIncludedFiles): ditto
9210 (scanAuxFile): ditto
9213 * LString.h: add the STRCONV macros
9215 * BufferView_pimpl.C (savePosition): STRCONV
9216 (restorePosition): ditto
9217 (MenuInsertLyXFile): ditto
9219 * vc-backend.C (scanMaster): change from submatch[...] to
9222 * funcrequest.C: include config.h
9224 * factory.C: include config.h
9226 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9228 * box.C: include config.h
9230 * LaTeX.C (scanAuxFile): change from submatch[...] to
9234 2002-10-25 Angus Leeming <leeming@lyx.org>
9236 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9238 * ispell.[Ch] (setError): new method.
9239 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9240 Use setError() insetead of goto END.
9242 * lyx_cb.C (AutoSave): move out child process into new class
9245 2002-10-30 John Levon <levon@movementarian.org>
9247 * text3.C: make start appendix undoable
9249 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9251 * lyxlength.C (inPixels): Fix returned value.
9253 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9256 2002-10-24 Angus Leeming <leeming@lyx.org>
9258 * lyxgluelength.h: no need to forward declare BufferParams
9259 or BufferView, so don't.
9261 2002-10-21 John Levon <levon@movementarian.org>
9263 * BufferView.C: menuUndo ->undo, redo
9265 * BufferView.h: document, remove dead, make some methods private
9267 * paragraph_funcs.h:
9268 * paragraph_funcs.C:
9269 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9274 * sgml.C: move sgml open/close tag into sgml.C
9276 * bufferview_funcs.h: unused prototype
9279 * lyxfunc.C: remove unused
9282 * text.C: remove unused
9284 2002-10-21 John Levon <levon@movementarian.org>
9288 * BufferView_pimpl.h:
9289 * BufferView_pimpl.C: fix mouse wheel handling based on
9290 patch from Darren Freeman
9292 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9294 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9296 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9298 * lyxlength.C (inPixels): Fix hanfling of negative length.
9299 Fix LyXLength::MU case.
9301 2002-10-16 John Levon <levon@movementarian.org>
9303 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9305 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9307 * converter.C (view): add support for $$i (file name) and $$p
9308 (file path) for the viewer command. If $$i is not specified, then
9309 it is appended to the command (for compatibility with old syntax)
9311 2002-10-14 Juergen Vigna <jug@sad.it>
9313 * undo_funcs.C (textHandleUndo): alter the order in which the
9314 new undopar is added to the LyXText, as we have to set first
9315 the right prev/next and then add it as otherwise the rebuild of
9316 LyXText is not correct. Also reset the cursor to the right paragraph,
9317 with this IMO we could remove the hack in "redoParagraphs()".
9319 2002-10-09 Angus Leeming <leeming@lyx.org>
9321 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9322 to turn off an optimisation if a new inset is to be inserted.
9324 2002-10-11 André Pönitz <poenitz@gmx.net>
9326 * lyxtext.h: make some functions public to allow access
9327 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9329 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9331 * text3.C (dispatch): when changing layout, avoid an infinite loop
9334 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9336 * lyxrc.C (read): treat a viewer or converter command of "none" as
9339 * MenuBackend.C (expandFormats): for an update, also allow the
9340 formats that are not viewable
9342 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9343 script if it is newer than the lyxrc.defaults in user directory
9345 2002-10-07 André Pönitz <poenitz@gmx.net>
9347 * text.C: Vitaly Lipatov's small i18n fix
9349 2002-09-25 Angus Leeming <leeming@lyx.org>
9351 * ispell.h: doxygen fix.
9353 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9355 * buffer.h (readFile): Add a new argument to the method, to allow
9356 reading of old-format templates.
9358 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9360 * toc.C (getTocList): Get TOC from InsetWrap.
9362 2002-09-16 John Levon <levon@movementarian.org>
9364 * lyxfunc.C: check tabular for cut/copy too
9366 2002-09-12 John Levon <levon@movementarian.org>
9371 * factory.C: add header
9373 * paragraph_funcs.h:
9374 * paragraph_funcs.C: cleanup
9376 2002-09-11 John Levon <levon@movementarian.org>
9378 * PrinterParams.h: odd/even default to true
9380 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9382 * PrinterParams.h: update printer parameters for new xforms dialog
9384 2002-09-11 Angus Leeming <leeming@lyx.org>
9386 * lyxserver.C (read_ready): re-write to make it more transparent
9387 and to make it work in coherent fashion under Tru64 Unix.
9389 2002-09-11 André Pönitz <poenitz@gmx.net>
9393 * text3.C: implement LFUN_WORDSEL
9395 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9397 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9398 make floatlist_ a boost::shared_ptr<FloatList>
9400 * lyxtextclass.C: include FloatList.h
9401 (LyXTextClass): initialize floatlist_
9402 (TextClassTags): add TC_NOFLOAT
9403 (Read): match "nofloat" to TC_NOFLOAT and use it.
9404 (readFloat): modify call to floatlist_
9408 * FloatList.[Ch] (FloatList): remove commented out float
9410 (erase): new function
9412 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9414 * MenuBackend.C (expandToc): fix crash when there is no document
9417 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9419 * many files: Add insetwrap.
9421 2002-09-09 John Levon <levon@movementarian.org>
9423 * text2.C: remove confusing and awkward depth wraparound
9425 2002-09-09 John Levon <levon@movementarian.org>
9427 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9430 * buffer.C: remove getIncludeonlyList()
9433 * lyxfunc.C: remove headers
9435 2002-09-09 Juergen Vigna <jug@sad.it>
9437 * text.C (getColumnNearX): fix form Michael this is most
9438 probably a cut&paste bug.
9440 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9442 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9444 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9445 references, ws changes.
9447 * text2.C (init): update counters after init
9448 (insertParagraph): no need to set counter on idividual paragraphs.
9449 (setCounter): access the counters object in the textclass object
9450 on in the buffer object.
9451 (updateCounters): ditto
9453 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9454 shared_ptr<Counters> to avoid loading counters.h in all
9456 (LyXTextClass): initialize ctrs_
9457 (TextClassTags): add TC_COUNTER, and ...
9458 (Read): use it here.
9459 (CounterTags): new tags
9460 (readCounter): new function
9461 (counters): new funtion
9462 (defaultLayoutName): return a const reference
9464 * counters.C (Counters): remove contructor
9465 (newCounter): remove a couple of unneeded statements.
9466 (newCounter): simplify a bit.
9467 (numberLabel): some small formatting changes.
9469 * buffer.[Ch]: remove all traces of counters, move the Counters
9470 object to the LyXTextClass.
9472 2002-09-06 Alain Castera <castera@in2p3.fr>
9474 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9475 package to set the horizontal alignment on fixed width columns.
9478 * lyx_sty.h: added tabularnewline macro def.
9480 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9482 2002-09-06 John Levon <levon@movementarian.org>
9484 * LyXAction.C: tooltips for sub/superscript
9486 * MenuBackend.C: a bit more verbose
9488 * lyxfunc.C: tiny clean
9490 * undo_funcs.C: document undo_frozen
9492 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9494 * counters.C (Counters): add missing algorithm counter.
9496 * text2.C (setCounter): lookup the counter with layouts latexname
9497 instead of by section number.
9498 (setCounter): use a hackish way to lookup the correct enum
9500 a float name->type change
9501 reset enum couners with counter name directly instead of depth value.
9503 * counters.C (Counters): remove the push_backs, change to use the
9504 float type not the float name.
9505 (labelItem): remove unused string, float name->type change
9507 * counters.h: don't include vector, loose the enums and sects vectors
9509 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9511 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9512 (Read): add float->TC_FLOAT to textclassTags
9513 (Read): and handle it in the switch
9514 (readFloat): new function
9516 * FloatList.C (FloatList): comment out the hardcoded float
9519 * lyxlayout.h: ws change.
9521 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9523 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9525 2002-09-03 Angus Leeming <leeming@lyx.org>
9527 * BufferView_pimpl.h: qualified name is not allowed in member
9528 declaration: WorkArea & Pimpl::workarea() const;
9530 * factory.C: added using std::endl directive.
9532 * text3.C: added using std::find and std::vector directives.
9534 2002-08-29 André Pönitz <poenitz@gmx.net>
9537 * text2.C: remove unused member number_of_rows
9540 * BufferView2.C: remove file, move contents to...
9541 * BufferView.C: ... here
9543 * BufferView_pimpl.C:
9544 * factory.C: move more inset creation to factory
9546 * vspace.C: avoid direct usage of LyXText, ws changes
9549 don't provide direct access to WorkArea, use two simple
9550 acessors haveSelction() and workHeight() instead
9553 2002-08-29 John Levon <levon@movementarian.org>
9555 * BufferView_pimpl.C (dispatch): do not continue when
9558 2002-08-28 André Pönitz <poenitz@gmx.net>
9560 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9563 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9565 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9567 * buffer.C: increment LYX_FORMAT to 221
9569 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9570 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9572 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9574 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9576 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9578 * factory.C (createInset): use LyXTextClass::floats
9580 * MenuBackend.C (expandFloatListInsert):
9581 (expandFloatInsert):
9584 * text2.C (setCounter):
9586 * LaTeXFeatures.C (useFloat):
9587 (getFloatDefinitions):
9589 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9591 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9592 floatlist_, with accessor floats().
9594 * FloatList.h: remove global FloatList
9596 2002-08-26 André Pönitz <poenitz@gmx.net>
9598 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9602 * BufferView_pimpl.C:
9603 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9605 2002-08-25 John Levon <levon@movementarian.org>
9607 * LyXAction.C: fix margin note description
9609 2002-08-24 John Levon <levon@movementarian.org>
9613 * bufferview_funcs.C:
9615 * undo_funcs.C: cleanups
9617 * lyxfunc.C: disable CUT/COPY when no selection
9619 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9621 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9622 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9624 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9625 Add backward compatibility to "mono", "gray" and "no".
9627 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9629 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9630 (and file_format >= 200).
9632 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9634 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9636 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9638 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9640 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9642 * BufferView_pimpl.C:
9649 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9650 inset and code to make it work with the paragraph code. The inset
9651 can be anywhere in the paragraph, but will only do the expected
9652 thing in LaTeX if the layout file contains the parameter line
9654 (or more generally, a nonzero value) for that layout.
9656 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9658 * paragraph.h: remove the declaration of undefined counters class
9661 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9663 * text2.C (setCounter): fixed enumeration mis-count as reported by
9664 Dr. Richard Hawkins.
9666 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9668 * paragraph_funcs.h: remove some unneeded includes
9670 * text.C (backspace): pasteParagraph now in global scipe
9672 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9673 (pasteSelection): ditto
9675 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9676 * paragraph_funcs.C (pasteParagraph): ... here
9678 2002-08-20 André Pönitz <poenitz@gmx.net>
9680 * commandtags.h: new LFUNs for swapping/copying table row/colums
9683 * lyxfunc.C: support for new lfuns
9685 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9688 * buffer.[Ch]: remove NO_COMPABILITY stuff
9690 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9692 * boost.C (throw_exception): new file, with helper function for
9693 boost compiled without exceptions.
9698 * ParameterStruct.h:
9699 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9701 * bufferlist.C (emergencyWriteAll): use boost bind
9703 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9705 * text.C: include paragraph_funcs.h
9706 (breakParagraph): breakParagraph is now in global scope
9708 * paragraph_funcs.[Ch]: new files
9710 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9713 * buffer.C: include paragraph_funcs.h
9714 (insertStringAsLines): breakParagraph is now in global scope
9716 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9719 * CutAndPaste.C: include paragraph_funcs.h
9720 (cutSelection): breakParagraphConservative is now in global scope
9721 (pasteSelection): ditto
9723 * buffer.h: declare oprator== and operator!= for
9724 Buffer::inset_iterator
9726 * bufferlist.C (emergencyWrite): don't use fmt(...)
9728 * text3.C: add using std::endl
9730 * BufferView.C (moveCursorUpdate): remove default arg
9732 2002-08-20 André Pönitz <poenitz@gmx.net>
9734 * buffer.[Ch]: move inline functions to .C
9737 * BufferView_pimpl.C:
9739 * buffer.[Ch]: use improved inset_iterator
9742 * paragraph.[Ch]: write one paragraph at a time
9744 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9746 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9747 style if style is not specified.
9749 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9751 * text2.C (setCounter): when searching for right label for a
9752 caption, make sure to recurse to parent insets (so that a caption
9753 in a minipage in a figure float works) (bug #568)
9755 2002-08-20 André Pönitz <poenitz@gmx.net>
9757 * text3.C: new file for LyXText::dispatch() and helpers
9759 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9761 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9763 2002-08-19 André Pönitz <poenitz@gmx.net>
9766 * text.C: new LyXText::dispatch()
9768 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9770 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9772 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9774 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9777 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9779 * Makefile.am: use $(variables) instead of @substitutions@
9781 2002-08-15 André Pönitz <poenitz@gmx.net>
9784 * BufferView_pimpl.C: streamlining mathed <-> outer world
9788 * LyXAction.C: remove unused LFUN_MATH
9790 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9792 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9794 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9796 * paragraph.C (Paragraph): reformat a bit
9797 (cutIntoMinibuffer): use builtin InsetList function instad of
9801 * buffer.C: include boost/bind.hpp, add using std::for_each
9802 (writeFileAscii): use ParagraphList iterators
9803 (validate): use for_each for validate traversal of paragraphs
9804 (getBibkeyList): use ParagraphList iterators
9805 (resizeInsets): use for_each to resizeInsetsLyXText for all
9807 (getParFromID): use ParagraphList iterators
9809 * BufferView2.C (lockInset): use paragraph list and iterators
9811 2002-08-14 John Levon <levon@movementarian.org>
9813 * lyxserver.C: remove spurious xforms include
9815 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9817 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9819 2002-08-13 André Pönitz <poenitz@gmx.net>
9822 * lyxfunc.C: further cleaning
9824 2002-08-13 André Pönitz <poenitz@gmx.net>
9826 * funcrequest.h: new constructor
9828 * funcrequest.C: move stuff here from .h
9831 * BufferView_pimpl.C:
9834 * lyxfunc.C: subsequent changes
9836 * lyxfunc.h: new view() member function
9838 * lyxfunc.C: subsequent changes
9840 2002-08-13 Angus Leeming <leeming@lyx.org>
9843 * BufferView_pimpl.C:
9851 changes due to the changed LyXView interface that now returns references
9852 to member variables not pointers.
9854 2002-08-13 Angus Leeming <leeming@lyx.org>
9856 * WordLangTuple (word, lang_code): return references to strings,
9861 * lyxtext.h: forward-declare WordLangTuple.
9866 * text.C: #include "WordLangTuple.h".
9869 * text.C: (selectNextWordToSpellcheck): constify return type.
9871 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9877 * paragraph_pimpl.h:
9880 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9882 Made updateCounter always count from start of buffer, and removed
9883 second argument (par).
9884 Reverted floats number display to '#'. Perhaps I'll try again when the
9885 code base is sanitized a bit.
9887 2002-08-12 Angus Leeming <leeming@lyx.org>
9889 * buffer.[Ch] (getLabelList): constify.
9891 2002-08-07 André Pönitz <poenitz@gmx.net>
9893 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9895 * funcrequest.h: extension to keep mouse (x,y) position
9897 2002-08-12 Juergen Vigna <jug@sad.it>
9899 * BufferView2.C (insertErrors): forbid undo when inserting error
9902 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9904 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9906 * ParagraphList.[Ch]: new files
9908 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9910 * BufferView2.C (lockInset): ParagraphList changes
9913 * bufferlist.C: ditto
9917 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9919 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9920 unused class variable counter_,
9922 * paragraph.[Ch] (getFirstCounter): delete unused function
9924 * counters.C: include LAssert.h
9925 (reset): add a new function with no arg, change other version to
9926 not have def. arg and to not allow empty arg.
9928 * text2.C (setCounter): remove empty arg from call to Counters::reset
9930 2002-08-11 John Levon <levon@movementarian.org>
9932 * Makefile.am: add WordLangTuple.h
9934 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9936 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9937 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9939 * insets/insettext.C: InsetList changes
9941 * graphics/GraphicsSupport.C (operator()): InsetList changes
9943 * toc.C (getTocList): InsetList changes
9945 * paragraph_pimpl.[Ch]: InsetList changes
9947 * paragraph.[Ch]: InsetList changes
9949 * buffer.C (inset_iterator): InsetList changes
9950 (setParagraph): ditto
9951 * buffer.h (inset_iterator): ditto
9952 * iterators.C (operator++): ditto
9953 * iterators.h: ditto
9955 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9957 * InsetList.[Ch]: new files, most InsetList handling moved out of
9960 * BufferView2.C (removeAutoInsets): InsetList changes
9962 (ChangeInsets): ditto
9964 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9966 * paragraph_pimpl.h (empty): new function
9968 * paragraph.[Ch] (empty): new function
9970 * other files: use the new Paragraph::empty function
9972 2002-08-09 John Levon <levon@movementarian.org>
9974 * lyxtext.h: remove unused refresh_height
9976 2002-08-09 John Levon <levon@movementarian.org>
9983 * paragraph.C: move sgml char escaping out of paragraph
9986 * paragraph.C: remove id setter
9990 * paragraph_pimpl.C: remove dead tex_code_break_column
9992 * bufferview_funcs.C: small cleanup
9994 * lyxfunc.C: remove dead proto
9996 * lyxtext.h: make some stuff private. Remove some dead stuff.
9998 * lyxgluelength.C: make as[LyX]String() readable
10000 2002-08-08 John Levon <levon@movementarian.org>
10005 * ToolbarDefaults.C:
10008 * toc.C: lyxaction cleanup
10010 2002-08-08 John Levon <levon@movementarian.org>
10012 * BufferView2.C: small cleanup
10015 * lyxfind.C: move unnecessary header into the .C
10017 2002-08-08 John Levon <levon@movementarian.org>
10019 * funcrequest.h: just tedious nonsense
10022 * lyx_main.C: cleanups
10025 * vspace.C: remove dead header lyx_main.h
10027 2002-08-07 Angus Leeming <leeming@lyx.org>
10030 * paragraph_pimpl.h:
10031 Forward declare class Counters in paragraph.h by moving the ctrs member
10032 variable into Paragraph::Pimpl.
10033 (counters): new method, returning a reference to pimpl_->ctrs.
10035 * text2.C: ensuing changes.
10037 2002-08-07 John Levon <levon@movementarian.org>
10039 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10041 * BufferView_pimpl.C: announce X selection on double/triple
10044 * lyx_main.C: use correct bool in batch dispatch
10046 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10048 2002-08-07 André Pönitz <poenitz@gmx.net>
10050 * funcrequest.h: new class to wrap a kb_action and its argument
10053 * BufferView_pimpl[Ch]:
10057 * lyxrc.C: subsequent changes
10060 2002-08-07 John Levon <levon@movementarian.org>
10062 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10063 document options change.
10065 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10070 * makefile.am: move counters functionality over from
10071 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10073 2002-08-06 John Levon <levon@movementarian.org>
10075 * WordLangTuple.h: new file for word + language code tuple
10086 * BufferView2.C: use WordLangTuple
10089 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10091 2002-08-06 John Levon <levon@movementarian.org>
10093 * lyx_main.C: fix cmdline batch handling
10095 2002-08-06 André Pönitz <poenitz@gmx.net>
10097 * lyxrc.C: set default for show_banner to true
10099 2002-08-06 John Levon <levon@movementarian.org>
10101 * pspell.C: fix a crash, and allow new aspell to work
10103 2002-08-06 John Levon <levon@movementarian.org>
10106 * kbmap.C: small cleanup
10109 * vspace.C: add const
10111 2002-08-05 John Levon <levon@movementarian.org>
10113 * LyXAction.C: back to tabular-insert
10115 2002-08-04 John Levon <levon@movementarian.org>
10118 * BufferView.C: cosmetic change
10120 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10130 * BufferView2.C: purge all "Lyx" not "LyX" strings
10133 * lyxcursor.C: attempt to add some documentation
10138 * ToolbarDefaults.C:
10139 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10140 merge with LFUN_TABULAR_INSERT
10147 * pspell.C: split up i/pspell implementations into separate
10148 files, many cleanups
10150 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10152 * text2.C: some cleanup
10154 * lyxfunc.C: don't check for isp_command == "none" any more, it
10155 didn't make any sense
10157 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10162 * makefile.am: move counters functionality over
10163 from text2.C/paragraph.[Ch] to counters.[Ch], and
10165 2002-08-02 John Levon <levon@movementarian.org>
10167 * buffer.C: s/lyxconvert/lyx2lyx/
10169 2002-08-02 Angus Leeming <leeming@lyx.org>
10171 * lyxlex.C: revert John's change as it breaks reading of the user
10174 2002-08-02 Angus Leeming <leeming@lyx.org>
10176 * importer.C (Import):
10177 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10178 changes due to LyXView::view() now returning a boost::shared_ptr.
10180 2002-08-02 John Levon <levon@movementarian.org>
10182 * lyxlex.C: small cleanup
10184 2002-08-02 John Levon <levon@movementarian.org>
10186 * text2.C (status): small cleanup, no logic change
10188 2002-08-01 John Levon <levon@movementarian.org>
10191 * buffer.C (writeFile): don't output alerts, caller
10195 * lyx_cb.C: from above
10197 * lyxfunc.C: allow to open non-existent files
10199 2002-07-31 John Levon <levon@movementarian.org>
10201 * lyxserver.C: don't let incidental errors get
10204 2002-07-30 John Levon <levon@movementarian.org>
10206 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10208 2002-07-30 John Levon <levon@movementarian.org>
10211 * lyxserver.C: remove I/O callback too
10213 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10215 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10218 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10220 * many files: strip,frontStrip -> trim,ltrim,rtrim
10222 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10224 * PrinterParams.h: remove extern containsOnly, and include
10225 support/lstrings.h instead.
10227 * LaTeX.C (scanAuxFile): modify because of strip changes
10229 * buffer.C (makeLaTeXFile): ditto
10230 * bufferparams.C (writeFile): ditt
10231 * lyxfont.C (stateText): ditto
10232 * lyxserver.C (read_ready): ditto
10233 * vc-backend.C (scanMaster): ditto
10235 * BufferView_pimpl.h: ws changes
10237 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10239 2002-07-26 André Pönitz <poenitz@gmx.net>
10241 * kb_sequence.C: remove unnedred usings
10243 2002-07-26 Juergen Vigna <jug@sad.it>
10245 * lyxfind.C (LyXReplace): we have to check better if the returned
10246 text is not of theLockingInset()->getLockingInset().
10248 2002-07-25 Juergen Vigna <jug@sad.it>
10250 * lyxfind.C (LyXReplace): don't replace if we don't get the
10253 * undo_funcs.C (createUndo): remove debugging code.
10255 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10257 * buffer.C (parseSingleLyXformat2Token): Use default placement
10258 when reading old floats.
10260 * FloatList.C (FloatList): Change the default placement of figure
10261 and tables to "tbp".
10263 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10265 * MenuBackend.C: using std::max
10267 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10269 * MenuBackend.C (expandToc):
10270 (expandToc2): code moved from xforms menu frontend. It is now
10271 generic and TOCs are transparent to menu frontends.
10273 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10275 * toc.C (getTocList): protect against buf=0
10277 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10278 Menu as first parameter. Now, this calls itself recursively to
10279 expand a whole tree (this will be useful for TOC handling)
10280 (expandFloatInsert): remove 'wide' version of floats
10282 * MenuBackend.h (submenuname): returns the name of the submenu.
10283 (submenu): returns the submenu itself, provided it has been
10284 created by MenuBackend::expand
10286 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10288 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10289 insets which have noFontChange == true. (bug #172)
10291 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10293 * BufferView_pimpl.C: add connection objects and use them...
10296 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10298 * MenuBackend.C (expandLastfiles):
10301 (expandFloatListInsert):
10302 (expandFloatInsert):
10303 (expand): split expand in parts
10305 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10307 * lyx_gui.C: use lyx_gui::exit()
10309 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10311 * LyXAction.C: show the failing pseudo action
10313 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10315 * buffer.C (readFile): Run the lyxconvert script in order to read
10318 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10322 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10324 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10328 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10330 2002-07-22 Herbert Voss <voss@lyx.org>
10333 * lyxlength.[Ch]: add support for the vertical lengths
10335 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10337 * toc.[Ch]: std:: fixes
10339 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10341 * lyxrc.C: do not include lyx_main.h
10343 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10349 * BufferView2.C: include "lyxlex.h"
10352 * bufferparams.h: do not #include "lyxlex.h"
10354 * lyxtextclasslist.C (Add): remove method
10355 (classlist): renamed to classlist_
10357 * paragraph_pimpl.C:
10361 * bufferview_funcs.C:
10366 * toc.C (getTocList): use BufferParams::getLyXTextClass
10368 * toc.C (getTocList): use InsetFloat::addToToc
10370 * toc.[Ch]: new files, containing helper functions to handle table
10373 * lyxfunc.C (dispatch): no need to remove spaces around command
10375 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10376 first command of the sequence; it is not very clever, but I do not
10377 have a better idea, actually
10379 * LyXAction.C (LookupFunc): make sure to remove space at the
10380 beginning and end of the command
10382 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10384 * MenuBackend.C (getMenubar): new method: return the menubar of
10386 (read): treat differently reading of menu and menubar (in
10387 particular, the menubar has no name now)
10388 (Menu::menubar): remove
10390 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10393 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10395 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10396 a bibitem inset in a RTL paragraph.
10398 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10400 * paragraph_pimpl.C: constify
10402 * BufferView_pimpl.C:
10404 * lyxfunc.C: fix dispatch in a nicer way
10406 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10408 * lyxfunc.C (dispatch):
10409 * BufferView_pimpl.C:
10410 * BufferView_pimpl.h:
10412 * BufferView.h: rename Dispatch() to dispatch()
10414 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10416 * lyxlayout.C (Read): honor DependsOn tag
10418 * lyxlayout.[Ch] (depends_on): new method
10420 * version.C.in: update lyx_docversion
10422 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10424 * paragraph.C (validate): remove from here...
10425 * paragraph_pimpl.C (validate): ... and move here
10426 (isTextAt): make it const
10428 * buffer.C (getLists): ws cleanup
10430 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10432 * language.C (read): Use iso8859-1 encoding in latex_lang
10433 (this prevents LyX from crashing when using iso10646-1 encoding).
10435 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10437 * text2.C (toggleInset): if cursor is inside an inset, close the
10438 inset and leave cursor _after_ it
10440 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10442 * lyxfunc.C: move minibuffer completion handling out of here
10444 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10446 * BufferView_pimpl.C:
10447 * LaTeX.C: fix dispatch calls
10449 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10451 * text.C (drawChars): Fix Arabic text rendering.
10453 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10457 * lyxfunc.C: remove message-push/pop
10461 * lyxfunc.C: rationalise some code by removing verboseDispatch
10462 in favour of a bool argument to dispatch()
10464 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10466 * lyx_main.C (init): make sure to read symlinks as absolute paths
10468 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10471 * lyxfunc.C: no need for commandshortcut to be a member
10473 2002-07-15 André Pönitz <poenitz@gmx.net>
10475 * converter.C: add support for $$s (scripts from lib/scripts dir)
10476 * lyx_main.C: white space
10478 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10482 * lyxrc.C: remove second exit confirmation
10484 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10489 * BufferView_pimpl.h:
10490 * BufferView_pimpl.C:
10491 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10493 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10495 * MenuBackend.C (expand): add numeric shortcuts to document menu
10497 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10499 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10501 * lyxfont.C (setLyXFamily):
10508 * buffer.C (asciiParagraph): use ascii_lowercase
10510 2002-07-15 Mike Fabian <mfabian@suse.de>
10512 * lyxlex_pimpl.C (search_kw):
10513 * lyxlex.C (getLongString):
10514 * converter.h (operator<):
10515 * converter.C (operator<):
10516 * buffer.C (parseSingleLyXformat2Token):
10518 * ToolbarDefaults.C (read):
10519 * MenuBackend.C (checkShortcuts):
10521 * LColor.C (getFromGUIName):
10522 (getFromLyXName): use the compare_ascii_no_case instead of
10523 compare_no_case, because in turkish, 'i' is not the lowercase
10524 version of 'I', and thus turkish locale breaks parsing of tags.
10526 2002-07-16 Angus Leeming <leeming@lyx.org>
10528 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10529 now takes a Buffer const & argument.
10531 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10533 * BufferView.C (resize): check there's a buffer to resize
10535 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10537 * lyxfunc.C: remove dead code
10540 * lyxserver.C: use lyx_guii::set_read_callback
10542 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10544 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10545 an inset in a RTL paragraph.
10547 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10549 * lyxfunc.C: repaint after a font size update
10551 2002-07-15 André Pönitz <poenitz@gmx.net>
10553 * lyxlength.C: inBP should be able to return negative values
10555 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10557 * lyxfunc.C: use lyx_gui::update_fonts()
10559 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10561 * lyxfunc.C: use lyx_gui::update_color()
10563 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10569 * lyxrc.C: remove file->new asks for name option, and let
10570 buffer-new take an argument
10572 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10574 * BufferView_pimpl.C: remove unneeded extra repaint()
10576 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10578 * LyXAction.C: allow command-sequence with NoBuffer
10580 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10582 2002-07-10 Angus Leeming <leeming@lyx.org>
10584 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10586 2002-07-09 Angus Leeming <leeming@lyx.org>
10588 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10590 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10592 * lengthcommon.h: whitespace
10594 * lyxfunc.C: update scrollbar after goto paragraph
10596 * lyxtext.h: factor out page break drawing, and fix it so
10597 page break/added space paints as selected nicely
10599 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10601 * BufferView_pimpl.C: add FIXMEs, clean up a little
10603 2002-07-09 André Pönitz <poenitz@gmx.net>
10605 * lyxfont.[Ch]: support for wasy symbols
10607 2002-07-08 André Pönitz <poenitz@gmx.net>
10609 * BufferView_pimpl.C: apply John's patch for #93.
10611 2002-07-05 Angus Leeming <leeming@lyx.org>
10613 * BufferView_pimpl.C (buffer): generate previews if desired.
10615 * LColor.h: add "preview" to the color enum.
10617 * LColor.C (LColor): add a corresponding entry to the items array.
10619 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10622 2002-07-05 Angus Leeming <leeming@lyx.org>
10624 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10625 The body of the code is now in the method that is passed an ostream &
10626 rather than a file name.
10627 Pass an additional only_preamble parameter, useful for the forthcoming
10630 2002-07-03 André Pönitz <poenitz@gmx.net>
10632 * lyxfunc.C: simplify getStatus() a bit for math stuff
10634 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10636 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10638 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10640 * text.C (changeRegionCase): do not change case of all the
10641 document when region ends at paragraph end (bug #461)
10643 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10645 * paragraph.C (startTeXParParams):
10646 (endTeXParParams): add \protect when necessary
10648 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10650 * BufferView_pimpl.C (workAreaExpose): remove warning
10652 2002-06-27 Angus Leeming <leeming@lyx.org>
10654 * Makefile.am: add lyxlayout_ptr_fwd.h.
10656 2002-06-26 André Pönitz <poenitz@gmx.net>
10658 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10660 2002-06-25 Angus Leeming <leeming@lyx.org>
10662 * lyxfunc.C (dispatch): Comment out the call to
10663 grfx::GCache::changeDisplay. The method no longer exists now that the
10664 pixmap generation part of the graphics loader has been moved into
10667 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10669 * text2.C: layout as layout
10671 * text.C: layout as layout
10673 * tabular.C (OldFormatRead): layout as layout
10675 * paragraph_pimpl.C (TeXDeeper): layout as layout
10676 (realizeFont): layout as layout
10678 * paragraph.C (writeFile): layout as layout
10679 (validate): layout as layout
10680 (getFont): layout as layout
10681 (getLabelFont): layout as layout
10682 (getLayoutFont): layout as layout
10683 (breakParagraph): layout as layout
10684 (stripLeadingSpaces): layout as layout
10685 (getEndLabel): layout as layout
10686 (getMaxDepthAfter): layout as layout
10687 (applyLayout): layout as layout
10688 (TeXOnePar): layout as layout
10689 (simpleTeXOnePar): layout as layout
10690 (TeXEnvironment): layout as layout
10691 (layout): layout as layout
10692 (layout): layout as layout
10694 * lyxtextclass.C (compare_name): new functor to work with
10695 shared_ptr, layout as layout
10696 (Read): layout as layout
10697 (hasLayout): layout as layout
10698 (operator): layout as layout
10699 (delete_layout): layout as layout
10700 (defaultLayout): layout as layout
10702 * lyxlayout_ptr_fwd.h: new file
10704 * lyxlayout.C (Read): layout as layout
10706 * lyx_cb.C (MenuInsertLabel): layout as layout
10708 * bufferlist.C (newFile): layout as layout
10710 * buffer.C (readLyXformat2): layout as layout
10711 (parseSingleLyXformat2Token): layout as layout
10712 (insertStringAsLines): layout as layout
10713 (asciiParagraph): layout as layout
10714 (latexParagraphs): layout as layout
10715 (makeLinuxDocFile): layout as layout
10716 (simpleLinuxDocOnePar): layout as layout
10717 (makeDocBookFile): layout as layout
10718 (simpleDocBookOnePar): layout as layout
10719 (getLists): layout as layout
10721 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10723 * CutAndPaste.C (cutSelection): layout as layout
10724 (pasteSelection): layout as layout
10725 (SwitchLayoutsBetweenClasses): layout as layout
10727 * BufferView_pimpl.C (Dispatch): layout as layout
10728 (smartQuote): layout as layout
10730 * BufferView2.C (unlockInset): layout as layout
10732 2002-06-24 André Pönitz <poenitz@gmx.net>
10734 * lyxfunc.C: fix #487
10736 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10740 * lyxfunc.C: remove display_shortcuts, show_banner
10742 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10744 * Buffer_pimpl.C: oops, update on resize
10746 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10753 * BufferView.C: use repaint()
10755 * BufferView_pimpl.h:
10756 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10757 as it's a clearer description. Remove superfluous
10760 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10762 * text.C: fix bug 488. Not ideal, but getting
10763 getWord() to work properly for the insets that
10764 matter is more difficult ...
10766 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10768 * BufferView_pimpl.C:
10771 * lyxfunc.C: remove the six million index lyxfuncs to just
10772 one, and DTRT (bug 458)
10774 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10778 * BufferView_pimpl.h:
10779 * BufferView_pimpl.C: clean up resize() stuff,
10780 and unnecessary updateScreen()s
10782 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10786 * BufferView_pimpl.h:
10787 * BufferView_pimpl.C:
10790 * minibuffer.C: remove focus management of workarea,
10791 not needed. Use screen's greyOut()
10793 2002-06-17 Herbert Voss <voss@lyx.org>
10795 * converter.C: (convert) do not post a message, when converting
10796 fails, let the calling function decide what to do in this case
10798 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10800 * lyxfunc.C: tidy up a little
10802 2002-06-16 <alstrup@diku.dk>
10804 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10805 Got rid of FORMS_H_LOCATION include. Now we are
10808 2002-06-15 LyX Development team <lyx@rilke>
10810 * buffer.[Ch] (sgmlOpenTag):
10811 (sgmlCloseTag): Added support for avoiding pernicious mixed
10812 content. Return number of lines written.
10814 (makeLinuxDocFile):
10815 (makeDocBookFile): Fixed calls to sgml*Tag.
10816 Simple white space clean.
10818 (simpleDocBookOnePar): Simple white space clean.
10820 * tabular.[Ch] (docBook): Renamed to docbook and got another
10821 argument to related with the pernicious mixed content.
10823 (docbookRow): Fixed calls for docbook inset method.
10825 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10827 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10828 so it's X11 independent.
10832 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10834 2002-06-15 Lyx Development team <lyx@electronia>
10836 * intl.h: Renamed getTrans to getTransManager.
10838 2002-06-14 Angus Leeming <leeming@lyx.org>
10840 * Makefile.am: nuke forgotten stl_string_fwd.h.
10842 2002-06-12 Angus Leeming <leeming@lyx.org>
10844 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10846 2002-06-13 Angus Leeming <leeming@lyx.org>
10849 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10851 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10853 * kbmap.C (getiso): add support for cyrillic and greek
10855 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10859 * BufferView_pimpl.h:
10860 * BufferView_pimpl.C: move bogus scrolling logic
10863 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10866 * BufferView_pimpl.C: view->resize() change
10868 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10870 * BufferView_pimpl.C: topCursorVisible
10873 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10877 * lyx_gui.C: move to frontends/
10881 * lyx_main.C: changes from above
10883 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10890 * lyx_main.C: minor tidy
10892 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10894 * BufferView_pimpl.h:
10895 * BufferView_pimpl.C:
10897 * BufferView.C: make painter() const,
10900 * BufferView2.C: use screen() accessor
10903 * lyx_main.C: some minor cleanup
10905 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10907 * BufferView_pimpl.h:
10908 * BufferView_pimpl.C: remove enter/leaveView,
10911 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10916 * BufferView_pimpl.h:
10917 * BufferView_pimpl.C: only construct screen once,
10920 * lyxrc.C: remove pointless comment
10922 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10925 * BufferView.C: remove active() and belowMouse()
10927 * BufferView_pimpl.h:
10928 * BufferView_pimpl.C: use workarea() not workarea_,
10929 and make it use a scoped_ptr instead
10931 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10933 * lyx_gui.C: add debug message on BadWindow
10935 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10937 * sp_spell.C: fdopen is not part of the C++ standard.
10939 * paragraph.C (InsetIterator): use >= instead of ==
10941 2002-06-07 Angus Leeming <leeming@lyx.org>
10943 Fixes needed to compile with Compaq cxx 6.5.
10944 * BufferView_pimpl.C:
10951 * lyxtextclasslist.C:
10956 all c-library variables have been moved into namespace std. Wrap
10957 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10962 Add a using std::abs declaration.
10964 * kbmap.h (modifier_pair):
10965 * paragraph.h (InsetTable, InsetList):
10966 * lyxfont.h (FontBits):
10967 type definition made public.
10969 * bufferlist.C (emergencyWriteAll): the compiler complains that
10970 there is more than one possible lyx::class_fun template to choose from.
10971 I re-named the void specialisation as lyx::void_class_fun.
10973 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10975 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10976 the compiler is is unable to find tostr in write_attribute.
10978 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10980 * buffer.C (sgmlError): hide #warning
10982 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10984 * xtl/*: get rid of xtl, which is not in use anyway
10986 * LyXAction.C (init):
10987 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10988 were unimplemented xtl experimentation
10990 2002-06-04 André Pönitz <poenitz@gmx.net>
10992 * lyxfunc.C: disable array operation on simple formulae
10994 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10996 * converter.C: constify a bit
10998 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11000 * lyx_gui.C: check xforms version correctly
11002 2002-04-30 Herbert Voss <voss@lyx.org>
11004 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11007 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11009 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11010 attempt to register it with a VCS)
11012 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11014 * lyx_main.C (init): honor variables LYX_DIR_13x and
11017 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11021 * lyx_main.C: fix a crash on bad command line,
11022 and give a useful exit status on error
11024 * lyxfunc.C (doImport): allow -i lyx to work
11026 2002-03-30 André Pönitz <poenitz@gmx.net>
11028 * lyxfunc.C: mathed font changes
11030 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11045 * trans_mgr.h: srcdocs, and some minor cleanups
11047 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11049 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11050 call getFont all the time)
11052 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11054 * switch from SigC signals to boost::signals
11056 2002-05-29 André Pönitz <poenitz@gmx.net>
11058 * paragraph_pimpl.C (getChar): don't call size() too often...
11060 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11062 * paragraph_pimpl.C (insertChar): do not try to update tables when
11063 appending (pos == size())
11065 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11066 in order to reduce drastically the number of comparisons needed to
11067 parse a large document
11069 2002-05-29 André Pönitz <poenitz@gmx.net>
11075 * textclasslist.[Ch]:
11076 * sp_ispell.h: whitespace change
11078 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11080 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11081 lyxaction directly now.
11083 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11087 * lyxvc.C: remove unused headers
11089 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11096 * undo_funcs.C: some cleanups. Use shared_ptr
11097 and a template for the undo stacks.
11099 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11101 * BufferView_pimpl.h:
11102 * BufferView_pimpl.C:
11109 * text2.C: use key_state/mouse_state
11111 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11113 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11116 * chset.C: change include order
11117 (loadFile): use boost regex and get rid of LRegex and LSubstring
11119 * Makefile.am (BOOST_LIBS): new variable
11120 (lyx_LDADD): use it
11122 * LaTeX.C: change include order.
11123 (scanAuxFile): use boost regex and get rid of LRegex and
11127 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11132 * FontInfo.C: moved to frontends/xforms/
11135 * FontLoader.C: moved into frontends for GUIIzation
11140 * lyxfunc.C: changes from above
11142 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11144 * LColor.C: remove spurious X include
11146 * BufferView_pimpl.C:
11151 * text2.C: move font metrics to frontends/
11153 2002-05-24 Juergen Vigna <jug@sad.it>
11155 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11156 setting the undo_cursor.
11158 * ParagraphParameters.h: include local includes first.
11160 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11162 * BufferView_pimpl.C:
11163 * BufferView_pimpl.h:
11167 * screen.C: move WorkArea into frontends/
11173 * BufferView2.C: move LyXScreen into frontends/
11177 * lyx_gui.C: move lyxlookup into frontends/xforms/
11179 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11182 * BufferView_pimpl.C:
11192 * bufferview_funcs.C:
11205 * vc-backend.C: move LyX/XFormsView into frontends/
11207 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11219 * text2.C: move Painter to frontends/
11221 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11223 * buffer.C: comment out some some code that depend upon lyx_format
11226 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11227 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11229 * buffer.h (NO_COMPABILITY): turn off compability
11231 * ColorHandler.C: include scoped_array.hpp
11233 * font.C: Use more specific smart_ptr header.
11236 * ShareContainer.h: ditto
11237 * lyx_main.h: ditto
11239 * FontInfo.h: ditto
11240 * BufferView_pimpl.h: ditto
11241 * ColorHandler.h: ditto
11243 * kbmap.C (defkey): change call to shared_ptr::reset
11245 2002-05-21 Juergen Vigna <jug@sad.it>
11247 * buffer.C (insertErtContents): fix to insert ert asis if it is
11248 non empty. Skip it completely if it contains only whitespaces.
11250 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11252 * BufferView_pimpl.C:
11253 * BufferView2.C: clear selection on paste (bug 393)
11255 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11257 * DepTable.C: include ctime
11259 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11261 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11263 2002-05-14 Juergen Vigna <jug@sad.it>
11265 * text.C (breakParagraph): fixed function to honor the keepempty
11266 layout in the right maner and also to permit the right breaking
11267 algorithm on empty or non empyt keepempty paragraphs.
11269 * paragraph.C (breakParagraph): we have to check also if the par
11270 is really empty (!size()) for isempty otherwise we do the wrong
11273 2002-05-10 Juergen Vigna <jug@sad.it>
11275 * buffer.[Ch] : The following are only changes to the ert
11276 compatibility read reading old LaTeX layout and font stuff and
11277 convert it to ERTInsets.
11279 * buffer.h: added isErtInset().
11281 * buffer.C (struct ErtComp): add a fromlayout bool to check
11282 if we're inside a LaTeX layout.
11283 (isErtInset): new helper function.
11284 (insertErtContents): look for other ert insets before this one
11285 and insert the contents there, so that we don't have subsequent
11286 ERT insets with nothing between them. This way we create only one
11287 inset with multiple paragraphs. Also check if we don't insert only
11288 spaces ' ' as they are ignored anyway afterwards in the .tex file
11289 so if we have only spaces we will ignore this latex part in the
11291 (parseSingleLyXformat2Token \\layout): better compatibility when
11292 reading layout-latex stuff.
11293 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11295 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11296 stuff after reading the inset only get the information back from
11299 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11301 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11303 * LaTeXFeatures.C (getBabelOptions): New method.
11305 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11307 * BufferView_pimpl.C (Dispatch): work around missing argument for
11310 2002-05-08 Juergen Vigna <jug@sad.it>
11312 * text.C (leftMargin): handle paragraph leftindent.
11314 * paragraph.C (writeFile): write the new \\leftindent tag.
11315 (validate): handle leftindent code.
11316 (TeXEnvironment): handle paragraphleftindent code again.
11318 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11320 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11321 for paragrap_extra indent code and new token \\leftindent.
11322 (latexParagraphs): handle the leftindent as environment.
11324 * ParameterStruct.h: added leftindent support.
11326 * ParagraphParameters.C (leftIndent): added support functions for
11327 the paragraph left indent.
11329 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11332 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11334 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11337 * text.C (computeBidiTables): No bidi in insetERT.
11339 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11342 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11344 * version.C.in: pre 5
11346 2002-05-02 José Matos <jamatos@fep.up.pt>
11347 * buffer.C (makeDocBookFile): white space changes, add newline to
11349 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11351 * tabular.C (docBook): fix typo.
11353 2002-05-03 Juergen Vigna <jug@sad.it>
11355 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11356 change in LyXText as we can not be sure it was not freed.
11357 (drawOneRow): remove unused code.
11359 * text.C (drawInset): redo the calculation of the need_break_row as
11360 it could have a row which was already freed.
11361 (draw): look at the return value of drawInset and return false if
11362 it also returned false.
11363 (paintRowText): look at the return value of draw and return false if
11364 it also returned false.
11366 * lyxtext.h: added bool return type to drawInset() and draw() so that
11367 if we have a change in the row so that the rowbreak has to be redone
11368 we abort drawing as it will be called again.
11370 2002-05-02 Juergen Vigna <jug@sad.it>
11372 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11373 a change in the maintext also if we're inside an inset.
11374 (Dispatch): set the cursor again after a break line and after the
11375 screen has been updated as it could be we're in a different row.
11377 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11378 to set the cursor behind the pargraph with > size().
11379 (setCursor): check also for the same paragraph when checking where
11380 to put the cursor if we have a NFR inset.
11382 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11383 parts of layout read further up as it still was in the wrong
11386 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11388 * screen.C (drawFromTo): change sine fullRebreak always return
11391 * buffer.C (parseSingleLyXformat2Token): reindent some
11393 * BufferView_pimpl.C (update): change since fullRebreak always
11395 (Dispatch): git rid of the last hardcoded "Standard"s.
11397 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11399 * text2.[Ch] (fullRebreak): make it return void now that we always
11402 2002-04-30 Juergen Vigna <jug@sad.it>
11404 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11405 ert compatibility check for "latex" layout.
11407 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11409 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11410 minipages: use col% instead of p%, and also use the current font.
11411 (makeLaTeXFile): Fix use babel condition.
11412 (parseSingleLyXformat2Token): Correct font when reading old floats.
11414 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11416 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11417 inserting list of floats.
11419 2002-04-25 Herbert Voss <voss@lyx.org>
11421 * MenuBackend.C (expand): don't add the graphics extensions to the
11424 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11426 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11427 non-existing layout, do not complain if it was the default layout
11428 of the original class (bug #342)
11430 2002-04-24 Juergen Vigna <jug@sad.it>
11432 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11433 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11435 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11437 * buffer.C (getBibkeyList): If using \bibliography, return the
11438 option field with the reference itself. Enables us to provide natbib
11439 support when using \bibliography.
11441 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11443 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11445 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11446 natbib is provided by the LaTeX class.
11448 2002-04-23 Juergen Vigna <jug@sad.it>
11450 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11453 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11455 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11457 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11459 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11460 ensuremath around textordmasculine, textordfeminine and
11463 2002-04-19 Juergen Vigna <jug@sad.it>
11465 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11466 reinitializing the buffer otherwise row-dimensions may be wrong.
11467 (update): reset also the selection cursors if they do exits otherwise
11468 their x/y positions may be wrong.
11470 * text2.C (cursorDown): don't enter the inset if we came from a row
11471 above and are one row over the inset.
11473 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11474 really leaving an inset.
11476 2002-04-18 Juergen Vigna <jug@sad.it>
11478 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11479 of the selected paragraph does not have the selected layout also if
11482 * text2.C (setLayout): fixed bug which did not change last selected
11485 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11486 changed the read and substituted \\end_float with \\end_inset!
11488 * BufferView_pimpl.C (cursorPrevious):
11489 (cursorNext): fixed to make it work with rows heigher than the work
11490 area without moving the cursor only the draw of the row.
11491 (workAreaMotionNotify): fix jumping over high rows.
11493 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11495 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11498 2002-04-16 Juergen Vigna <jug@sad.it>
11500 * text2.C (setCursor): set also the irow().
11501 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11503 (cursorDown): support for locking an inset if the x_fix value goes
11504 inside it. That way I can transverse insets too with cursor up/down.
11506 * lyxrow.h: added irow helper function same as other (i) functions.
11508 * BufferView_pimpl.C (cursorPrevious):
11509 (cursorNext): fixed for insets!
11511 2002-04-15 Juergen Vigna <jug@sad.it>
11513 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11514 position otherwise it is wrong in some cases.
11516 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11517 inside the inset before the call.
11519 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11521 * buffer.[Ch] (getBibkeyList): make it const.
11523 2002-04-12 Juergen Vigna <jug@sad.it>
11525 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11527 * text2.C (getCursorX): new helper function
11528 (setCursor): compute also ix_
11529 (setCursorFromCoordinates): set also ix.
11531 * lyxcursor.h: added ix_ and helper functions.
11533 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11535 * buffer.C (insertStringAsLines): dont break paragraph if the this
11536 paragraph is inside an inset which does not permit it!
11538 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11539 also with no chars on this paragraph.
11540 (paintRowText): only paint stuff if it's inside the workarea!
11542 * paragraph.C (breakParagraph): honor keepempty flag and break the
11543 paragraph always below not above.
11545 * BufferView2.C (unlockInset): update the paragraph layout on inset
11546 unlock as we changed paragraph in such a case.
11548 * lyxfind.C (LyXFind): clear the former selection if not found!
11550 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11551 again called in insertChar().
11553 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11554 an inset which uses the whole row!
11555 (rightMargin): ditto.
11556 (insertChar): force a rebreak if we inserted an inset!
11558 2002-03-28 Herbert Voss <voss@lyx.org>
11560 * lyxlength.[Ch]: add inBP() to get the right PS-point
11561 units (BigPoint). With inPixels we have rounding errors
11563 2002-04-11 Juergen Vigna <jug@sad.it>
11565 * text2.C (setCursorFromCoordinates): set iy to the right value.
11566 (setCursor): add check if row->previous exists!
11568 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11569 an old float_type as this was the case in the old code!
11571 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11573 * BufferView2.C (showLockedInsetCursor): use iy
11574 (fitLockedInsetCursor): ditto
11576 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11577 locked insets as there we have the right value now.
11579 * lyxcursor.C: added iy_ variable and iy functions to set to the
11580 baseline of cursor-y of the locked inset.
11582 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11583 (setCursor): fixed for insets which need a full row.
11585 * text.C (rowLastPrintable): don't ignore the last space when before
11586 an inset which needs a full row.
11587 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11588 as last character of a row when before a inset which needs a full row.
11590 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11592 * version.C.in: update date
11594 * text2.C (fullRebreak): try to always return true and see what
11597 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11599 * MenuBackend.C (expand): use Floating::listName
11601 * FloatList.C (FloatList): add listName argument to the built-in
11604 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11605 text associated with the float.
11607 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11609 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11611 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11613 * ShareContainer.h: add a couple of missing typenames.
11615 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11617 * lyxrc.C (getDescription): use _() correctly rather than N_().
11619 2002-03-28 Herbert Voss <voss@lyx.org>
11621 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11622 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11624 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11626 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11627 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11629 2002-03-29 Juergen Vigna <jug@sad.it>
11631 * lyxfunc.C (dispatch): add a missing fitCursor call.
11633 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11634 it was scrolled by a cursor move, so return the bool status.
11636 * BufferView.C (fitCursor): return the bool flag also to the outside
11637 world as this is needed.
11639 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11641 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11642 call the edit() as it is not needed (and wrong) IMO.
11643 (workAreaButtonPress): set the screen_first variable before evt.
11644 unlock the inset as this may change screen_first and then we have
11645 a wrong y position for the click!
11647 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11649 * MenuBackend.C (expand): another translation that I missed
11651 2002-03-28 Juergen Vigna <jug@sad.it>
11653 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11655 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11657 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11659 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11661 * MenuBackend.C (expand): fix export/view/update when there is no
11664 2002-03-27 Herbert Voss <voss@lyx.org>
11666 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11669 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11671 * bufferview_funcs.C (currentState): only show paragraph number
11672 for is DEVEL_VERSION is set.
11674 * lyxfunc.C (dispatch): put warning in INFO channel
11676 * MenuBackend.C (expand): translate the name of floats
11678 * FloatList.C (FloatList): mark the float names for translation
11680 * converter.C (convert): use LibScriptSearch
11682 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11684 * MenuBackend.C (defaults): fix default menu (we might as well get
11687 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11689 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11692 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11694 * lyxvc.C: reorder includes.
11696 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11698 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11701 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11703 * CutAndPaste.C: change layouts earlier on paste
11704 to avoid crashing when calling getFont()
11706 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11708 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11711 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11713 * WorkArea.C: remove 'Pending' debug message.
11715 * most files: ws cleanup
11717 * buffer.[Ch]: ws changes
11719 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11721 2002-03-21 Juergen Vigna <jug@sad.it>
11723 * tabular.C (SetMultiColumn): collapse also the contents of the
11724 cells and set the last border right. Added a Buffer const * param.
11726 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11728 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11731 2002-03-19 Juergen Vigna <jug@sad.it>
11733 * text2.C (clearSelection): reset also xsel_cache.
11735 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11736 where it needs to be called (John tells us to do so too :)
11737 (selectionLost): reset sel_cache.
11739 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11741 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11743 * text2.C (setCursorIntern): put debuging code in INSETS channel
11745 2002-03-19 André Pönitz <poenitz@gmx.net>
11747 * lyxfunc.C: tiny whitespace change
11749 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11751 * ToolbarDefaults.C (init):
11752 * LyXAction.C (init):
11754 * BufferView_pimpl.C (Dispatch):
11755 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11757 2002-03-19 Allan Rae <rae@lyx.org>
11759 * exporter.C (Export): removeAutoInsets before doing anything else.
11760 While I've just introduced a dependency on BufferView this really is
11761 the best place to clean the buffer otherwise you need to cleanup in
11762 a dozen places before calling export or cleanup in a dozen functions
11765 * converter.C (runLaTeX):
11766 (scanLog): Better handling of removeAutoInsets and screen updates.
11768 * lyxfunc.C (dispatch): small whitespace changes
11770 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11772 * WorkArea.C (C_WorkAreaEvent): return a value.
11773 (event_cb): return 1 if we handled the event, 0 otherwise.
11775 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11777 2002-03-18 Juergen Vigna <jug@sad.it>
11779 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11780 (GetAdditionalWidth): ditto.
11781 (RightLine): ditto.
11784 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11785 inset if we're there actually (probably not used right now but this
11786 is the direction to go for unifying code).
11787 (paste): disable code to clear the selection.
11789 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11790 inside an InsetText and move the check further up as it is in the
11793 * text2.C (pasteSelection): set a selection over the pasted text.
11795 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11797 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11798 and libgraphics to build on Cygwin.
11800 2002-03-15 Juergen Vigna <jug@sad.it>
11802 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11803 inserting an Inset into the paragraph. I know this is not the best
11804 fix but we already use current_view in CutAndPaste so we will remove
11805 all of it's using at the same time.
11807 * buffer.C (sgmlError): deactivated function till it is rewritten in
11808 the right mode, now it can create problems.
11810 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11811 before accessing it.
11813 2002-03-14 Juergen Vigna <jug@sad.it>
11815 * undo_funcs.C (textHandleUndo): do the right thing when updating
11816 the inset after the undo/redo.
11818 * text2.C (setCursor): just some testcode for #44 not ready yet.
11820 * undo_funcs.C (textHandleUndo): set the next() and previous()
11821 pointers of the paragraph to 0 before deleting otherwise we have
11822 problems with the Paragraph::[destructor].
11824 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11825 on a paragraph insertion.
11827 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11829 * buffer.C (asciiParagraph): use += operator for char append to
11832 * paragraph.C (getFontSettings): compare >= not just >
11833 (highestFontInRange): ditto
11836 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11838 * paragraph.C: change several algorithm to be more appripriate for
11839 the problem domain. This is lookip in FontList and in the InsetList.
11841 2002-03-13 André Pönitz <poenitz@gmx.net>
11844 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11846 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11851 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11853 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11855 * Painter.C (display): anon helper function, adjust code for this
11857 (pixmap): remove function.
11859 * Painter.h: remove private display variable.
11861 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11863 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11865 * WorkArea.[Ch]: remove figinset_canvas cruft.
11867 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11869 * lyxtextclass.C (operator): add one item cache optimization.
11871 * bufferlist.h: doxy changes
11873 * bufferlist.C: ws changes
11875 * DepTable.[Ch] (ext_exist): place const in the right spot.
11877 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11879 (workAreaExpose): call resizeInsets when the with BufferView changes.
11880 (Dispatch): adjust for protectedBlank removal
11881 (specialChar): call updateInset if the insert went ok.
11883 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11884 specialChar instead.
11886 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11888 * BufferView.h: doxy change
11890 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11892 * lyxtextclass.C (operator[]): remove non-const version
11893 (defaultLayout): remove non-const version
11895 2002-03-12 Juergen Vigna <jug@sad.it>
11897 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11898 did resize the LyXText too.
11900 * buffer.C (readLyXformat2): set layout information on newly allocated
11903 * tabular.C (OldFormatRead): set layout information on the paragraph.
11905 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11907 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11909 2002-03-11 Juergen Vigna <jug@sad.it>
11911 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11913 (resizeCurrentBuffer): force also the insets to resize themselfes.
11914 (moveCursorUpdate): fixed up for InsetText.
11916 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11919 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11920 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11921 value of Dialogs::tooltipsEnabled().
11922 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11924 2002-03-08 Juergen Vigna <jug@sad.it>
11926 * BufferView_pimpl.C (updateInset): update inset inside inset also
11927 if it isn't inside theLockingInset().
11929 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11931 * buffer.C (asciiParagraph): redo some of the word and line length
11933 (getLists): look for Caption instead of caption.
11935 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11937 * buffer.C (Buffer): initialize niceFile to true
11939 (makeLinuxDocFile):
11940 (makeDocBookFile): make sure niceFile is true on exit
11942 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11944 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11946 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11948 * LyXSendto.C: remove.
11949 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11950 * lyx_gui.C: remove now-redundant comment.
11951 * ColorHandler.h: remove forward declaration of class WorkArea.
11952 * lyxfunc.C: remove #include "WorkArea.h".
11954 2002-03-07 Juergen Vigna <jug@sad.it>
11956 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11957 got moved away with the DEPM and also set the inset_owner always
11958 right which before could have been omitted.
11960 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11962 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11963 wanted layout is not found.
11965 2002-03-07 Juergen Vigna <jug@sad.it>
11967 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11969 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11971 * paragraph.C (breakParagraph): use default layout not layout of
11973 (Paragraph): clear ParagraphParameters.
11975 2002-03-06 Juergen Vigna <jug@sad.it>
11977 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11978 otherwise it would not be a valid lenght. Fixed a special case in
11979 the minipage compatibility read where we end the document with a
11982 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11983 was set as it could be 0 for InsetTexts first entry.
11985 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11987 * paragraph.C (writeFile): if layout is empty write out
11988 defaultLayoutName().
11990 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11991 file without named layout we set layout to defaultLayoutName().
11993 2002-03-06 Juergen Vigna <jug@sad.it>
11995 * CutAndPaste.C (copySelection): set layout for new paragraph.
11997 * text.C (prepareToPrint): leave ERT inset left aligned
11998 (leftMargin): don't indent paragraphs inside ERT insets
12000 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12002 * paragraph.C (breakParagraph): dont call clear do the work manually
12004 * paragraph.[Ch] (clear): remove function
12006 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12008 * paragraph.C (Paragraph): dont call clear, the work has already
12011 * lyxtextclass.C (operator): assert if n is empty
12013 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12014 work manually instead.
12016 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12018 * BufferView_pimpl.C: protect selectionLost against text == 0
12020 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12022 * text.C (breakParagraph): fix a setting layout to '0' problem.
12024 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12026 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12027 final location of file, for the included files, and graphics.
12029 2002-03-05 Juergen Vigna <jug@sad.it>
12031 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12033 2002-03-04 Juergen Vigna <jug@sad.it>
12035 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12037 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12038 last column of multicolumn cells.
12039 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12041 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12043 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12044 file if it doesn't go to a temporary file.
12046 * buffer.C (sgmlOpenTag):
12047 (sgmlCloseTag): remove extra newline insertion.
12049 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12051 * text.C (getRowNearY): comment out debug msg
12053 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12055 * text2.C: first -> first_y
12057 * text.C (getRowNearY): add some attemts at a possible
12058 optimization, not working.
12060 * tabular.[Ch]: add BufferParams to several function so that newly
12061 created paragraph can be initialized to he default layotu for the
12064 * tabular-old.C (ReadOld): add buf->params to call of Init
12066 * screen.C: rename text->first to text->first_y
12068 * paragraph.C (breakParagraph): always set layout in the broken
12071 * lyxtextclass.C (Read): remove lowercase
12074 (delete_layout): ditto
12076 * lyxtext.h: rename first -> first_y
12078 * lyxlayout.C (Read): remove lowercase
12081 (obsoleted_by): ditto
12083 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12085 * buffer.C (insertErtContents): add params are to InsetERT
12086 (parseSingleLyXformat2Token): add code to check if a paragraphs
12087 layout really exist.
12088 (parseSingleLyXformat2Token): add params to several inset
12090 (asciiParagraph): remove lowercase, do the layout comparisons with
12093 * BufferView_pimpl.C (cursorNext): first -> first_y
12094 (resizeCurrentBuffer): first -> first_y
12095 (updateScrollbar): first -> first_y
12096 (scrollCB): first -> first_y
12097 (workAreaMotionNotify): first -> first_y
12098 (workAreaButtonPress): first -> first_y
12099 (checkInsetHit): first -> first_y
12100 (cursorPrevious): first -> first_y
12101 (cursorNext): first -> first_y
12102 (Dispatch): add buffer_->params to severl inset contructors
12104 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12106 * lyxlayout.C (Read): remove some debug info that I forgot.
12108 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12109 clean up the code slightly.
12110 (makeLinuxDocFile): ditto
12111 (makeDocBookFile): ditto
12113 * text2.C: layout as string
12115 * text.C: layout as string
12117 * paragraph_pimpl.C: layout as string
12119 * paragraph.[Ch]: layout as string
12121 * lyxtextclasslist.[Ch]: layout as string
12123 * lyxtextclass.[Ch]: layout as string
12125 * lyxtext.h: layout as string
12127 * lyxlayout.[Ch]: layout as string
12129 * lyx_cb.C: layout as string
12131 * bufferview_funcs.C: layout as string
12133 * bufferparams.C: layout as string
12135 * buffer.C: layout as string
12137 * LyXView.[Ch]: layout as string
12139 * LaTeXFeatures.[Ch]: layout as string
12141 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12143 * BufferView_pimpl.C: change current_layout to string, remove
12148 (workAreaButtonRelease): layout as string
12150 * BufferView2.C (unlockInset): adjust
12152 * vspace.C (asLatexCommand): use an explict temp variable.
12154 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12156 * Makefile.am: use FRONTEND_*
12158 2002-03-01 Juergen Vigna <jug@sad.it>
12160 * tabular.C (SetWidthOfMulticolCell): changed to something better
12161 I hope but still work in progress.
12162 (recalculateMulticolumnsOfColumn): renamed function from
12163 recalculateMulticolCells as it is more appropriate now.
12164 (SetWidthOfCell): calculate multicols better.
12166 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12168 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12170 * lyxfunc.C (processKeySym): print sequence also if it is
12171 `deleted' (complete)
12173 * kbsequence.C (print): print sequence even if it is deleted
12174 (complete would be a better word, actually).
12176 * lyxfunc.C (dispatch): print complete options after a prefix key
12178 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12180 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12182 * text2.C (setCharFont): eliminate setCharFont code duplication.
12184 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12186 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12187 LFUN_TABULAR_FEATURE (bug #177)
12189 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12191 * Makefile.am: remove figure.h
12193 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12195 * Bufferview_pimpl.C:
12207 * text2.C: remove #include "lyx_gui_misc.h".
12209 * LaTeX.C: added #include <cstdio>
12211 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12213 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12214 that the paragraph following this one can have.
12216 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12218 * vspace.C (asLatexCommand): fix bogus gcc warning
12220 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12222 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12224 * text2.C (setLayout): get rid of redundant code
12226 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12228 * text2.C (incDepth): make sure depth cannot be increased beyond
12231 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12233 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12234 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12236 * PainterBase.h (image):
12237 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12238 a LyXImage const *.
12240 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12244 * BufferView_pimpl.C:
12245 * BufferView_pimpl.h:
12265 * sp_spell.C: remove fig inset, and the crap house of
12266 cards that follows it
12268 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12273 * os2_errortable.h:
12274 * nt_defines.h: move .h into support/
12276 * vms_defines.h: remove
12278 * WorkArea.C: add space in debug output
12282 * buffer.C: add WITH_WARNINGS
12286 * bufferlist.C: s/retrive/retrieve/, add docs
12295 * chset.C: add docs
12297 * lyxgui.C: add ID to X error handler
12299 * lyxtestclass.c: fix typo
12301 2002-02-26 Juergen Vigna <jug@sad.it>
12303 * tabular_funcs.C (write_attribute): changed so that some default
12304 attributes are not written at all.
12305 (getTokenValue): set default values before trying to read the
12306 value so we have the return value always set as default if we don't
12307 find the token we search for.
12309 * tabular.C (Write): write bools as bools not as strings!
12311 2002-02-22 Juergen Vigna <jug@sad.it>
12313 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12314 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12316 * text.C (leftMargin): don't add an indent for paragraphs inside
12317 tabular cells (fix #208).
12319 2002-02-21 José Matos <jamatos@fep.up.pt>
12321 * tabular.C (docBook): fixed support for long tables.
12323 2002-02-20 Juergen Vigna <jug@sad.it>
12325 * text2.C (getFont): get the drawing font of the Inset if this
12326 paragraph is inside an inset (only important for InsetERT for now).
12328 * buffer.C (insertErtContents): use new lanugage params in ERT
12331 * CutAndPaste.C: commenting out seemingly uneeded code.
12333 2002-02-19 Allan Rae <rae@lyx.org>
12335 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12336 Iterators might be simple to use but they also get invalidated.
12337 (removeAutoInsets): renamed saved cursor tracking variables and added
12338 some comments to clarify what everything does.
12340 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12347 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12348 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12351 * vc-backend.h: remove #include "support/syscall.h"
12355 * converter.C: rearrange #includes in Lars' approved fashion.
12357 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12358 forward declare class Timeout in the header file.
12360 * XFormsView.C: changes due to the above.
12362 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12363 similar to LyXView.
12365 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12366 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12368 2002-02-18 José Matos <jamatos@fep.up.pt>
12370 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12373 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12375 * a lot of small ws changes
12376 * add a lot of using std::XXX
12377 * use std construcs some places where approp.
12378 * use some exisint stuff from lyxfunctional where approp.
12379 * Make file changes to use partial linking (lets test this now...)
12381 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12385 remove #include "support/syscontr.h" as it's redundant. Always has been.
12393 change Systemcalls::System to Systemcalls::Wait and
12394 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12395 No change of functionality, just reflects the stripped down Systemcalls
12398 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12400 * debug.[Ch]: add a GRAPHICS type to the enum.
12402 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12404 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12406 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12409 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12411 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12412 match the changes below.
12414 * text2.C (toggleInset): if there is not editable inset at cursor
12415 position, try to see if cursor is _inside_ a collapsable inset
12418 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12420 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12421 document menu has a nice checkbox
12423 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12425 * lyxlength.C (asLatexString): change PW to output as percent of
12428 * lengthcommon.C: change '%' to 't%'
12430 * lyxfunc.C (dispatch): a few comments from Martin
12432 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12436 * BufferView_pimpl.h:
12437 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12440 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12442 * vspace.C (inPixels): fix compiler warning
12444 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12446 * lyxfunc.C (getStatus): fix status message for disabled commands.
12448 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12450 * BufferView_pimpl.C: fix crash on close buffer
12451 during selection (#227)
12453 2002-01-27 Herbert Voss <voss@lyx.org>
12455 * buffer.C: link old Figure to new graphic inset
12457 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12459 * FontLoader.C (getFontinfo): Change the latex font names in order
12460 to match the names of type1inst.
12462 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12464 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12466 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12467 (extchanged): ditto
12469 (remove_files_with_extension): ditto
12470 (remove_file): ditto
12473 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12474 document is smaller than the work area height. Do not initialize
12475 static variables to 0.
12477 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12479 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12481 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12482 LFUN_LAYOUT_PARAGRAPHS.
12484 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12485 tabular. It is possible to provide a possible cell, which will
12486 typically be the actcell from the corresponding insettabular
12488 * lyxfunc.C (getStatus): small cleanup; disable
12489 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12492 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12494 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12496 * paragraph.C (startTeXParParams):
12497 (endTeXParParams): new methods. The LaTeX code to
12498 start/end paragraph formatting
12499 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12500 empty (fixes bug #200)
12502 * vspace.C (inPixels): adapt to the change below
12503 (inPixels): [later] more cleanups (remove unused variables)
12505 * lyxlength.C (inPixels): change to use a width and a height as
12508 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12510 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12511 Replaced with \paperwidth
12513 * DepTable.C (insert): add std:: qualifier
12515 2002-01-18 Allan Rae <rae@lyx.org>
12517 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12520 * text.C (drawInset): Turned out I didn't know enough about how
12521 rebreaking worked. This fixes most of the redraw problems. I see
12522 an occasional cursor trail when a line is broken now and the cursor
12523 placement can seem out by a few pixels also after a rebreak.
12525 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12527 * buffer.C (parseSingleLyXformat2Token): update because minipage
12528 width is now a LyXLength
12530 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12532 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12535 2002-01-17 Juergen Vigna <jug@sad.it>
12537 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12539 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12540 is set correctly and the inset is updated correctly.
12542 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12544 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12545 the beginning of the loop.
12547 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12549 * lyxrc.C: improve help for use_scalable_fonts
12551 2002-01-17 Allan Rae <rae@lyx.org>
12553 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12555 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12557 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12558 make sure to set their inset_owner to the right value (bug #171)
12560 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12563 * DepTable.C: Implement mtime checking to reduce time spent doing
12566 2002-01-16 Juergen Vigna <jug@sad.it>
12568 * tabular.C (GetAdditionalHeight): one of error fixed.
12570 * lyxrc.C (output): small fix in writing use_pspell.
12572 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12574 * sp_base.h: #include LString.h
12576 2002-01-16 Allan Rae <rae@lyx.org>
12578 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12579 Can someone check this please?
12581 * text.C (drawInset): It was possible that p.row would be removed by
12582 breakAgainOneRow upsetting a few other settings. There may be another
12583 small tweak possible by setting need_break_row = 0 when p.row has been
12584 removed but I don't know enough about the logic here.
12586 2002-01-15 Allan Rae <rae@lyx.org>
12588 * text.C (insertChar): removed conditional truism.
12590 * BufferView2.C (removeAutoInsets): More tweaks.
12591 cur_par_prev could be a stray pointer. Check for trailing empty line
12592 in case last line was cur_par and only had an error inset on it.
12594 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12596 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12599 * vc-backend.C (most methods):
12600 * exporter.C (Export):
12601 * converter.C (convert):
12603 * LyXSendto.C (SendtoApplyCB):
12604 * lyxfunc.C (dispatch):
12608 * lyx_cb.C (AutoSave):
12610 * BufferView_pimpl.C (MenuInsertLyXFile):
12611 * buffer.C (runChktex): use Buffer::filePath().
12613 * buffer.h: rename filename to filename_; rename filepath to
12614 filepath_ and make it private
12615 (filePath): new method
12617 * buffer.C (writeFile): use fileName()
12620 * lyx_main.C (init): fix starting of LyX when the binary is a
12621 link from so,ewhere else.
12623 * minibuffer.C: include <cctype> for isprint
12625 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12627 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12628 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12629 name clash with InsetCollapsable's width function.
12631 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12633 * lastfiles.C: include <iterator>
12635 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12637 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12640 * buffer.C (makeLaTeXFile): ditto.
12641 Also make loop operation more transparent.
12643 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12645 * ToolbarDefaults.C: remove trailing comma closing namespace.
12647 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12649 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12652 * trans.C (Load): comment out unused variable, allowed.
12654 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12656 * minibuffer.[Ch] (append_char): new method to recieve input from the
12657 drop-down completion browser. If a key was pressed, then recieve this
12658 char and append it to the existing string.
12659 (peek_event): modify the positioning data passed to the completion
12660 browser so that it can be placed above the minibuffer rather than below.
12661 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12663 * LyXAction.C (init): alloe error-next for readonly documents.
12665 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12668 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12670 * bufferlist.C (readFile): create the buffer _after_ checking that
12673 * lyxfunc.C (verboseDispatch): fix handling of arguments
12675 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12677 * lyxrc.C: use string::erase() instead of initializing to "".
12680 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12682 * BufferView_pimpl.h:
12683 * BufferView_pimpl.C:
12686 * text2.C: tell X when we have made a selection for copying
12688 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12690 * BufferView_pimpl.C (MenuInsertLyXFile):
12691 * lyxfunc.C (menuNew):
12693 (doImport): add shortcuts to directory buttons
12695 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12698 * lyxfunc.C (setStatusMessage):
12699 (getStatusMessage): new methods
12700 (getStatus):use setStatusMessage instead of setErrorMessage
12701 (dispatch): when function is disabled, set error message here
12702 [instead of in getStatus previously]
12704 * BufferView_pimpl.C (workAreaButtonRelease): update
12705 toolbar/menubar here too.
12707 2002-01-13 Allan Rae <rae@lyx.org>
12709 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12710 Now seems indestructible. Remaining task is to audit all other
12711 code affected by deleteEmptyParagraphMechanism. One small quirk
12712 left is that an empty document with an error in the preamble can
12713 be made to report an error but no error box appears. I don't know
12715 (removeAutoInsets): Improved comments.
12717 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12720 * Thesaurus.C: update for Aiksaurus 0.14
12722 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12724 * text2.C (firstParagraph): removed member function, all uses
12725 replaces with ownerParagraph
12726 (redoParagraphs): here
12727 (updateInset): here
12728 (toggleAppendix): here
12729 * BufferView2.C (insertErrors): here
12730 (setCursorFromRow): here
12732 2002-01-13 Allan Rae <rae@lyx.org>
12734 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12735 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12736 There is still a way to segfault this although you may have to do this
12737 multiple times: Have an InsetERT with an unknown command in it.
12738 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12739 <down-arrow>, <Enter> again, View->DVI, BANG!
12741 * text2.C (setCursor):
12742 (deleteEmptyParagraphMechanism):
12743 * lyxtext.h (setCursor):
12744 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12745 Making use of the return value may help fix other bugs.
12747 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12749 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12751 * LyXView.C (updateMenubar): call MenuBar::update here
12752 (updateToolbar): but not here
12753 (showState): do not update toolbar/menubar
12755 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12756 should need to care about that.
12758 * lyxfunc.C (verboseDispatch): simplify a bit
12759 (getStatus): have a version which takes a pseudoaction, and
12760 another which requires a (kb_action,string).
12762 * LyXAction.C (retrieveActionArg): make it work also when action
12763 is not a pseudo-action.
12764 (getActionName): simplify a bit
12767 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12769 * lyxfunc.C (verboseDispatch): new families of methods with
12770 several ways to specify a command and a bool to indicate whether
12771 the command name and shortcut should be displayed in minibuffer
12772 (eventually, we could extend that to a finer bitmask like
12773 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12774 (dispatch): the pristine dispatch command which just, well,
12775 dispatchs! Note it still sets its result to minibuffer; I'm not
12778 * lyxfunc.h: remove setHintMessage
12780 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12782 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12784 * BufferView_pimpl.C (specialChar): delete new inset if we have
12785 not been able to insert it.
12787 * kbmap.C: revert to using int instead of kb_action, since all we
12788 are dealing with is pseudo-actions.
12790 * LyXAction.C (searchActionArg): change to return int instead of
12791 kb_action, since the result is a pseudoaction.
12793 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12795 * buffer.C (insertErtContents): Fix (partially) the font bug.
12797 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12799 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12800 as the other one is broken on my machine!
12802 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12805 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12807 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12809 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12810 reflect their actual use. Provide compatibility code for older lyxrc
12813 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12815 change names of popup font variables in line with the changes to lyxrc.C
12817 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12819 * buffer.C (asciiParagraph): avoid outputing a word twice after
12822 * lyxrc.C (getDescription): document that document_path and
12823 template_path can be empty.
12825 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12827 * LaTeXFeatures.C (getMacros):
12828 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12830 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12832 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12834 (getPackages): rename feature "floats" to "float". Use an array to
12835 iterate over 'simple' features (i.e. just a \usepackage). Add
12836 handling of "amsmath" (renamed from "amsstyle").
12838 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12840 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12843 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12845 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12846 FuncStaus::FuncStatus & FuncStaus::some_method().
12848 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12850 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12851 of the func_satus stuff. Edited and massaged in various ways by
12854 * lyxfunc.C (getStatus): use FuncStatus
12856 2002-01-08 Juergen Vigna <jug@sad.it>
12858 * text.C (nextBreakPoint): use function Inset::isChar().
12860 * paragraph.C (TeXOnePar): use function
12861 Inset::forceDefaultParagraphs.
12863 * buffer.C (latexParagraphs): use function
12864 Inset::forceDefaultParagraphs.
12866 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12868 * lyx_gui.C (init): set the style of the menu popups to
12869 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12871 2002-01-07 Juergen Vigna <jug@sad.it>
12873 * text.C (setHeightOfRow): small fix
12874 (prepareToPrint): don't look at alignment if we don't have the place
12877 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12879 * box.C: New file. Move the Box methods and functions out of box.h,
12880 following Lars' suggestion.
12882 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12884 * box.h: #include "support/LOstream.h", needed for inlined function.
12887 * lyxtextclasslist.C: added some using std declarations.
12889 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12891 * box.h: make signed dimensions to allow insets wider than
12892 the screen (bug #162)
12894 * BufferView_pimpl.C: add some insetHit debug
12896 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12898 * vc-backend.C: add FIXME
12900 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12902 * lyxfunc.C (getStatus): enable code for showing math font status
12905 2002-01-07 Juergen Vigna <jug@sad.it>
12907 * text.C (nextBreakPoint): removed debug output not needed anymore.
12909 2002-01-06 Juergen Vigna <jug@sad.it>
12911 * text.C (nextBreakPoint): fixed up this function we had this bug
12912 since ever but now hopefully we break row better.
12913 (insertChar): we have to check if an inset is the next char as it
12914 could now happen that a large inset is causing a break.
12916 2002-01-05 Juergen Vigna <jug@sad.it>
12918 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12919 if it doesn't like to be drawed.
12921 2002-01-04 Juergen Vigna <jug@sad.it>
12923 * BufferView2.C (lockInset): forgot to set a cursor.
12925 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12927 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12929 * FormMathsPanel.C:
12932 * form_maths_panel.C:
12933 * form_maths_panel.h:
12934 * form_maths_panel.fd: implemented sub- and super- buttons in math
12937 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12938 (or ^ space) to be used as in TeX (req'd by André).
12940 * lyxfunc.C: Allow ^ and _ again to be used both as
12941 super/subscript (mathed) and as themselves (in text).
12943 2002-01-03 Allan Rae <rae@lyx.org>
12945 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12946 "LyX" or the filename of the current buffer if it has one. This is a
12947 modified form of John Levon's patch.
12949 * XFormsView.C (setWindowTitle): also set icon title.
12951 * LyXView.h (setWindowTitle): signature changed.
12952 * XFormsView.h (setWindowTitle): ditto.
12954 2002-01-02 Juergen Vigna <jug@sad.it>
12956 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12958 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12960 * screen.C (topCursorVisible): introduce a temp var for
12961 text->cursor.row(), handle the case where this row is null. (kindo
12964 * text2.C (setCursor): add a couple of asserts.
12966 * paragraph.h (inset_iterator): add -> operator
12968 * paragraph.[Ch] (autoDeleteInsets): remove member function
12970 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12971 cursor pos correctly and handle inset deletion by itself.
12972 (insertErrors): move iterator declaration out of for expression
12974 * lyxtextclass.C: add <algorithm>
12976 * Makefile.am: added the new files to sources, removed layout.C
12978 * layout.C: removed file
12980 * layout.h: remove LYX_DUMMY_LAYOUT
12982 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12986 * lyxtextclass.[Ch]:
12987 * lyxtextclasslist.[Ch]: new files
12989 * include order changes to a lot of files, also changes because of
12992 2001-12-27 Juergen Vigna <jug@sad.it>
12994 * buffer.C (asciiParagraph): more fixes.
12996 * tabular.C (ascii): make ascii export support export of only the
12997 data separated by a column-delimiter.
12998 (ascii): better support for ascii export.
13000 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13002 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13004 * tabular_funcs.C: use a "using std::getline" instead of the
13005 previous fix from Angus (necessary for cxx + lyxstring)
13007 2001-12-24 Juergen Vigna <jug@sad.it>
13009 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13011 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13012 problems. First check a minipage also if we have some ert-contents
13013 (not only on par->size(), second set the right depth of the paragraph
13014 on the relink to the root-paragraph-list!
13016 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13017 which then did not anymore update the main paragraphs on undo/redo!
13019 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13021 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13022 code. Support all font-changing funcs (even those which are not in
13023 menu currently). Support for reporting font settings in
13024 mathed (disabled until Andre provides a function on mathed's side).
13026 * func_status.h (toggle): small helper function to set toggle
13029 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13031 * tabular_funcs.C: getline -> std::getline
13033 2001-12-21 Juergen Vigna <jug@sad.it>
13035 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13036 accessed and could be 0 (I couldn't generate this but it seems
13039 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13041 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13042 * tabular_funcs.h: here and include iosfwd
13044 2001-12-20 Juergen Vigna <jug@sad.it>
13046 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13047 inside inset but undo_par was.
13049 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13051 * Thesaurus.C: always include <config.h> in sources.
13055 * box.h: do not include <config.h> in header files
13057 * text.C (paintLastRow): remove unused variable
13059 * text.C (transformChar):
13061 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13063 * Painter.C (text):
13064 * font.C (width): rewrite to use uppercase() instead of
13067 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13069 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13071 * lyxfind.C: clean up of find failure position change
13073 2001-12-20 Juergen Vigna <jug@sad.it>
13075 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13077 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13078 (TeXRow): added to LaTeX a single tabular row.
13079 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13080 (Latex): simplified and finally good LT-h/f support.
13081 (various_functions): just small adaptions for LT-h/f support.
13083 * tabular_funcs.[hC]: added and moved here all not classfunctions
13086 2001-12-19 Juergen Vigna <jug@sad.it>
13088 * tabular.[Ch]: better support for longtabular options (not finished
13091 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13093 * text.C (paintLastRow): use the label font instead of the font of
13094 the last character to compute the size of *_BOX. This makes more
13095 sense and avoids a crash with empty paragraphs.
13096 Use Painter::rectangle to draw EMPTY_BOX.
13098 2001-12-19 Juergen Vigna <jug@sad.it>
13100 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13101 the paragraphs if the replaced paragraph is not the first one!
13102 Tried to delete not used paragraphs but does not work yet so for
13103 now it's inside #ifdef's and by default off!
13105 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13107 * MenuBackend.C: include "lyx_main.h" instead of declaring
13108 lastfiles (actually was declared as LastFiles* instead of a
13111 2001-12-17 Juergen Vigna <jug@sad.it>
13113 * tabular.C (AppendColumn): applied John's fix
13115 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13119 * BufferView_pimpl.h:
13120 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13123 * box.h: new start of class for above
13125 * lyxfunc.C: ignore space-only minibuffer dispatches.
13126 Show the command name when it doesn't exist
13128 * minibuffer.C: don't add empty lines to the history
13130 * minibuffer.C: add a space on dropdown completion
13132 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13134 * text.C: fix line above/below drawing in insets
13136 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13138 * lyxlength.C (LyXLength): Initialize private variables.
13140 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13142 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13143 when inserting error insets.
13145 2001-12-13 Juergen Vigna <jug@sad.it>
13147 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13148 actually sometimes the before-paragraph.
13149 (setUndo): don't clear the redostack if we're not actually undoing!
13151 2001-12-06 Juergen Vigna <jug@sad.it>
13153 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13154 and fixed redoing of main paragraph, so we can use it now ;)
13156 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13158 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13160 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13163 2001-12-13 André Pönitz <poenitz@gmx.net>
13166 * undo_func.C: minor cleanup
13168 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13170 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13171 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13172 font in urw-fonts package which is marked as -urw-fontspecific and
13173 does not work (incidentally, changing the encoding in the
13174 fonts.dir of this package to -adobe-fontspecific fixes the
13177 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13178 is a crash when undoing first paragraph (Juergen, please take a
13179 look). THis does not mean the undo fix is wrong, just that it
13182 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13183 the (Paragraph*) version when needed instead of duplicating the
13186 * text.C (workWidth): use Inset::parOwner to find out where the
13187 inset has been inserted. This is a huge performance gain for large
13188 documents with lots of insets. If Inset::parOwner is not set, fall
13189 back on the brute force method
13191 * paragraph_pimpl.C (insertInset):
13192 * paragraph.C (Paragraph):
13193 (cutIntoMinibuffer): set parOwner of insets when
13194 inserting/removing them
13196 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13198 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13204 * mathed/formulabase.C:
13205 * mathed/math_cursor.[Ch]:
13206 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13209 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13211 * lyxlength.[Ch] (operator!=): new function
13213 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13215 * text.C (workWidth): use Inset::parOwner to find out where the
13216 inset has been inserted. This is a huge performance gain for large
13217 documents with lots of insets. If Inset::parOwner is not set, fall
13218 back on the brute force method
13220 * paragraph_pimpl.C (insertInset):
13221 * paragraph.C (Paragraph):
13222 (cutIntoMinibuffer): set parOwner of insets when
13223 inserting/removing them
13225 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13227 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13229 * tabular-old.C (getTokenValue):
13230 * tabular.C (getTokenValue):
13231 (write_attribute): new versions for LyXLength
13232 (everywhere): adjust the use of widths
13234 * tabular.h: change the type of widths from string to LyXLength
13236 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13238 * paragraph.C: fixed missing line number count when exporting
13239 Environments to LaTeX file
13241 * buffer.C: added informational message for checking line numbers.
13243 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13245 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13246 paragraph, do the 'double space' part, but not the 'empty
13249 * text.C (workWidth): small optimization
13250 (getLengthMarkerHeight): use minimal size for negative lengths.
13252 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13254 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13256 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13258 2001-12-11 André Pönitz <poenitz@gmx.net>
13261 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13263 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13265 * text2.C: keep selection on a setFont()
13267 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13269 * lyx_cb.C: another bv->text misuse, from insert label
13271 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13274 * kbsequence.C: re-instate nmodifier mask
13276 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13278 * lyx_main.h: make lyxGUI private.
13280 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13282 * lyxfind.C: place the cursor correctly on failed search
13284 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13286 * text.C (getLengthMarkerHeight): for small heights, the arrows
13287 are not always on top/bottom of the text
13288 (drawLengthMarker): smaller arrows; take the left margin in
13289 account; draw also vfills.
13291 (paintLastRow): remove special code for vfill and standard spaces,
13292 since everything is handled in drawLengthMarker now.
13294 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13296 * buffer.C (insertErtContents): try to handle font and language
13297 interaction a bit better.g
13299 * ColorHandler.C (updateColor): change the hash to cover the whole
13300 LColor enum, ws cleanup
13301 (getGCLinepars): ditto
13302 (getGCLinepars): only lookup in the linecache once.
13304 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13306 * iterators.C (operator++): Make the iterator more robust
13308 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13310 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13312 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13315 * text.C: better added space drawing
13317 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13320 * BufferView2.C: fix layout combo update on inset unlock
13322 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13324 * Makefile.am: don't compile unused files
13326 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13330 * LyXAction.C: remove old LFUN_LAYOUTNO
13332 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13334 * paragraph_pimpl.h:
13335 * paragraph_pimpl.C: isTextAt() doesn't need font param
13337 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13340 * lyxlex.C: little cleanup
13342 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13344 * BufferView_pimpl.C: fix insertAscii for insets
13346 2001-12-05 Juergen Vigna <jug@sad.it>
13348 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13349 set the right font on the "multi" paragraph paste!
13351 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13357 * lyxlength.C: remove out-commented code.
13359 * BufferView_pimpl:
13373 * vc-backend.C: change "while(" to "while ("
13375 * lyxlength.[Ch]: add zero function to check if length is zero or
13377 * lyxgluelength.C: use it
13379 2001-12-05 Allan Rae <rae@lyx.org>
13381 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13382 Works for 2.95.3, from what I understand of Garst's reports this should
13383 work for other g++ versions. We're screwed if the abs(int) definition
13384 changed between bugfix releases of gcc.
13386 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13388 * text.C: fix chapter label offset !
13390 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13393 * text.C: fix hfill at end of line, clean up
13395 2001-12-04 Juergen Vigna <jug@sad.it>
13397 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13398 that we force an update of the inset and it's owners if neccessary.
13400 2001-12-03 Juergen Vigna <jug@sad.it>
13402 * text.C (rowLast): simplified code
13404 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13406 * lyxfunc.C: fix show options on timeout
13408 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13410 * screen.C (topCursorVisible): scroll half a page when the cursor
13411 reached top of bottom of screen
13413 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13415 * minibuffer.C: deactivate on loss of focus
13417 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13419 * vspace.[Ch] (operator!=): add operator.
13421 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13423 * BufferView_pimpl.C: refuse to open an inset when
13424 there's a selection.
13426 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13428 * BufferView_pimpl.C: allow to click on RHS of full row insets
13430 2001-11-30 Juergen Vigna <jug@sad.it>
13432 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13433 insets for undo reasons.
13435 2001-11-28 André Pönitz <poenitz@gmx.net>
13437 * vspace.[Ch]: cosmetical changes
13439 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13449 * kbsequence.C: part re-write of old kb code
13452 * WorkArea.C: remove Lgb_bug_find_hack
13454 2001-11-30 José Matos <jamatos@fep.up.pt>
13456 * buffer.C (makeDocBookFile): add a comment to point a hack.
13457 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13458 Fixed a double write of labels.
13460 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13463 * LaTeX.h Fixed bug in LaTeX class where it would not
13464 re-run latex if no depfiles were changed, but the .dvi was removed.
13466 2001-11-28 André Pönitz <poenitz@gmx.net>
13468 * all the files from the change on 2001/11/26:
13469 use lyx::layout_type instead of LyXTextClass::size_type
13470 use lyx::textclass_type instead of LyXTextClassList::size_type
13472 2001-11-29 Juergen Vigna <jug@sad.it>
13474 * text.C: added support for paragraph::isFreeSpacing()
13476 * buffer.C: same as above
13478 * paragraph.h: inserted isFreeSpacing() function to enable
13479 FreeSpacing inside InsetERT.
13481 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13482 of the paragraph's in the cut/copy buffer to 0!
13484 * text2.C (removeRow): remove the assert as it can!
13486 * lyxtext.h: added helper function firstRow returning firstrow and
13487 made firstrow private again.
13489 * BufferView2.C (lockInset): don't relock if we're already locked!
13491 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13492 the only paragraph.
13493 (removeRow): added Assert::(firstrow)
13495 * debug.C: forgot to add INSETTEXT here.
13497 2001-11-28 Juergen Vigna <jug@sad.it>
13499 * sp_spell.C (initialize): changed error text to more general
13500 spellchecker command use (not only ispell!)
13502 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13504 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13506 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13508 * vspace.C: initialise lyxgluelength on failure
13510 2001-11-28 Allan Rae <rae@lyx.org>
13512 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13513 declaration & definition that looks like a function declaration.
13515 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13517 * BufferView2.C (copy):
13518 (copyEnvironment): do not clear the selection when doing a copy.
13520 * text.C (paintFirstRow): compilation fix
13522 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13524 * tabular.C (Latex): correct line count when writing latex.
13526 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13528 * paragraph_pimpl.h:
13529 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13532 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13536 * LColor.C: change vfillline->added_space
13538 * text.C: add markers and text for added space
13540 * vspace.C: fix comment
13542 2001-11-28 André Pönitz <poenitz@gmx.net>
13544 * paragraph.C: whitespace changes
13545 * all the other files from the change on 2001/11/26:
13546 change *::pos_type into lyx::pos_type
13548 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13550 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13551 language of the document when inserting error insets.
13553 2001-11-26 André Pönitz <poenitz@gmx.net>
13555 * BufferView_pimpl.[Ch]:
13563 * paragraph_pimpl.[Ch]:
13566 * text2.C: reduce header dependencies, introduce type for positions
13568 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13570 * <various>: change to use Alert.h
13572 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13574 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13575 when encountering an unknown token.
13576 (readLyXformat2): Show an error message if there were unknown tokens.
13578 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13581 * BufferView_pimpl.C:
13585 * text2.C: use par->isInset()
13587 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13589 * paragraph_pimpl.h:
13590 * paragraph_pimpl.C: cleanup
13592 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13594 * text2.C (removeRow):
13595 * text.C (setHeightOfRow): remove useless (and costly) call to
13598 2001-11-20 Allan Rae <rae@lyx.org>
13600 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13601 Now need Inset*::checkInsertChar() to return true for appropriate
13602 cases so that the characters in the minibuffer will actually be
13605 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13607 * text.C: change the order of the includes.
13608 (workWidth): initialize it at once.
13609 (workWidth): make maxw unsigned
13610 (setHeightOfRow): remove unused variable (inset)
13611 (selectSelectedWord): remove unused variable (inset)
13612 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13614 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13616 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13617 server is not running.
13619 (closeConnection): add debug info when server is disabled.
13621 * ColorHandler.C (getGCForeground): send debug message to GUI
13624 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13626 * kbmap.C (bind): modify because return conventions of
13627 kb_sequence::parse have changed.
13629 * kbsequence.C (parse): only ignore spaces and not any stupid
13630 control character. This avoids tests like s[i] <= ' ', which are
13631 guaranteed to fail with 8bit characters and signed chars.
13632 Change return code to string::npos when there have been no error
13633 (0 was a bad idea when error is at first character)
13635 2001-11-14 José Matos <jamatos@fep.up.pt>
13638 * buffer.C (simpleDocBookOnePar): removed unused argument.
13640 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13642 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13643 insets which are part of a word. Paragraph::isLetter takes care of
13644 that now. Use Paragraph::isInset to identify insets.
13645 (selectSelectedWord): do not test for hyphenation break.
13647 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13648 that protected spaces are considered as spaces.
13650 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13653 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13656 * lyxserver.C: fix it. and small cleanup.
13658 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13660 * BufferView_pimpl.C: use inline helpers
13663 * LaTeXFeatures.C: fix typos
13666 * Spacing.C: move spacing_string into class
13668 * ToolbarDefaults.C: move stuff into namespace anon
13670 * layout.h: update enum
13672 * lyxfunc.C: use better debug
13674 * minibuffer.h: fix typo
13678 * WorkArea.C: add and use Debug::WORKAREA
13682 * text2.C: code re-organisation, inline helpers
13684 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13686 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13687 std::vector.empty().
13689 2001-11-09 Allan Rae <rae@lyx.org>
13691 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13692 '\n's after tables. Tabular and ERT inset work now makes this no
13695 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13698 * minibuffer.C: fix crash, improve drop-down completion
13700 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13703 * lyxserver.C: invalidate fd's when doing endPipe()
13705 2001-11-08 José Matos <jamatos@fep.up.pt>
13707 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13708 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13711 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13713 2001-11-07 José Matos <jamatos@fep.up.pt>
13716 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13719 * buffer.C (sgmlOpenTag):
13720 * buffer.C (sgmlCloseTag): removed debug info.
13722 * buffer.h (sgmlOpenTag):
13723 * buffer.h (sgmlCloseTag): made public.
13725 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13727 * buffer.C (saveParamsAsDefaults):
13728 * lyx_cb.C (MenuLayoutSave): remove
13730 * LyXAction.C (init):
13732 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13734 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13736 * buffer.C (setPaperStuff): removed from here...
13738 * bufferparams.C (setPaperStuff): ... and moved there.
13740 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13744 * XFormsView.C: add support for drop-down completion
13746 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13748 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13751 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13753 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13756 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13758 * lyx_main.C: change ref to known bugs
13760 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13762 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13763 to work around older babel problems.
13765 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13767 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13769 2001-10-24 Juergen Vigna <jug@sad.it>
13771 * tabular-old.C (ReadOld): below variable changes reflected.
13773 * tabular.[Ch]: added ltType struct for longtable header/footer
13774 defines and changed all instances where they are used. Added
13775 future support for double top/bottom rows.
13777 2001-10-24 José Matos <jamatos@fep.up.pt>
13779 * buffer.h (docbookHandleCaption):
13780 * buffer.C (docbookHandleCaption): removed unused function.
13781 (makeDocBookFile): moved docbook supported version to v4.1.
13783 2001-10-24 José Matos <jamatos@fep.up.pt>
13786 * tabular.C (docbookRow): new function to export docbook code of a row.
13787 (DocBook): now honors the longtable flags.
13789 2001-10-23 José Matos <jamatos@fep.up.pt>
13792 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13793 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13795 * buffer.C (makeLinuxDocFile):
13796 (makeDocBookFile): reworked the preamble, more clean, and with
13797 support for lyx defined entities. Changed the document declaration
13798 to be more XML friendly.
13800 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13801 if we need to output XML that should be done with a filter.
13803 2001-10-22 Juergen Vigna <jug@sad.it>
13805 * sp_pspell.h (class PSpell): add alive function needed in the
13806 controller to see if the spellchecker could be started.
13808 2001-10-22 Juergen Vigna <jug@sad.it>
13810 * buffer.C (insertStringAsLines): modify the font for inserting
13811 chars in certain conditions by calling checkInsertChar(font).
13813 2001-10-19 Juergen Vigna <jug@sad.it>
13815 * text.C (workWidth): use getRow instead of wrong algorithm.
13816 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13818 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13823 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13825 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13827 * text.C (workWidth): do not search for the exact row when
13828 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13829 optimization for big documents.
13831 2001-10-18 Juergen Vigna <jug@sad.it>
13833 * text.C (workWidth): new function with added Inset * parameter.
13835 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13837 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13839 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13840 change return type of getColumnNearX.
13843 * text.C (changeRegionCase): use uppercase/lowercase instead of
13846 (rightMargin): simplify code by factoring out the uses of
13851 (appendParagraph): use Paragraph::size_type
13853 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13855 * vspace.C (asLatexString): add a missing break
13857 2001-10-15 Herbert Voss <voss@perce.de>
13859 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13861 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13863 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13866 2001-10-10 André Pönitz <poenitz@gmx.net>
13868 * lyxfunc.C: removed greek_kb_flag.
13870 2001-10-10 Herbert Voss <voss@perce.de>
13872 * lyx_main.C: delete global string help_lyxdir.
13874 2001-10-09 Herbert Voss <voss@perce.de>
13876 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13878 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13880 * lyx_main.C: added global string help_lyxdir.
13882 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13884 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13886 * lyxrc.C (set_font_norm_type): support iso8859-4
13888 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13890 * LaTeX.C (deplog): add another regex for MikTeX
13892 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13894 * lyxrc.C (set_font_norm_type): support iso8859-3
13896 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13898 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13900 * LaTeXFeatures.C: remove special case of french and index
13902 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13903 before \begin{document}). This solves several incompatibilities.
13905 2001-10-03 Garst Reese <reese@isn.net>
13907 * lyx_cb.C: change CheckTex error msg.
13909 2001-10-03 José Matos <jamatos@fep.up.pt>
13911 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13913 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13915 * .cvsignore: update
13917 * lyx_main.C (commandLineVersionInfo): use new style version info.
13919 * buffer.C (writeFile):
13921 (makeLinuxDocFile):
13922 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13924 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13926 * version.h: update to use stuff in version.C
13928 * version.C.in: new file. Contains version information determined
13929 at compile time. This is a merging of version.h and
13932 2001-10-03 Juergen Vigna <jug@sad.it>
13934 * BufferView_pimpl.C (update): don't change "dirty" status in
13937 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13939 * WorkArea.C (c-tor): re-position version string slightly.
13941 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13943 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13944 revert to previous code.
13946 WorkArea.[Ch]: (show, destroySplash): methods removed.
13948 WorkArea.C: rework code so that it's an amalgam of the codes before and
13949 after the splash screen was moved to WorkArea.
13951 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13954 * vspace.C (inPixels):
13957 * buffer.C (insertStringAsLines):
13958 (asciiParagraph): fix types to be large enough
13960 * lyxlex_pimpl.h: change member status from short to int
13962 * layout.h: fix type of endlabeltype
13965 * kbsequence.C (parse): change return type to string::size_type
13967 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13970 * Bullet.C (bulletSize):
13971 (bulletEntry): do not use short ints as parameters
13973 * BufferView2.C (insertLyXFile): change a char to an int.
13975 * WorkArea.C (WorkArea): remove unneeded floats in computation
13977 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13979 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13981 * paragraph.C (asString): Do not ignore newline/hfill chars when
13982 copying to the clipboard.
13984 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13986 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13987 after a multi-line inset.
13989 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13991 * paragraph.C (validate): Set NeedLyXFootnoteCode
13993 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13995 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13996 and decrease-error to decrease.
13998 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14000 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14001 it more readable (should be equivalent)
14003 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14005 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14007 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14009 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14010 of a cursor (row, etc.) after a character has been deleted
14011 (deleteEmptyParagraphMechanism): call the method above on _all_
14012 cursors held by the LyXText when a double space has been
14015 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14017 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14019 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14021 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14022 background. Use greyOut() and the new show() methods to toggle between
14023 the foreground and background. Add code to remove the splash after
14024 its initial showing.
14026 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14027 (create_forms): no longer call Dialogs::showSplash.
14029 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14031 * .cvsignore: add version_info.h
14033 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14035 * version_info.h.in: new file
14037 * Makefile.am: add version_info.h.in
14039 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14040 version_info.h instead of VERSION_INFO
14042 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14044 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14045 The ERT inset now returns string().
14047 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14049 * lyxtext.h, text.C (selectNextWord): renamed as
14050 selectNextWordToSpellcheck.
14052 * text.C (selectNextWordToSpellcheck): Modified to not select
14053 words inside an ERT inset.
14055 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14057 * lyx_cb.C (MenuLayoutSave): change a bit the question
14059 * sp_base.h: include <sys/types.h>
14061 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14063 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14065 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14067 * several files: fix typos in user-visible strings
14069 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14071 * text2.C (pasteSelection): do not set the selection, since it
14072 will be cleared later. Actually, the intent was to fix the way the
14073 selection was set, but I figured rmoving the code was just as good.
14075 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14077 * FontLoader.C (available): Check if font is available without
14080 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14082 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14084 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14086 * lyxrc.[Ch]: added display_graphics variable and associated code.
14088 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14090 * bufferparams.C (hasClassDefaults): new method. Returns true if
14091 the buffer parameters correspond to known class defaults
14093 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14095 * XFormsView.C (show): set minimum size to the main window.
14097 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14099 * text2.C (copySelection):
14101 * lyxfind.C (LyXReplace):
14102 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14103 LyXText::selectionAsString.
14105 * paragraph.C (asString): add "label" argument to the second form
14107 * text2.C (selectionAsString): add "label" argument and pass it to
14108 Paragraph::asString.
14110 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14112 * lyx_main.C (commandLineHelp): remove version information
14114 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14116 * lyx_main.C: add -version commandline option
14118 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14120 * paragraph.h: make the optional constructor arg required instead.
14121 some modifications to other files because of this.
14123 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14125 * lyxserver.C (C_LyXComm_callback): make it static
14127 * lyx_main.C (error_handler): make it static
14129 * lyx_gui.C (LyX_XErrHandler): make it static
14131 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14133 * WorkArea.C: make the extern "C" methods static.
14135 * Makefile.am (lyx_LDADD): simplify
14137 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14139 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14140 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14142 * LyXAction.C (init):
14143 * lyxfunc.C (dispatch): associated code removal.
14145 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14147 * lyxfont.h (isSymbolFont): shut off warning
14149 * text.C (setHeightOfRow):
14150 (getVisibleRow): fix crash with empty paragraphs which have a
14153 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14155 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14158 2001-09-04 José Matos <jamatos@fep.up.pt>
14161 * tabular.C (docbook): rename docBook method to docbook.
14163 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14165 * Makefile.am: add dependencies to main.o.
14167 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14169 * FontLoader.C (available): Return false if !lyxrc.use_gui
14171 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14173 * FontInfo.C (query):
14174 * converter.C (view):
14175 * importer.C (Import):
14176 * exporter.C (Export): Can not -> cannot.
14178 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14180 * BufferView_pimpl.C: allow to create index inset even if
14183 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14185 * buffer.C (getLists): replace boost::tie code with an explicit pair
14186 as boost::tie can break some compilers.
14188 * iterators.h: Added a std:: declaration to the return type of
14191 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14193 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14196 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14198 * iterators.[Ch]: New files. Provide paragraph iterators.
14200 * buffer.C (changeLanguage): Use paragraph iterators.
14201 (isMultiLingual): ditto
14203 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14205 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14207 * FontLoader.C: Support for cmr font.
14209 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14211 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14212 (available): New method.
14214 * FontInfo.C (getFontname): Use scalable fonts even when
14215 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14218 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14220 * converter.C (Formats::view): reverted! Incorrect fix.
14222 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14224 * converter.C (Formats::view): only output the -paper option
14225 if the dvi viewer is xdvi, thereby fixing bug #233429.
14227 2001-08-23 Herbert Voss <voss@perce>
14229 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14231 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14233 * Spacing.h (Spacing): Set space to Default on in the default
14236 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14238 * vc-backend.h (RCS::versionString): add RCS to version
14239 (CVS::versionString): add CVS to version
14241 * vc-backend.C (scanMaster): do not add CVS to version.
14242 (scanMaster): do not add RCS to version
14244 * lyxvc.C (versionString): new method
14246 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14248 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14250 * Spacing.C (set): initialize fval
14252 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14254 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14257 2001-08-16 Juergen Vigna <jug@sad.it>
14259 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14261 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14263 * BufferView_pimpl.C:
14266 * text2.C: setParagraph takes linespacing now
14268 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14270 * LyxAction.C: add internal LFUN_CITATION_INSERT
14272 * LyXView.C: actually apply fix
14274 * bufferlist.C: fix open non-existent file
14276 * lyxfind.C: fix indentation
14278 * lyxfunc.C: remove unneeded assert, fix typo
14280 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14282 * MenuBackend.C: use "Floatname List"
14284 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14286 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14287 when converting LaTeX layout to insetERT.
14288 Generate a non-collapsed float when reading old float
14290 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14292 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14295 2001-08-13 Juergen Vigna <jug@sad.it>
14297 * text.C (fill): return 0 instead of 20 as this seems to be the more
14300 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14302 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14305 2001-08-13 Juergen Vigna <jug@sad.it>
14307 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14309 (SearchBackward): comment out the unlocking of the inset_owner this
14310 should not be needed!
14312 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14314 * Many files: Remove inherit_language, and add latex_language
14316 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14317 collapsible insets.
14319 2001-08-10 Juergen Vigna <jug@sad.it>
14321 * text.C (prepareToPrint): fixed hfill-width in draw!
14323 * BufferView2.C (selectLastWord): save the selection cursor as this
14324 now is cleared in the function LyXText::clearSelection!
14326 2001-08-08 Juergen Vigna <jug@sad.it>
14328 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14329 BACKSPACE type functions.
14331 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14332 is only cutted from the document but not put in the cut-buffer, where
14333 still the old stuff should be.
14335 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14337 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14339 * tabular.C (SetWidthOfCell): fixed special case where the width
14341 (LeftLine): handle '|' in align_special.
14343 (LeftAlreadyDrawed): ditto
14344 (SetWidthOfCell): ditto
14346 2001-08-07 Juergen Vigna <jug@sad.it>
14348 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14350 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14352 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14353 * lyxlex.[hC]: ditto
14355 2001-08-06 Juergen Vigna <jug@sad.it>
14357 * text.C (getVisibleRow): fix up row clearing a bit.
14359 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14361 * minibuffer.C: make sure the X server sees the changes in the input.
14363 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14365 * paragraph.C (getFont): split into...
14366 (getLabelFont): this
14367 (getLayoutFont): and this
14368 * paragraph_pimpl.C (realizeFont): calling this
14370 * text2.C (getFont): split into...
14371 (getLayoutFont): this
14372 (getLabelFont): and this
14373 (realizeFont): all three calling this
14375 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14378 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14380 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14382 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14384 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14385 layouts from the Quote inset insertion.
14387 2001-08-03 Juergen Vigna <jug@sad.it>
14389 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14391 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14392 only if status not is already CHANGED_IN_DRAW (second level).
14394 * text.C (draw): don't set the need_break_row when inside an
14397 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14399 * buffer.C (parseSingleLyXformat2Token): handle more latex
14402 * bufferview_funcs.[hC]: change function names to
14403 begin with small char, adjust other files.
14405 2001-08-02 André Pönitz <poenitz@gmx.net>
14408 BufferView_pimpl.C: remove broken special code for math-greek
14410 2001-08-02 Juergen Vigna <jug@sad.it>
14412 * BufferView_pimpl.C (update): redone this function so that we
14413 update the text again if there was a CHANGE_IN_DRAW.
14415 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14416 (drawFromTo): added a new internal bool which is used by draw() and
14418 (general): some cursor drawing problems fixed.
14420 2001-08-01 Juergen Vigna <jug@sad.it>
14422 * lyxfind.C (LyXFind): fixed
14423 (SearchForward): ditto
14424 (SearchBackward): ditto
14426 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14427 spurius drawing of the cursor in the main area.
14429 * text2.C (status): small fix which could lead to a segfault!
14430 (clearSelection): remove unneeded BufferView param.
14432 2001-08-01 André Pönitz <poenitz@gmx.net>
14434 * lyxfunc.C: small change due to changed mathed interface
14436 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14438 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14440 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14442 * lyxfunc.c: fail gracefully if file doesn't exist
14447 * BufferView_pimpl.C: IsDirWriteable() proto changed
14449 * LyXView.C: fix updateWindowTitle() to store the last title
14451 2001-07-31 Juergen Vigna <jug@sad.it>
14453 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14454 the font (wrong since using of Paragraph::highestFontInRange).
14456 * paragraph.C (highestFontInRange): added a default_size parameter.
14458 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14459 (setHeightOfRow): reformat
14461 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14463 * converter.[hC] + affected files: move to (inital-char)lowercase
14466 * ParagraphParameters.C (ParagraphParameters): remove commented code
14468 * PainterBase.[Ch]: remove commented code
14470 * LaTeXFeatures.h: add "bool floats" for float.sty
14472 * LaTeXFeatures.C (LaTeXFeatures): init floats
14473 (require): handle float
14474 (getPackages): do it with floats
14476 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14478 * BufferView_pimpl.C (Dispatch): improve handling of
14479 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14481 * commandtags.h: #include lyxfont.h here temporarily to avoid
14484 * bufferlist.h: include LString.h here.
14486 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14488 * text2.C (getStringToIndex): new method.
14490 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14492 * *: Reduced header file dependencies all over.
14494 2001-07-30 Baruch Even <baruch@lyx.org>
14496 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14498 2001-07-29 Baruch Even <baruch@lyx.org>
14500 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14502 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14504 * ParameterStruct.h (endif): add a default constructor to make
14505 sure that all variables is initialized.
14507 * ParagraphParameters.C (ParagraphParameters): adjust
14509 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14511 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14512 index; also, check that there is something to index, and that it
14513 does not span over several paragraphs.
14514 (doubleClick): use WHOLE_WORD_STRICT for double click.
14516 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14518 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14521 2001-07-26 Baruch Even <baruch@lyx.org>
14523 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14524 an InsetFig figure, backwards compatible reading of old figure code.
14526 2001-07-27 Juergen Vigna <jug@sad.it>
14528 * text2.C: font.realize function adaption.
14530 * text.C (draw): add a warnings lyxerr text if needed.
14532 * layout.C: font.realize function adaption.
14534 * language.C: add inherit_language and implement it's handlings
14536 * bufferview_funcs.C (StyleReset): remove language parameter from
14537 font creation (should be language_inherit now).
14539 * bufferparams.C (writeFile): handle ignore_language.
14541 * paragraph.C (getFontSettings): the language has to be resolved
14542 otherwise we have problems in LyXFont!
14544 * lyxfont.C (lyxWriteChanges): added document_language parameter
14545 (update): removed unneeded language parameter
14547 * paragraph.C (validate): fixed wrong output of color-package when
14548 using interface colors for certain fonts in certain environments,
14549 which should not seen as that on the final output.
14551 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14553 * BufferView_pimpl.C:
14558 * LyXAction.C: add thesaurus support
14561 * lyxfind.C: add "once" parameter, for thesaurus, to not
14562 move to the next match
14564 2001-07-26 Juergen Vigna <jug@sad.it>
14566 * lyxfont.C (realize): honor ignore_language too!
14569 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14571 * text.C (draw): one place more for ignore_language to not draw
14574 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14576 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14578 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14580 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14581 the minipage conversion problem.
14583 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14585 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14588 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14590 * BufferView.h: don't forward declare WorkArea
14592 * BufferView.C: don't include WorkArea.h
14594 2001-07-25 André Pönitz <poenitz@gmx.net>
14598 * lyxfunc.C: new LFUN 'math-space'
14600 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14602 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14604 * text2.C (toggleInset): call open/close
14606 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14608 * lyxfunc.C (dispatch): add debug for the disabled case
14610 * font.C (buttonText): make similar to rectText
14612 * buffer.C (readInset): comment out parsing of insetlist and
14615 * PainterBase.C (rectText): small correction
14617 * BufferView_pimpl.C: comment out insettheorem and insetlist
14618 * LyXAction.C: ditto
14619 * commandtags.h: ditto
14621 2001-07-24 Juergen Vigna <jug@sad.it>
14623 * text.C (draw): honor the ignore_language.
14625 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14627 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14629 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14632 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14634 * lyxtext.h: remove unused (and unimplemented) methods
14636 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14638 * text.C (getVisibleRow): honor background color
14641 * Painter.h: remove default color argument for fillRectangle
14643 * text.C (backgroundColor): new method
14645 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14647 * text.C (getVisibleRow): adjust
14649 * font.[Ch] (rectText): new method, metrics
14650 (buttonText): new method, metrics
14652 * PainterBase.[hC]: make rectText and buttonText always draw and take
14655 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14657 * ToolbarDefaults.C (read):
14658 * MenuBackend.C (read): allow escaping in all strings
14660 * BufferView_pimpl.C (insertAndEditInset): new method.
14661 (Dispatch): use insertAndEditInset whenever appropriate.
14663 * BufferView_pimpl.C (insertNote): removed
14665 * BufferView_pimpl.C (smartQuote): new method, moved from
14666 BufferView; if an insetquote cannot be inserted, insert a '"'
14669 * BufferView2.C: remove insertCorrectQuote();
14671 * lyxfunc.C (getStatus): Add support for all remaingin
14672 inset-insert lfuns.
14674 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14676 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14677 command (necessary to pass " as parameter of self-insert.
14679 * text.C (selectWordWhenUnderCursor):
14680 (selectWord): add word_location parameter
14681 (selectWordWhenUnderCursor): same + remove special code for word
14683 (selectNextWord): use kind() to guess type of insetspecialchar,
14686 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14687 (insertErtContents): create ert insets as collapsed.
14688 (readInset): better compatibility code for Info inset.
14690 2001-07-20 Juergen Vigna <jug@sad.it>
14692 * lyxfunc.C (dispatch): use always LyXFind now!
14694 * text2.C (init): add a reinit flag so that the LyXText can be
14695 reinited instead of deleted and reallocated (used in InsetText).
14697 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14703 2001-07-18 Juergen Vigna <jug@sad.it>
14705 * text.C (selectNextWord): handle insets inside inset by calling
14706 always the bv->text functions so that we can go up the_locking_inset!
14708 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14709 in strange locations when inside an inset!
14711 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14712 handling to include insets.
14714 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14716 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14718 * LyXAction.C (init):
14720 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14721 LIGATURE_BREAK, since the name is so stupid.
14723 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14725 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14728 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14730 * sp_form.[Ch]: remove.
14732 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14734 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14737 * src/buffer.C (readInset): ditto.
14739 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14741 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14742 menuSeparator(), endOfSentenceDot(), ldots() and
14743 hyphenationPoint(), which are therefore removed.
14744 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14746 * LyXAction.C (init):
14747 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14749 * paragraph.C (getWord): removed.
14751 * BufferView_pimpl.C (Dispatch): use last word or selection for
14752 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14754 * lyx_main.C (queryUserLyXDir): do not ask before creating
14755 user_dir, except if it has been named explicitely.
14757 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14759 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14760 a document of zero size.
14762 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14764 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14765 approriately in the c-tor and in require().
14766 (getPackages): output the appropriate LaTeX for natbib support.
14768 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14769 variables "use_natbib" and "use_numerical_citations" when reading the
14771 (readInset): read the various natbib cite commands.
14772 (validate): white-space change.
14774 * bufferparams.[Ch]: new variables "bool use_natbib" and
14775 "bool use_numerical_citations".
14776 (writeFile): output them in the LyX file.
14778 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14780 * lyxfunc.C (getStatus): add support for all the inset insertion
14783 * text2.C (insertInset):
14784 * paragraph.C (insetAllowed):
14785 * BufferView_pimpl.C (insertInset): update to take in account the
14786 renaming of insertInsetAllowed
14788 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14790 * text2.C (getInset): new method. returns inset at cursor position.
14792 * BufferView_pimpl.C (Dispatch): changes because of this.
14794 * LyXAction.C (init): rename open-stuff to inset-toggle.
14796 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14798 * text2.C (toggleInset): renamed from openStuff; use
14801 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14803 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14805 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14807 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14809 * buffer.C (readLyXformat2): Add filename to the error dialog
14811 2001-07-18 Juergen Vigna <jug@sad.it>
14813 * tabular.C (GetCellNumber): put an assert here instead of the check!
14815 2001-07-17 Juergen Vigna <jug@sad.it>
14817 * BufferView_pimpl.C (toggleSelection): adapted too.
14819 * text.C (selectNextWord): adapted for use with insets.
14820 (selectSelectedWord): ditto
14822 2001-07-17 Juergen Vigna <jug@sad.it>
14824 * sp_spell.C (PSpell): fix initialitation order.
14826 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14828 * paragraph.C: spacing
14830 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14832 * sp_spell.C: repair language selection for pspell
14834 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14836 * lyxfunc.h: change more methods to begin with lower char.
14838 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14840 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14841 for unknown layouts.
14843 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14845 * buffer.C (readLyXformat2): Generate an error dialog if there are
14848 2001-07-16 Juergen Vigna <jug@sad.it>
14850 * sp_spell.C: always compile ISpell part.
14852 * lyxrc.C: added use_pspell entry and it's handling.
14854 2001-07-13 Juergen Vigna <jug@sad.it>
14856 * sp_spell.C: removed double includes.
14858 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14860 Consistent use of Lsstream.h:
14861 * Lsstream.h: added using std::stringstream for consistencies sake.
14863 * buffer.C: removed using std::stringstream
14865 * lyxfont.C (stateText):
14866 * paragraph.C (asString):
14867 * text.C (selectNextWord, selectSelectedWord):
14868 * text2.C (setCounter):
14869 * vspace.C (asString, asLatexString):
14870 std::ostringstream -> ostringstream.
14872 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14874 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14875 * commandtags.h: add LFUN_HELP_ABOUTLYX
14876 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14878 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14880 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14882 * lyx_gui_misc.C: remove spellchecker
14883 * lyxfunc.C: showSpellchecker
14885 * sp_ispell.h: added
14886 * sp_pspell.h: added
14887 * sp_spell.C: added
14888 * sp_form.[Ch]: removed
14889 * spellchecker.[Ch]: removed
14891 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14893 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14895 (simpleTeXSpecialChars): Simply print the input character without
14896 any special translation if pass_thru is set.
14898 * layout.h: Added bool pass_thru to layout class for being able to
14899 implement pass through of a paragraph for Literate Programming.
14901 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14902 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14903 * layout.C (Read): add "passthru" to list of layout tags and add
14904 code to set the pass_thru boolean when it is read.
14906 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14908 * trans_decl.h: remove allowed from KmodInfo
14910 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14911 remove allowed code
14914 * paragraph_pimpl.C (erase): use boost::prior
14916 * Painter.C (text): use data() instead of c_str() when length is
14918 * WorkArea.C (putClipboard): ditto
14919 * font.h (width): ditto
14921 * BufferView2.C: use it-> instead of (*it). for iterators
14923 * paragraph_pimpl.C: ditto
14924 * paragraph.C: ditto
14925 * minibuffer.C: ditto
14926 * language.C: ditto
14928 * encoding.C: ditto
14929 * counters.C: ditto
14930 * converter.C: ditto
14932 * Variables.C: ditto
14933 * TextCache.C: ditto
14934 * MenuBackend.C: ditto
14935 * LyXAction.C: ditto
14937 * FloatList.C: ditto
14938 * DepTable.C: ditto
14939 * ColorHandler.C (LyXColorHandler): ditto
14941 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14943 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14945 * text2.C (openStuff): reintroduce this method (which had been
14946 nuked in NEW_INSETS frenzy).
14948 * lyxfunc.C (Dispatch): when an action has not been handled, use
14949 its name in the error message, not its number.
14951 * paragraph.C (inInset): change method name to begin with lowercase.
14954 * text2.C: updates because of this.
14956 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14958 * ToolbarDefaults.C (add): add spaces in error message
14960 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14962 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14963 (readLyXformat2): rename return_par to first_par, use lyxlex's
14964 pushToken and remove the manual push handling.
14965 (parseSingleLyXformat2Token): add another ert comp. variable:
14966 in_tabular, rename return_par to first_par. handle newlines better
14968 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14970 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14972 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14974 * text2.C (getParFromID): removed
14976 * buffer.C (getParFromID): new method moved form lyxtext.
14977 * BufferView2.C (insertErrors): adjust
14978 (setCursorFromRow): adjust
14979 * BufferView_pimpl.C (restorePosition): adjust
14980 * lyxfunc.C (Dispatch): adjust
14981 * undo_funcs.C (textUndo): adjust
14983 (textHandleUndo): adjust
14984 (textHandleUndo): adjust
14986 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14988 * buffer.C: up' the LYX_FORMAT
14990 * lyxfont.h: turn NO_LATEX on as default
14992 * buffer.C (insertErtContents): new methods of tex style compability.
14993 (parseSingleLyXformat2Token): use it several places.
14994 * tabular.C (OldFormatRead): and here
14996 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14998 * text2.C: remove some commented code.
15001 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15002 * trans.C: changes because of the above.
15004 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15006 * text2.C (setCounter): Fix counters bug with bibliography layout.
15008 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15010 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15011 own member functions
15012 (simpleTeXSpecialChars): ditto
15014 2001-07-06 Juergen Vigna <jug@sad.it>
15016 * a lot of files: changed the access to LyXText::status and the
15017 call of undo-functions.
15019 * undo.[Ch]: added a inset_id to the undo informations.
15021 * undo_funcs.[Ch]: added and moved here all undo functions.
15023 * lyxtext.h: give the status enum a weight, made status_ a private
15024 variable and made accessor functions for it, removed the whole bunch
15025 of undo-functions as they are now in their own file, make some
15026 functions publically available. Added function ownerParagraph with
15029 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15030 made InInset() a const function, added getParFromID() function.
15032 * buffer.[Ch]: added const version for inset_iterator functions,
15033 added getInsetFromID() function.
15035 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15036 changed undo functions for new version.
15038 2001-07-05 Juergen Vigna <jug@sad.it>
15040 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15041 unknow mechanism does not call the proper constructor but only this
15042 one also if I request the other!?
15044 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15046 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15048 * text2.C (LyXText): use initialization lists.
15050 * lyxtext.h (Selection): initialize set_ and mark_
15051 (init): remove method
15053 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15055 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15057 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15059 * screen.[Ch]: change method names to begin with lowercase
15061 * BufferView_pimpl.C (updateScrollbar): simplify further and
15062 hopefully make it a bit faster.
15064 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15066 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15067 calling directly xforms functions.
15069 * Painter.C (Painter):
15070 * lyx_cb.C (MenuWrite):
15071 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15074 * lyx_gui.C: remove bogus guiruntime extern declaration.
15076 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15078 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15080 (redoDrawingOfParagraph): ditto
15081 (redoParagraphs): ditto
15082 (cutSelection): don't create a object for CutAndPaste use the
15083 static method directly
15084 (pasteSelection): ditto
15086 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15089 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15091 * modifications to some other files because of this.
15093 * Makefile.am (lyx_SOURCES): add XFormsView
15095 * XFormsView.[Ch]: new files
15097 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15098 the main window. Move the gui dependent stuff to XFormsView
15100 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15102 * tabular.C (GetCellInset): update cur_cell also in the row/col
15103 version of this function.
15105 * lyxfunc.C: no need to include figure_form.h here.
15111 * lyxvc.C: no need to include forms.h here.
15113 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15115 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15117 * lyxfunc.C (Dispatch):
15119 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15120 constructor argument.
15122 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15124 * paragraph.C (Paragraph): dont't clear, and just set layout.
15125 (makeSameLayout): use params's copy contructor.
15127 * ParagraphParameters.[Ch] (makeSame): delete method
15129 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15131 * Variables.[Ch]: fix indentation, rename set to isSet
15133 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15135 * lyxfunc.C (Dispatch): fix typo
15137 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15139 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15142 * bufferlist.C: include assert.h for emergencyWrite().
15144 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15146 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15147 give up at last (bug #425202) !
15149 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15155 * spellchecker.C: strip spellchecker options and bring up
15156 preferences tab instead
15158 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15160 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15161 the istringstream constructor
15163 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15165 * paragraph.C (getLayout): fix return value
15167 * paragraph.h: do not declare getLayout as inline.
15169 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15171 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15173 * lyxcursor.h (operator<): new func
15174 (operator>): new func
15175 (operator>=): new func
15176 (operator<=): new func
15178 * text.C (changeCase): use selection.start and selection.end
15179 (changeRegionCase): require from to be <= to. Require par to be a
15182 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15184 2001-06-27 Juergen Vigna <jug@sad.it>
15186 * text.C (cursorLeftOneWord): changed to return the cursor and added
15187 overlay with BufferView * parameter which calls this one.
15189 (selectWord): use new getWord function.
15190 (changeCase): renamed from changeWordCase as and extended to work
15191 also on selections.
15193 * lyxtext.h: added enum word_location
15195 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15196 changeCase as this operates now also on selections.
15198 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15200 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15202 * many files: send debug output to Debug::INFO instead of
15205 * converter.C (View):
15207 (Move): send debug output to Debug::FILES instead of console.
15209 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15211 * lyxfunc.C (getStatus): use func_status
15213 * func_status.h: new header, describing the results of
15214 LyXFunc::getStatus;
15216 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15219 2001-06-25 The LyX Project <jug@sad.it>
15221 * buffer.C (sgmlOpenTag):
15223 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15225 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15227 * text2.C: remove some dead code
15229 * tabular.C (GetCellInset): store the last cell checked (gotten)
15231 * tabular.h: add the helper for the speedup
15233 * lyxtext.h: remove some dead code
15235 2001-06-26 The LyX Project <Asger>
15237 * paragraph.C: Change export to LaTeX of alignment to
15238 \begin{center} and family for better roundtrip work with reLyX.
15240 * Tune the math drawing a bit.
15242 2001-06-25 The LyX Project <Asger>
15244 * LColor.C (LColor): New color for math background. New color
15247 2001-06-25 The LyX Project <jug@sad.it>
15249 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15251 * lyxfunc.C (Open):
15252 * bufferlist.C (newFile): do not restrict to files ending with
15255 * BufferView_pimpl.C (MenuInsertLyXFile):
15257 2001-06-24 The LyX Project <jug@sad.it>
15259 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15262 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15264 * lyxtext.h: rename most methods to begin with a small char.
15265 Lots of changes because of this.
15267 * paragraph.C (Paragraph): do not call fitToSize
15268 (erase): call Pimpl::erase
15269 (insertChar): call Pimpl::insertChar
15270 (insertInset): call Pipl::insertInset
15271 (breakParagraph): do not call fitToSize
15272 (breakParagraphConservative): do not call fitToSize
15273 (fitToSize): remove method
15275 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15277 2001-06-24 The LyX Project <Asger>
15279 * Fix Qt compilation^2
15281 2001-06-24 The LyX Project <jug@sad.it>
15283 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15284 depthHook(getDepth()-1).
15287 * ParagraphParameters.h:
15288 * ParameterStruct.h: change type of depth to unsigned int ==
15289 depth_type. Many adaptations to other files before of that.
15291 2001-06-24 The LyX Project <Asger>
15293 * Fix Qt compilation.
15295 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15297 * paragraph.h: renamed several methods to begin with small letter.
15298 several changes to many parts of the code because of this.
15300 2001-06-23 The LyX Project <jug@sad.it>
15302 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15303 rewritten to discard all double spaces when KeepEmpty is off
15304 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15305 to only handle newlines but not fiddle with spaces and friends.
15307 * lyxfunc.C (MenuNew): when doing 'new from template', use
15308 template_path as default directory
15310 2001-06-23 The LyX Project <Asger>
15312 * Clean-up of header file includes all over
15313 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15315 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15317 * paragraph.h: renamed from lyxparagraph.h
15319 2001-06-23 Asger <lyx@violet.home.sad.it>
15321 * Buffer.h: Removed Buffer::resize
15322 * BufferList.h: Removed BufferList::resize
15323 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15324 the document lazily when we change the width, or the font settings.
15326 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15328 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15330 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15332 * buffer.h: remove out of date comment
15334 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15337 * screen.C: fix "theoretical" GC leak
15339 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15341 * LaTeX.C (scanAuxFile):
15342 (deplog): remove trailing \r when reading stream (useful under
15345 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15347 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15348 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15349 and BufferView::theLockingInset(Inset*), so should use them and not
15350 access bv_->text->the_locking_inset directly.
15352 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15354 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15357 * tex-defs.h: remove old unused file
15359 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15361 * BufferView_pimpl.C: fix typo, remove minibuffer message
15362 when buffer has loaded
15364 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15366 * lyxfunc.C (Dispatch): use stringstream
15367 (MenuNew): use stringstream
15368 (Open): use stringstream
15370 * importer.C (Import): use stringstream
15372 * bufferview_funcs.C (CurrentState): use stringstream
15374 * LaTeX.C (run): use stringstream
15376 * BufferView_pimpl.C (savePosition): use stringstream
15377 (restorePosition): use stringstream
15378 (MenuInsertLyXFile): use stringstream
15380 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15393 * vspace.C: removed // -*- C++ -*- as first line.
15396 * version.h: added // -*- C++ -*- as first line.
15398 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15400 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15402 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15405 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15407 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15410 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15412 * gettext.C: include LString.h even when --disable-nls is on.
15414 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15416 * converter.h (Get): changed argument type from int to
15417 FormatList::size_type to avoid unnecessary conversion.
15419 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15422 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15424 * gettext.h: include LString.h even when --disable-nls is on.
15426 2001-06-07 Juergen Vigna <jug@sad.it>
15428 * text.C (BreakAgain): subst spaces with tabs.
15430 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15431 (resizeInsetsLyXText): set force on resizeLyXText.
15433 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15435 * gettext.h (gettext_init):
15436 (locale_init): use a real definition instead of a macro
15438 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15440 * Bufferview_pimpl.C:
15442 * LColor.C: further lcolor tidies
15444 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15446 * BufferView_pimpl.C (updateScrollbar): simplify.
15448 * BufferView2.C: don't include insets/insetinfo.h, change
15449 prototype for insertInset and call the Pimpl version. let
15450 updateInset call Pimpl version.
15452 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15453 gotoInset to BufferView::Pimpl
15455 2001-06-01 Juergen Vigna <jug@sad.it>
15457 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15458 inside a LockingInset (is the update needed at all?).
15460 2001-05-31 Juergen Vigna <jug@sad.it>
15462 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15463 here not the old one otherwise how should we compare it afterwards
15466 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15471 * FontInfo.C: bring C functions into global namespace when
15474 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15476 * LString.h: make sure config.h has been loaded before LString.h.
15478 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15479 (one for each char read by EatLine!).
15481 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15484 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15486 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15487 to the same as the par we break from
15489 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15491 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15493 * MenuBackend.C (expand): also create menu entries for wide
15494 versions of the floats.
15496 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15498 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15500 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15501 frontends/Makefile.am
15507 * tabular.C (getTokenValue): add std::
15509 * tabular-old.C (getTokenValue): add std::
15510 (getTokenValue): ditto
15511 (getTokenValue): ditto
15513 * screen.C (ToggleSelection): adjust
15515 * lyxtext.h: put selection cursors inside a Selection struct.
15517 * lyxfunc.C (moveCursorUpdate): adjust
15519 * lyxfont.C (latexWriteStartChanges): add std::
15521 * lyxfind.C: adjust
15523 * font.h: delete with(char const *, LyXFont const &)
15525 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15527 * FontInfo.C (getFontname): add std::
15529 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15530 (workAreaButtonPress): adjust
15531 (tripleClick): adjust
15533 (moveCursorUpdate): adjust
15536 * BufferView2.C (gotoInset): adjust
15538 2001-05-30 Juergen Vigna <jug@sad.it>
15540 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15541 to check pspell I add this as default as I now have new pspell
15542 libraries and they seem to use this.
15544 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15546 * text2.C (CutSelection): make the cursor valid before the call to
15549 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15551 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15552 relied on 0 terminated strings and other horrors. Bug found due to
15553 the new assert in lyxstring!
15555 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15558 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15560 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15563 * lyxfunc.C (processKeySym): change method of getting to the
15566 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15567 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15568 * BufferView_pimpl.[Ch]: here as private methods.
15570 2001-05-28 Juergen Vigna <jug@sad.it>
15572 * text.C (SetHeightOfRow): added the update() call again as it is
15573 needed to initialize inset dimensions!
15575 2001-05-16 Juergen Vigna <jug@sad.it>
15577 * text2.C (SetCharFont): Add new function with BufferView * and
15578 bool toggleall parameters for setting insets internal fonts.
15579 (SetFont): Freeze the undo as we may change fonts in Insets and
15580 all this change should be inside only one Undo!
15582 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15583 setting font's in insets as for them we have the SetFont function!
15585 2001-05-15 Juergen Vigna <jug@sad.it>
15587 * text2.C (ClearSelection): to be sure we REALLY don't have any
15590 * tabular.C (TeXCellPreamble): fixed the left border problem for
15593 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15595 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15598 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15600 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15601 LFUN_BREAKPARAGRAPH.
15603 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15604 help test to "internal only", similar for LFUN_INSERT_URL
15606 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15607 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15608 auto_region_delete and deadkeys.
15610 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15613 * LColor.C: remove some dead entries, tidy a little
15615 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15617 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15619 (Dispatch): implement LFUN_ESCAPE
15621 * commandtags.h: add LFUN_ESCAPE
15623 * LyXAction.C (init): add entry for LFUN_ESCAPE
15625 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15626 Remove commented code.
15627 (insertNote): moved here
15628 (open_new_inset): moved here
15630 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15633 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15635 * kbmap.C (findbinding): clean it up and make it work correctly.
15637 * lyx_main.C (init): do not pass argc and argv as parameters
15639 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15641 * buffer.C: fix path for OS/2 & Win32
15645 * lyx_main.C: Added os:: class.
15647 * os2_defines.h: update
15649 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15651 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15652 better by trying again with reduced state.
15654 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15656 * lyxrc.C (read): print error about invalid key sequence only when
15657 debugging (because not all latinX keysyms are known to some X
15660 * kbsequence.C (getiso): add a few std:: qualifiers
15661 (getiso): comment out extra return statement.
15663 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15665 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15667 (Dispatch): enhance the accent inset a bit. (not perfect)
15669 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15671 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15673 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15675 * bufferlist.C (emergencyWrite): fix assert() call
15677 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15679 * text.C (InsertChar): Added trivial patch to only send the "you
15680 can not do multiple spaces this way" message once during a
15683 2001-05-08 Baruch Even <baruch@lyx.org>
15685 * Makefile.am: Changed order of libraries to get LyX to link properly
15686 with the gnome frontend.
15688 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15690 * LaTeXFeatures.h: add a std:: qualifier
15692 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15694 * paragraph.C (String): use stringstream
15696 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15698 * paragraph.C (writeFile): remove footflag arg
15700 * buffer.C (makeLaTeXFile): use stringstream
15701 (latexParagraphs): remove footnot gurba
15703 * LaTeXFeatures.C (getPackages): use stringstream
15704 (getMacros): likewise
15705 (getTClassPreamble): likewise
15706 (getFloatDefinitions): new method
15708 * paragraph.C (writeFile): reindent
15711 * WorkArea.h: revert the xpos + etc changes.
15713 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15715 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15717 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15718 (pasteSelection): likewise
15719 * text2.C (CreateUndo): likewise
15721 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15723 * minibuffer.C (peek_event): temporarily reduce the functionality
15724 of the minibuffer (to allow args on lfuns)
15726 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15727 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15729 * buffer.C (readInset): add compability reading of old float
15730 lists, add reading of new style float list.
15731 (readInset): avoid reevaluation of inscmd.getCmdName()
15732 (getLists): reindent
15734 * MenuBackend.C (MenuItem): implement parsing of
15735 md_floatlistinsert and md_floatinsert.
15736 (expand::LastFiles): move initalizaton of iterators out of loop,
15737 avoid reevaluation.
15738 (expand::Documents): introduce typdedef vector<string> Strings,
15740 (expand::ExportFormats): introduce typedef vector<Format const *>
15741 Formats, and use it.
15742 (expand): implement FloatListInsert and FloatInsert.
15744 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15745 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15746 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15748 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15750 (Dispatch::LFUN_FLOAT_LIST): implement
15752 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15754 * LaTeX.C (run): Fix problem with --export code.
15756 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15758 * BufferView.[Ch] (workarea): removed.
15759 (getClipboard) new method; wrapper for workarea()->getClipboard()
15761 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15764 * WorkArea.h (width, height, xpos, ypos): These methods all
15765 returned the dimensions of the work_area sub-area of WorkArea,
15766 resulting in a position error if the WorkArea were resized. Now
15767 return the dimensions of the entire WorkArea.
15769 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15771 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15773 * LaTeX.C (deplog): correct the syntax of regex reg1
15775 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15777 * undo.C: remove !NEW_INSETS cruft
15779 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15781 * text2.C: remove !NEW_INSETS cruft
15783 * text.C: remove !NEW_INSETS cruft
15785 * tabular.C: remove !NEW_INSETS cruft
15787 * spellchecker.C: remove !NEW_INSETS cruft
15789 * lyxtext.h: remove !NEW_INSETS cruft
15791 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15793 * lyxfunc.C: remove !NEW_INSETS cruft
15795 * lyxfind.C: remove !NEW_INSETS cruft
15797 * lyx_cb.C: remove !NEW_INSETS cruft
15799 * figureForm.C: remove !NEW_INSETS cruft
15801 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15803 * buffer.[Ch]: remove !NEW_INSETS cruft
15805 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15807 * CutAndPaste.C: remove !NEW_INSETS cruft
15809 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15811 * BufferView2.C: remove !NEW_INSETS cruft
15813 * BufferView.h: remove !NEW_INSETS cruft
15815 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15817 * Lsstream.h: include LString.h before the sstream headers to
15818 fix problem with gcc 2.95.3 and lyxstring
15820 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15822 * lyx_main.C: add using directives when needed for C functions
15823 declared in std:: namespace.
15825 2001-04-27 Juergen Vigna <jug@sad.it>
15827 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15828 (SetHeightOfRow): comment out the update call should not be needed!
15830 2001-04-13 Juergen Vigna <jug@sad.it>
15832 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15833 (LyXTabular): tried to minimize operator= operations (and realized
15834 hopfully Lars wish).
15836 2001-04-27 Juergen Vigna <jug@sad.it>
15838 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15840 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15842 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15844 * buffer.C (readInset): hack to make listof algorithm work
15846 * BufferView_pimpl.C: hack to make listof algorithm work
15848 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15850 * LyXAction.C: removed all !NEW_INSETS cruft
15851 (init): moved lfun_item in method
15853 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15855 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15857 * BufferView2.C (theLockingInset): white space.
15859 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15861 * minibuffer.C: include <iostream>
15863 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15865 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15867 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15869 * text.[Ch] (TransposeChars): new method
15871 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15873 * call message directly through LyXView instead of through LyXFunc
15874 * BufferView2.C: adjust
15875 * BufferView_pimpl.C: adjust
15876 * FontLoader.C: adjust
15878 * bufferview_funcs.C: adjust
15879 * converter.C: adjust
15880 * figureForm.C: adjust
15881 * importer.C: adjust
15883 * lyx_gui_misc.C: adjust
15884 * lyxfunc.C: adjust
15887 + more files in subdirs
15889 * lyxparagraph.h (size): move up int file
15892 * adjust all uses of Assert to lyx::Assert.
15894 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15895 lyxfunctional in namespace lyx
15896 * layout.C (hasLayout): ditto
15899 (delete_layout): ditto
15900 (NumberOfClass): ditto
15901 * converter.C (GetFormat): ditto
15906 * bufferlist.C (getFileNames): ditto
15907 (emergencyWriteAll): ditto
15910 * MenuBackend.C (hasSubmenu): ditto
15913 * BufferView_pimpl.C (getInsetByCode): ditto
15915 2001-04-18 Juergen Vigna <jug@sad.it>
15917 * vspace.C (asLatexString): fixed the 100% problem.
15919 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15921 * lyxfunc.C (Dispatch):
15923 * minibuffer.h: add a few std:: qualifiers
15925 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15927 * minibuffer.[Ch]: reimplement so that commands is initiated and
15928 run from lyxfunc, simplified som handling, and made the completion
15929 and history code for complete. wip.
15931 * lyxfunc.C (processKeySym): call message
15932 (miniDispatch): new temporary method
15933 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15934 (LFUN_MESSAGE): implement
15935 (LFUN_MESSAGE_PUSH): implement
15936 (LFUN_MESSAGE_POP): implement
15937 (initMiniBuffer): the initial/defualt minibuffer message.
15939 * lyxfont.[Ch]: inline some more getters
15941 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15943 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15945 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15946 (AutoSave): use LFUN_MESSAGE
15947 (Reconfigure): ditto
15949 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15951 * figureForm.C: use LFUN_MESSAGE
15953 * converter.C (runLaTeX): use LFUN_MESSAGE
15955 * bufferview_funcs.C: use LFUN_MESSAGE
15957 (changeDepth): ditto
15959 * bufferparams.h: use boost::
15961 * bufferlist.h: inherit privately from noncopyable
15963 * bufferlist.C (loadLyXFile): remove some commented code.
15965 * buffer.C (runChktex): use LFUN_MESSAGE
15967 * ShareContainer.h: inherit privately from noncopyable
15969 * ParagraphParameters.[hC] (depth): inline it.
15971 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15973 (message): new method
15974 (messagePush): ditto
15975 (messagePop): ditto
15976 (show): init minibuffer
15977 (showState): direct call
15979 * LaTeX.[Ch]: inherit privately from noncopyable
15980 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15981 instead of WriteStatus.
15983 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15985 * BufferView_pimpl.C (buffer): don't init minibuffer
15986 (workAreaButtonPress): use LFUN_MESSAGE
15987 (workAreaButtonRelease): ditto
15988 (savePosition): ditto
15989 (restorePosition): ditto
15990 (MenuInsertLyXFile): ditto
15991 (workAreaExpose): don't init minibuffer
15992 (update): remove commented code, simplify
15994 * BufferView2.C (openStuff): use LFUN_MESSAGE
15995 (toggleFloat): ditto
15998 (copyEnvironment): ditto
15999 (pasteEnvironment): ditto
16004 (updateInset): remove some commented code
16006 * lastfiles.h: inherit privately from noncopyable
16009 * lyx_main.h: ditto
16011 * lyxlex_pimpl.h: ditto
16013 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16014 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16015 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16017 * LyXAction.h: inherit privately from noncopyable, add methods
16018 func_begin, func_end, returning iterators to the func map.
16020 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16021 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16022 (func_begin): new method
16023 (func_end): new method
16025 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16027 (copySelection): ditto
16028 (pasteSelection): ditto
16030 * BufferView.C: whitespace change
16031 * BufferView.h: inherit privately from noncopyable
16033 2001-04-16 Allan Rae <rae@lyx.org>
16035 * tabular-old.C (l_getline):
16036 * spellchecker.C (sc_check_word):
16037 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16038 an unrecognised preprocessor directive. So ensure they're wrapped.
16040 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16042 * src/exporter.C (Export): Give an error message when path to file
16045 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16047 * LaTeX.C (deplog): Always check that foundfile exists.
16049 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16052 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16054 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16056 * tabular.[Ch] (getLabelList): implement new method
16058 * minibuffer.h: comment ouf setTiimer
16060 * minibuffer.C (ExecutingCB): constify res
16061 (peek_event): constify s
16062 (Set): constify ntext
16063 (Init): constify nicename
16065 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16067 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16068 (savePosition): use two params to Minibuffer::Set
16069 (restorePosition): ditto
16071 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16073 * lyx_main.C: include language.h
16075 * Makefile.am (lyx_main.o): add language.h
16077 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16083 * CutAndPaste.C: include gettext.h
16085 * lyxfont.h: remove old hack with ON and OFF.
16088 * lyxfont.h: do not include language.h...
16093 * bufferview_funcs.C:
16099 * paragraph.C: ... but do it here instead
16101 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16103 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16105 * tabular.C: small reformat
16107 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16110 (BreakParagraph): ditto
16111 (SetOnlyLayout): ditto
16114 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16117 * lastfiles.C: removed most using decl, add std:: where needed
16119 * buffer.C: ws changes
16121 * MenuBackend.C (class compare_format): put into anon namespace
16122 (expand): constify label, names, action, action2
16125 * text.C (SingleWidth): constify font
16126 (IsBoundary): constify rtl2
16127 (GetVisibleRow): constify ww
16129 * LaTeX.C (deplog): constify logfile
16131 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16133 (workAreaExpose): constify widthChange, heightChange
16135 * lyxrow.C (par): moved
16138 * lyxrow.h: as inlines here
16140 * lyxfont.h (shape): moved from lyxfont.C
16141 (emph): moved from lyxfont.C
16143 * lyxfont.C (LyXFont): use initialization list for all
16145 (shape): move to lyxfont.h as inline
16146 (emph): move to lyxfont.h as inline
16149 2001-04-04 Juergen Vigna <jug@sad.it>
16151 * vspace.C: had to include stdio.h for use of sscanf
16153 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16156 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16157 independent of xforms.
16159 2001-04-02 Juergen Vigna <jug@sad.it>
16161 * spellchecker.C: fixed namespace placing!
16163 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16165 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16166 the LyXParagraph * is 0.
16168 2001-03-29 Juergen Vigna <jug@sad.it>
16170 * vspace.C: added support for %, c%, p%, l%.
16171 (stringFromUnit): added helper function.
16172 (asLatexString): changed to give right results for the %-values.
16174 * buffer.C: convert the widthp in a width%.
16176 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16178 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16181 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16182 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16184 * lyx_cb.[Ch]: see above.
16186 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16190 * lyx.[Ch]: replaced by figure_form.[Ch].
16194 * lyxfunc.C: changed headers associated with above changes.
16196 2001-03-27 Juergen Vigna <jug@sad.it>
16198 * BufferView_pimpl.C: set the temporary cursor right!
16200 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16202 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16204 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16206 * LString.h: removed "using std::getline"!
16208 * BufferView_pimpl.C (Dispatch): changes due to changes in
16209 InsetInclude::Params.
16211 * buffer.C (tag_name): removed redundant break statements as they were
16212 producing lots of warnings with my compiler.
16214 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16216 * LString.h: add "using std::getline" when using the real <string>.
16218 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16220 * buffer.C: removed bitset usage.
16221 PAR_TAG moved to an anonymous name space.
16222 (tag_name): new funtion, also in the anonymous namespace.
16223 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16224 (makeDocBookFile): clean code. Completed transition from string arrays
16226 (SimpleDocBookOnePar): code clean.
16228 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16230 * tabular.C: add some comments.
16232 2001-03-22 Juergen Vigna <jug@sad.it>
16234 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16235 compatibility read a bit and fixed bug with minipage in different
16238 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16240 * buffer.C (pop_tag): removed.
16241 (push_tag): removed.
16242 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16243 array replaced with vector. Added support for CDATA sections.
16244 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16246 (makeDocBookFile): XML conformant declaration of CDATA section,
16247 fixed bug related to <emphasis> in the first paragraph char.
16248 (sgmlOpenTag): exclude empty tags.
16249 (sgmlCloseTag): ditto.
16251 * buffer.h (pop_tag): removed.
16252 (push_tag): removed.
16254 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16256 * language.h (Languages): added size_type and size().
16258 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16260 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16261 response on compability reading of minipages. One probliem is that
16262 the old usage of minipages was «flertydig»
16264 * several files here and in subdirs: don't use static at file
16265 scope use anon namespaces instead.
16267 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16269 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16270 LaTeX output. This is necessary for Literate document
16273 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16275 * buffer.C: insert hfill when needed.
16277 * tabular.C (l_getline): use string::erase, small whitespace change.
16279 * BufferView_pimpl.C: try the anon namespace.
16280 * WorkArea.C: ditto
16282 2001-03-16 Juergen Vigna <jug@sad.it>
16284 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16285 otherwise it won't open options-dialogs.
16287 * buffer.C: honor pextraWidth(p) on converting minipages.
16289 * tabular.C (l_getline): changed the functions to strip trailing \r.
16291 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16293 * BufferView_pimpl.C:
16294 * minibuffer..C: added "using SigC::slot" declaration.
16296 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16298 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16304 * paragraph.C: ditto
16306 * lyxtext.h: NO_PEXTRA
16308 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16310 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16311 * ParameterStruct.h: ditto
16312 * ParagraphParameters.h: ditto
16313 * lyxparagraph.h: ditto
16315 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16317 * buffer.C: add compability for minipage alignment.
16318 (latexParagraphs): remove unwanted pextra check.
16320 * several files: remove CXX_WORKING_NAMESPACES
16322 * buffer.C (pop_tag): tie is in namespace boost
16324 * BufferView.h: noncopyable is in namespace boost
16326 * lyx_main.h: ditto
16329 * lastfiles.h: ditto
16330 * bufferlist.h: ditto
16331 * ShareContainer.h: ditto
16333 * LyXAction.h: ditto
16336 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16338 * Merging changes from BRANCH_MVC back into HEAD.
16340 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16342 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16344 * BufferView_pimpl.C: change from intl.C
16348 * Makefile.am: move combox.*
16354 * intl.C: remove dialog (covered by prefs)
16356 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16358 * lyxfunc.C (Dispatch): removed redundant break statement.
16360 2001-03-14 Juergen Vigna <jug@sad.it>
16362 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16364 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16366 * buffer.C: add hack to fix compability reading of minipages.
16368 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16370 * buffer.C (getLists): Cleanup.
16372 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16374 * lyxfont.C (update): don't honor toggleall on font size.
16376 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16380 * Makefile.am: moved to frontends/xforms/
16384 * BufferView_pimpl.C: changes for moved mathpanel
16386 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16388 * gettext.h: fix gettext_init() in --disable-nls
16390 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16392 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16394 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16397 * lyx.h: strip external form
16399 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16401 * BufferView_pimpl.C: add comment, destroySplash()
16403 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16405 * BufferView_pimpl.C:
16409 * lyxfunc.C: use re-worked insetinclude
16411 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16413 * buffer.C: add using std::stringstream.
16415 * lyx_cb.C: readd using std::ios.
16417 * buffer.C: add using std::map.
16419 * BufferView_pimpl.C: add using std::vector.
16421 * ShareContainer.h: add std:: to swap.
16423 * buffer.h: add some typedefs
16424 * buffer.C (getLists): use them
16425 (getLists): renamed from getTocList.
16426 add a counter for the different float types and use it in the
16428 (getLists): use the same counter for the NEW_INSETS and the "non"
16431 * lyx_cb.h: remove unused items, includes, using etc.
16433 * ShareContainer.h: remove some commented code, add more comments
16434 and "documentation".
16436 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16438 * buffer.C (getTocList): make the list also when NEW_INSETS is
16441 * buffer.h: remove TocType
16443 * buffer.C (getTocList): change to return a map<string,
16444 vector<TocItem> >, implement for dynamic number of list.
16446 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16447 * text2.C (PasteSelection): adjust
16448 * CutAndPaste.C (pasteSelection): adjust
16450 * FloatList.C (FloatList): update from the new_insets branch.
16451 * Floating.[Ch]: ditto
16452 * LaTeXFeatures.C: ditto
16454 * lyxlex_pimpl.C: ditto
16456 * paragraph.C (Last): remove when NEW_INSETS is defined.
16458 * other file: changes because of the above.
16460 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16462 * lyxparagraph.h: rename next to next_, previous to previous_,
16463 make them private for NEW_INSETS. Rename Next() to next(),
16464 Previous() to previous().
16466 * other files: changes because of the above.
16468 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16471 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16474 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16476 * main.C (main): pass lyx_localedir to gettext_init().
16478 * gettext.h: remove locale_init and gettext_init macros
16480 * gettext.C (locale_init): new function
16481 (gettext_init): new function
16483 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16486 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16488 * Moved credits to frontends:
16489 * credits.[Ch]: removed
16490 * credits_form.[Ch]: removed
16491 * lyx_gui_misc.C: remove credits stuff
16494 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16496 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16498 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16499 unneeded destructor.
16501 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16502 a standalone pointer again.
16504 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16506 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16512 * ToolbarDefaults.C:
16521 * BufferView_pimpl.C: use new file dialog in GUII
16524 * lyx_cb.C: remove LayoutsCB to Toolbar
16526 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16528 * ShareContainer.h (get): add std:: qualifier
16530 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16532 * ShareContainer.h: define a proper ShareContainer::value_type
16533 type (and use typename to please compaq cxx)
16535 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16537 * lyxparagraph.h: move serveral local vars to
16538 ParameterStruct/ParagraphParameters., use ShareContainer in
16539 FontTable., make vars in FontTable private and add getter and
16542 * paragraph.C: changes because of the above.
16544 * lyxfont.h: remove copy constructor and copy assignment. (the
16545 default ones is ok), move number inside FontBits. move inlines to
16548 * lyxfont.C: add number to initializaton of statics, move several
16549 inlines here. constify several local vars. some whitespace
16550 cleanup. Dont hide outerscope variables.
16552 * Spacing.h: add two new constructors to match the set methods.
16554 * ShareContainer.h: new file, will perhaps be moved to support
16556 * ParameterStruct.h: new file
16558 * ParagraphParameters.h: new file
16560 * ParagraphParameters.C: new file
16562 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16563 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16565 * BufferView_pimpl.C: ParagraphParameter changes.
16566 * buffer.C: Likewise.
16567 * bufferview_funcs.C: Likewise.
16568 * text.C: Likewise.
16569 * text2.C: Likewise.
16571 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16573 * lyxfind.C (LyXReplace): do not redefine default argument in
16575 (IsStringInText): ditto
16576 (SearchForward): ditto
16577 (SearchBackward): ditto
16579 2001-03-06 Juergen Vigna <jug@sad.it>
16581 * lyxfind.C (IsStringInText): put parentes around expressions.
16583 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16585 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16587 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16589 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16591 * stl_string_fwd.h: add comment
16593 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16596 * tabular.C: remove unused DocBook methods
16602 killed DO_USE_DEFAULT_LANGUAGE
16604 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16606 * lyx_gui.C: do not include language.h.
16608 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16609 arguments in function implementation.
16611 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16613 * BufferView_pimpl.C: add <ctime>
16615 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16617 * BufferView_pimpl.C: add using std::find_if
16619 2001-02-27 José Matos <jamatos@fep.up.pt>
16621 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16624 2001-02-11 José Matos <jamatos@fep.up.pt>
16626 * buffer.C (makeDocBookFile): command styles now have a parameter as
16627 "title" by default.
16629 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16631 * layout_forms.[Ch]: removed
16632 * lyx_cb.[Ch]: out character
16633 * lyx_gui.C: out character
16634 * lyx_gui_misc.C: out character
16635 * bufferview_funcs.C: : out character,
16636 added toggleall as parameter in ToggleAndShow
16638 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16640 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16642 * text2.C (SetCurrentFont): Disable number property at boundary.
16644 2001-02-26 Juergen Vigna <jug@sad.it>
16646 * lyxfunc.C (getStatus): added a string argument override function so
16647 that this is correctly called from LyXFunc::Dispatch if it contains a
16648 do_not_use_argument which is used!
16649 (Dispatch): added check for "custom" export and call appropriate func.
16651 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16653 * lyxrc.C: Add language_command_local, language_use_babel and
16654 language_global_options.
16656 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16658 * buffer.C (makeLaTeXFile): Use language_use_babel and
16659 language_global_options.
16661 2001-02-23 Juergen Vigna <jug@sad.it>
16663 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16664 which works with LyXText and putted it inside BufferView. Here now we
16665 only call for that part the BufferView::Dispatch() function.
16667 * BufferView.C (Dispatch): added.
16669 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16670 functions which needs to use a LyXText over from LyXFunc.
16671 (MenuInsertLyXFile): added
16672 (getInsetByCode): added
16673 (moveCursorUpdate): added
16674 (static TEXT): added
16676 2001-02-22 Juergen Vigna <jug@sad.it>
16678 * BufferView_pimpl.C (update): call a status update to see if LyXText
16681 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16683 * vc-backend.C (revert): implement for CVS
16684 (getLog): implement for CVS
16686 2001-02-20 Juergen Vigna <jug@sad.it>
16688 * text2.C (ClearSelection): added BufferView param for inset_owner call
16690 * lyxfunc.C (TEXT): added this function and use it instead of
16691 directly owner->view()-text of getLyXText().
16693 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16695 * src/layout_forms.C: out preamble
16696 * src/layout_forms.h: out preamble
16697 * src/lyx_cb.C: out preamble
16698 * src/lyx_cb.h: out preamble
16699 * src/lyx_gui.C: out preamble
16700 * src/lyx_gui_misc.C: out preamble
16701 * src/lyxfunc.C: connect with guii preamble
16703 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16705 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16707 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16709 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16710 whether to run bibtex.
16712 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16714 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16716 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16718 * Makefile.am (lyx_SOURCES): removed bibforms.h
16720 * vspace.h: doxygen
16722 * text.C (GetVisibleRow): make several local vars const
16724 * tabular.C: small cleanup.
16726 * lyxserver.C (callback): use compare instead of strncmp
16728 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16729 inlines to after class or to paragraph.C
16731 * lyxfont.h: remove friend operator!=
16733 * converter.h: move friend bool operator< to non friend and after
16736 * combox.h: small cleanup
16738 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16739 to inlines after class def.
16741 * buffer.C (pop_tag): use string operations instead of strcmp
16743 * bmtable.c: doxygen, small cleanup
16745 * LaTeX.h: remove friend operator==
16747 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16759 * BufferView_pimpl.C:
16760 * BufferView.[Ch]: remove cruft
16762 2001-02-14 Juergen Vigna <jug@sad.it>
16764 * lyxfunc.C: removed #if 0 unused code
16766 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16768 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16770 * text2.C (SetSelection): added a BufferView * parameter
16772 2001-02-13 Juergen Vigna <jug@sad.it>
16774 * lyxfunc.C (Dispatch): fixed protected blank problem.
16775 * BufferView2.C (protectedBlank): added LyxText * parameter.
16777 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16778 (AppendColumn): same as above for column_info.
16780 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16781 (moveCursorUpdate): use a LyXText param for support of InsetText.
16783 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16784 (tripleClick): ditto
16786 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16788 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16790 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16792 * text2.C (SetSelection): set correct update status if inset_owner
16793 (ToggleFree): ditto
16795 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16797 * tabular.C: remove some commented code.
16799 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16801 * BufferView_pimpl.C: call hideSplash()
16803 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16806 * bibforms.h: remove
16809 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16810 add LFUN_CHILD_CREATE
16812 * counters.h: fix tiny typo
16817 * lyx.C: move splash to frontends/xforms/
16819 * lyx_gui_misc.C: move Include and Bibform to frontends
16821 * lyxvc.h: clarify comment
16823 * vspace.C: tiny housekeeping
16825 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16827 * text.C (PrepareToPrint): RTL Fix.
16829 * paragraph.C (GetUChar): New method.
16830 (String): Use GetUChar.
16832 * buffer.C (asciiParagraph): Use GetUChar.
16834 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16836 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16838 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16841 * buffer.C: rename to getLogName(), handle
16842 build log / latex log nicely
16844 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16847 * MenuBackend.h: remove support for reference menuitem type.
16849 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16851 * BufferView_pimpl.C: housekeeping
16852 * BufferView_pimpl.h:
16857 * minibuffer.h: move Timeout GUI-I
16859 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16861 * lyxrc.C (read): Update converters data-structures.
16863 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16865 * LaTeX.h (operator!=): add operator != for Aux_Info
16867 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16869 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16871 * LaTeXLog.C: deleted, useful code moved to Buffer
16874 * buffer.C: new function getLatexLogName()
16880 * lyxfunc.C: use frontends for LaTeX and VC logs
16882 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16884 * LaTeX.h: yet another std:: that Allan forgot.
16886 * Variables.C (set): renamed from isset(), because this clashes
16887 with some HP-UX macros (grr).
16889 2001-02-06 Allan Rae <rae@lyx.org>
16891 * LaTeX.h: Another bug fix. Missing std:: this time.
16893 2001-02-04 Allan Rae <rae@lyx.org>
16895 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16896 floats problem. I've left it commented out because it's not quite
16897 correct. It should also test that the current object is a table or
16898 figure inset. But I haven't gotten around to figuring out how to do
16899 that. I *think* it'll be something like: "table" == inset.type()
16901 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16904 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16906 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16907 all the citation/databases/styles in the auxilary file.
16908 (run): Rerun latex if there was a babel language error.
16910 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16912 * text.C (Backspace): Preserve the font when changing newline char
16914 (BreakParagraph): If the cursor is before a space, delete the space.
16916 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16918 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16920 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16921 new argument (code).
16922 (ChangeCitationsIfUnique): New method.
16924 * paragraph.C (GetPositionOfInset): Handle bibkey.
16926 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16928 * BufferView_pimpl.h: change type of Position::par_pos to
16929 LyXParagraph::size_type.
16931 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16933 * BufferView_pimpl.C (savePosition, restorePosition): Write
16934 messages to minibuffer.
16936 2001-01-28 José Matos <jamatos@fep.up.pt>
16938 * buffer.C (makeDocBookFile): adds support for document language.
16939 A silly restriction on the name of LatexCommand types where removed.
16940 Added support for CDATA sections, allows to chars unescaped, used
16941 among others in code, to avoid escape < and >.
16943 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16945 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16946 saved positions instrad of a stack. Furthermore, a position is
16947 stored using paragraph id/paragraph position.
16949 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16950 Remove LFUN_REF_BACK.
16952 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16954 * converter.C (dvipdfm_options): New method.
16956 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16958 * vspace.C (isValidLength): Fix for empty input string.
16960 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16962 * LyXAction.C (init): change description of LFUN_FIGURE to
16965 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16967 * LaTeX.C: add using directive
16969 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16971 * MenuBackend.C (expand): Fix the sorting of the formats.
16973 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16975 * lyx_main.C: tiny error message fix
16977 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16979 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16980 calling fl_initialize(). This fixes the problem with ',' as
16981 decimal separator in text files.
16983 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16985 * trans.C (process): Fix the keymap bug.
16987 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16989 * LaTeX.C (scanAuxFiles): New method. Provides support for
16990 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16991 (scanLogFile) Scan for "run BibTeX" messages.
16993 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16994 OT1 font encoding. Also, load the aecompl package if the ae
16997 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16999 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17001 * texrow.C (increasePos): turn two error messages into debug
17004 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17006 * LaTeX.C (scanAux): Handle the \@input macro.
17007 (runBibTeX): Use scanAux().
17009 * language.C (latex_options_): New field.
17011 * LaTeXFeatures.C (getMacros): Add language macros.
17013 * buffer.C (makeLaTeXFile): Small fix.
17015 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17017 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17019 * text2.C: add a using directive.
17021 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17026 * lyxfunc.C: kill LyXBell.
17028 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17030 * text.C (IsBoundary): Remove the error message
17032 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17034 * lyxrc.C (setDefaults): Correct initialization value for
17037 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17039 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17042 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17043 and GotoNextNote().
17045 * src/LyXAction.C: Added reference-next.
17047 * text.C (InsertChar): Use contains instead of strchr.
17049 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17051 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17053 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17054 alignment commands (when needed).
17056 * text.C (InsertChar): Add ':' to number separator chars.