1 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
4 bv_->owner(), bv_->buffer() by direct references to the private
6 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
7 (getStatus): isSavedPosition() is in BufferView::Pimpl.
8 (fitCursor): center() is in BufferView::Pimpl.
9 (getStatus, trackChanges, dispatch): no need for a temporary buf
11 (fitCursor, workAreaDispatch): use workarea().workheight()
13 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
15 * CutAndPaste.C (pasteSelectionHelper): fix a crash
17 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
19 * buffer.C: format up to 241.
20 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
21 break if pasting into ERT
22 * lyxfunc.C (getStatus): suppress mathpanel and
23 LFUN_DIALOG_SHOW_NEW_INSET in ERT
25 2005-02-01 Angus Leeming <leeming@lyx.org>
27 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
29 2005-02-01 Angus Leeming <leeming@lyx.org>
31 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
32 calling fs::is_directory().
34 2005-01-31 Angus Leeming <leeming@lyx.org>
36 * lyx_main.C (priv_exec): specify explicitly the relative location
37 of the top level build directory when run in-place.
39 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
41 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
42 LyXText containing the cursor, not the top-level one.
44 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
46 (insertStringAsLines): rename par to pit; use temporary variable
47 par to hold a Paragraph; do not store par.layout() in a variable,
48 since the pointer may die when breaking paragraphs; pass pars to
49 breakParagraph() instead of Buffer::paragraphs().
51 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
53 * lyxlex_pimpl.h: #include <fstream>.
55 * BufferView.[Ch] (getLyXText): add a const version.
57 * BufferView_pimpl.C: add debug aids.
62 * paragraph_funcs.h: add commentary explaining what the class does.
65 * coordcache.[Ch]: add lots of commentary.
66 (startUpdating, doneUpdating): debug aids.
67 (arrays, insets, parPos, getParPos): accessors to private data.
69 * cursor_slice.[Ch] (text): add a const version.
70 * dociterator.[Ch] (text, innerText): add const versions.
72 * lyxtext.h (breakParagraph): change the keep_layout arg to a
75 * paragraph.C (getRow, pos2ros): add asserts.
77 * paragraph.h: add commentary. Lots of.
79 * paragraph.[Ch] (metrucs, draw): removed.
82 * rowpainter.[Ch]: const-correct changes.
84 * text.C: various obvious clean-ups. Removal of ancient cruft.
87 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
89 * vc-backend.C (find_file): rewrite to use boost.filesystem
92 * main.C (main): set default name check for boost.filesystem to
95 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
98 (actOnUpdatedPrefs): ditto
100 * lyx_main.C (init): rewrite to use boost.filesystem
101 (queryUserLyXDir): ditto
103 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
104 (getContentsOfAsciiFile): ditto
106 * lastfiles.C (readFile): rewrite to use boost.filesystem
108 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
110 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
113 * buffer.C (Buffer): adjust for destroydir
114 (getLogName): rewrite to use boost.filesystem
116 (save): use fs::copy_file (from fs_extras)
118 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
120 * LaTeX.C (run): rewrite to use boost.filesystem
121 (scanAuxFiles): ditto
122 (handleFoundFile): ditto
124 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
126 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
128 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
130 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
132 * lyxlayout.[Ch]: change some vars from float to double
134 * buffer.C (readFile): make a local var const
136 * Several files: use convert<> instead of atoi,strToXXX and friends
138 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
140 * LaTeXFeatures.[Ch]: Add a static list packages_ that
141 holds the contents of packages.lst. New functions getAvailable
142 and isAvailable to parse and check that list, resp.
146 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
148 * bufferparams.[Ch]: new param output_changes.
150 * Buffer.C: increase file format to 240.
151 Use output_changes and isVailable.
155 * paragraph_pimpl.C: Use output_changes and isVailable.
157 2005-01-23 Angus Leeming <leeming@lyx.org>
159 * output_latex.C: #include "insetbibitem.h", rather than
160 forward declare function bibitemWidest.
162 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
164 * lyx_main.C (init): make it compile on the Mac.
166 2005-01-20 Angus Leeming <leeming@lyx.org>
168 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
169 (setLyXMisc): (char string literal) != (char string literal) is
170 performing a comparison on the addresses. Convert one operand
171 explicitly to string to guarantee expected behaviour.
174 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
177 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
179 * output_plaintext.C: remove unneeded #include gzstream.h.
181 2005-01-20 Angus Leeming <leeming@lyx.org>
183 * SpellBase.h: rename some of the elements of the Result enum.
190 * pspell.C (check): ditto
192 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
194 * buffer.C: add #include <fstream>.
196 * lyx_main.C (init): Compile fix.
198 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
200 2005-01-20 Angus Leeming <leeming@lyx.org>
202 * mover.h: change commentary to reflect the changed meaning of
205 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
207 * output_linuxdoc.C (linuxdocParagraphs): silence warning
209 * lyxfind.C (MatchString::operator()): remove bogus semicolon
211 2005-01-20 Angus Leeming <leeming@lyx.org>
213 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
214 printing diagnostic data by not dereferecing an iterator past the
217 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
219 * buffer.C (readHeader): use "&&" rather than "and".
221 * lyxserver.h (inPipeName, outPipeName): make these const.
223 2005-01-19 Angus Leeming <leeming@lyx.org>
225 * lyx_main.C (error_handler, init): protect SIGHUP with
226 #ifdef SIGHUP guards.
228 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
230 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
232 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
234 * text.C (setHeightOfRow): add a margin at the top and bottom of
235 the document (bug 1761)
237 2005-01-17 Angus Leeming <leeming@lyx.org>
239 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
240 with "python ". Workaround for a brain-dead Windows.
242 2005-01-16 Angus Leeming <leeming@lyx.org>
244 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
245 for MacOSX and Windows to use prependEnvPath.
246 Strip out the hard-coded block to add elements to the PATH for
247 MacOSX and replace it with a call to prependEnvPath using the
248 contents of LyXRC::path_prefix.
249 (queryUserLyXDir): strip out the code to run reconfigure, instead
250 returning a boolean indicating the necessity to do so.
251 (reconfigureUserLyXDir): contains the code to reconfigure the
252 user support directory. Is now called after the various LyXRC data
253 files have been read.
255 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
257 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
259 * converter.[Ch] (convert): take a new parameter try_default. Use
260 a default converter (imagemagick) if try_default is true.
262 2005-01-13 Angus Leeming <leeming@lyx.org>
264 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
266 (write): output LyXRC::cygwin_path_fix as necessary.
268 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
271 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
273 2005-01-12 Angus Leeming <leeming@lyx.org>
275 * lyx_main.C (init): set the PATH variable to include the
276 directory containing the LyX binary when running on Mac or Windows.
278 2005-01-12 Angus Leeming <leeming@lyx.org>
280 * lyx_main.C (init): remove cruft that purports to set the locale
281 dir. It doesn't and is not needed anyway.
283 2005-01-10 Angus Leeming <leeming@lyx.org>
285 * Makefile.am: remove the lyx_main.C special casing.
287 * BufferView_pimpl.C:
293 * messages.C: use support/package.h to provide the paths to the
294 various directories used by LyX.
296 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
298 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
299 layout if pasting into an empty paragraph)
301 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
303 * tex-accent.C: add <string>
305 2005-01-06 José Matos <jamatos@lyx.org>
307 * ParagraphParameters.C (write): put every parameter in its own line.
308 * paragraph.C (write): reduce number of consecutive empty lines exported.
309 * buffer.C (LYX_FORMAT): increase file format to 239.
311 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
313 * everywhere: change support/tostr.h -> support/convert.h
315 * tabular.C: make all write_attributes templates, tostr -> convert
317 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
318 (emptyTag): and -> &&, and fix type for ret from getChar
319 (getFirstWord): fix type for ret from getChar
320 (onlyText): and -> &&
321 (simpleDocBookOnePar): and not -> && !, fix type for ret from
324 * toc.C (goTo, action):
325 * text3.C (dispatch):
326 * text.C (currentState):
327 * tex-accent.C (DoAccent):
330 * lyxfunc.C (menuNew):
331 * lyxfinc.C (replace):
332 * counters.C (laberItem):
333 * bufferview_funcs.C (font2string):
334 * bufferparams.C (writeFile):
335 * buffer.C (readFile):
337 * MenuBackend.C: tostr -> convert
339 * LaTeX.C (runMessage): fix format
340 (scanAuxFiles): tostr -> convert
342 * BufferView_pimpl.C (savePosition): fix format
343 (restorePosition): ditto
346 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
348 * Spacing.[Ch]: New method getValueAsString().
352 * ParagraphParameters.C:
355 * text3.C: store/read spacing value as string.
357 * rowpainter.C: change float value (spacing_val) to double.
359 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
360 broken custom document spacing).
362 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
364 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
365 namespace, also more use of temp references and const
367 * cursor.[Ch] (getStatus): move to lyxfunc.C
369 * bufferparams.C: reformat slightly
371 * bufferview_funcs.C (font2string): constify arg
377 * buffer_funcs.C: (many funcs): constify arg on function
378 definitions, also make more local vars const, also add ASSERTS on
381 * buffer.C (LYX_FORMAT): put const in correct place
382 (many funcs): constify arg on function definitions, also make
383 more local vars const
385 * aspell_local.h: remove "struct" from typdef setup
387 * aspell.C (check): make word_ok const
388 (nextMiss): simplify slightly
391 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
393 * lyxrc.[Ch]: store all float values as strings.
394 use int (not float) for lyxrc.dpi.
396 2005-01-04 Angus Leeming <leeming@lyx.org>
398 * lyx_cb.C (Reconfigure):
399 * lyx_main.C (queryUserLyXDir):
400 to run the <system_lyxdir>/configure correctly on Windows, prefix
401 the path to the script with "sh " when generating the string that
402 is passed to system().
404 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
406 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
408 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
410 * lyxlength.C (asLatexString): get rid of setprecision
412 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
414 * text2.C (setLayout): remove unused variable endpit.
415 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
417 * paragraph.C (onlyText): remove unused variable style.
419 * cursor.C (bruteFind): remove unused variables beg and end.
421 * Makefile.am (dist_noinset_DATA): not needed anymore
423 * cheaders/*: remove.
425 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
427 * text3.C: fix LFUN_MATH_MODE.
429 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
431 * buffer_funcs.C (countWords): new function. Counts words between
434 * BufferView_pimpl.C (getStatus, dispatch): handle
437 * LyXAction.C (init):
438 * lfuns.h: add LFUN_WORDS_COUNT.
440 2004-12-19 Angus Leeming <leeming@lyx.org>
442 * buffer.C (save): s/slashify_path/internal_path/.
444 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
446 * lyxfind.C (findChange): do not search for end of pars, because
447 the change tracker cannot handle this (fixes bug 1719).
449 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
451 * paragraph.[Ch] (autoBreakRows): remove
453 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
455 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
456 avoid using the paragraph one
458 * text2.C (LyXText, insertStringAsLines): adjust
460 2004-12-16 Angus Leeming <leeming@lyx.org>
464 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
466 2004-12-14 Angus Leeming <leeming@lyx.org>
468 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
470 * bufferlist.C (emergencyWrite):
471 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
474 2004-12-14 Angus Leeming <leeming@lyx.org>
476 * main.C: (main): no longer pass pointers to os::init.
478 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
480 * undo.C (textUndoOrRedo): simplify logic, fix a crash
481 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
483 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
486 * text3.C: remove selection_possible global flag
488 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
490 * text2.C (getSelectionSpan): remove
491 (changeDepth, changeDepthAllowed): adjust
493 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
495 * Makefile.am (BOOST_LIBS): use boost variables
497 2004-12-03 José Matos <jamatos@lyx.org>
499 * buffer.C: format up to 238.
501 2004-12-03 José Matos <jamatos@lyx.org>
503 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
505 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
507 * cursor.C (goUpDown): remove call to idxUpDown2
509 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
511 * tabular.[Ch]: use size_t-like types for cell, row and column
514 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
516 * lyxfunc.C (getStatus): do not lose previous information when
517 calling BufferView::getStatus; do not set a default "Command
518 disabled" message at the beginning, but just before returning.
520 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
522 * cursor.h (getStatus): add better comment from src/cursor.C
524 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
526 * text3.C (getStatus): return false when the lfun is not handled
528 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
530 * broken_headers.h: remove
532 * Makefile.am (lyx_SOURCES): remove broken_headers.h
534 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
536 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
539 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
540 top_y_, merge fitcursor with update
541 (updateScrollbar, scrollDocView, fitCursor, center, update): new
544 (workAreaDispatch): adapt to new coord scheme
545 (redoCurrentBuffer): remove
547 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
549 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
552 * coordcache.[Ch]: add paragraph cache and helpers
554 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
557 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
558 (targetX, setTargetX): introduce
560 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
561 baseline -> ascent, as the rest of lyx
563 * lyxtext.h: remove redoParagraphs, updateParPositions,
564 fullRebreak, redoParagraphInternal. move dist to anon namespace in
565 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
566 have ascent/descent (ascent is ascent of first par)
568 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
571 * paragraph.[Ch]: unify dimension handling with the rest of lyx
573 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
575 * pariterator.C: fix infinite loop introduced in par->pit renaming
577 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
578 in insets and LyXText, draw two off-screen paragraphs using
579 NullPainter, and adapt to new coord scheme
583 * text3.C: adapt lfun handlers to the new coord scheme, which
584 means: there's only guaranteed coord information for onscreen pars
585 plus one above and one below. This implies that one can do search
586 from y coordinates in the range [-1,workHeight]
588 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
590 * rename a lot of InsetOld to InsetBase
592 2004-11-25 Angus Leeming <leeming@lyx.org>
594 * BufferView_pimpl.C:
596 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
598 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
600 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
601 call BufferView::getStatus if LCursor::getStatus did nothing
602 (setStatusMessage, getStatusMessage): removed.
604 * FuncStatus.C (message): new methods. Used to provide an error
605 message indicating why a command is disabled.
606 (clear, |=, FuncStatus): update for message.
608 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
610 * lyxfunc.C (dispatch): always call sendDispatchMessage
612 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
615 * BufferView_pimpl.C:
629 * undo.C: par->pit renaming
631 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
633 * tabular.C (cellstruct): use initialization, store a shared_ptr
634 to insettext instead of the insettext directly, adjust to fit.
635 (operator=): new function
637 (rowstruct): use initialization
638 (columnstruct): use initialization
639 (ltType): use initialization
642 * lyxlength.h (swap): new function
644 * LColor.[Ch] (operator=): use the common semantics
646 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
648 * lyxfind.C (findNextChange): update the bufferview after setting
651 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
653 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
654 number of InsetOptArgs has already been inserted.
656 * output_latex.C (latexOptArgInsets): new method. This outputs all
657 the optarg insets, up to the limit defined in the layout file.
658 (optArgInset): removed
659 (TeXOnePar): call latexOptArgInsets; correctly update texrow
661 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
663 * paragraph.C (isLetter): remove special spellchecker-related
664 code; return true also for digits
665 (isWord, isKomma): remove
667 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
668 * lyxfind.C (MatchString()): use isLetter instead of isWord
670 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
672 * pariterator.h (operatir=): comment out un-implemented member
675 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
678 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
680 * lyxfont.h: include LColor.h to satisfy concept checks.
682 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
684 * pariterator.h: add typdefs for value_type, difference_type,
685 pointer and reference to satisfy concept checks. Also add default
686 constructor for same reason.
688 * pariterator.C (operator++): add post-increment operator to
689 satisfy concept checks.
691 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
694 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
696 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
697 checks. Also rename base_type to BaseType to follow naming
700 * FloatList.h: include Floating.h to satisfy concept checks.
702 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
704 * lyxfunc.C (getStatus): when the origin of the request is menu or
705 toolbar, and the LyXView does not have focus, do as if there was
708 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
709 FuncRequest to individual entries of LFUN_SEQUENCE
711 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
713 * output_latex.C (TeXOnePar): override runparams.moving_arg
714 according to the needprotect value of the current paragraph (bug
717 * paragraph.C (simpleTeXOnePar): no need to override
718 runparams.moving_args here
720 2004-11-14 John Spray <spray_john@users.sourceforge.net>
722 * vspace.C: fix off-by-one-error, related to fix #1682
724 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
726 * lengthcommon.C: a more general fix for bug 1682
728 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
730 * text.C (backspace): fix crash
732 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
734 * format.[Ch] (getFormatFromFile): new method
735 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
737 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
739 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
741 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
743 * lyxfunc.C (dispatch): remove the verbose argument
744 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
747 * kbmap.C (defkey): set the origin of func to KEYBOARD
749 * MenuBackend.C (MenuItem):
750 * ToolbarBackend.C (add): set the origin of func to UI
752 * funcrequest.[Ch]: add origin member, which indicates which part
753 of LyX requests an action
755 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
757 * converter.C (move): don't lie in the error message
758 * converter.h (isReachable, move): document
760 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
762 * buffer.C: remove unused using lyx::support::atoi
763 * paragraph_funcs.C: ditto
765 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
767 * bufferlist.C (exists): use bind and equal_to instead of
770 * lyxtextclasslist.C (NumberOfClass): ditto
772 * cursor.C (insert): use for_each instead of explicit for loop
774 * bufferlist.C (getFileNames): use std::transform and
775 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
777 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
780 * buffer.C (changeLanguage): use for_each instead of explicit for
782 (hasParWithID): implement using getParFromID
784 * LaTeXFeatures.C: ws change only
786 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
789 * BufferView_pimpl.C (trackChanges): use for_each instead of
792 2004-11-04 André Pönitz <poenitz@gmx.net>
795 * undo.C (textUndoOrRedo): fix crash when creating undo information.
797 * dociterator.C (asDocIterator): use hard assert again.
799 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
801 * lyxlength.C (asLatexString): rewrite so that it does not use
804 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
806 * text3.C (specialChar, dispatch): make sure cursor moves to the
807 right after inserting an inset
809 2004-11-02 José Matos <jamatos@lyx.org>
811 * output_docbook.C (docbook):
812 * paragraph.C (getID):
813 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
814 garantee that the output is always legal.
816 * tabular.C (docbook):
817 * outputprams.[Ch]: remove mixed contents.
819 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
821 * text2.C (setCounter): prevent endless loop
823 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
825 * exporter.C (copyFile): use the mover instead of support::copy()
826 * exporter.C (Export): pass format and latex name to copyFile()
827 * exporter.h (addExternalFile): document
828 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
830 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
832 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
834 2004-10-30 José Matos <jamatos@lyx.org>
836 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
837 text and no inset or font change. This allows to use CDATA
838 sections just for the whole paragraph.
840 2004-10-30 José Matos <jamatos@lyx.org>
842 * paragraph.C (getFirstWord): remove unused variable.
844 2004-10-30 José Matos <jamatos@lyx.org>
846 * paragraph.C (getFirstWord): the content should always be escaped
848 (simpleDocBookOnePar):
849 * output_docbook.C (makeEnvironment): replace reference to CDATA
852 2004-10-30 José Matos <jamatos@lyx.org>
854 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
856 2004-10-30 José Matos <jamatos@lyx.org>
858 * output_docbook.C (makeParagraphs):
859 * paragraph.[Ch] (emptyTag): for docbook and company, if the
860 standard paragraph has only a given type of content drop the wrapper.
862 2004-10-29 José Matos <jamatos@lyx.org>
864 * output_docbook.C (makeEnvironment):
866 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
868 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
870 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
871 (cleanID): sanitize any id.
873 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
875 * buffer.C, lyxlex_pimpl.C:
876 * lyxlex_pimpl.C (setFile):
877 s/getExtFromContents/getFormatFromContents/
879 2004-10-28 José Matos <jamatos@lyx.org>
881 * output_docbook.C (makeEnvironment): move id to broadest possible
884 * sgml.C (openTag): apply substitution of <> for all attributes.
886 2004-10-28 José Matos <jamatos@lyx.org>
888 * buffer.C (makeLinuxDocFile, makeDocBookFile):
889 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
890 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
892 * sgml.[Ch]: new version for open and closeTag for paragraph and
893 for strings. Now they handle the ids of paragraphs.
895 2004-10-26 Angus Leeming <leeming@lyx.org>
897 * Makefile.am: add mover.[Ch].
899 * converter.C (convert, move): use the new Movers to move external
900 files to the temp directory.
902 * lyx_main.C (init): ensure that the global system_movers data
905 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
908 * mover.[Ch]: new files, defining a Mover as a utility to move an
909 external file between directories and, if necessary, manipulate this
910 file using a helper script.
912 2004-10-25 José Matos <jamatos@lyx.org>
914 * output_docbook.C (makeCommand): merge two if's that tested the
917 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
919 * sgml.C (escapeString): fix warning in a better way
921 2004-10-25 José Matos <jamatos@lyx.org>
923 * sgml.C (escapeString): import the require boosts header file for
924 tie, and avoid a signed unsigned comparison.
926 2004-10-25 José Matos <jamatos@lyx.org>
928 * sgml.h: add #include <string>
930 2004-10-25 José Matos <jamatos@lyx.org>
932 * sgml.[Ch] (escapeString): new function to escape all the string.
934 2004-10-24 José Matos <jamatos@lyx.org>
936 * paragraph.[Ch] (getFirstWord): new function to get the first
937 word. Useful for description.
938 (simpleDocBookOnePar): remove depth argument, add another that
939 says where to start the paragraph.
941 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
942 use the new functions to fix cleanly the support for descriptions.
944 2004-10-24 José Matos <jamatos@lyx.org>
946 * buffer.C (makeLinuxDocFile, makeDocBookFile):
947 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
948 * output_linuxdoc.C (linuxdocParagraphs):
949 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
950 add buffer as argument.
952 2004-10-24 José Matos <jamatos@lyx.org>
954 * output_docbook.C (makeEnvironment, searchEnvironment): place
955 CDATA inside paragraphs and fix scope for listitems.
957 2004-10-24 José Matos <jamatos@lyx.org>
959 * output_docbook.C: remove using statement for stack.
961 2004-10-23 José Matos <jamatos@lyx.org>
963 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
964 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
965 docbook. The new scheme is recursive and makes use of iterators, the
966 same as latex export works.
967 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
968 directly with the paragraph contents. This code was moved up to
969 output_docbook.C (docbookParagraphs).
970 * sgml.C (openTag, closeTag): removed unneeded newlines.
971 (closeEnvTags) removed.
973 2004-10-23 André Pönitz <poenitz@gmx.net>
975 * undo.C (textUndoOrRedo):
976 * dociterator.C (asDocIterator): work around crash
978 * cursor.C (getStatus): replace ASSERT by more verbose error message
979 and manual correction of the problem. Should increase stability
980 while providing more sensible information.
982 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
984 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
986 * bufferlist.C (previous, next): new methods
989 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
991 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
993 * buffer.C (makeDocBookFile): add dsssl stylesheet control
994 entities to preamble.
996 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
998 * messages.C (Pimpl): strip off translation context information
1000 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1002 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1003 the cursor is correct (bug 1694)
1005 2004-10-13 José Matos <jamatos@lyx.org>
1007 * output_docbook.C (docbookParagraphs): fix closing tags in the
1008 end of the document.
1010 2004-10-09 José Matos <jamatos@lyx.org>
1012 * buffer.C: format up to 237.
1013 * bufferparams.C (write): use tostr to convert booleans to strings.
1015 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1017 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1019 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1021 * LaTeX.C: implement use of babel language in xindy.
1023 2004-10-05 José Matos <jamatos@lyx.org>
1025 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1026 Add new translators to help reading and writing the lyx file.
1028 2004-10-05 José Matos <jamatos@lyx.org>
1030 * ParagraphParameters.C (read):
1031 * text.C (readParToken): replace nexToken by more appropriate lex
1034 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1036 * LaTeX.C (runMakeIndex):
1037 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1038 (usually 'makeindex') configurable.
1040 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1041 with a variable rather than with a number.
1043 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1045 * output_latex.C (TeXOnePar): make sure font setting is the first
1046 thing that gets output (and the last at the end). Should fix bug
1049 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1051 * pch.h: use proper signal include
1053 * LaTeX.h: Use preferred calling of Boost.Signal
1056 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1058 * pch.h: dont include <boost/function/function0.hpp>
1060 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1062 * paragraph_pimpl.h: remove usage of ShareContainer
1064 * paragraph_pimpl.C: remove initialization of ShareContainer.
1066 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1070 * BufferView.C (putSelectionAt): change the semantics when
1071 backwards == true: now, this just swaps cursor and anchor wrt the
1074 * BufferView.h (putSelectionAt): add some documentation
1076 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1077 make sure backwardChar is done at least once (to avoid getting
1079 (findNextChange): use putSelectionAt in the forward direction
1080 (operator()): use Paragraph::isWord
1082 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1084 * Spacing.C (set): c_str fix
1086 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1088 * lyx_cb.C (Reconfigure): quote the name of configure script in
1089 case it contains spaces
1091 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1095 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1096 (BOOST_LIBS): use top_buildir when looking for the file
1098 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1100 * pch.h: do not use include boost/format.hpp, multiple symbols
1101 will result (gcc bug)
1104 2004-08-23 José Matos <jamatos@lyx.org>
1106 * bufferparams.C (readToken): fix reading of the author field.
1108 2004-08-20 José Matos <jamatos@lyx.org>
1110 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1112 2004-08-20 José Matos <jamatos@lyx.org>
1114 * lyxlex.[Ch] (findToken): remove function.
1116 * ParagraphParameters.C (findToken):
1117 * bufferparams.C (findToken): replace call for previous function
1118 with local copy. This local function has one more argument, the
1119 read string argument.
1121 2004-08-16 José Matos <jamatos@lyx.org>
1123 * ParagraphParameters.C (write):
1124 * Spacing.C (writeFile):
1125 * bufferparams.C (writeLaTeX):
1126 * lyx_cb.C (Reconfigure):
1127 * paragraph.C (write):
1128 * tabular.C (write): remove unnecessary space at end of line.
1131 2004-08-16 José Matos <jamatos@lyx.org>
1133 * text.C (readParagraph): remove debug message.
1135 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1137 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1140 * output_plaintext.C (asciiParagraph): set depth correctly
1142 * outputparams.h: add member depth
1144 * paragraph_funcs.C (ownerPar): remove.
1146 * text2.C (setCounter): remove first_pit; comment out some
1147 non-working code that uses ownerPar
1149 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1152 2004-08-16 José Matos <jamatos@lyx.org>
1154 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1155 For the same level of importance use the same chanel to report problems.
1156 (read): add code to deal with \begin_body and \end_body.
1159 2004-08-15 José Matos <jamatos@lyx.org>
1161 * lyxlex.C (getString): fix comment, buffer::readBody is now
1162 buffer:readDocument.
1164 * tex-strings.C (string_papersize): Default -> default,
1165 Custom -> custom, for consistency with other options.
1167 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1171 * Makefile.am: support pch
1173 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1175 * text.C (readParToken): remove the static LyXFont variable and
1176 pass it as a parameter instead. This fixes a nasty bug where an
1177 inset will be inserted with a bad font in some situations
1178 (readParagraph): adapt
1180 * text2.C (setCounter): reduce number of calls to pars_[pit]
1182 * text.C (singleWidth): add an assert, fix a test
1184 * rowpainter.C (paintText): reduce number of calls to singleWidth
1186 * paragraph.C (isHfill):
1187 (isNewline): ws only
1189 2004-08-14 André Pönitz <poenitz@gmx.net>
1194 * lyxtext.h (several functions): use a Paragraph & argument
1197 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1199 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1201 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1203 * text.C (singleWidth): remove useless test
1205 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1207 * tabular.h: remove bogus comments
1209 * tabular.C (getDescentOfRow):
1210 (isPartOfMultiColumn): add assertions
1212 * lyxlength.C (inPixels): remove #warning
1214 2004-08-14 André Pönitz <poenitz@gmx.net>
1216 * paragraph.h: inline getChar()
1218 * BufferView.h: remove unused declarations
1220 2004-08-14 José Matos <jamatos@lyx.org>
1222 * Buffer.[Ch] (readDocument): new name for old readBody.
1223 * Buffer.C: new file format, new keywords: \begin_document,
1224 \begin_header, \begin_body, \end_body.
1226 * bufferparams.C (readToken): replace all calls to lex.nextToken
1227 by lex.next(). Do the same to eatLine except where really needed.
1229 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1230 line when writing to the lyx file.
1232 * output_plaintext.C (asciiParagraph): fix Bibliography style
1235 * text.C (read): fix end of file handling.
1237 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1239 * MenuBackend.C (Menu::operator[]): new method to access
1240 individual menu items
1241 (Menu::hasFunc): new method. search for an item that corresponds
1243 (MenuBackend::specialMenu): new method
1244 (MenuBackend::expand): if a special menu has been set, skip
1245 entries whose func() appears in this menu
1247 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1249 * text3.C: use Debug::DEBUG a bit more
1251 * text.C (leftMargin): try to simplify a tiny bit change var x to
1252 l_margin. Dont output the wide margins always.
1253 (rightMargin): no margin in inner texts
1255 * rowpainter.h (nestMargin): new func
1256 (changebarMargin): new func
1257 (rightMargin): new func
1259 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1263 * factory.C (createInset): modify setDrawFrame
1265 * cursor.C: use Debug::DEBUG a bit more
1267 2004-08-14 André Pönitz <poenitz@gmx.net>
1270 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1271 cache for all insets in (at least partially) visible (top-level)
1274 * BufferView_pimpl.C: reset external coord cache before every update.
1275 This means the coord cache only contains valid entries.
1277 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1280 * BufferView_pimpl.C (getInsetByCode): move function out of class
1281 and change in to a template in anon namespace. Also fix to do what
1284 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1287 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1289 (breakParagraph): rename par to par_offset and use a local
1290 reference. Add code to keep the language over a rebreak.
1291 (breakParagraphConservative): rename par to par_offset, use a
1293 (mergeParagraph): ditto
1295 (isFirstInSequence): ditto
1296 (outerFont): rename pit to par_offset
1298 * paragraph.C: ws change
1299 * paragraph.h: ditto
1303 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1305 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1308 * paragraph.C (simpleTeXOnePar): when we have a \item with
1309 optional argument, enclose the argument with curly brackets (in
1310 case it contains a closing square bracket)
1314 * text3.C (checkInsetHit): constify
1316 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1318 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1319 documents (bug 1629)
1321 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1323 Fix toggling of collapsable insets with the mouse (bug 1558)
1325 * lyxfunc.C (dispatch): adapt to LCursor changes
1327 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1328 make sure that dispatch is not invoked twice
1330 * cursor.C (needsUpdate): new method
1331 (dispatch): return void
1332 (result): new method, to access the DispatchResult of the cursor.
1334 2004-08-13 José Matos <jamatos@lyx.org>
1336 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1338 2004-08-13 André Pönitz <poenitz@gmx.net>
1340 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1342 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1345 2004-08-12 André Pönitz <poenitz@gmx.net>
1347 * text3.C: take out the 'cursor right' form insertInset and only
1348 do it in those places when it is really needed. Fixes crash on
1351 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1353 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1355 * BufferView_pimpl.C (setBuffer): initialize the current font of
1356 the underlying LyXText
1358 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1360 * kbsequence.C (print): use UI native formatting for menu
1363 * text.C (insertChar): call Paragraph::insertChar with a font
1366 * paragraph.C (insertInset, insertChar): the version that takes a
1367 LyXFont argument is now a wrapper around the other one (the
1368 opposite used to be true).
1370 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1371 argument. Font setting is done in Paragraph now.
1373 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1375 * outputparams.h: add new members intitle and lang.
1377 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1378 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1380 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1382 * text3.C (dispatch): remove special handling of button 4 and 5,
1383 it is now taken care of in the frontend code.
1385 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1387 * Spacing.h: add <string> (STLPort compile fix)
1389 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1391 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1393 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1395 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1398 * converter.C (showMessage): inherit from unary_function, make
1401 * buffer.C (writeFile): initialize retval
1403 * InsetList.h: rename private variable list to list_
1404 * InsetList.[Ch]: adjust accordingly.
1406 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1408 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1409 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1410 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1411 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1412 * ParagraphParameters.C, LaTeXFeatures.C: replace
1413 "support/std_sstream.h" with <sstream>
1415 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1417 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1418 * lyxsocket.C (LyXServerSocket): ditto
1419 (serverCallback): ditto
1421 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1423 * LaTeXFeatures.C: check release date when loading jurabib.
1425 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1427 * lyxserver.C (startPipe): call register_socket_callback
1428 (endPipe): call unregister_socket_callback
1430 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1432 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1433 (LyXServerSocket): register the callback
1434 (LyXServerSocket): unregister the callback
1435 (fd): delete function
1436 (serverCallback): improve error checking and setup the callbacks.
1437 (dataCallback): change arg to fd.
1438 (writeln): new func (copied fro the client socket) used for server
1440 (LyXDataSocket): simplify
1441 (~LyXDataSocket): close ann unregiser callback
1442 (server): delete function
1443 (fd): delete function
1444 (readln): small changes, improve some std::string usage
1445 (writeln): constify a bit
1447 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1449 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1452 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1454 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1455 after it has been populated
1457 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1459 * text2.C (insertInset): move cursor when inserting inset.
1461 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1463 * kbmap.C (findbindings): a couple of new methods. returns a
1464 container of kb_sequence objects. The real work is done by the
1465 private recursive version
1466 (printbindings): uses findbindings to print out a bracketed list
1467 of bindings (renamed from findbinding).
1469 * MenuBackend.C (binding): use kb_keymap::findbindings
1471 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1473 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1475 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1477 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1479 * paragraph.C (isWord): return true on insets that report
1482 * text.C (getWord): use Paragraph::isWord to decide what is in a
1483 word and what is not; fix bug 1609.
1485 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1487 * tex-strings.C: add "none" to string_paperpackages[], fixes
1488 off-by-one-error in the paperpackage selection.
1491 * tex-strings.[Ch]: char const * string[n]
1492 -> char const * const string[]
1494 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1496 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1497 command, return early.
1499 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1501 * debug.h: add DEBUG to enum and fix size of ANY.
1503 * debug.C: add support for Debug::DEBUG
1504 (showTags): cast errorTags.level to unsigned int
1506 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1507 (redoCurrentBuffer): ditto
1508 (updateScrollbar): ditto
1509 * cursor.C (dispatch): ditto
1510 * text2.C (setLayout): ditto
1512 (updateCounters): ditto
1514 (deleteEmptyParagraphMechanism): ditto
1516 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1518 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1519 annotations to cleanup the Makefile slightly.
1521 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1523 * lyxrc.C: do not set user_email to a default value but use empty
1524 instead. The entry used to be translated, which does not work
1525 since at the point where lyxrc is constructed there is no
1526 translation service available
1528 * messages.C (getLocaleDir): remove and use directly
1529 lyx_localedir() instead
1531 2004-06-02 Angus Leeming <leeming@lyx.org>
1533 Fix crash caused by dereferencing null pointer 'exportdata' in
1534 OutputParams by creating a new ExportData variable on the heap,
1535 storing it in a boost::shared_ptr.
1536 The crash was triggered when generating an Instant Preview
1537 of an external inset.
1539 * Makefile.am: add outputparams.C
1541 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1542 (c-tor): allocate memory to it.
1544 * exporter.C (c-tor): associated changes.
1546 2004-06-01 Angus Leeming <leeming@lyx.org>
1548 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1549 contains data before calling isInset(0). (Bug 1513.)
1551 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1553 * exporter.C (checkOverwrite): new method
1554 * exporter.C (copyFile): new method
1555 * exporter.C (Export): copy referenced files to the document dir
1556 * exporter.[Ch]: new class ExportedFile
1557 * exporter.[Ch]: new class ExportData. Contains currently the
1558 names of referenced external files
1559 * outputparams.h: add exportdata member.
1561 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1563 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1566 2004-05-19 Angus Leeming <leeming@lyx.org>
1571 * lyxfunc.C: small changes due to the introduction of namespace
1572 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1574 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1576 * text3.C (dispatch): supress update when only moving the cursor
1577 * cursor.C (selHandle): remove commented code
1579 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1581 * paragraph.C (startTeXParParams): correct column count
1582 * CutAndPaste.C (pasteSelection): remove const_cast
1583 * output_docbook.C (docbookParagraphs): remove const_cast
1584 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1585 const_cast and return ParagraphList::const_iterator
1586 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1587 * output_plaintext.C (writeFileAscii): remove const_cast
1588 * paragraph.[Ch] (simpleTeXOnePar): make const
1589 * paragraph_funcs.C (outerPar): use const iterators
1590 * paragraph_pimpl.C (validate): use const iterators
1591 * text.C (setHeightOfRow): use const iterators
1593 2004-05-17 Angus Leeming <leeming@lyx.org>
1596 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1598 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1599 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1600 if the citation engine has changed.
1602 2004-05-14 José Matos <jamatos@lyx.org>
1604 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1605 if the textclass does not provide it. Have it different for sgml and
1607 support the language of document.
1608 * output_docbook.C (docbookParagraphs):
1609 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1610 first anchor as the id of the paragraph, remove special case code.
1611 * sgml.C (escapeChar): escape only < & >.
1613 2004-05-14 Angus Leeming <leeming@lyx.org>
1615 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1616 dependencies on src/frontends/controllers/biblio.h. Define a
1617 CiteEngine_enum wrapper class to enable the enum to be forward
1620 2004-05-12 Angus Leeming <leeming@lyx.org>
1622 * buffer.C: up LYX_FORMAT to 234.
1623 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1624 use_numerical_citations with a single biblio::CiteEngine cite_engine
1626 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1628 2004-05-13 José Matos <jamatos@lyx.org>
1631 * converter.C (Converter, readFlags): add xml member.
1632 * outputparams.h: add XML flavor.
1633 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1635 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1637 * lyxfunc.C (dispatch):
1638 (getStatus): fix handling of LFUN_SEQUENCE
1640 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1642 * debug.C (showLevel): do not forget the end-of-line marker
1644 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1646 * kbmap.C (read): do not stop parsing a bind file when an error
1649 2004-04-29 Angus Leeming <leeming@lyx.org>
1654 * text2.C: wrap a bunch of #warning statements
1655 inside #ifdef WITH_WARNINGS blocks.
1657 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1659 * buffer.C: increment format to 233.
1661 2004-04-28 Angus Leeming <leeming@lyx.org>
1663 * BufferView_pimpl.C:
1666 s/updateToolbar()/updateToolbars()/
1667 s/Toolbar.h/Toolbars.h/
1669 2004-04-28 Angus Leeming <leeming@lyx.org>
1671 * BufferView.[Ch] (c-tor):
1672 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1673 No longer passes these data to the WorkArea generator.
1675 2004-04-28 Angus Leeming <leeming@lyx.org>
1677 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1679 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1681 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1683 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1685 * output_latex.C (TeXEnvironment): make sure that there is a line
1686 break before \end{foo} for the last paragraph of a document
1687 (TeXOnePar): if the paragraph is at the end of the document (or
1688 inset) and the language has to be reset, then make sure that the
1689 line break is _before_ the language command, not after (fixes bug
1690 1225); also make sure that the language reset command is the first
1691 thing after the paragraph (to ensure proper nesting of
1692 environments and thus fix bug 1404)
1694 2004-04-21 John Levon <levon@movementarian.org>
1697 * ToolbarBackend.C: make "name" be a programmatic name
1698 and a gui_name field.
1700 * lyxfunc.C: display the minibuffer on M-x
1702 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1704 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1707 2004-04-19 Angus Leeming <leeming@lyx.org>
1709 * BufferView_pimpl.C (setBuffer): changed preview interface.
1711 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1714 2004-04-19 John Levon <levon@movementarian.org>
1716 * BufferView_pimpl.C:
1717 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1719 2004-04-05 Angus Leeming <leeming@lyx.org>
1721 * text.C (redoParagraphs): add call to updateCounters(), thereby
1722 fixing the missing "Figure #:" label from the caption of a
1725 2004-04-13 Angus Leeming <leeming@lyx.org>
1727 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1728 cursor is clicked out of an inset.
1730 2004-04-13 Angus Leeming <leeming@lyx.org>
1732 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1733 than an InsetOld one.
1735 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1737 * format.[Ch]: add editor to Format
1738 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1739 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1741 2004-04-08 André Pönitz <poenitz@gmx.net>
1743 * metricsinfo.h: remove PainterInfo::width member
1745 2004-04-08 Angus Leeming <leeming@lyx.org>
1747 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1748 "\providecommand" rather than "\newcommand", thereby preventing
1749 clashes with packages that define "\boldsymbol" themselves.
1752 2004-04-08 Angus Leeming <leeming@lyx.org>
1754 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1755 thereby squashing an unnecessary warning.
1757 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1759 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1762 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1764 * BufferView.C (setCursor): call redoParagraph (some insets could
1766 (putSelectionAt): remove the 'double update' trick
1768 * BufferView_pimpl.C (fitCursor): call refreshPar
1769 (workAreaDispatch): remove an uneeded update call
1770 (dispatch): remove some manual update calls
1772 * cursor.[Ch]: remove cached_y_, updatePos
1773 (selHandle): set noUpdate when appropriate
1775 * lyxfunc.C (dispatch): track if we need an update
1777 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1779 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1780 (paintSelection): cheap optimization, do not call cursorX when not
1782 (paintPars): change signature
1785 (paintTextInset): adjust
1789 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1791 * lengthcommon.C: compilation fix: remove explicit array size from
1792 unit_name[] and friends
1794 2004-04-05 Angus Leeming <leeming@lyx.org>
1796 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1798 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1799 present only for the preferences dialog.
1800 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1802 2004-04-05 Angus Leeming <leeming@lyx.org>
1804 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1805 to enable the frontends to export changes to lyxrc correctly.
1807 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1809 2004-04-07 André Pönitz <poenitz@gmx.net>
1811 * cursor.[Ch] (selClear, adjust): remove math
1813 * cursor_slice.C: more agressive assert
1816 * BufferView_pimpl.C: rework mouse event dispatch
1823 2004-04-05 André Pönitz <poenitz@gmx.net>
1825 * cursor.[Ch] (valign, halign...): remove unneeded functions
1827 2004-04-05 Angus Leeming <leeming@lyx.org>
1829 * lyxlength.[Ch] (unit_name et al.): const-correct.
1831 2004-04-05 Angus Leeming <leeming@lyx.org>
1833 * BufferView_pimpl.C:
1842 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1844 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1846 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1848 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1850 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1851 * BufferView_pimpl.[Ch] (getStatus)
1852 * BufferView.[Ch] (getStatus): add
1853 * lyxfunc.C (getStatus): move lfuns handled in
1854 BufferView::dispatch to te function above
1855 * Cursor.C (setSelection): set selection() = true
1857 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1859 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1861 2004-03-31 Angus Leeming <leeming@lyx.org>
1863 * lyxfunc.C (dispatch): Fall through to the generic
1864 Dialogs::show("preamble").
1866 2004-03-31 Angus Leeming <leeming@lyx.org>
1868 * lyxfunc.C (dispatch): Fall through to the generic
1869 Dialogs::show("spellchecker").
1871 2004-03-31 Angus Leeming <leeming@lyx.org>
1873 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1876 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1881 * insetiterator.[Ch]:
1886 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1888 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1890 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1891 insets where we are putting the cursor.
1893 2004-03-31 Angus Leeming <leeming@lyx.org>
1896 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1898 * lyxrc.[Ch] (read, write): overloaded member functions taking
1899 a std::[io]stream arguments.
1901 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1903 2004-03-31 Angus Leeming <leeming@lyx.org>
1905 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1906 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1908 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1909 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1911 2004-03-31 Angus Leeming <leeming@lyx.org>
1913 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1914 the LFUN_ALL_INSETS_TOGGLE code.
1916 2004-03-30 Angus Leeming <leeming@lyx.org>
1918 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1919 has died. Fall through to the generic Dialogs::show("document").
1921 2004-03-30 Angus Leeming <leeming@lyx.org>
1924 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1925 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1927 * lyxfunc.C (getStatus, dispatch): define the actions for these
1928 lfuns. Little more than a cut and pste job from ControlDocument.C
1930 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1932 2004-03-30 Angus Leeming <leeming@lyx.org>
1935 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1936 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1938 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1939 open/closed state of ollapsable insets. Usage:
1941 all-inset-toggle <state> <name>, where
1942 <state> == "open" || "closed" || "toggle" and
1943 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1945 * lyxtext.h, text2.C (toggleInset): removed.
1947 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1948 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1949 now passes LFUN_INSET_TOGGLE to the found inset.
1951 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1952 is now invoked as "all-insets-toggle toggle branch".
1954 2004-03-30 Angus Leeming <leeming@lyx.org>
1958 * pariterator.[Ch]: added/corrected header blurb.
1960 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1962 * dociterator.[Ch]: add an inset_ member
1963 (backwardPos): implemented
1964 (backwardPos, forwardPos): use inset_ when the stack is empty.
1965 (doc_iterator_begin, doc_iterator_end): implemented
1966 * pariterator.[Ch]: adjust, add begin, end
1967 * insetiterator.[Ch]: adjust, add begin, end
1971 * BufferView_pimpl.C:
1972 * CutAndPaste.C: adjust
1974 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1976 * buffer.C: increment file format to 232.
1977 * LaTeXFeatures.C: add bibtopic package.
1978 * bufferparams.[Ch]: param \use_bibtopic.
1980 * lyxrc.[Ch]: add lyxrc bibtex_command
1981 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1983 * buffer.C: increment file format to 231.
1985 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1987 * dociterator.C: implement forwardPar
1988 * iterators.[Ch]: remove, replaced by
1989 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1991 * BufferView_pimpl.C:
1994 * bufferview_funcs.C:
2000 * Makefile.am: adjust
2002 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2004 * CutAndPaste.C (pasteSelection): fix 2 crashes
2005 (eraseSelection): fix a crash
2006 * paragraph_funcs.C: remove a warning
2008 2004-03-28 Angus Leeming <leeming@lyx.org>
2011 * LyXAction.C (init): new LFUN_PRINT.
2013 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2015 2004-03-27 Angus Leeming <leeming@lyx.org>
2018 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2020 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2022 2004-03-27 Angus Leeming <leeming@lyx.org>
2024 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2025 insetlist always contains non-null pointers to insets.
2027 2004-03-26 Angus Leeming <leeming@lyx.org>
2029 * src/BufferView_pimpl.C:
2030 * src/CutAndPaste.C:
2033 * src/output_plaintext.C:
2034 * src/outputparams.h:
2035 * src/paragraph_funcs.C:
2039 * src/frontends/controllers/ControlErrorList.C:
2040 * src/frontends/gtk/FileDialogPrivate.C:
2041 * src/frontends/gtk/GPainter.C:
2042 * src/frontends/gtk/GToolbar.C:
2043 * src/frontends/qt2/QRef.C:
2044 * src/mathed/math_scriptinset.C: squash compiler warnings.
2046 2004-03-26 Angus Leeming <leeming@lyx.org>
2048 * ispell.C (LaunchIspell::start):
2049 * lyx_cb.C (AutoSaveBuffer::start):
2050 invoke run(DontWait) rather than runNonBlocking().
2052 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2054 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2056 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2058 * kbsequence.C (print): adjust
2060 * kbmap.C (printKeySym): rename and change signature
2061 (printKey): use LyXKeySym::print()
2063 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2065 * undo.C: add using std::advance to compile for stlport
2067 2004-03-24 Angus Leeming <leeming@lyx.org>
2069 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2070 it leads to a crash when no buffer is present.
2072 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2073 Martin Vermeer <martin.vermeer@hut.fi>
2075 * lyxfunc.C (dispatch):
2076 * bufferparams.C (readToken): use the new LColor::setColor
2078 * LColor.[Ch] (setColor): new version that takes two strings as
2079 argument and creates a new color entry if necessary
2081 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2083 * buffer.C (makeLaTeXFile): if the main latex file that is
2084 processed is usually a subdocument of some master, then pretend
2085 for a while that it is actually the master
2087 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2089 * buffer.C (getLabelList):
2090 (getBibkeyList): use getMasterBuffer()
2091 (getMasterBuffer): new method. Returns the main document in the
2092 case where one is using included documents.
2094 2004-03-25 André Pönitz <poenitz@gmx.net>
2098 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2100 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2102 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2103 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2105 * ParameterStruct.h: merge with ParagraphParameters
2107 * lyxtext.h: remove LyXText::parOffset() and getPar()
2109 * text3.C: Remove all 'manual' update calls. We do now one per user
2110 interaction which is completely sufficient.
2114 * BufferView_pimpl.C:
2115 * FontIterator.[Ch]:
2117 * ParagraphParameters.[Ch]:
2122 * cursor_slice.[Ch]:
2129 * output_docbook.[Ch]:
2130 * output_latex.[Ch]:
2131 * output_linuxdoc.[Ch]:
2132 * output_plaintext.[Ch]:
2134 * paragraph_funcs.[Ch]:
2135 * paragraph_pimpl.[Ch]:
2143 * frontends/controllers/ControlDocument.C:
2144 * frontends/controllers/ControlErrorList.C:
2145 * frontends/controllers/ControlSpellchecker.C:
2148 * insets/insetbase.h:
2149 * insets/insetbibitem.C:
2150 * insets/insetbox.C:
2151 * insets/insetbranch.C:
2152 * insets/insetcaption.C:
2153 * insets/insetcharstyle.C:
2154 * insets/insetcharstyle.h:
2155 * insets/insetcollapsable.C:
2156 * insets/insetcollapsable.h:
2157 * insets/insetert.C:
2158 * insets/insetfloat.C:
2159 * insets/insetfoot.C:
2160 * insets/insetmarginal.C:
2161 * insets/insetnote.C:
2162 * insets/insetoptarg.C:
2163 * insets/insettabular.C:
2164 * insets/insettext.C:
2165 * insets/insettext.h:
2166 * insets/insetwrap.C:
2167 * mathed/math_mboxinset.C:
2168 * mathed/math_nestinset.C:
2169 * mathed/math_scriptinset.C:
2170 * mathed/math_scriptinset.h:
2173 2004-03-24 Angus Leeming <leeming@lyx.org>
2175 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2176 deal with any child processes that have finished but are waiting to
2177 communicate this fact to the rest of LyX.
2179 2004-03-24 Angus Leeming <leeming@lyx.org>
2181 64-bit compile fixes.
2183 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2184 (c-tor): pass lyx::pos_types rather than ints.
2186 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2189 * text.C (Delete): compile fix.
2190 (getPar): ensure that function declaration is the same as that in
2193 2004-03-23 Angus Leeming <leeming@lyx.org>
2195 * ispell.C (LaunchIspell):
2196 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2197 a boost::shred_ptr rather than a std::auto_ptr.
2199 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2201 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2202 handle LFUN_FILE_INSERT_*
2204 * lyxrc.C (setDefaults, getDescription, output, read):
2205 * lyxrc.h: remove ps_command
2207 2004-03-22 Angus Leeming <leeming@lyx.org>
2209 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2210 Ensure that error_handler is processed once only and that all data
2211 is saved before attempting to output any warning messages.
2213 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2215 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2217 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2219 2004-03-19 André Pönitz <poenitz@gmx.net>
2221 * cursor.[Ch] (reset): take main text inset as argument
2223 * BufferView: adjust
2224 * BufferView_pimpl.C: adjust
2226 * paragraph.[Ch]: fix completely broken operator=()
2228 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2230 * LColor.C (getFromLyXName): make sure that the color name is used
2233 2004-03-17 Angus Leeming <leeming@lyx.org>
2236 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2238 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2239 dialog and to kill a forked process.
2241 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2243 * text2.C (setCursorFromCoordinates): fix font problem
2245 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2247 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2248 bogus "rebuild cursor" code
2250 2004-03-11 André Pönitz <poenitz@gmx.net>
2252 * buffer.[Ch]: use InsetText instead of LyXText as container for
2255 * dociterator.[Ch]: drop the BufferView * member which is not needed
2256 anymore after the change to buffer.C
2258 * paragraph_funcs.C:
2262 * BufferView_pimpl.[Ch]:
2264 * cursor_slice.[Ch]: adjust
2266 * text3.C: fix bug in mathDispatch
2268 2004-03-08 André Pönitz <poenitz@gmx.net>
2270 * undo.[Ch]: use 'StableDocumentIterator' as base for
2273 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2276 * bufferparams.[Ch]: add jurabib support and param.
2278 * LaTeX.C: add FIXME/comment.
2280 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2282 * buffer.C: increment file format to 230.
2284 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2286 * cursor.C (dispatch): avoid infinite loops
2288 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2290 * rowpainter.C (paintSelection): fix x coordinates
2292 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2294 * text.C (rowBreakPoint): fix breaking before displayed insets
2296 2004-03-01 André Pönitz <poenitz@gmx.net>
2298 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2300 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2304 * BufferView_pimpl.C:
2312 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2318 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2319 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2321 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2323 * Bidi.[Ch] (computeTables): const correctness
2324 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2325 fill_hfill, fill_label_hfill and x from Row
2326 * lyxtext.h: prepareToPrint returns a RowMetrics
2327 * rowPainter.C: adjust
2328 * text.C (prepareToPrint): use width, not textWidth. adjust
2329 (redoParagraphInternal, cursorX): adjust
2330 * text2.C (getColumnNearX): adjust
2331 (init): put a default value to the top LyXText::width
2333 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2335 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2337 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2339 * lyxtext.h: add FontIterator class
2341 * text.C (FontIterator, operator*, operator->, operator++): add
2342 (rowBreakPoint, setRowWidth): adjust (fixing a
2345 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2347 * BufferView_pimpl.C (workAreaDispatch): allow also
2348 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2350 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2352 * text.C (rowBreakPoint): fix a bug showing with very large insets
2354 2004-02-25 André Pönitz <poenitz@gmx.net>
2357 * cursor.[Ch]: move some mathed specific code to mathed
2359 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2361 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2362 use_tempdir in preferences
2363 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2365 * lyx_main.C: ensure that tempdir is valid
2366 * lyxlex.h: correct typo
2367 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2368 * paragraph.[Ch] (isMultiLingual): make const
2369 * cursor.[Ch] (openable): make const
2371 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2373 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2375 2004-02-20 André Pönitz <poenitz@gmx.net>
2377 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2379 * cursor.[Ch]: prepare for localized getStatus()
2385 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2387 2004-02-20 André Pönitz <poenitz@gmx.net>
2389 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2391 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2393 * text2.C (setCursorFromCoordinates): switch to absolute coords
2395 (cursorDown): adjust
2396 * text3.C (dispatch): adjust
2398 2004-02-16 André Pönitz <poenitz@gmx.net>
2400 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2403 * cursor_slice.[Ch]: remove unneeded acessor function
2405 * lyxtext.h: rename rtl() to isRTL()
2413 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2415 * rowpainter.C (paintSelection): coord fix
2417 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2419 * Spacing.C: compile fix
2421 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2423 * cursor.C (dispatch): restore current_ before returning
2425 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2427 * text2.C (cursorUp, cursorDown): fix coords
2430 2004-02-12 André Pönitz <poenitz@gmx.net>
2435 * text3.C: add LCursor & parameter to most cursor movement functions
2436 remove usage of LyXText::cursorRow() and cursorPar()
2438 * cursor.[Ch]: add textRow() needed members
2441 * BufferView_pimpl.C:
2444 * BufferView_pimpl.C: adjust
2446 2004-02-11 André Pönitz <poenitz@gmx.net>
2450 * BufferView_pimpl.C: shift undo/redo handling
2452 * cursor.[Ch]: fix mathed crash
2455 * lyxtext.h: move selectionAsText to LCursor
2463 * rowpainter.C: fix excessive drawing
2465 2004-02-06 André Pönitz <poenitz@gmx.net>
2468 * BufferView_pimpl.[Ch]:
2469 * text3.C: move some text specific LFUN handling
2471 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2473 * text3.C (checkInsetHit): adjust coords
2474 * text2.C (getColumnNearX): adjust coords
2475 (edit): adjust coords
2476 * text.C (getRowNearY): add two asserts
2478 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2481 * format.C: add using std::distance to compile on gcc 2.95/stlport
2483 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2485 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2487 2004-02-04 André Pönitz <poenitz@gmx.net>
2489 * BufferView.[Ch] (insertInset):
2490 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2495 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2497 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2498 on the default clause of the switch
2499 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2500 wasn't catched by LCursor::dispatch
2502 2004-02-03 André Pönitz <poenitz@gmx.net>
2505 * cursor.[Ch]: some additional asserts
2507 * undo.[Ch]: remove LyXText dependency in interface
2511 * lyxtext.h (firstPar, lastPar): remove dead functions
2516 * paragraph.[Ch]: adjust
2518 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2520 * lyxfind.C (find): fix argument order in call to ::find
2522 2004-02-02 André Pönitz <poenitz@gmx.net>
2524 * cursor.[Ch]: remove direct access to anchor
2526 * text.C: remove findText() hack
2528 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2530 * iterators.[Ch] (lockPath): remove in favour of...
2531 * BufferView.[Ch] (setCursor): this addition
2532 * BufferView.C (putSelectionAt): adjust
2533 * undo.C (performUndoOrRedo): adjust
2534 * lyxfunc.C (dispatch): adjust
2536 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2538 * iterators.C (lockPath): add a missing slice
2539 * undo.C (performUndoOrRedo): remove redundant positioning code
2541 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2543 * vc-backend.C (scanMaster): ";" -> ';'
2545 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2547 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2548 std::binary_function
2550 * lyxtextclass.C (compare_name): rename to...
2551 (LayoutNamesEqual): ...this
2553 * lyxlex_pimpl.C (compare_tags): inherit from
2554 std::binary_function, put back into anon namespace
2556 * lyxfind.C (MatchString): inherig from std::binary_function
2557 (findChange): use empty() istead of !size()
2559 * format.C (FormatNamesEqual): new functor
2566 * converter.C (compare_Converter): rename to...
2567 (ConverterEqual): ...this, and fixup a bit.
2568 (getConverter): use it, and make function const
2569 (getNumber): use it, and make function const
2573 * bufferlist.C: add using boost::bind
2575 * MenuBackend.C (MenuNamesEqual): new functor
2576 (hasMenu): use it, and make function const
2577 (hasSubmenu): use nested bind to get rid of compare_memfun.
2579 2004-01-30 André Pönitz <poenitz@gmx.net>
2581 * BufferView_pimpl.C:
2584 * cursor_slice.[Ch]:
2587 * paragraph_funcs.C:
2588 * paragraph_funcs.h:
2592 * text3.C: move some of the edit(x,y) handling to the insets
2593 some coordinate changes.
2595 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2597 * text.C: add using statements for std::advance and std::distance
2599 * paragraph.C: add using statement for std::distance
2601 * lyxfind.C: add using statement for std::advance
2603 * cursor.C (region): remove std:: from swap
2604 (openable): use nucleus in stead of operator->
2606 * BufferView.C: add using statements for std::distance and std::swap
2608 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2610 * iterators.C: Remove the pimple, move the needed structures to
2611 the header file. Create accessor for the positions stack.
2612 (asPosIterator): remove function
2614 * PosIterator.C (PosIterator): move constructors to top of file
2615 (PosIterator): reimplement the constructor taking a ParIterator in
2617 (setFrom): new function
2618 (operator!=): inline it
2620 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2622 * lyxfind.C (replaceAll): use std::advance
2624 * iterators.h: inherit from std::iterator.
2626 * PosIterator.C (advance, distance): remove
2627 * PosIterator.h: interit from std::iterator.
2629 2004-01-26 André Pönitz <poenitz@gmx.net>
2632 * BufferView_pimpl.[Ch]:
2636 * bufferview_funcs.C:
2646 * output_linuxdoc.C:
2647 * output_plaintext.C:
2649 * paragraph_funcs.[Ch]:
2650 * paragraph_pimpl.[Ch]:
2656 * text3.C: more IU: dumps most of the rest of the mathcursor
2657 implementation into cursor.[Ch]; "globalize" a bit of it.
2659 2004-01-25 Angus Leeming <leeming@lyx.org>
2661 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2663 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2665 * LaTeXFeatures.h: add nice_ and nice() const
2666 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2668 2004-01-20 André Pönitz <poenitz@gmx.net>
2671 * BufferView_pimpl.C:
2673 * bufferview_funcs.C:
2675 * cursor_slice.[Ch]:
2686 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2687 LCursor and mathcursor parts to LCursor and InsetBase.
2689 2004-01-15 André Pönitz <poenitz@gmx.net>
2691 * cursor_slice.[Ch]: add a few covienience functions
2693 * funcrequest.[Ch]: remove BufferView * member
2695 * BufferView_pimpl.C:
2702 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2704 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2706 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2707 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2709 2004-01-13 André Pönitz <poenitz@gmx.net>
2712 * lyxtext.h: hide cursor and selection anchor behind accessor function
2715 * BufferView_pimpl.[Ch]:
2717 * bufferview_funcs.C:
2727 * cursor_slice.[Ch]: some integer type changes for inset unification
2729 * lyxcursor.[hC]: remove, it's CursorSlice now.
2732 * BufferView_pimpl.[Ch]:
2733 * bufferview_funcs.C:
2739 * textcursor.[Ch]: adjust
2741 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2743 * text2.C (undoSpan): add and use
2744 * text.C (breakParagraph): use undoSpan (fix bug 578)
2747 2004-01-08 Angus Leeming <leeming@lyx.org>
2749 * BufferView_pimpl.C (MenuInsertLyXFile):
2750 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2751 * lyxfunc.C (menuNew, open, doImport):
2752 FileFilterList change to the FileDialog open and save functions.
2754 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2756 * ShareContainer.h: make isEqual and isUnique adaptable
2758 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2760 2004-01-07 Angus Leeming <leeming@lyx.org>
2763 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2765 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2767 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2768 functions replacing find, replace and replaceAll.
2770 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2771 LFUN_WORDFIND(FORWARD|BACKWARD).
2773 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2775 * text.C (breakParagraph): remove an outdated #warning
2777 2004-01-07 André Pönitz <poenitz@gmx.net>
2779 * lyxfind.C: somewhat clearer logic
2781 * text.C: prevent crash in cursorX on unitialized row cache
2783 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2785 * lyxcursor.[Ch] (operator>): add
2786 * textcursor.C (selStart, selEnd): use std::min and std::max
2788 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2790 * Chktex.C: include boost/format.hpp
2792 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2794 * InsetList.C: replace functor MathcIt with adaptable functor
2796 (insetIterator): modify accordingly
2798 * BranchList.h: move the BranchNamesEqual functor here from...
2799 * BranchList.C: ... to here
2801 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2803 (add): replace a finding loop with std::find_if.
2805 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2807 * output_docbook.C: moving LatexParam functionality into
2810 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2812 * buffer.C: increment format to 229.
2814 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2817 * lyx_sty.[Ch]: remove minipageindent_def
2823 * text3.C: remove LFUN_INSET_MINIPAGE
2825 2003-12-28 Angus Leeming <leeming@lyx.org>
2827 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2829 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2831 * text2.C (setParagraph): fix off-by-one crash
2833 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2835 * output_docbook.C: header stuff for AGU
2837 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2839 * text2.C (redoCursor): remove
2842 * BufferView_pimpl.C: remove calls to redoCursor and
2843 setCursor(cursor.par(), cursor.pos()) all around
2845 2003-12-15 Angus Leeming <leeming@lyx.org>
2847 * buffer.C: up the format to 228.
2849 2003-12-15 André Pönitz <poenitz@gmx.net>
2851 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2856 * BufferView_pimpl.C:
2865 2003-12-15 Angus Leeming <leeming@lyx.org>
2867 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2868 than getFromGUIName to manipulate the color.
2870 2003-12-14 Angus Leeming <leeming@lyx.org>
2872 * BranchList.[Ch]: minimize the API.
2873 (Branch::getBranch, getColor): now return a 'const &'.
2874 (Branch::setSelected) now returns a bool set to true if the
2875 selection status changes.
2876 (BranchList::clear, size, getColor, setColor, setSelected,
2877 allBranches, allSelected, separator): removed.
2878 (BranchList::find): new functions, returning the Branch with
2880 (BranchList::add, remove): return a bool indicating that
2881 the operation was successful.
2883 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2884 new InsetBranch::isBranchSlected member function.
2886 * LColor.[Ch]: mimimize the API.
2887 (fill): renamed as addColor and made private.
2888 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2889 versions of these functions taking a string arg have been removed.
2891 * bufferparams.C (readToken):
2892 * lyxfunc.C (dispatch):
2893 * lyxrc.C (read): changes due to the altered BranchList and
2896 * factory.C (createInset, readInset): changes due to altered
2899 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2902 * lyxfunc.C: remove insetminipage. "minipage-insert"
2903 now produces a frameless minipage box inset.
2905 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2907 * textcursor.[Ch] (selStart,selEnd): add new methods
2908 remove selection::start, end, use LyXCursor::operator<
2909 * lyxcursor.[Ch] (operator<): add
2910 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2911 * BufferView.[Ch] (unsetXSel): add
2912 * text2.C (clearSelection): use unsetXSel,adjust
2915 * rowpainter.C: adjust
2916 * bufferview_funcs.C (put_selection_at): adjust
2918 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2920 * BufferView_pimpl.C: small coord. correction
2922 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2924 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2925 dragging over the splash screen.
2927 2003-12-11 Angus Leeming <leeming@lyx.org>
2929 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2930 as it is now handled in LyXText::dispatch.
2932 * text3.C (doInsertInset): remove a level of nesting.
2934 2003-12-11 Angus Leeming <leeming@lyx.org>
2936 * factory.C (createInset): changes due to the changed interface to
2937 InsetCommandMailer::string2params.
2939 2003-12-10 Angus Leeming <leeming@lyx.org>
2941 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2942 'dialog-show-new-inset <inset name>'
2944 2003-12-10 Angus Leeming <leeming@lyx.org>
2946 * buffer.C: up the format to 227.
2948 * factory.C: the box inset is now identified simply by 'Box'.
2950 2003-12-10 Angus Leeming <leeming@lyx.org>
2952 * buffer.C: up the format to 226.
2954 * factory.C: the note inset is now identified simply by 'Note'.
2956 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2958 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2959 when a pit is enough. Standarize a couple of loops.
2961 2003-12-05 Angus Leeming <leeming@lyx.org>
2963 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2964 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2965 data to the re-worked "log" dialog.
2967 2003-12-03 André Pönitz <poenitz@gmx.net>
2973 * paragraph_funcs.C:
2975 * text2.C: use Inset::getText instead of Inset::getParagraph
2977 2003-12-03 André Pönitz <poenitz@gmx.net>
2981 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2982 InsetText::read() as LyXText::read()
2984 2003-12-02 Angus Leeming <leeming@lyx.org>
2986 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2987 type. Add a comment in the implementation that the function uses
2988 the stream's bad() function rather than fail() as the std::streams
2991 2003-12-02 André Pönitz <poenitz@gmx.net>
2993 * lyxlex.[Ch]: make interface more similar to std::stream
2995 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2997 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2999 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3001 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3003 * vspace.[Ch]: remove VSpace::NONE
3005 2003-12-01 André Pönitz <poenitz@gmx.net>
3008 * lyxtext.h: move ParagraphList member to LyXText
3009 rename LyXText::ownerParagraphs to LyXText::paragraph
3012 * bufferview_funcs.C:
3022 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3024 * undo.C: fix cursor positioning
3026 2003-12-01 John Levon <levon@movementarian.org>
3028 * BufferView_pimpl.C: fix a crash on exit with
3031 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3033 * BranchList.C: fix setSelected() method.
3035 2003-11-28 André Pönitz <poenitz@gmx.net>
3037 * ParagraphParameters.[Ch]:
3038 * ParameterStruct.h: remove space above/below from Paragraph to
3041 * BufferView_pimpl.C:
3047 * paragraph_funcs.C:
3053 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3055 * factory.C: Syntax change for CharStyles
3057 2003-11-28 André Pönitz <poenitz@gmx.net>
3062 * buffer.[Ch]: move LyXText member
3064 2003-11-28 André Pönitz <poenitz@gmx.net>
3066 * BufferView.[Ch]: make LyXText * text a private member
3068 * BufferView_pimpl.C:
3079 * output_plaintext.C: cleanup
3081 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3084 * lyxtextclass.[Ch]: parametrize SGML document header
3086 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3089 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3092 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3094 * text2.C (setFont): rework using PosIterator (no more recursive)
3095 (setCharFont): no more needed
3096 (setLayout): no more selection cursors fiddling (done by redoCursor)
3097 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3098 destroy remaining ones)
3100 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3102 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3104 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3107 * text3.C: adjust + re-allow multi par depth changes
3108 * textcursor.C: simplify a bit
3110 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3116 * src/output_docbook.C:
3117 * src/output_latex.C:
3122 * src/text2.C: Introducing a number of tags parametrizing various
3123 XML formats that we may want to support
3125 2003-11-25 André Pönitz <poenitz@gmx.net>
3127 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3129 * lyxtext.h (leftMargin/rightMargin): simplify interface
3136 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3138 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3139 master file to any child files. Fixes bug 546.
3141 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3143 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3145 2003-11-24 André Pönitz <poenitz@gmx.net>
3147 * rowpainter.C: simplification
3149 * text2.C (updateCounters): remove call to redoParagraph on
3150 changed labels as this is far too expensive.
3152 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3154 * converter.C (convert): fix a crash: this function gets
3155 called with buffer == 0 from importer code.
3157 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3159 * text3.C (cursorPrevious): make sure that we do not compare
3160 iterators form different containers.
3163 * rowpainter.C (paintSelection): make sure that we do not compare
3164 iterators from different containers.
3166 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3167 iterators from different ParagraphList containers.
3170 * text2.C (LyXText): change order of initialization slightly
3171 (operator=): new function. copy all variables except cache_par_
3172 (moveUp): make sure that we do not compare iterators from
3173 different ParagraphList constainers.
3176 * text.C (firstPar): new function
3177 (lastPar): new function
3178 (endPar): new function
3180 * lyxtext.h: move things around and group public functions, public
3181 variables, private functions, private variables
3183 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3185 * factory.C: change call to InsetERT constructor to avoid
3186 additional invocation of method status
3187 * text2.C (toggleInset): remove redundant update() call
3188 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3189 instead of a Bufferview pointer
3191 2003-11-21 André Pönitz <poenitz@gmx.net>
3193 * rowpainter.C: simplification
3195 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3197 * text3.C (dispatch): make possible to extend a word/row selection
3200 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3202 * lyxtext.h: x0_,y0_ -> xo_,yo_
3203 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3204 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3205 * rowpainter.C (paintRows): paint full paragraphs
3207 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3209 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3212 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3214 * lyxtext.h: add x0_, y0_
3215 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3216 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3218 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3220 * text2.C (setCursorIntern): move the x_target update here *
3221 * text3.C: change some bv() to true/false in calls to
3222 cursorUp/Down/Right/Left
3223 * cursor.C: use helper function.
3225 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3227 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3228 * paragraph_funcs.[Ch]: correct comment
3229 * rowpainter.C: do not paint selections away from bv->cursor()
3230 Fix a long standing selection painting bug.
3231 * text3.C: generalize mouse-selection code to LyXTexts other that
3233 * textcursor.C: do not use y coords if we can use par offsets
3235 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3237 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3238 cursor position after e.g. inset insert)
3240 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3242 * lyxfind.C (replace): adjust to locking removal + some
3245 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3247 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3250 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3253 * output_docbook.C: XML sanitation: new layout
3254 parameters InnerTag and CommandDepth
3256 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3258 * BufferView_pimpl.C:
3260 * text3.C: Fix the insertion and modification of button-style
3263 2003-11-13 André Pönitz <poenitz@gmx.net>
3265 * InsetList.[Ch]: remove deleteLyXText
3267 * paragraph.[Ch]: cache beginOfBody position
3272 * text3.C: remove superfluous update() calls
3276 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3278 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3279 * BufferView.C (fitLockedInsetCursor): remove
3280 * cursor.[Ch] (getDim): add
3281 * text.C (getRowNearY): add faster version
3282 * text3.C: remove some update calls
3284 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3296 * text3.C: The Character Style /XML short element patch.
3298 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3301 * factory.C: Small step to solving 'unable to insert some insets'
3304 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3306 * cursor.[Ch] (updatePos): new function for updating the y
3307 position of the tip inset
3308 * bufferview_funcs.C (put_selection_at):
3309 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3311 2003-11-11 André Pönitz <poenitz@gmx.net>
3313 * text.C: remove big comment on invalid Paragraph pointers as it is
3316 2003-11-11 André Pönitz <poenitz@gmx.net>
3318 * text_funcs.[Ch]: merge with ...
3326 * Makefile.am: remove text_funcs.[Ch]
3328 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3330 * cursor.C (getPos): return absolute cached y coord
3332 * BufferView_pimpl.C (fitCursor): new simplistic code
3333 (workAreaDispatch): add a fitCursor call
3335 2003-11-10 André Pönitz <poenitz@gmx.net>
3338 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3340 2003-11-10 André Pönitz <poenitz@gmx.net>
3342 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3343 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3344 indicate that the cursor needs to leave an inset
3346 * lyxtext.h: remove inset locking
3348 * cursor.[Ch]: re-implement functionality provided by inset locking
3351 * BufferView_pimpl.[Ch]:
3353 * bufferview_funcs.[Ch]:
3365 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3367 * PosIterator.[Ch]: replace the stack with a vector, add inset
3369 * iterators.[C]: adjust
3371 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3373 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3375 * paragraph_funcs.C (readParToken): put the correct id in the
3376 error item, not the id of the top paragraph
3378 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3380 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3381 * bufferview_funcs.C (put_selection_at): use the above
3383 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3385 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3387 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3389 * output_linuxdoc.h:
3390 * output_plaintext.h:
3392 * output_docbook.h: add #include statements
3394 2003-11-05 José Matos <jamatos@lyx.org>
3396 * output_docbook.[Ch]:
3397 * output_latex.[Ch]:
3398 * output_linuxdoc.[Ch]:
3399 * output_plaintext.[Ch]: New files for output formats.
3400 * output.[Ch]: New file for helper functions.
3403 * paragraph_funcs.[Ch]: output functions moved to new files.
3405 * outputparams.h: rename of latexrunparams.h
3413 * paragraph_funcs.[Ch]:
3414 * paragraph_pimpl.[Ch]:
3415 * tabular.[Ch]: rename ascii to plaintext
3416 and LatexRunParams to OutputParams.
3418 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3420 * iterators.[Ch] (text): require bv argument
3421 * undo.C (recordUndo):
3422 * lyxfunc.C (dispatch):
3423 * bufferview_funcs.C (put_selection_at): adjust
3425 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3427 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3429 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3431 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3434 2003-11-04 André Pönitz <poenitz@gmx.net>
3436 * cursor.[Ch]: restructure
3439 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3441 * iterators.[Ch] (asCursor): remove
3443 * lfuns.h: remove LFUN_INSET_EDIT
3449 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3451 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3453 * lyxfind.[Ch]: complete overhaul
3454 * BufferView_pimpl.C:
3456 * paragraph.[Ch] (insert): add
3458 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3462 * text.C: remove dead spellcheck code
3464 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3466 * dispatchresult.h: add a val setter
3468 * cursor.C (dispatch): use a tempvar for data_[i]
3470 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3472 * PosIterator.[Ch]: compile fix
3474 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3476 * text.C (cursorPar): deactivate the cursor cache
3478 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3480 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3482 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3484 * text3.C (dispatch): adjust for new DisptchResult semantics.
3486 * lyxfunc.C (dispatch): handle update when return from
3487 Cursor::dispatch, adjust for new DispatchResult semantics.
3489 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3490 DispatchResult(true) mean to not update. Add class functions for
3491 setting dispatched and update, as well as reading.
3493 * cursor.C (dispatch): don't handle update here
3495 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3497 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3498 * trans_mgr.C: adjust
3500 * paragraph_funcs.C (readParToken): exception safety
3502 * lyxvc.h: store the vcs pointer in a scoped_ptr
3505 * lyxsocket.C (serverCallback): exception safety
3507 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3509 * ispell.C (clone): make it return a auto_ptr
3511 * factory.C (createInset): exception safety
3512 (readInset): exception safety
3514 * bufferlist.C (newBuffer): exception safety
3516 * Thesaurus.C (Thesaurus): use initialization for aik_
3518 * MenuBackend.C (expandToc): exception safety.
3520 2003-11-03 André Pönitz <poenitz@gmx.net>
3524 * bufferview_funcs.C: remove getInsetFromId()
3527 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3533 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3535 * PosIterator.C (distance, advance): new
3536 * bufferview_funcs.[Ch] (put_selection_at): new
3537 * iterators.[Ch] (lockPath): new
3539 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3541 * iterators.[Ch] (asPosIterator): added
3542 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3543 * PosIterator.[Ch]: added
3545 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3549 * cursor.C (dispatch):
3550 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3552 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3553 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3554 contructor, add a class function dispatched. Remove operator>=
3556 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3558 * debug.C: only use the default constructor for debugstream
3561 * main.C (main): include debug.h and setup the lyxerr streambuf
3564 2003-10-31 José Matos <jamatos@lyx.org>
3566 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3568 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3569 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3570 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3571 * paragraph_pimpl.C (simpleTeXSpecialC):
3572 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3573 add LatexRunParams argument.
3575 * exporter.C (Export): change call accordingly.
3577 * latexrunparams.h: add new member to take care of the other backends.
3578 2003-10-30 José Matos <jamatos@lyx.org>
3580 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3581 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3582 factorise code for paragraph output.
3584 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3587 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3589 * text3.C (dispatch):
3590 * lyxfunc.C (dispatch):
3591 * cursor.C (dispatch):
3592 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3594 * dispatchresult.h: make the dispatch_result_t ctor explicit
3596 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3599 * buffer.C: small refactoring of docbook stuff
3601 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3603 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3606 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3608 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3609 operator dispatch_result_t, and operators for == != and >=
3611 * cursor.C (dispatch): adjust for operator dispatch_result_t
3612 removal. comment out call to update
3614 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3616 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3624 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3627 * dispatchresult.h: new file, DispatchResult broken out of
3630 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3632 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3634 * text.C (rowBreakPoint): put a hack inside #if 0
3636 2003-10-28 André Pönitz <poenitz@gmx.net>
3640 * paragraph_funcs.C:
3643 * text2.C: general cleanup (lots of small stuff)
3645 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3647 * text2.C (cursorEnd): simple fix to the "end key goes to one
3648 before the end on last row" bug
3650 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3652 * text.C (backspace): fix the "zombie characters"
3654 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3656 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3658 2003-10-27 André Pönitz <poenitz@gmx.net>
3660 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3662 * factory.C: handle new InsetPagebreak, InsetLine
3664 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3665 and move handling into new InsetPagebreak, InsetLine
3667 * BufferView_pimpl.C:
3669 * ParagraphParameters.C:
3670 * ParameterStruct.h:
3675 * paragraph_funcs.C:
3676 * paragraph_pimpl.C:
3682 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3685 * lyxrow_funcs.[Ch]:
3691 * text3.C: remove lastPos uses in favour of Row::endpos
3693 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3695 * undo.C (performUndoOrRedo): fix two crashes by setting a
3696 cursor by hand and reordering some calls. Use bv->lockInset instead
3697 of inset->edit because the latter loses cursor information
3699 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3701 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3703 (rowBreakPoint): fix width. change point to point + 1.
3704 Add a missing check.
3706 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3709 * lyxfunc.C: fix (at least partly) the problems
3710 with the Nav menu and headers inside branch insets
3713 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3715 * paragraph.C (getChar): add strong asserts
3717 * lyxrow_funcs.C (lastPos): remove hideous hack
3719 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3720 (fill): adjust to that (avoid an infinite loop)
3722 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3724 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3726 2003-10-23 André Pönitz <poenitz@gmx.net>
3728 * RowList_fwd.h: change list<> to vector<> to gain speed
3729 after suggestion from Alfredo
3731 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3733 * lyxtext.h: move the bidi stuff from here...
3736 * Bidi.[Ch]: ... to here
3738 2003-10-23 André Pönitz <poenitz@gmx.net>
3741 * text.C (isLastRow, isFirstRow): new functions
3743 * paragraph.h: new width cache member
3745 * rowpainter.C: replace RowList::iterator with Row & where possible
3747 * lyxfunc.C: replace several view()->text with a single call
3749 * toc.C: fix 'unused' warning
3751 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3753 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3754 when woring with stream::pos_type
3755 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3757 2003-10-22 André Pönitz <poenitz@gmx.net>
3760 * text.C: use Row & instead of RowList::iterator
3762 * lyxrow.h: rename end() to endpos()
3768 2003-10-22 Angus Leeming <leeming@lyx.org>
3770 * buffer.[Ch] (fully_loaded): new member function, returning true
3771 only when the file has been loaded fully.
3772 Used to prevent the premature generation of previews and by the
3773 citation inset to prevent computation of the natbib-style label.
3775 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3776 templates are all set up.
3778 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3780 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3782 * text.C: fixed an "oops" in the "is a bit silly"
3785 2003-10-21 André Pönitz <poenitz@gmx.net>
3787 * FuncStatus.[Ch]: small stuff, whitespace
3789 * lyxfont.[Ch]: operator<<() for debug reasons
3793 * lyxtext.h: whitespace, spelling
3795 * paragraph.C: naming of variables
3798 * text2.C: small stuff
3801 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3803 * text.C: (1) finish off the inset display() work;
3804 (2) fix the "is a bit silly" bug (accessing char
3807 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3809 * text.C: re-introduce display() for insets, fixing the
3810 various bugs (stretch of line above, math inset
3813 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3815 * text.C (rightMargin): remove spurious semicolon
3817 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3820 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3822 * text3.C: fix one crash due to wrong cursor def
3824 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3826 * vc-backend.C (scanMaster): make the regex static
3828 * LaTeX.C (scanAuxFile): make the regexs static
3830 * text3.C (doInsertInset, dispatch, dispatch):
3831 * text2.C (cursorUp, cursorDown):
3832 * text.C (selectNextWordToSpellcheck):
3833 * BufferView_pimpl.C (dispatch):
3834 * lyxfunc.C (dispatch): localDispatch -> dispatch
3836 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3838 * lyxsocket.C: include <cerrno>
3840 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3842 * lyxfunc.C (dispatch): remove textcache stuff
3844 * bufferlist.C (release): remove textcache stuff
3847 * TextCache.C: delete file
3848 * TextCache.h: delete file
3850 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3852 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3853 delete of the bv_->text.
3854 (resizeCurrentBuffer): remove texcache stuff
3855 (workAreaResize): ditto
3857 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3859 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3862 2003-10-16 André Pönitz <poenitz@gmx.net>
3869 * text3.C: speed up by storing y positions per paragraph plus per-row
3870 offset instead of having a 'full' y position in the row.
3872 2003-10-15 André Pönitz <poenitz@gmx.net>
3876 * undo.[Ch]: make undo aware of inner insets
3878 2003-10-14 Angus Leeming <leeming@lyx.org>
3880 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3881 static member functions LyX::ref() and LyX::cref.
3882 (lastfiles): new accessor functions for the new lastfiles_ member var.
3883 (addLyXView, views_): add a new LyXView to the list of views_.
3884 (updateInset): loop over all LyXViews to call their own updateInset
3885 member function, returning a pointer to the Buffer owning the inset.
3887 * BufferView_pimpl.C (loadLyXFile):
3888 * MenuBackend.C (expandLastfiles):
3889 * bufferlist.C (MenuWrite, QuitLyX):
3890 lastfiles is no longer a global variable.
3891 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3893 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3894 static function. Access through LyX::cref().emergencyCleanup().
3896 2003-10-14 André Pönitz <poenitz@gmx.net>
3898 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3900 * undo.[Ch]: restoring part of 'undo in insets'
3903 * undo_funcs.[Ch]: merge with undo.[Ch]
3905 * tabular.C: small cleansing stuff
3907 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3909 * paragraph_funcs.C (readParToken): report unknown insets as error
3910 boxes. Use the outer paragraph as location (also for unknown
3913 * factory.C (readInset): do not abort on reading an unknown inset.
3914 Eat it and return 0.
3916 2003-10-13 Angus Leeming <leeming@lyx.org>
3918 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3920 * lyxrc.C: displayTranslator is now a function,
3921 declared in GraphicsTypes.h.
3923 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3925 * format.C: new placeholder $$a to pass the socket address.
3927 * bufferlist.[Ch]: new function getBufferFromTmp.
3929 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3930 files in the temporary dir.
3932 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3934 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3936 * Makefile.am: add lyxsocket.[Ch].
3938 * lyx_main.C (error_handler): handle SIGPIPE.
3940 2003-10-13 André Pönitz <poenitz@gmx.net>
3942 * BufferView_pimpl.C:
3947 * undo_funcs.[Ch]: use paroffset_type instead of
3948 ParagraphList::iterators to prevent multiple conversion
3949 (and get a more robust interface)
3951 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3953 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3955 * text3.C (dispatch): ditto
3957 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3959 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3960 move the onlyfile, use onlyfile instead of foundfile in a couple
3963 * DepTable.C (update): flush the error stream a bit more
3965 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3967 * lyxserver.C (callback): adjust
3969 * lyxfunc.C (getStatus): add a missing brace in commented code
3970 (ensureBufferClean): reindent
3971 (dispatch): delete version taking a string
3973 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3975 * LaTeX.C (deplog): move found file handlig from here...
3976 (handleFoundFile): .. to new function here.
3977 (deplog): make sure to discover several files mentioned on the
3980 2003-10-10 André Pönitz <poenitz@gmx.net>
3987 * text3.C: fix some of the tabular crashes
3989 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3991 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3993 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3995 2003-10-09 André Pönitz <poenitz@gmx.net>
3997 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4000 * BufferView_pimpl.C:
4001 * bufferview_funcs.C:
4012 * undo_funcs.C: adjust
4014 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4016 * text2.C (incrementItemDepth): new function, use a backtracking
4017 algorithm to discover the correct item depth.
4018 (resetEnumCounterIfNeeded): new function, use a backtracking
4019 algorithm to discover if counter reset is needed.
4020 (setCounter): use them. Simplify a bit. Add different labels for
4021 different item depths for itemize.
4023 * paragraph.C (Paragraph): remove initialization of enumdepth
4026 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4027 enumerate and itemize. Change the type of itemdepth to signed char.
4029 2003-10-08 André Pönitz <poenitz@gmx.net>
4031 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4036 * tabular.[Ch]: fix crash after 'row-insert'
4038 2003-10-08 Angus Leeming <leeming@lyx.org>
4040 Fix doxygen warnings.
4042 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4043 Remove CutAndPaste:: prefix from header file declaration.
4045 * LColor.h (fill): remove LColor:: prefix from declaration.
4047 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4048 use lyx::depth_type rather than Paragraph::depth_type so that
4049 header file and .C file match.
4051 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4053 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4054 * aspell.C: \file aspell_local.C -> \file aspell.C
4055 * gettext.C: \file gettext.C -> \file src/gettext.C
4056 * gettext.h: \file gettext.h -> \file src/gettext.h
4057 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4058 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4059 * text.C: \file text.C -> \file src/text.C
4061 * toc.C: move comment so that doxygen is not confused.
4063 2003-10-07 Angus Leeming <leeming@lyx.org>
4065 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4067 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4070 * aspell_local.h: add forgotten std::string's.
4072 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4079 * text3.C: The Box patch. Fancybox support, minipage, parbox
4081 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4087 * ParagraphParameters.h:
4097 * lyxtextclasslist.h:
4100 * paragraph_pimpl.C:
4101 * textcursor.h: add <string> and other small fixes to make Lars'
4102 std::string patch compile with STLport.
4104 2003-10-06 Angus Leeming <leeming@lyx.org>
4106 * LColor.h: Add missing #include <string>.
4108 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4110 * All most all file in all subdirs: Make <string> be the prefered
4111 way of getting to std::string, add using declarations.
4113 2003-10-06 André Pönitz <poenitz@gmx.net>
4115 * metricsinfo.C: initialize LyXFont before changing attribute.
4116 (fixes the 'math in \emph is upright' bug)
4118 2003-10-06 André Pönitz <poenitz@gmx.net>
4120 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4122 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4125 * paragraph_pimpl.C: Small fixes to build using STLport
4127 2003-10-02 André Pönitz <poenitz@gmx.net>
4130 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4132 2003-10-01 André Pönitz <poenitz@gmx.net>
4134 * factory.C: assert early
4136 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4138 * lyx_main.C: remove the global debug object
4140 * debug.h: adjust for new debugstream
4142 * debug.C: adjust for new debugstream and keep the global debug
4145 2003-09-22 Angus Leeming <leeming@lyx.org>
4147 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4148 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4149 an incomplete class LyXFont.
4151 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4153 * factory.C: bug fix in branches
4155 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4157 * lyxfunc.C (processKeySym): adjust
4159 (dispatch): change arg name from ev to func, adjust
4160 (sendDispatchMessage): ditto
4162 * lyx_main.C (defaultKeyBindings): adjust keybindings
4163 (deadKeyBindings): ditto
4165 * kbsequence.C (addkey): return a FuncRequest
4167 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4169 * kbmap.C (bind): take a FuncRequest as arg, adjust
4172 (defkey): change to take a FuncRequest as arg, adjust
4173 (findbinding): take a FuncRequest as arg, adjust.
4175 * funcrequest.h (operator=): added
4177 * funcrequest.C (FuncRequest): default kb_action changed from
4178 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4180 * buffer.C (dispatch): simplify
4181 (dispatch): adjust to take a FuncRequest as arg, adjust
4183 * boost.C (assertion_failed): change assertion message slightly
4185 * ToolbarBackend.C (read): simplify
4187 * MenuBackend.C (binding): adjust call to findbinding, add a
4188 message if no binding is found.
4190 (expandToc): correct by adding a empty FuncRequest
4192 * LyXAction.C: include <boost/assert.hpp>
4193 (isPseudoAction): delete function
4194 (LookupFunc): change name to...
4195 (lookupFunc): this. change return type to FuncRequest.
4196 (getActionName): take kb_action as arg, simplify
4197 (funcHasFlag): add an assert, simplify.
4199 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4201 * toc.C (action): return a FuncRequest, simplify
4203 * lyxfunc.C (processKeySym): adjust
4204 (getStatus): delete version that takes an int.
4206 (dispatch): delete version that takes action as int
4208 (sendDispatchMessage): simplify and adjust
4210 * funcrequest.C (getArg): take unsigned int as arg
4212 * ToolbarBackend.C (read): adjust
4213 (add): delete version that takes func as a string.
4214 (getIton): take a FuncRequest as arg
4216 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4219 * MenuBackend.C (MenuItem): add a new construct that only takes a
4220 Kind, simplify the constructor use for submenus.
4222 (expandLastfiles): adjust
4223 (expandDocuments): adjust
4224 (expandFormats): adjust
4225 (expandFloatListInsert): adjust
4226 (expandFloatInsert): adjust
4227 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4229 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4230 Remove class variables lyx_pseudo_map and lyx_arg_map
4232 * LyXAction.C (searchActionArg): delete function
4233 (getPseudoAction): delete function
4234 (retrieveActionArg): delete function
4235 (LookupFunc): make it return kb_action, simplify.
4236 (getActionName): simplify
4238 * factory.C (createInset): fix new bug
4240 2003-09-19 Angus Leeming <leeming@lyx.org>
4242 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4243 masterFilename_ parameter in the include inset.
4245 * factory.C (createInset): changes due to the changes to InsetInclude.
4247 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4249 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4251 2003-09-18 Angus Leeming <leeming@lyx.org>
4254 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4255 Inset::fillWithBibKeys.
4256 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4258 2003-09-18 Angus Leeming <leeming@lyx.org>
4260 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4262 (ctor): pass and store a 'Buffer const &'
4263 (buffer): new member function.
4265 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4266 '*this' to the LaTeXFeatures ctor.
4268 2003-09-18 Angus Leeming <leeming@lyx.org>
4274 * text.C: rename EnumLColor as LColor_color.
4276 2003-09-18 Angus Leeming <leeming@lyx.org>
4278 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4279 remove #include "insets/insetbase.h" from cursor.h.
4281 2003-09-18 Angus Leeming <leeming@lyx.org>
4283 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4284 InsetOld_code to remove #include "inset.h".
4286 * iterators.C: add #include "insets/inset.h"
4288 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4290 * BufferView.C: remove more locking stuff that apparently doesn't
4291 do anything sensible.
4293 2003-09-16 André Pönitz <poenitz@gmx.net>
4296 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4299 2003-09-16 Angus Leeming <leeming@lyx.org>
4301 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4303 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4306 * paragraph.h: remove #include "lyxfont.h". Forward declare
4309 2003-09-16 Angus Leeming <leeming@lyx.org>
4311 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4312 of support/textutils.h.
4313 (isWord): move the contents of support/textutils.h's IsWordChar here.
4319 * text2.C: add #include "paragraph.h".
4322 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4324 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4330 * LaTeX.C: use namespace alias for lyx::support::os
4332 2003-09-16 Angus Leeming <leeming@lyx.org>
4335 * bufferview_funcs.C:
4338 * paragraph_pimpl.C:
4340 * text.C: add #include "LColor.h".
4342 2003-09-16 Angus Leeming <leeming@lyx.org>
4344 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4345 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4347 Store the FontBits::color variable as an int rather than as an
4348 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4351 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4352 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4353 string calls together.
4355 * lyxrc.C: add #include "LColor.h".
4357 2003-09-15 Angus Leeming <leeming@lyx.org>
4359 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4362 2003-09-15 Angus Leeming <leeming@lyx.org>
4364 * LColor.h: add an EnumLColor wrapper for LColor::color.
4366 * lyxfont.[Ch] (color, setColor, realColor):
4367 * lyxtext.h, text.C (backgroundColor):
4368 pass EnumLColor args to/from the functions, rather than LColor::color
4372 * lyxtext.h: forward declare EnumLColor.
4374 * lyx_main.C: add #include "LColor.h".
4376 2003-09-15 Angus Leeming <leeming@lyx.org>
4378 * .cvsignore: add lyx-gtk.
4380 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4385 * ParagraphParameters.C
4389 * bufferview_funcs.C
4399 * vc-backend.C: remove usage of STRCONV
4401 2003-09-15 Angus Leeming <leeming@lyx.org>
4403 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4404 explicitly define the color passed to the painter.
4406 2003-09-15 Angus Leeming <leeming@lyx.org>
4408 * bufferparams.C (BufferParams): reorder member initializers to avoid
4411 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4413 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4414 * text.C (updateRowPositions): remove an unusual nop
4416 2003-09-12 André Pönitz <poenitz@gmx.net>
4418 * BufferView_pimpl.C:
4427 * Counters.[Ch]: finish the 'automatic counters' job
4429 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4431 * aspell.C: include <boost/assert.cpp> (compile fix)
4433 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4435 * boost.C (assertion_failed): use lyx::support::abort instead of
4438 2003-09-10 Angus Leeming <leeming@lyx.org>
4440 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4441 with their _fwd progeny.
4443 2003-09-09 Angus Leeming <leeming@lyx.org>
4445 134 files throughtout the source tree: replace 'using namespace abc;'
4446 directives with the appropriate 'using abc::xyz;' declarations.
4448 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4450 * boost.C (emergencyCleanup): moved here from LAssert.c
4451 (assertion_failed): new function, called by BOOST_ASSERT
4453 * several files: change Assert to BOOST_ASSERT
4455 2003-09-09 Angus Leeming <leeming@lyx.org>
4457 * buffer.[Ch]: Add an Impl class and move Buffer's member
4458 variables into it. As a result move several header files out of
4461 Add header files to lots of .C files all over the tree as a result.
4463 2003-09-09 Angus Leeming <leeming@lyx.org>
4465 * buffer.[Ch]: make Buffer's member variables private. Add
4468 Lots of changes all over the tree as a result.
4470 2003-09-08 Angus Leeming <leeming@lyx.org>
4472 * graph.C: #include <config.h>.
4474 2003-09-08 Angus Leeming <leeming@lyx.org>
4478 * BufferView_pimpl.C:
4507 * toc.C: remove redundant using directives.
4509 2003-09-07 Angus Leeming <leeming@lyx.org>
4511 * LaTeXFeatures.h: remove #include "support/types.h".
4512 * ToolbarBackend.h: remove #include <algorithm>.
4513 * changes.h: remove #include <ctime>.
4514 * debug.h: remove #include <iosfwd>.
4515 * graph.h: remove #include "support/std_string.h".
4516 * lyx_main.h: remove #include <csignal>.
4517 * lyxlex_pimpl.h: remove #include <fstream>.
4518 * sgml.h: remove #include <algorithm>, <utility>.
4519 * toc.h: remove #include "support/std_ostream.h".
4520 Add #include <iosfwd>.
4522 2003-09-07 Angus Leeming <leeming@lyx.org>
4524 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4526 * converter.h: forward declare LatexRunParams.
4527 * encoding.h: remove #include "lyxrc.h".
4528 * lyxtext.h: remove #include "LColor.h".
4529 * lyxtextclass.h: remove #include "support/types.h".
4530 * trans.h: remove #include "tex-accent.h".
4531 * trans_mgr.h: remove #include "tex-accent.h".
4532 * insets/inset.h: remove #include "support/types.h", <vector>.
4533 * insets/insetcollapsable.h: remove #include "LColor.h".
4534 * insets/insetinclude.h: remove #include "dimension.h".
4535 * insets/insetlatexaccent.h: remove #include "dimension.h".
4536 * insets/insetoptarg.h:: remove #include "insettext.h".
4537 * insets/insettext.h: remove #include "dimension.h",
4538 <boost/shared_ptr.hpp>
4540 * insets/renderers.h: add #include "dimension.h".
4541 * insets/updatableinset.h: add #include "support/types.h".
4543 * many .C files: Associated changes.
4545 2003-09-06 Angus Leeming <leeming@lyx.org>
4547 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4548 one, inside testInvariant.
4550 * PrinterParams.C: new file.
4551 * PrinterParams.[Ch]: move the function bodies out of line.
4553 2003-09-06 Angus Leeming <leeming@lyx.org>
4555 * ParagraphParameters.h: forward declare ParameterStruct rather than
4556 including its header file.
4557 (depth): moved out-of-line.
4559 2003-09-06 Angus Leeming <leeming@lyx.org>
4561 * BufferView_pimpl.h:
4564 * lyxfunc.h: forward declare LyXKeySym rather than
4565 #include "frontends/LyXKeySym.h".
4567 * BufferView_pimpl.C:
4570 * lyxfunc.C: associated changes.
4572 2003-09-06 Angus Leeming <leeming@lyx.org>
4574 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4575 As a result, can remove the #include "insets/inset.h" from BufferView.h
4577 2003-09-06 Angus Leeming <leeming@lyx.org>
4579 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4580 As a result, can remove the #include "insets/inset.h" from BufferView.h
4582 2003-09-06 Angus Leeming <leeming@lyx.org>
4588 * bufferview_funcs.C:
4589 * BufferView_pimpl.C:
4594 * ParagraphParameters.C:
4599 * frontends/controllers/ControlDocument.C:
4600 * insets/insetcaption.C: rearrange the #includes into some sort of
4603 * buffer.h: remove #includes ErrorList.h, undo.h
4605 2003-09-06 Angus Leeming <leeming@lyx.org>
4607 * support/types.h: add a 'depth_type' typedef, used to store the
4608 nesting depth of a paragraph.
4611 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4612 defining explicitly.
4615 * paragraph_funcs.h:
4616 * ParagraphParameters.h:
4617 * sgml.h: use lyx::depth_type rather than Paragraph or
4618 ParameterStruct's depth_type.
4621 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4624 * BufferView_pimpl.C:
4626 * ParagraphParameters.C:
4629 * bufferview_funcs.C:
4636 * frontends/LyXView.C:
4637 * frontends/controllers/ControlDocument.C:
4638 * frontends/controllers/ControlErrorList.C:
4639 * insets/insetbibitem.C:
4640 * insets/insetbranch.C:
4641 * insets/insetcaption.C:
4642 * insets/insetcollapsable.C:
4643 * insets/insetenv.C:
4644 * insets/insetert.C:
4645 * insets/insetfloat.C:
4646 * insets/insetfoot.C:
4647 * insets/insetfootlike.C:
4648 * insets/insetnewline.C:
4649 * insets/insetquotes.C:
4650 * insets/insettabular.C:
4651 * insets/insettext.C:
4652 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4654 * frontends/controllers/ControlChanges.C: #include "changes.h".
4656 2003-09-06 Angus Leeming <leeming@lyx.org>
4658 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4659 than #including paragraph.h.
4662 * RowList.h: deleted. Superfluous.
4672 * insets/insettext.h: use ParagraphList_fwd.h rather than
4675 * paragraph.h: don't forward declare ParagraphList.
4678 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4679 rather than ParagraphList.h. paragraph.h is still needed for the
4680 Paragraph::depth_type parameters.
4682 * textcursor.h: enable it to compile stand-alone in light of the
4685 * bufferview_funcs.C:
4697 * frontends/controllers/ControlParagraph.C:
4698 * frontends/controllers/ControlTabular.C:
4699 * insets/insetmarginal.C:
4700 * insets/insetminipage.C:
4701 * insets/insetnote.C:
4702 * insets/insetoptarg.C: add header files needed to compile again.
4704 2003-09-06 Angus Leeming <leeming@lyx.org>
4706 * RowList_fwd.h: new file, forward-declaring Row rather than
4707 #including lyxrow.h.
4712 * insets/insettext.h: use it instead of RowList.h
4714 * bufferview_funcs.C:
4721 * text3.C: #include "RowList.h".
4723 2003-09-05 Angus Leeming <leeming@lyx.org>
4725 * factory.C (createInset):
4726 * vspace.C (c-tor): replace sscanf call with an istringstream.
4727 * ispell.C: re-add missing HP/UX headers.
4728 * lyxserver.C: re-add missing os2 headers.
4730 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4739 * text3.C: re-add missing system headers, needed for 2.95.2.
4741 2003-09-05 Angus Leeming <leeming@lyx.org>
4743 Changes most place everywhere due to the removal of using directives
4744 from support/std_sstream.h.
4746 2003-09-05 Angus Leeming <leeming@lyx.org>
4748 Replace LString.h with support/std_string.h,
4749 Lsstream.h with support/std_sstream.h,
4750 support/LIstream.h with support/std_istream.h,
4751 support/LOstream.h with support/std_ostream.h.
4753 Changes resulting throughout the tree.
4755 2003-09-05 Angus Leeming <leeming@lyx.org>
4757 * sgml.h: ensure that the header file can be compiled stand-alone.
4758 * *.C: strip out redundant #includes. (320 in total.)
4760 2003-09-04 Angus Leeming <leeming@lyx.org>
4762 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4763 here (from getPackages).
4765 * debug.[Ch]: add a new EXTERNAL tag.
4767 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4769 * text2.C (cursorEnd): simplify
4771 (getColumnNearX): adjust
4773 * text.C (computeBidiTables): adjust
4776 * rowpainter.C (paintChars): adjust
4777 (paintSelection): adjust
4778 (paintChangeBar): adjust
4781 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4783 (numberOfSeparators): adjust
4785 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4791 * text3.C: Restricts the mouse click functionality
4792 of insets like bibtex, include, toc and floatlist to the visible
4793 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4794 up the dialogs. Cursor has to be in front of the inset (i.e.
4795 start of row) for this to function.
4797 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4799 * bufferview_funcs.C (currentState): output row information
4801 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4803 * bufferview_funcs.C (currentState): output paragraph position
4805 2003-09-04 Angus Leeming <leeming@lyx.org>
4807 * FloatList.h: move out #include "Floating.h".
4808 * LaTeX.h: move out #include "DepTable.h".
4809 * LyXAction.h: move out #include "funcrequest.h".
4810 * buffer.h: move out #include "author.h", "iterators.h".
4811 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4812 * lyx_main.h: move out #include "errorlist.h".
4813 * lyxfunc.h: move out #include "FuncStatus.h".
4814 * lyxtext: move out #include "lyxcursor.h".
4815 * paragraph_pimpl.h: move out #include "counters.h".
4817 2003-09-03 Angus Leeming <leeming@lyx.org>
4819 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4820 preamble_snippets list, enabling us to add snippets to the preamble
4821 only if the snippet was not there already.
4823 2003-09-04 Angus Leeming <leeming@lyx.org>
4825 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4827 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4829 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4832 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4834 * BranchList.C: point fix, earlier forgotten
4836 2003-09-02 Angus Leeming <leeming@lyx.org>
4838 * box.C (contains): renamed from 'contained' after a fantastic
4841 2003-09-02 John Levon <levon@movementarian.org>
4847 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4849 2003-09-02 John Levon <levon@movementarian.org>
4851 * text2.C: simplification of cursorEnd(), including partial
4854 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4856 * buffer.C (readFile): add a space
4858 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4860 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4862 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4864 * buffer.C (readFile): new function, take a filename and a
4865 ParagraphList::iterator
4867 (readFile): adjust, make it private. don't use setStream, make
4868 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4869 always contain the filename.
4871 * BufferView.C (insertLyXFile): simplify and make it work for
4874 2003-08-30 John Levon <levon@movementarian.org>
4876 * Makefile.am: fix dist (from Kayvan)
4878 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4880 * most files: change to use const Buffer refs
4882 2003-08-27 André Pönitz <poenitz@gmx.net>
4884 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4885 on top of ownerPar().
4887 2003-08-27 John Levon <levon@movementarian.org>
4889 * funcrequest.C: properly initialise POD members
4891 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4893 * lyxtext.h (top_y): move top_y from here
4898 * BufferView_pimpl.[Ch]: to here
4899 * frontends/screen.C:
4900 * insets/insettabular.C:
4901 * insets/insettext.C: adjust
4902 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4904 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4907 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4909 2003-08-26 André Pönitz <poenitz@gmx.net>
4911 * paragraph_func.[Ch] (outerPar): new function
4914 * paragraph_funcs.C:
4915 * paragraph_funcs.h:
4916 * paragraph_pimpl.C:
4917 * text2.C: remove Inset::par_owner
4919 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4924 * text2.C: eliminates the needFullRow/display() stuff
4925 altogether, putting the logic in metrics/draw in the insets.
4927 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4929 * text2.C (redoParagraphInternal, redoParagraphs):
4930 * text.C (redoParagraph): add a call to updateRowPositions at the
4931 end of each 'metrics-like' call. Remove all others.
4932 (getRow): remove the 'y-computing' version.
4933 (getRowNearY): do not compute nor return the real y. Solve the
4934 'y < 0' problem and simplify.
4936 2003-08-22 Angus Leeming <leeming@lyx.org>
4938 * *.[Ch]: clean-up of licence and author blurbs.
4939 Also move config.h out of a few .h files and into a few .C files.
4941 2003-08-22 André Pönitz <poenitz@gmx.net>
4943 * lyxrow.[Ch]: add x_ and *fill_ members
4948 * text2.C: adjust/remove prepareToPrint() calls
4950 2003-08-22 André Pönitz <poenitz@gmx.net>
4952 * lyxrow.[Ch]: add end_ member
4954 * lyxrow_funcs.C: use LyXRow::end_
4956 * lyxtext.h (singleWidth): add LyXFont parameter
4959 * text2.C: adjust LyXText::singleWidth() calls
4961 * text.C (redoParagraph): simplify row breaking logic
4964 2003-08-19 André Pönitz <poenitz@gmx.net>
4966 * funcrequest.C: initialize button_ member
4969 * rowpainter.[Ch]: interface consolidation
4971 2003-08-18 André Pönitz <poenitz@gmx.net>
4974 * BufferView_pimpl.C:
4976 * paragraph_funcs.C:
4978 * text3.C: remove LyXScreen::draw() and fitCursor calls
4980 * BranchList.h: remove spurious semicolons
4982 * MenuBackend.C: fix branchlist related crash
4984 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4992 * bufferparams.[Ch]:
4996 * text3.C: implements the 'branch inset'
4997 idea. This allows the output of various versions of a document
4998 from a single source version, selectively outputing or suppressing
4999 output of parts of the text.
5000 This implementation contains a 'branch list editor' in a separate
5001 tab of the document settings dialog. Branches are user definable
5002 and have a "display colour" to distinguish them on-screen.
5004 ColorHandler was somewhat cleaned up.
5005 (1) make possible a dynamically growing LColor list by allowing
5006 the graphic context cache to grow along (vector);
5007 (2) eliminate an IMHO unnecessary step in colour allocation.
5009 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5011 * BufferView_pimpl.C: compile fix
5013 2003-08-15 André Pönitz <poenitz@gmx.net>
5015 * rowpainter.C: remove extra metrics calls
5017 * lyxtext.h: merge the two constructors into a single one,
5018 pass reference to owner's par list
5020 * BufferView_pimpl.C:
5024 2003-08-15 André Pönitz <poenitz@gmx.net>
5026 * lyxrow_funcs.[Ch]:
5029 * paragraph_funcs.C:
5034 * text_funcs.C: split LyXText::rowlist_ into individual
5035 Paragraph::rows_ chunks
5038 * BufferView_pimpl.[Ch]:
5041 * text3.C: remove toggleSelection()
5043 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5045 * bufferlist.C: beautify two alerts (shorter text of buttons)
5046 * buffer.C: Remove redundant ' ' from message
5048 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5049 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5050 rename VALIGN_CENTER to VALIGN_MIDDLE
5052 2003-08-11 André Pönitz <poenitz@gmx.net>
5054 * lyxtext.h (getPar):
5055 * text.C: new function
5057 2003-08-11 André Pönitz <poenitz@gmx.net>
5060 * tracer.[Ch]: remove unneeded files
5062 * InsetList.[Ch]: remove resizeInsetsLyXText()
5067 * text3.C: merge insertParagraphs() and appendParagraph()
5068 remove breakAgain(), update()
5070 * BufferView_pimpl.[Ch]:
5071 * bufferview_funcs.[Ch]:
5075 * tabular.C: adjust after text & InsetList changes.
5077 2003-08-08 André Pönitz <poenitz@gmx.net>
5079 * text.C (insertChar, backspace): replace rowlist fiddling
5080 with rebreak of full par
5083 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5084 checkParagraph, updateInset): removed
5086 2003-08-07 André Pönitz <poenitz@gmx.net>
5089 * text3.C: merge some LFUN handlers, remove dead code
5091 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5093 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5095 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5097 * text2.C (DEPM): fix part of bug 1255 and 1256
5099 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5101 * BufferView_pimpl.C (workAreaDispatch): change to use
5102 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5103 that are no mouse related.
5105 2003-08-05 André Pönitz <poenitz@gmx.net>
5108 * BufferView_pimpl.[Ch]:
5109 * bufferview_funcs.C:
5111 * text3.C: rip out "deep update"
5113 * textcursor.[Ch] (last_sel_cursor): remove unused member
5115 2003-08-04 André Pönitz <poenitz@gmx.net>
5118 * BufferView_pimpl.[Ch]:
5119 * ParagraphParameters.C:
5120 * bufferview_funcs.C:
5126 * text3.C: replace "complicated" BufferView::update(...) calls with
5129 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5131 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5133 * Makefile.am (lyx_SOURCES): add paper.h
5135 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5137 * Makefile.am: move things around so that both lyx-qt and
5138 lyx-xforms can be built (according to --with-frontend). Then lyx
5139 is a symbolic link to lyx-[firstfrontend]
5141 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5143 * Always use std::endl with lyxerr
5145 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5147 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5149 2003-08-01 André Pönitz <poenitz@gmx.net>
5152 * BufferView_pimpl.[Ch]:
5154 * text3.C: merge BufferView::repaint() and BufferView::update()
5156 2003-08-01 José Matos <jamatos@lyx.org>
5158 * buffer.[Ch]: file_format is no longer a buffer data element.
5160 2003-08-01 André Pönitz <poenitz@gmx.net>
5165 * text2.C: make redoParagraph more independent of current cursor
5167 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5169 * text2.C: remove unneeded members
5171 2003-07-30 André Pönitz <poenitz@gmx.net>
5173 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5175 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5176 create a single function...
5178 * paragraph_funcs.C (moveItem): ... here.
5181 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5183 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5185 * LColor.[Ch]: Add comment and greyedout logical colors.
5187 2003-07-30 André Pönitz <poenitz@gmx.net>
5189 * tabular.C: don't use Assert too heavily. This crashes where it
5192 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5194 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5195 is disabled (bug 1232)
5197 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5199 * factory.C: limited 'arg' scope
5201 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5203 * factory.C: fixed Note submenu issues
5205 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5207 * factory.C: submenu for Note/Comment/Greyedout
5209 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5212 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5214 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5217 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5218 greyedout. Patch provided by Jürgen Spitzmüller.
5220 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5222 * kbmap.C (read): fix error message when reading bind files
5224 2003-07-29 Angus Leeming <leeming@lyx.org>
5226 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5227 certainly does not do what it purports to do. I am doing it, and
5228 us, a favour by killing it.
5230 2003-07-28 José Matos <jamatos@lyx.org>
5232 * buffer.C (readBody, do_writeFile):
5233 * paragraph.C(readParagraph): \end_document replaces \the_end.
5235 2003-07-29 André Pönitz <poenitz@gmx.net>
5238 * BufferView_pimpl.[Ch]:
5242 * textcursor.[Ch]: remove toggleToggle & Co
5244 2003-07-28 José Matos <jamatos@fep.up.pt>
5246 * buffer.C (readParagraph):
5247 * params_func (readParToken, readParagraph):
5248 * paragraph.C (write): \layout -> \begin_layout.
5250 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5252 * lyxlex_pimpl.C (setFile): clean up slightly.
5254 * bufferparams.h: add compressed var
5256 * buffer_funcs.C (readFile): adjust for LyXLex change
5257 (newFile): ditto + simplify
5259 * buffer.C (writeFile): handle writing of compressed files
5261 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5262 Check if the file is compressed and set a bufferparm if so.
5264 * Makefile.am (lyx_LDADD): remove explicit -lz
5266 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5268 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5269 makeDocBookFile): put the real LyX version in the first line of
5273 * version.C.in: remove lyx_docversion
5275 * tabular.C (write_attribute): add a template-based version to
5276 write enums properly
5278 2003-07-28 André Pönitz <poenitz@gmx.net>
5283 * text3.C: use doubles again for x-coordinates. They are needed.
5285 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5287 * messages.C (getLocaleDir): use lyx_localedir()
5289 * lyxlex_pimpl.C (setFile): compress stuff
5291 * buffer.C (writeFile): add some compression stuff
5292 (do_writeFile): new func, dont call expliti close... will this
5295 * Makefile.am (lyx_LDADD): add -lz
5297 2003-07-28 José Matos <jamatos@fep.up.pt>
5299 * buffer.C: increment file format.
5300 * paragraph_funcs (readParagraph, readParToken):
5301 * paragraph.C (readParagraph): add \end_layout.
5303 2003-07-27 Angus Leeming <leeming@lyx.org>
5305 * Makefile.am: remove special casing for configure-time setting of
5306 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5308 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5309 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5311 2003-07-26 André Pönitz <poenitz@gmx.net>
5313 * paragraph_func.[Ch]:
5314 * paragraph.C (realizeFont): inline it whereever it is used
5319 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5322 2003-07-26 André Pönitz <poenitz@gmx.net>
5326 * text2.C: get rid of LyXText::need_break_row
5328 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5330 * toc.[Ch]: put namespace toc inside namespace lyx
5332 * MenuBackend.C (expandToc2): adjust for lyx::toc
5335 * lyxfunc.C (dispatch): adjust for lyx::find
5337 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5338 lyx::find instead. Reorganize a bit.
5339 (LyXReplace): rename to replace
5340 (LyXFind): rename to find
5342 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5345 2003-07-26 André Pönitz <poenitz@gmx.net>
5347 * text.C (setHeightOfRow): restrict scope of temporary variable
5349 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5350 code (never has been used?)
5352 2003-07-27 Asger Alstrup <alstrup@local>
5354 * text.C (fill): Optimise algorithm to exploit that we can reuse
5355 the LyXFont for many characters.
5356 (setHeightOfRow): Same thing.
5357 (rowBreakPoint): Same thing.
5359 2003-07-26 Asger Alstrup <alstrup@local>
5361 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5363 * text.C (singleWidth): Spurious font copying in hot-spot
5364 singleWidth avoided. Reorder tests for arabic for efficiency.
5366 * text.C (fill): handle empty paragraphs better.
5368 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5371 * encoding.h: add includes
5373 * lyxrc.C: remove reading of bind files
5375 * lyx_main.C (init): setup bindings and menus only if we have a
5378 * kbmap.C (read): new method. Do the actual reading of bind
5381 * converter.C (dvipdfm_options):
5384 (output): adapt PAPER_* enums.
5386 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5388 * bufferparams.h: remove paper-related enums from there
5390 * paper.h: New file. A trivial header file to hold paper-related
5391 enums. It should later expand to contain many paper-related
5394 * lyxrc.C: declare extern displayTranslator
5396 2003-07-27 José Matos <jamatos@fep.up.pt>
5398 * tabular.[Ch] (linuxdoc): add support for tables and figures
5401 2003-07-27 José Matos <jamatos@fep.up.pt>
5403 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5404 consistency in both functions.
5405 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5407 2003-07-26 Asger Alstrup <alstrup@local>
5409 * rowpainter.C (paintRows): Change algorithm to work directly on
5410 the insets rather than asking every character in the document
5411 whether its an inset.
5413 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5415 * buffer.C (openFileWrite): factorize some code
5417 2003-07-26 Angus Leeming <leeming@lyx.org>
5420 * lyx_main.[Ch]: replace occurances of system_tempdir with
5423 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5425 * rename Inset to InsetOld
5427 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5429 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5430 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5431 which I think is a bit clearer. EDIT is gone, since it was
5432 premature optimisation, and broken for mathed anyway.
5433 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5434 with cursor positioning in insets as well (math insets still do not
5435 work, but that's a different story anyway.) It mysteriously
5436 crashes sometimes with undo in the first paragraph, but I'm fairly
5437 confident that this is a compiler bug.
5439 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5441 * paragraph.C (Paragraph): adjust for new clone return type
5443 (copyIntoMinibuffer): ditto
5445 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5447 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5448 by not having a special case, and always doing a full rebreak of
5449 the document after undo.
5451 2003-07-23 Angus Leeming <leeming@lyx.org>
5453 * factory.C (createInset): InsetExternal::setParams now takes a
5456 2003-07-23 Angus Leeming <leeming@lyx.org>
5458 * factory.C (createInset): changed interface to the external and
5459 graphics mailers' string2params functions.
5461 2003-07-23 Angus Leeming <leeming@lyx.org>
5463 * factory.C (createInset): pass a
5464 Buffer const * parameter to InsetExternalMailer's string2params.
5466 2003-07-22 John Levon <levon@movementarian.org>
5468 * Thesaurus.h: include the right aiksaurus header
5470 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5472 * MenuBackend.C (expand): check menu shortcuts unconditionally
5474 2003-07-21 Angus Leeming <leeming@lyx.org>
5476 * factory.C (createInset): pass a
5477 buffer_path parameter to InsetGraphicsMailer's string2params.
5479 2003-07-21 Angus Leeming <leeming@lyx.org>
5481 * BufferView_pimpl.C (buffer):
5484 * lyxfunc.C (dispatch):
5485 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5486 rather than the grfx shortcut.
5488 2003-07-21 André Pönitz <poenitz@gmx.net>
5490 * rowpainter.C: remove unused variables
5493 * tabular_funcs.h: move to tabular.C
5494 * Makefile.am: adjust
5496 * tabular.[Ch]: basic optical cleaning
5498 * author.h: pass references, not values
5500 2003-07-18 André Pönitz <poenitz@gmx.net>
5508 * text3.C: two-phase drawing for InsetText and InsetTabular
5509 some float -> int changes.
5511 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5513 * lyx_main.C: fix the fix
5515 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5517 * lyx_main.C: fix a crash in batch mode if no files specified
5520 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5522 * format.[Ch] (papersize): moved to BufferParams
5523 * converter.[Ch] (dvips_options): moved to BufferParams
5524 (dvipdfm_options): moved to anon namespace
5525 * bufferparams.[Ch]: added above functions.
5527 2003-07-17 André Pönitz <poenitz@gmx.net>
5531 * text2.C: don't call inset->update() anymore
5533 * metricsinfo.[Ch]: add convenience constructor
5535 2003-07-16 André Pönitz <poenitz@gmx.net>
5540 * text2.C: replace the LyXCursor::irow_ member with
5541 on-demand computation of the value
5543 2003-07-16 John Levon <levon@movementarian.org>
5545 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5547 2003-07-15 André Pönitz <poenitz@gmx.net>
5550 * text2.C: remove no more needed refresh_row
5552 2003-07-15 André Pönitz <poenitz@gmx.net>
5557 * text3.C: refresh_status tristate -> need_update bool
5559 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5561 * lyxtext.h (init): remove reinit argument (act as if always true)
5562 * text2.C: adjust to that
5564 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5566 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5567 * text3.C: use it to delete selections in some cases
5568 (bugs 441, 673, 702, 954).
5570 2003-07-14 André Pönitz <poenitz@gmx.net>
5572 * rowpainter.[Ch]: reduce interface
5574 2003-07-14 André Pönitz <poenitz@gmx.net>
5576 * BufferView_pimpl.C:
5577 * text2.C: adjust after removing unused BufferView * argument
5579 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5581 * text2.C (init): fix a crash fired on resize
5583 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5585 * buffer.[Ch]: added new closing signal
5586 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5587 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5588 BufferView::Pimpl via the closing the signal
5590 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5592 * buffer.[Ch]: take out all bv-related from buffer
5594 * BufferView_pimpl.[Ch]: connect to new signals
5595 * CutAndPaste.C: removed useless asserts
5596 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5599 * lyxfunc.C: moved view-related funciontality from vc here
5600 * paragraph.C: removed outdated comments
5603 2003-07-10 André Pönitz <poenitz@gmx.net>
5605 * BufferView_pimpl.C:
5609 * text2.C: remove InsetText::InnerCache, clean up consequences
5611 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5613 * ispell.C: fix two typos in error messages
5615 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5617 * Extend Note inset to other forms of annotation like Comment
5618 and Greyedout. Right button click gives dialog.
5620 Files modified or added (+):
5624 * ControlNote.[Ch] +
5626 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5627 frontends/controllers
5631 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5633 * aspell.C: add missing namespace lyx::support
5635 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5637 * BufferView.[Ch] (newFile): Add
5638 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5639 * LaTeX.[Ch] (message): added this signal and use it
5640 * buffer.[Ch] (busy, message): added these signals and use them
5641 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5645 * importer.C: use buffer signals instead of direct bv calling
5646 * lyx_cb.[Ch] (ShowMessage): removed
5649 * paragraph_funcs.C:
5650 * text2.C: use buffer signals
5652 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5654 * introduce namespace lyx::graphics
5656 2003-07-02 André Pönitz <poenitz@gmx.net>
5658 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5660 2003-07-01 André Pönitz <poenitz@gmx.net>
5667 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5668 text*.C to text_func.C
5670 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5672 * introduce namespace lyx::support
5674 2003-06-30 André Pönitz <poenitz@gmx.net>
5679 * text.C: re-enable --with-included-string
5681 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5683 * textcursor.C: add <config.h>
5685 * text.C (getWord): remove const from word_location arg
5687 * lyxvc.C (getLogFile): fix const type order
5689 * lyxtext.h: remove const from word_location arg, add arg name
5691 * lyxlayout.h: currect type on labeltype.
5693 * importer.C: correct \file
5695 * converter.C (intToFormat): use std:: on ret val, ws changes
5697 * bufferlist.h: correct \file
5699 * buffer.C (makeLinuxDocFile): fix const type order
5700 (makeDocBookFile): ditto
5701 (fillWithBibKeys): use std:: on stdlib args.
5703 * CutAndPaste.C: fix authors.
5704 (availableSelections): use std:: on return vector
5706 2003-06-27 André Pönitz <poenitz@gmx.net>
5708 * BufferView_pimpl.C:
5709 * bufferview_funcs.C:
5717 * text3.C: remove LyXCursor::row_ member
5720 * text.C: rename fullRebreak() to partialRebreak() and implement
5721 a fullRebreak() that really bereks fully
5723 * textcursor.h: new struct for cursor-related data
5725 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5727 * lyx_main.C (LyX): get full path of document loaded on the
5730 2003-06-26 André Pönitz <poenitz@gmx.net>
5732 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5733 remove unused/broken operator>,<,>=.
5735 * text.C: remove only use of broken operator<= in an Assert().
5737 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5739 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5740 moved errorlist_.clear to showErrorList
5742 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5744 * converter.C (scanLog, runLaTeX):
5745 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5746 move the bv->showErrorList call to the callers
5747 * lyxfunc.C: i.e. here...
5749 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5750 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5751 namespace, the second to...
5752 * buffer_funcs (BufferFormat, parseErrors): added
5753 * errorlist.C (ErrorList(TeXErrors const &)): removed
5755 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5757 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5759 2003-06-24 "Garst R. Reese" <reese@isn.net>
5763 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5765 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5767 * version.C.in: change docversion to 1.4
5769 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5771 * buffer.C: fix a bug just introduced
5773 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5775 * buffer.[Ch]: added the parseError signal and use it, removed
5777 * BufferView.[Ch] (addError): moved to ...
5778 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5779 to the Buffer::parseError signal to catch (guess what) parse errors
5780 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5782 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5784 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5785 ability to create a buffer and to return an existing one from
5786 the list. Moved these functions to...
5787 * buffer_funcs.[Ch]: added
5788 * BufferView.[Ch] (loadLyXFile): added
5789 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5790 job removed from bufferlist::loadLyXFile.
5791 * buffer.C (setReadOnly): make it work without view
5792 (i.e added an if (users))
5794 2003-06-19 Angus Leeming <leeming@lyx.org>
5797 * LyXAction.C (init):
5798 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5799 with LFUN_DIALOG_SHOW <name> <data>.
5801 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5803 * CutAndPaste.C (availableSelections): small compilation fix for
5804 ancient (gcc 2.9x) compilers
5806 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5808 * text3.C (cursorNext): add tmp var
5810 * text2.C (updateCounters): for function calling out of for clause
5811 (replaceSelectionWithString): ditto
5812 (insertStringAsParagraphs): ditto
5813 (getColumnNearX): add tmp var
5814 (setCursorFromCoordinates): add tmp var
5815 (cursorDownParagraph): add tmp var
5816 (deleteEmptyParagraphMechanism): add tmp var
5818 * text.C (insertChar): add tmp var
5820 * rowpainter.C (paintDepthBar): add tmp var
5822 * CutAndPaste.C (availableSelections): potentially check all
5823 paragraphs in a cut to fill the shown strings.
5825 2003-06-18 André Pönitz <poenitz@gmx.net>
5827 * kbmap.[Ch]: use vector<> instead of list<>
5829 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5831 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5832 pasteSelection with index
5834 * text2.C (pasteSelection): modify, call pasteSelection with index
5836 * paragraph.C (asString): reimplement version with no interval to
5837 call the one with interval.
5839 * lyxtext.h: add index arg to pasteSelection
5841 * MenuBackend.C (MenuItem): handle PasteRecent
5842 (Menu::read::Menutags): add md_pasterecent
5844 (expandPasteRecent): new function
5847 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5849 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5851 (availableSelections): new function
5853 2003-06-17 Angus Leeming <leeming@lyx.org>
5855 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5857 2003-06-17 Angus Leeming <leeming@lyx.org>
5860 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5862 * lyxfunc.C (dispatch): invoke it.
5864 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5866 * iterators.C (operator++, ParPosition): reintroduce some
5867 const_cast for the benefit of older compilers.
5869 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5871 * text3.C (dispatch): do not modify clipboard when doing
5872 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5873 LFUN_DELETE_SKIP on a selection selection
5875 2003-06-16 André Pönitz <poenitz@gmx.net>
5881 * tabular.[Ch]: IU of clone() and getLabelList();
5883 2003-06-13 André Pönitz <poenitz@gmx.net>
5885 * tabular.h: compactification
5887 2003-06-12 André Pönitz <poenitz@gmx.net>
5891 * tabular_funcs.h: some renaming plus whitespace
5893 2003-06-12 André Pönitz <poenitz@gmx.net>
5896 * BufferView_pimpl.C:
5902 * toc.C: Return a Paragraph & for ParIterator::operator*()
5904 2003-06-11 John Levon <levon@movementarian.org>
5908 * ToolbarBackend.C: add "Toolbars" section and
5911 2003-06-10 Angus Leeming <leeming@lyx.org>
5914 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5916 * lyxfunc.C (dispatch): invoke it.
5918 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5920 * main.C: protect <ios> with HAVE_IOS
5921 (main): protect sync_with_stdio with HAVE_IOS
5923 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5925 * text2.C (cutSelection): adjust
5926 (pasteSelection): adjust
5928 * messages.C: handle get of empty string
5930 * main.C (main): use sync_with_stdio(false)
5932 * lyxfunc.C (dispatch): adjust
5934 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5935 (WriteAs): remove unneeded BufferView arg.
5937 * bufferparams.h: use correct types on papersize, papersize2 and
5940 * bufferparams.C (readToken): adjust for type
5941 (writeLaTeX): add missing cases to switch.
5943 * bufferlist.C (quitWriteBuffer): adjust
5946 * buffer.C (asciiParagraph): remove some commented code.
5948 * CutAndPaste.C: remove current_view extern variable.
5949 (cutSelection): add BufferParams arg.
5950 (eraseSelection): add BufferParams arg.
5951 (pasteSelection): add Buffer const & arg
5953 2003-06-07 John Levon <levon@movementarian.org>
5956 * paragraph_funcs.C:
5957 * paragraph_pimpl.C:
5961 * paragraph.C: allow InsetERT to freely space lines,
5962 and some consolidation of code
5964 2003-06-06 José Matos <jamatos@fep.up.pt>
5966 * buffer.C (makeDocBookFile): fix bug #821
5968 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5970 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5972 2003-06-04 Angus Leeming <leeming@lyx.org>
5974 * buffer.C: bump format to 224.
5976 2003-06-05 André Pönitz <poenitz@gmx.net>
5978 * text2.C (redoParagraphs): remove two const_cast<>
5980 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5982 * ParagraphList.h: remove last remnants of NO_STD_LIST
5984 2003-06-03 Angus Leeming <leeming@lyx.org>
5986 * factory.C (createInset): small change to the way InsetExternal's params
5989 2003-06-04 André Pönitz <poenitz@gmx.net>
5991 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5993 * paragraph_pimpl.h:
5994 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5996 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5998 * undo_funcs.C: make some simple cases of undo work again
6000 2003-06-03 John Levon <levon@movementarian.org>
6002 * ispell.C: HPUX doesn't have sys/select.h
6005 2003-06-03 John Levon <levon@movementarian.org>
6007 * CutAndPaste.C: update tabular and include inset
6012 * paragraph.C: remove owningBuffer(), don't pass Buffer
6015 * factory.C: insetGraphicsParams changed
6017 2003-06-02 John Levon <levon@movementarian.org>
6023 * text3.C: remove insetparent
6025 2003-06-02 John Levon <levon@movementarian.org>
6028 * buffer.C: fix inset_iterator.end(), move out of line
6031 2003-06-01 John Levon <levon@movementarian.org>
6033 * text3.C: use a proper cut/paste when doing inset
6034 insert (from Jürgen Spitzmüller)
6036 2003-06-01 John Levon <levon@movementarian.org>
6038 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6040 2003-05-30 André Pönitz <poenitz@gmx.net>
6042 * rowpainter.C: unify second drawing phase
6044 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6046 * trans_mgr.C: remove one case of current_view
6048 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6050 * paragraph_funcs.h: remove paragraph.h include
6052 * paragraph.h: delete NO_STD_LIST stuff
6054 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6056 * buffer.h: remove paragraph.h include
6058 * ParagraphList.C: delete file
6060 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6062 * toc.C (getTocList): adjust
6064 * paragraph_pimpl.C (validate): adjust
6066 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6068 * paragraph.C (Paragraph): adjust
6069 (getPositionOfInset): use const_iterator, adjust
6070 (bibitem): use const_iterator, adjust
6071 (setInsetOwner): adjust
6073 * iterators.C (operator++): adjust
6075 * InsetList.[Ch]: Replace selfmade iterator with standard
6076 vector::iterator also introduce const_iterator. Remove getPos,
6077 getInset and setInset from InsetTable. Adjust accordingly.
6079 * BufferView.C (lockInset): adjust
6080 (ChangeInsets): adjust
6082 * tabular.[Ch]: delete commented same_id functions
6084 2003-05-28 John Levon <levon@movementarian.org>
6086 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6088 2003-05-28 André Pönitz <poenitz@gmx.net>
6090 * metricsinfo.[Ch]: remove 'fullredraw' member
6092 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6094 * lyxtextclass.C (operator): remove caching.
6096 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6100 * text2.C (cursorBottom): adjust
6101 (setCounter): use ParagraphList::find, adjust
6103 * text.C (workWidth): use ParagraphList::find, adjust
6105 * lyxcursor.C (LyXCursor): adjust
6107 * buffer.C (inset_iterator): adjust
6109 * ParagraphList.h: make iterator(value_type) private, make
6110 ParagraphList a friend of iterator.
6112 * ParagraphList.C (find): new function
6114 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6116 2003-05-27 André Pönitz <poenitz@gmx.net>
6118 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6120 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6122 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6124 2003-05-26 John Levon <levon@movementarian.org>
6126 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6128 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6130 * remove same_id from function signatures, adjust.
6132 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6134 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6136 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6138 * paragraph.C (Paragraph): get rid of same_ids parameter
6140 * ParagraphList.C (insert): adjust
6143 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6145 * paragraph_funcs.C (breakParagraph): adjust
6146 (breakParagraphConservative): adjust
6148 * buffer.C (readParagraph): adjust
6150 * ParagraphList.C (insert): take a reference instead of a pointer
6153 * paragraph.[Ch] (id): new function
6155 * bufferlist.C (newFile): adjust
6157 * ParagraphList.C (ParagraphList): adjust
6159 (push_back): take a reference instead of a pointer.
6161 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6163 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6166 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6167 set else use old code.
6169 * ParagraphList.C: remove all NO_NEXT code and only compile this
6170 code of NO_STD_LIST is set.
6172 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6174 * BufferView_pimpl.C:
6184 * graphics/GraphicsConverter.C:
6185 * graphics/PreviewLoader.C: header adjustment
6187 2003-05-23 Angus Leeming <leeming@lyx.org>
6189 * LaTeXFeatures.[Ch] (useBabel): new method.
6190 * bufferparams.C (writeLaTeX): use it.
6192 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6194 * ParagraphList.h (set): remove unused function.
6196 2003-05-23 André Pönitz <poenitz@gmx.net>
6199 * BufferView_pimpl.C:
6203 * undo_funcs.C: setUndo reworked
6205 * iterators.[Ch]: add access to topmost ParagraphList
6207 * lyxtext.[Ch] (workWidth): add a const
6209 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6211 * texrow.[Ch] (increasePos): remove function
6212 * exporter.C (export): removed unused var and outdated comment
6214 2003-05-23 Angus Leeming <leeming@lyx.org>
6216 * latexrunparams.h: rename fragile as moving_arg.
6217 * paragraph.C (simpleTeXOnePar): ditto.
6218 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6220 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6222 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6224 (textUndoOrRedo): comment out a currently unused var.
6226 * paragraph.h (NO_NEXT): enable NO_NEXT
6228 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6230 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6232 * exporter.C (Export): adjust for removeAutoInsets removal.
6234 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6236 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6238 * BufferView.[Ch] (removeAutoInsets): delete function
6240 2003-05-22 Angus Leeming <leeming@lyx.org>
6242 * latexrunparams.h: add a free_spacing variable.
6244 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6245 to pass moving_arg, as the data is stored in runparams.fragile.
6247 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6248 to Inset::latexOptional or to simpleTeXOnePar.
6250 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6251 free_spacing arg to Inset::latexOptional.
6253 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6256 2003-05-22 Angus Leeming <leeming@lyx.org>
6258 * latexrunparams.h: add fragile and use_babel variables.
6260 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6261 * buffer.C (makeLaTeXFile): store this returned value in
6262 runparams.use_babel, thus passing it to the inset::latex methods.
6264 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6265 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6267 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6268 longer has a fragile arg, as it is stored in runparams.fragile.
6270 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6271 moving_arg parameter as the data is stored in runparams.fragile.
6273 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6274 a fragile parameter as the data is stored in runparams.fragile.
6276 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6278 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6280 2003-05-22 Angus Leeming <leeming@lyx.org>
6282 * latexrunparams.h: add a 'bool nice' which defaults to false.
6284 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6285 now encapsulated within runparams.
6287 * bufferlist.C (updateIncludedTeXfiles):
6288 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6290 2003-05-22 Angus Leeming <leeming@lyx.org>
6292 * latexrunparams.h: new file containing struct LatexRunParams.
6293 * Makefile.am: add new file.
6295 * LaTeX.[Ch] (c-tor, run):
6296 * buffer.[Ch] (makeLaTeXFile):
6297 * bufferlist.[Ch] (updateIncludedTeXfiles):
6298 * converter.C (convert, scanLog):
6299 * converter.[Ch] (runLaTeX):
6300 * exporter.C (Export):
6301 * paragraph.[Ch] (simpleTeXOnePar):
6302 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6303 * paragraph_funcs.[Ch] (latexParagraphs):
6304 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6305 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6306 pass around a LatexRunParams parameter.
6308 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6310 * paragraph.[Ch]: remove unused constructor
6312 * ParagraphList.C (erase): new function, taking two iterators
6314 2003-05-22 André Pönitz <poenitz@gmx.net>
6316 * undo_funcs.C: remove duplicated code
6318 * iterator.[Ch]: operator=
6320 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6322 * tabular.C (SetMultiColumn): ws changes
6324 * rowpainter.C (paintFirst): get rid of a ->previous
6326 * lyx_cb.C (getPossibleLabel): parlist simplification
6328 * BufferView.C (ChangeInsets): simplify slightly.
6330 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6332 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6333 * lfuns.h: new LFUN_SPACE
6334 * lyxfunc.C: protected space has a new lfun
6335 * paragraph_funcs.C: read new space insets
6337 * factory.C: handle new space insets
6339 2003-05-22 André Pönitz <poenitz@gmx.net>
6342 * BufferView_pimpl.C:
6345 * undo_funcs.C: return a ParIterator from getParFromID.
6347 * iterators.[Ch]: add two const's
6349 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6351 * toc.C (getTocList): adjust
6353 * iterators.[Ch]: rework for parlist
6355 * buffer.C (par_iterator_begin): adjust
6356 (par_iterator_end): adjust
6358 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6360 * BufferView.C (removeAutoInsets): adjust
6361 (ChangeInsets): adjust
6363 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6365 * text.C (top_y): fix bug 1110
6367 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6369 * errorlist.[Ch]: added
6372 * BufferView_pimpl.C:
6373 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6376 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6378 * Makefile.am: ensure that lyx is relinked upon changes to the
6379 various "convenience" libs.
6381 2003-05-20 Angus Leeming <leeming@lyx.org>
6383 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6384 files are compiled in alphabetical order again.
6386 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6388 2003-05-19 Angus Leeming <leeming@lyx.org>
6390 * gettext.[Ch]: remove "char const * _(char const *)".
6392 2003-05-19 André Pönitz <poenitz@gmx.net>
6394 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6403 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6405 2003-05-19 André Pönitz <poenitz@gmx.net>
6409 * lyxtextclass.[Ch]:
6411 * paragraph_funcs.[Ch]:
6413 * text3.C: more insetenv work
6415 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6417 * ParagraphParameters.C (params2string): small bug fixed
6419 2003-05-16 André Pönitz <poenitz@gmx.net>
6422 * bufferview_funcs.C: patch from Kornel Benko to prevent
6423 crash when _(...) is called twice in a statement
6425 2003-05-16 André Pönitz <poenitz@gmx.net>
6432 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6434 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6436 * lyx_main.C (init): remove spurious static_cast
6438 2003-05-14 André Pönitz <poenitz@gmx.net>
6440 * BufferView.C: fix format string
6442 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6444 * BufferView.[Ch] (insertErrors): removed
6445 * BufferView.[Ch] (showErrorList): added
6446 * buffer.C (runChkTeX):
6447 * converter.C (scanLog): call showErrorList instead of inserterrors
6449 2003-05-13 André Pönitz <poenitz@gmx.net>
6451 * BufferView_pimpl.C:
6453 * bufferview_func.C:
6460 * tabular_funcs.h: tostr() from its own header
6462 * ParagraphParameters.C:
6467 * text3.C: STRCONV()
6469 2003-05-12 André Pönitz <poenitz@gmx.net>
6472 * BufferView_pimpl.C:
6476 * ParagraphParameters.C:
6480 * bufferview_funcs.C:
6493 * paragraph_funcs.C:
6497 * text3.C: boost::format -> bformat all over the place
6500 2003-05-09 André Pönitz <poenitz@gmx.net>
6502 * LColor.[Ch]: Pimpl the #include <map> away
6504 2003-05-09 John Levon <levon@movementarian.org>
6506 * bufferlist.C: never remove emergency saves
6508 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6510 * Makefile.am: better lib building
6512 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6514 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6516 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6517 (simpleTeXSpecialChars): adjust
6518 (simpleTeXSpecialChars): adjust
6519 * paragraph.C (simpleTeXOnePar): adjust
6520 * buffer.C (makeLaTeXFile): adjust
6522 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6524 * text2.C (changeDepth): parlist cleanup
6525 (getColumnNearX): ditto
6527 * rowpainter.C (getLabelFont): parlist cleanup
6529 * bufferlist.C (newFile): parlist cleanup
6531 * CutAndPaste.C (eraseSelection): parlist cleanup
6533 * BufferView_pimpl.C (trackChanges): parlist cleanup
6536 * BufferView.C (lockInset): parlist cleanup.
6537 (ChangeInsets): ditto
6539 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6541 * CutAndPaste.h: Update file header.
6543 * CutAndPaste.C: Update file header.
6544 Store the parts cut out of the Document in a limited_stack.
6545 (copySelection): adjust
6546 (pasteSelection): new function, takes the index in the limited stack.
6547 (nrOfParagraphs): adjust
6548 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6549 simplify error inset insertion.
6550 (checkPastePossible): adjust
6552 2003-05-06 John Levon <levon@movementarian.org>
6554 * text2.C: don't cast wrap inset to float
6556 2003-05-05 André Pönitz <poenitz@gmx.net>
6559 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6561 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6562 few naked Paragraph *.
6564 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6566 * bufferparams.C: Output warning if a document with missing
6567 TeX document class is loaded
6568 * exporter.C: Disable TeX exports if the document class is missing
6571 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6572 isTeXClassAvailable()
6574 2003-05-03 John Levon <levon@movementarian.org>
6577 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6578 explicit cursor show/hide
6580 * BufferView_pimpl.h:
6581 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6582 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6584 * lyxfunc.C: hide cursor before dispatching.
6589 * text3.C: remove explicit cursor hides
6591 2003-05-02 André Pönitz <poenitz@gmx.net>
6593 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6596 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6599 * text2.C: tiny whitespace
6601 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6603 * undo_funcs.C: almost only ws changes.
6605 * ParagraphList.C (splice): just return if pl is empty.
6607 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6609 * ParagraphList.C (splice): new function.
6611 * CutAndPaste.C (pasteSelection): use it
6613 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6615 * CutAndPaste.C (pasteSelection): remove the last next and
6616 previous from this file.
6618 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6620 * CutAndPaste.C (pasteSelection): more clean up, user proper
6621 ParagraphList functions for pasteing.
6623 * ParagraphList.C (insert): new function, three arg insert
6625 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6627 * ParagraphList.C (insert): new function, three arg insert
6629 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6632 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6634 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6636 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6638 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6640 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6642 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6643 (copySelection): clean up a bit.
6644 (pasteSelection): use make_pair
6646 * ParagraphList.C (ParagraphList): implement copy constructor
6647 (operator=): implement, base on copy constructor.
6650 * paragraph.C (erase): return a bool
6652 * paragraph_pimpl.C (erasePos): remove function, move contents...
6653 (erase): ... here. Return a bool.
6654 (erase): call erase instead of erasePos.
6656 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6658 * ParagraphList.h: define PitPosPair
6659 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6660 ParagraphList, fix a bug on pasting multiple pars
6661 * text2.C: change interface to C&P
6663 2003-04-30 André Pönitz <poenitz@gmx.net>
6665 * undo_func.C: revert part of yesterday's patch 2
6667 2003-04-30 John Levon <levon@movementarian.org>
6669 * LColor.C: s/tabular/table/
6671 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6673 * text3.C (dispatch): do not convert iterator -> pointer
6674 * undo_funcs.C (setCursorParUndo): ditto
6675 * text_funcs.C (transposeChars): ditto
6677 * text2.C (setLayout): ws changes only
6679 * text.C (breakParagraph): do not convert iterator -> pointer
6681 (acceptChange): ditto
6682 (rejectChange): ditto
6687 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6690 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6692 * text3.C (gotoInset): YABG (yet another bad getChar)
6694 2003-04-29 André Pönitz <poenitz@gmx.net>
6696 * paragraph.h: make operator= private unimplemented as long as
6699 * ParagraphList.C: whitespace
6702 * paragraph_pimpl.[Ch]:
6703 * paragraph_funcs.C:
6705 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6708 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6710 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6712 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6713 * paragraph.[Ch] (erase):
6714 * paragraph_pimpl.[Ch] (erase): change return type and value
6715 * text2.C (cutSelection): some rework
6717 2003-04-28 John Levon <levon@movementarian.org>
6719 * bufferlist.C: changes for unsaved changes dialog
6721 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6723 * bufferlist.C (newFile): set language (messages_) for new
6726 * buffer.C (readFile): ws changes only.
6728 2003-04-28 André Pönitz <poenitz@gmx.net>
6733 * BufferView_pimpl.C:
6734 * BufferView.C: getParFromID related ParagraphList::iterator changes
6736 2003-04-28 André Pönitz <poenitz@gmx.net>
6738 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6741 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6743 * messages.C: remove one more localedir class variable.
6745 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6747 * messages.C (getLocaleDir): singleton generation function
6749 (Messages): add a default constructor.
6751 * main.C (main): do not setup localedir here, do not call
6754 * gettext.C (_): use it.
6755 (gettext_init): delete funciton
6757 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6759 * gettext.C (getLyXMessages): new singleton generating function.
6761 * buffer.C (updateDocLang): adjust
6763 * Makefile.am (messages.o): add target
6764 (main.o): remove target
6766 2003-04-27 John Levon <levon@movementarian.org>
6771 * lyxvc.C: specify cancel button in Alert::prompt
6773 2003-04-26 John Levon <levon@movementarian.org>
6778 * LyXAction.C: add LFUN_INSET_SETTINGS
6780 * lyxfunc.C: don't enable tabular-feature when there's
6781 just any locking inset
6783 2003-04-26 John Levon <levon@movementarian.org>
6785 * bufferlist.C: re-add Cancel to buffer close question
6787 * lyxfunc.C: fix import UI a bit
6789 2003-04-25 John Levon <levon@movementarian.org>
6791 * gettext.C: remove the broken asserts for now
6793 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6795 * messages.C: make case where setlocale cannot comply work better.
6797 * buffer.C (updateDocLang): new function
6798 (changeLanguage): use it
6801 * text2.C (setCounter): use B_ a bit.
6803 * lyxlayout.C (Read): be sure to trim the label strings.
6805 * messages.C (Messages): fix typo in comment
6807 * buffer.C (readFile): set message_ after file is loaded.
6808 (makeDocBookFile): remove double return
6809 (changeLanguage): reset message_ upon language change.
6810 (B_): new func, use this to get translated buffer strings.
6812 * main.C: add myself and Jean Marc as authors.
6814 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6816 * messages.[hC]: pimplify Messages, and three different pimpls to be
6817 used in different circumstances.
6819 * gettext.[Ch]: change for use with new message code.
6821 2003-04-24 André Pönitz <poenitz@gmx.net>
6823 * factory.C: support for eqref
6825 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6827 * messages.[Ch]: add missing char
6829 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6831 * messages.[Ch]: New files
6833 2003-04-18 John Levon <levon@movementarian.org>
6837 * BufferView_pimpl.C:
6841 * text2.C: remove layout-copy/paste (bug 778)
6843 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6845 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6847 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6849 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6850 if they succeed. Act accordingly.
6852 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6854 * text2.C (setCharFont): adjust
6855 (setCounter): adjust
6856 (insertStringAsLines): adjust
6858 * text.C (leftMargin): adjust
6859 (setHeightOfRow): adjust
6861 * rowpainter.C (paintFirst): adjust
6864 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6866 (isFirstInSequence): ditto
6867 (getEndLabel): ditto
6870 * paragraph.C (getParLanguage): comment out some hard stuff.
6872 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6874 (simpleDocBookOnePar): ditto
6875 (makeDocBookFile): use ParagraphList::iterator
6877 * CutAndPaste.C (pasteSelection): adjust
6879 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6881 * text2.C (getFont): adjust
6882 (getLayoutFont): adjust
6883 (getLabelFont): adjust
6885 * paragraph_funcs.C (TeXOnePar): adjust
6887 * buffer.C (simpleLinuxDocOnePar): adjust
6888 (simpleDocBookOnePar): adjust
6890 * CutAndPaste.C (pasteSelection): adjust
6892 * BufferView.C (getEncoding): adjust
6894 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6896 2003-04-16 John Levon <levon@movementarian.org>
6898 * lyxfind.C: use parlist stuff for search/changes
6900 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6902 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6904 * text2.C (deleteEmptyParagraphMechanism): adjust
6906 * text2.[Ch] (ownerParagraph): delete func (both of them
6908 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6910 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6912 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6914 * ParagraphList.C: prepare for NO_NEXT
6916 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6918 * text2.C (getFont): adjust
6919 (getLayoutFont): adjust
6920 (getLabelFont): adjust
6922 * paragraph.C (getFont): adjust
6923 (getLabelFont): adjust
6924 (getLayoutFont): adjust
6926 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6928 2003-04-15 John Levon <levon@movementarian.org>
6932 * lyx_main.C: handle Include in .ui files
6934 2003-04-15 John Levon <levon@movementarian.org>
6936 * MenuBackend.C: make the doc files length shorter
6939 * ToolbarBackend.C: handle toolbar placement flags,
6942 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6944 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6947 * paragraph_funcs.C (TeXOnePar): adjust
6949 * paragraph.C (getLabelFont): add outerfont arg, adjust
6950 (getLayoutFont): ditto
6951 (simpleTeXOnePar): adjust
6953 * paragraph_pimpl.C (realizeFont): delete func
6955 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6957 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6958 row argument, constify cur argument.
6960 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6962 * text2.C (getFont): adjust
6963 (getLayoutFont): adjust
6964 (getLabelFont): adjust
6966 * paragraph_funcs.C (TeXOnePar): adjust
6967 (outerFont): new func...
6968 (realizeFont): ...moved out from here, changed this to facilitate
6971 * paragraph.C (getFont): take outerfont as arg, adjust
6972 (simpleTeXOnePar): add outerfont arg, adjust
6974 * buffer.C (simpleLinuxDocOnePar): adjust
6975 (simpleDocBookOnePar): adjust
6977 * CutAndPaste.C (pasteSelection): adjust
6979 * BufferView.C (getEncoding): adjust
6981 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6983 * text2.C (setCharFont): adjust
6984 (setCounter): adjust
6986 * text.C (leftMargin): adjust
6987 (setHeightOfRow): adjust
6989 * rowpainter.C (paintFirst): adjust
6992 * paragraph_pimpl.C (realizeFont): adjust
6994 * paragraph.C (isFirstInSequence): move from here...
6995 * paragraph_funcs.C (isFirstInSequence): ...to here
6997 * paragraph.C (outerHook): move from here...
6998 * paragraph_funcs.C (outerHook): ...to here
7000 * paragraph.C (depthHook): move from here...
7001 * paragraph_funcs.C (depthHook): ...to here
7003 * paragraph.C (getEndLabel): move from here...
7004 * paragraph_funcs.C (getEndLabel): ...to here
7006 * text2.C (realizeFont): move from here...
7007 * paragraph_funcs.C (realizeFont): ...to here
7009 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7011 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7013 2003-04-14 Angus Leeming <leeming@lyx.org>
7015 * LColor.[Ch]: scrap LColor mathcursor.
7017 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7019 * lyxlex.[Ch] (text): delete function
7020 * trans.C (Load): adjust
7021 * paragraph_funcs.C (readParToken): adjust
7023 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7025 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7026 vector<char> instead of a char[].
7028 * lyxlex_pimpl.C (getString): adjust
7030 (lex): use getString
7034 * lyxlex.C (text): use pimpl_->getString()
7038 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7040 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7041 (makeFontEntriesLayoutSpecific): temp var for par.size()
7042 (setLayout): temp var for ownerParagraphs().end()
7043 (fullRebreak): temp var for rows().end()
7044 (selectionAsString): temp var for boost::next(startpit), realize
7045 that the while really is a regular for loop.
7046 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7047 setCursor in one place.
7048 (setParagraph): temp vr for ownerParagraphs().end()
7049 (updateCounters): make the while loop a for loop
7050 (cutSelection): temp var for ownerParagraphs().end()
7051 (updateInset): make the do {} while() a regular for loop
7052 (getCursorX): use temp vars
7053 (setCurrentFont): use temp vars
7054 (getColumnNearX): use temp vars
7056 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7058 * text.C (transformChar): use temp var for getChar
7059 (computeBidiTables): use temp var for row->par()
7060 (fill): move temp vars for row->par() and pit->layout() earlier in
7062 (labelFill): use temp var for row->par()
7063 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7064 asc and desc, realize that pit never changes and that firstpit is
7065 just a duplicate and not needed. Exchange rit->par() with pit in a
7067 (breakAgain): use a temp var for boost::next(rit)
7068 (breakAgainOneRow): ditto
7069 (breakParagraph): use a temp var for rows().begin()
7070 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7071 (cursorRightOneWord): use temp var for cursor.par() and
7072 cursor.pos(), remove usage of tmpcursor.
7073 (cursorLeftOneWord): use temp var for cursor.par() and
7074 cursor.pos() only set cur at end of function.
7076 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7078 * text.C, text2.C: exchange all usage of Paragraph::next with
7079 boost::next(ParagraphList::iterator)
7081 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7083 * text2.C (cursorTop): simplify implementation
7084 (cursorBottom): ditto
7085 (setParagraph): use ParagraphList::iterator
7086 (setCurrentFont): adjust
7087 (getColumnNearX): adjust
7088 (cursorRight): adjust
7089 (cursorLeft): remove usage of Paragraph::previous
7090 (cursorUpParagraph): ditto
7091 (deleteEmptyParagraphMechanism): slight cleanup
7093 * text.C (isBoundary): take a Paragraph const & instead of a
7095 (addressBreakPoint): ditto
7096 (leftMargin): remove usage of Paragraph::previous.
7097 (setHeightOfRow): ditto
7098 (cursorLeftOneWord): ditto
7099 (selectNextWordToSpellcheck): ditto
7102 (breakParagraph): remove one usage of Paragraph::next
7103 (redoParagraph): ditto
7104 (acceptChange): ditto
7105 (insertChar): adjust
7106 (rowBreakPoint): adjust
7108 * bufferview_funcs.C (toggleAndShow): adjust
7110 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7112 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7113 methods to access it.
7115 * text.C: Added updateRowPositions to compute all row positions.
7116 Make top_y and getRowNearY() to use the cached y position
7118 2003-04-11 John Levon <levon@movementarian.org>
7120 * text.C (rowBreakPoint): reintroduce the labelEnd
7121 checks, code copied from the row fill stuff. Deep voodoo.
7123 * text.C (fill): add a comment and debugging for the
7126 2003-04-11 John Levon <levon@movementarian.org>
7128 * text.C: make sure fullrow insets get wrapped to the next line,
7129 even when they're in a manual label
7131 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7133 * text2.C (insertParagraph): make it take ParagraphList::iterator
7135 (setLayout): make it return ParagraphList::iterator
7136 (redoParagraphs): ditto
7138 (checkParagraph): ditto
7140 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7142 * text2.C: adjust several funcs.
7143 (realizeFont): take a ParagraphList::iterator as arg.
7144 (getLayoutFont): ditto
7145 (getLabelFont): ditto
7146 (setCharFont): ditto
7148 * text.C: adjust several funcs.
7150 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7152 * text.C (selectNextWordToSpellcheck): don't accidentally
7155 2003-04-10 John Levon <levon@movementarian.org>
7157 * ToolbarBackend.C (getIcon): special handling for
7160 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7162 * text2.C (cursorRight): a getChar assert fixed
7164 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7166 * text2.C (getFont): change to take a ParagraphList::iterator
7167 instead of Paragraph*
7168 Adjust several functions.
7170 * text.C (transformChar): change to take a ParagraphList::iterator
7171 instead of Paragraph*
7172 (singleWidth): ditto
7173 Adjust several functions.
7175 * rowpainter.C: adjust several functions
7176 * rowpainter.h:store a ParagraphList::iterator and not a
7180 2003-04-09 John Levon <levon@movementarian.org>
7185 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7186 and the "help" bits as well
7188 2003-04-09 John Levon <levon@movementarian.org>
7191 * ToolbarBackend.C: allow multiple toolbars
7193 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7195 * undo_funcs.C (setCursorParUndo): adjust
7197 * text_funcs.C (transposeChars): adjust
7199 * text3.C (gotoNextInset): adjust
7202 * text2.C (setLayout): adjust
7203 (changeDepth): adjust
7205 (redoParagraphs): adjust
7206 (selectionAsString): adjust
7207 (setParagraph): adjust
7208 (insertInset): adjust
7209 (cutSelection): adjust
7210 (copySelection): adjust
7211 (pasteSelection): adjust
7212 (insertStringAsLines): adjust
7213 (updateInset): adjust
7214 (setCursor): change to take a ParagraphList::iterator parameter
7215 (setCursorIntern): change to take a ParagraphList::iterator parameter
7216 (setCurrentFont): adjust
7217 (cursorLeft): adjust
7218 (cursorRight): adjust
7219 (deleteEmptyParagraphMechanism): adjust
7221 * text.C (breakParagraph): adjust
7222 (insertChar): adjust
7223 (acceptChange): adjust
7224 (rejectChange): adjust
7225 (selectNextWordToSpellcheck): adjust
7226 (changeCase): adjust
7230 * lyxfind.C (SearchForward): adjust
7231 (SearchBackward): adjust
7232 (nextChange): adjust
7234 * lyxcursor.C (par): adjust
7236 * lyxcursor.h: store a ParagraphList::iterator instead of a
7239 * lyx_cb.C (getPossibleLabel): adjust
7241 * bufferview_funcs.C (toggleAndShow): adjust
7243 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7246 * BufferView.C (removeAutoInsets): adjust
7247 (lockedInsetStoreUndo): adjust
7249 2003-04-09 John Levon <levon@movementarian.org>
7251 * ToolbarBackend.C: try icon without argument
7252 if with argument fails
7254 2003-04-08 John Levon <levon@movementarian.org>
7257 * ToolbarBackend.C: add getIcon(), handle tooltip,
7258 and change from "Icon" to "Item".
7260 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7262 * BufferView.C (lockInset): another bad getchar crunched
7264 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7266 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7269 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7271 * lyxfind.C (searchForward, searchBackwards): bug 782
7273 2003-04-07 John Levon <levon@movementarian.org>
7275 * paragraph.C: remove dead comment
7277 * text.C: remove troublesome depth-fiddling code
7278 in leftMargin() and rightMargin() (bug 1017)
7280 * text.C: fix breaking of rows in nested lists
7283 * text2.C (updateCounters): fix up depth values
7286 2003-04-07 John Levon <levon@movementarian.org>
7288 * BufferView_pimpl.C: clear message when doc finishes resizing,
7289 and after a mouse event
7291 * lyxfunc.C: clear message after exiting inset
7293 2003-04-07 John Levon <levon@movementarian.org>
7295 * bufferview_funcs.C: show math status not outside
7296 status in the statusbar
7298 2003-04-07 John Levon <levon@movementarian.org>
7300 * lyxfunc.C: note status changed after a depth change
7302 2003-04-04 Angus Leeming <leeming@lyx.org>
7304 * LaTeX.h: move AuxInfo operator==, != out of line.
7305 Remove LaTeX virtual destructor; nothing derives from it.
7306 Move operator()() out of public area and rename it startscript().
7307 Change protected for private.
7309 2003-04-04 Angus Leeming <leeming@lyx.org>
7312 * text2.C: remove unneeded #includes.
7314 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7316 * text2.C (dEPM): fix the heigth of the next row
7318 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7320 * text.C: squashed an invalid getChar requester + some ws changes
7322 2003-04-03 John Levon <levon@movementarian.org>
7324 * bufferview_funcs.h:
7325 * bufferview_funcs.C:
7328 * text2.C: make getStatus work for the env depth lfuns
7330 2003-04-03 John Levon <levon@movementarian.org>
7332 * bufferview_funcs.h:
7333 * bufferview_funcs.C:
7336 * text2.C: parlistize decDepth(), by merging it with incDepth()
7338 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7340 * lyxrow.h: store a ParagraphList::iterator instead of a
7341 Paragraph* and adjust other class functions to suit.
7343 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7346 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7348 * text2.C (setCursor): do not anchor to cursor row for the time being
7350 2003-04-02 John Levon <levon@movementarian.org>
7357 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7359 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7361 * paragraph.h: make ParagraphList and ParagraphList::iterator
7362 friends of Paragraph.
7364 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7366 * ParagraphList.C: Use the private next_ and previous_ from
7369 2003-04-01 John Levon <levon@movementarian.org>
7373 * Makefile.am: rename, remove defaults gunk
7376 * MenuBackend.C: remove defaults gunk
7379 * Languages.C: remove defaults gunk
7382 * lyx_main.C: error out if files couldn't be found.
7384 2003-04-02 John Levon <levon@movementarian.org>
7386 * text2.C: make incDepth() use parlist
7388 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7390 * undo_funcs.C (firstUndoParagraph): adjust
7392 * text3.C (gotoInset): adjust
7393 (dispatch): adjust, and rewrite loop.
7395 * text2.C (init): adjust, and rewrite loop.
7396 (redoParagraphs): adjust
7397 (updateInset): adjust, and rewrite loop.
7398 (deleteEmptyParagraphMechanism): adjust
7400 * tabular.C (LyXTabular): adjust
7401 (SetMultiColumn): adjust
7404 * lyxtext.[Ch] (ownerParagraph): delete function
7405 (ownerParagraphs): new function returns a ParagraphList.
7407 * BufferView.C (removeAutoInsets): adjust
7408 (insertErrors): adjust
7409 (setCursorFromRow): adjust
7411 2003-04-01 Angus Leeming <leeming@lyx.org>
7413 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7416 2003-04-02 John Levon <levon@movementarian.org>
7422 * text_funcs.C: make transposeChars a free function
7424 * lyxrow_funcs.C: remove wrong comment
7426 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7429 * rowpainter.C: adjust
7434 * lyxrow_funcs. [Ch]: new files
7436 * lyxrow.[Ch]: remove next and previous pointers
7437 (next,previous): remove accessor functions
7438 (isParEnd): move to lyxrow_funcs
7439 (lastPos): move to lyxrow_funcs
7440 (nextRowIsAllInset): move to lyxrow_funcs
7441 (lastPrintablePos): move to lyxrow_funcs
7442 (numberOfSeparators): move to lyxrow_funcs
7443 (numberOfHfills): move to lyxrow_funcs
7444 (numberOfLabelHfills): move to lyxrow_funcs
7445 (hfillExpansion): move to lyxrow_funcs
7449 * bufferview_funcs.C (toggleAndShow): adjust
7451 * RowList.h: Remove class RowList from file leave just a
7454 * RowList.C: delete file
7456 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7459 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7461 * text3.C (cursorPrevious): adjust
7462 (cursorNext): adjust
7465 * text2.C (redoHeightOfParagraph): adjust
7466 (redoDrawingOfParagraph): adjust
7469 * text.C (breakParagraph): adjust
7470 (insertChar): adjust
7473 * rowpainter.C (RowPainter): adjust
7474 (leftMargin): simplify and adjust
7475 (most rowpainter functions): adjust.
7477 * rowpainter.h: store the row as RowList::iterator not as Row*
7479 * lyxcursor.C (row): taka RowList::iterator as arg
7482 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7485 2003-04-01 Angus Leeming <leeming@lyx.org>
7487 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7488 stuff like bool Bool.
7490 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7492 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7495 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7497 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7500 * lyxtext.h (rows): drop one version and leve a const variant that
7501 returns a RowList::iterator.
7503 2003-03-31 Angus Leeming <leeming@lyx.org>
7505 * text.C (fill): ensure that the signature is the same as that in the
7508 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7510 * text2.C (redoParagraphs): adjust
7511 (updateCounters): adjust
7512 (checkParagraph): adjust
7513 (getColumnNearX): adjust and reformat a bit.
7515 * text.C (top_y): adjust
7517 (leftMargin): adjust
7518 (prepareToPrint): adjust
7520 (getRowNearY): adjust
7522 * lyxtext.h: make rowlist_ mutable.
7524 * RowList.h: add const_iterator
7525 * RowList.C: adjust for RowList::const_iterator.
7527 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7530 2003-03-31 John Levon <levon@movementarian.org>
7533 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7535 * lyx_main.C: set default fonts from using lyx_gui funcs
7537 * exporter.C: pdf_mode moved from lyxrc
7540 * lyxfunc.C: changes from above
7542 2003-03-31 John Levon <levon@movementarian.org>
7544 * lyx_main.C: fix to the last fix
7546 2003-03-31 John Levon <levon@movementarian.org>
7548 * bufferlist.C: "Load original" -> "Load Original"
7554 * format.C: more Alert cleanups
7556 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7558 * text2.C (removeParagraph): make it take a RowList::iterator as
7560 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7561 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7563 * text.C (anchor_row): make it take a RowList::iterator as arg,
7565 (computeBidiTables): make it take a const reference to Row instead
7566 of Row pointer, adjust.
7567 (leftMargin): make it take a RowList::iterator as arg, adjust.
7568 (rowBreakPoint): adjust
7569 (breakAgainOneRow): make it take a RowList::iterator as arg,
7571 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7573 * bufferview_funcs.C (toggleAndShow): adjust
7575 2003-03-30 John Levon <levon@movementarian.org>
7579 * boost-inst.C: moved to support
7581 * several files: changes as a result
7583 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7585 * text2.C (LyXText): adjust.
7587 (removeRow): make it take a RowList::iterator as arg, adjust.
7588 (fullRebreak): adjust
7589 (deleteEmptyParagraphMechanism): adjust
7590 (clearPaint): adjust
7593 * text.C (top_y): adjust
7594 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7595 (breakAgain): make it take a RowList::iterator as arg, adjust.
7596 (breakParagraph): adjust
7597 (insertChar): adjust
7600 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7601 need_break_row, and refresh_row.
7603 * text3.C (dispatch): adjust
7605 * text2.C (checkParagraph): adjust
7607 (setCursorFromCoordinates): adjust
7609 * text.C (top_y): adjust
7611 (getRow): make it return a RowList::iterator, adjust
7612 (getRowNearY): make it return a RowList::iterator, adjust
7614 * text2.C (init): adjust
7615 (insertRow): remove function
7616 (insertParagraph): adjust
7617 (redoParagraphs): adjust
7618 (fullRebreak): adjust
7619 (updateCounters): adjust
7621 * text.C (top_y): rewrite to use RowList iterators.
7623 (setHeightOfRow): rewrite to sue RowList iterators.
7624 (appendParagraph): adjust
7625 (breakAgain): adjust
7626 (breakAgainOneRow): adjust
7627 (breakParagraph): adjust
7629 (getRowNearY): adjust, and remove commented code.
7631 * lyxtext.h (firstRow): delete function
7632 (lastRow): delete function
7633 (rows): new function (const and non-const versions.)
7634 (insertRow): delete function
7636 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7638 2003-03-29 John Levon <levon@movementarian.org>
7640 * BufferView_pimpl.C: always update scrollbar top
7641 because pasting text when we're anchored could mean we
7642 miss an update altogether
7644 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7646 * text2.C (init): use rowlist_.end() and not 0.
7647 (insertRow): change to take a RowList::iterator as arg, adjust
7649 (insertParagraph): change to take a RowList::iterator as arg,
7651 (redoParagraphs): remove some debug msgs.
7653 * text.C (appendParagraph): change to take a RowList::iterator
7654 arg, adjust for this.
7655 (breakAgain): add an assert
7656 (breakAgainOneRow): ditto
7658 2003-03-29 John Levon <levon@movementarian.org>
7660 * text2.C: do not clear selection after inc/decDepth
7663 2003-03-29 John Levon <levon@movementarian.org>
7666 * buffer.C: fix broken strerrors according to Lars
7668 2003-03-29 John Levon <levon@movementarian.org>
7670 * converters.C: more Alert cleanups
7672 2003-03-29 John Levon <levon@movementarian.org>
7674 * bufferview_funcs.C: remove pointless Alert
7676 * buffer.C: fix confusing error message when
7677 a template is chmoded 000
7679 2003-03-29 John Levon <levon@movementarian.org>
7683 * BufferView_pimpl.C: Alert fixes
7687 * tabular-old.C: remove unused table compat reading
7689 2003-03-29 John Levon <levon@movementarian.org>
7694 * lyx_cb.C: more Alert cleanups
7696 * lyxfunc.C: don't allow chktex if not latex document
7698 2003-03-29 John Levon <levon@movementarian.org>
7702 * buffer.C: warnings pushed down from support/,
7705 2003-03-29 John Levon <levon@movementarian.org>
7707 * lyxfunc.C: safety check for C-r (revert)
7709 2003-03-29 John Levon <levon@movementarian.org>
7712 * bufferlist.C: several UI fixes using Alert::prompt.
7713 Fix the pointless looping quit code. Fix stupid revert
7718 * lyx_cb.C: use Alert::prompt
7720 * lyx_main.C: remove a silly question
7722 * lyxfunc.C: remove a couple of silly questions,
7725 2003-03-28 John Levon <levon@movementarian.org>
7727 * text2.C: fix bug 974 (End on empty par)
7729 2003-03-28 John Levon <levon@movementarian.org>
7731 * BufferView_pimpl.C:
7733 * lfuns.h: remove do-nothing math greek lfuns
7735 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7737 * lyxgluelength.h (isValidGlueLength): add default arg on
7738 parameter 2. Remove default arg from friend in class.
7740 * lyxlength.h (isValidLength): add default arg on parameter 2.
7741 Remove default arg from friend in class.
7743 * text2.C (LyXText): adjust, initialize refresh_row.
7747 (insertParagraph): adjst
7748 (redoParagraphs): adjust
7749 (fullRebreak): adjust
7750 (updateCounters): adjust
7751 (deleteEmptyParagraphMechanism): first attempt at fixing a
7754 * text.C (top_y): adjust
7755 (setHeightOfRow): adjust
7757 (getRowNearY): adjust
7759 * lyxtext.h: include RowList.h
7760 (~LyXText): not needed anymore, deleted.
7761 (firstRow): modify for RowList
7762 (lastRow): new function
7763 Delete firstrow and lastrow class variables, add a Rowlist
7764 rowlist_ class variable.
7766 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7769 * RowList.C (insert): fix case where it == begin().
7771 2003-03-26 Angus Leeming <leeming@lyx.org>
7773 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7774 the thesaurus dialog.
7776 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7778 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7780 * RowList.[Ch]: new files
7782 * ParagraphList.C (erase): handle the case where it == begin
7785 2003-03-25 John Levon <levon@movementarian.org>
7789 * aspell.C: add new aspell support
7792 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7795 2003-03-25 Angus Leeming <leeming@lyx.org>
7798 * LyXAction.C (init): new LFUN_INSET_INSERT.
7800 * BufferView_pimpl.C (dispatch): split out part of the
7801 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7803 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7806 2003-03-25 Angus Leeming <leeming@lyx.org>
7808 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7810 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7813 * text3.C: remove useless row->height(0)
7815 2003-03-25 John Levon <levon@movementarian.org>
7819 * text3.C: rename the refreshing stuff to better names
7821 2003-03-24 John Levon <levon@movementarian.org>
7823 * BufferView_pimpl.h:
7824 * BufferView_pimpl.C: update layout choice on a mouse
7827 2003-03-23 John Levon <levon@movementarian.org>
7829 * Makefile.am: fix commandtags.h reference
7831 2003-03-22 John Levon <levon@movementarian.org>
7833 * BufferView_pimpl.C:
7838 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7840 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7843 * text.C: take the rtl methods out of line
7845 2003-03-21 André Pönitz <poenitz@gmx.net>
7847 * metricsinfo.[Ch]: new files containing structures to be passed around
7848 during the two-phase-drawing...
7850 2003-03-21 André Pönitz <poenitz@gmx.net>
7852 * lyxtextclass.C: read 'environment' tag.
7854 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7856 * text2.C (removeRow): fix bug 964
7858 2003-03-20 John Levon <levon@movementarian.org>
7862 * text2.C: paint cleanups. Inset::update() dropped font
7865 2003-03-19 John Levon <levon@movementarian.org>
7867 * lyxfunc.C: only fitcursor/markDirty if available()
7869 2003-03-19 John Levon <levon@movementarian.org>
7871 * commandtags.h: rename to ...
7873 * lfuns.h: ... this, and renumber / cleanup
7875 2003-03-19 John Levon <levon@movementarian.org>
7877 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7878 fit the cursor after an lfun
7882 * BufferView_pimpl.h:
7883 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7885 * LyXAction.C: layout-character should have ReadOnly
7887 * ParagraphParameters.C:
7889 * bufferview_funcs.C:
7896 * undo_funcs.C: changes from above
7898 2003-03-18 John Levon <levon@movementarian.org>
7900 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7901 remove it from update()
7903 * lyxfunc.C: update layout choice after an lfun
7905 * text3.C: remove extra updateLayoutChoice()s
7907 2003-03-18 John Levon <levon@movementarian.org>
7909 * text.C: top_y change means full repaint, fix
7910 a drawing bug with cursor movement
7912 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7916 * text2.C: anchor row on setCursor
7918 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7920 * lyxtext.h: remove almost all mutable keywords
7923 * text3.C: remove const keywords accordingly
7925 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7927 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7929 (TeXEnvironment): ditto
7932 2003-03-17 John Levon <levon@movementarian.org>
7934 * text.C (rowBreakPoint): remove attempt to fix displayed
7935 math insets inside a manual label
7937 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7939 * lyxtext.h: remove BufferView* as first arg from almost all class
7941 * other files: adjust.
7943 2003-03-17 John Levon <levon@movementarian.org>
7947 * text2.C: more paint cleanups
7949 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7952 * rowpainter.C: remove "smart" background painting code
7954 2003-03-16 John Levon <levon@movementarian.org>
7959 * text3.C: add helper functions for setting refresh_row/y
7961 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7963 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7964 newline inset which *can* get inserted in the pass_thru layouts.
7965 This is primarily for literate documents.
7967 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7969 * buffer.C: increment LYX_FORMAT to 223
7971 2003-03-14 André Pönitz <poenitz@gmx.net>
7973 * textclass.h: prepare for environment handling, ws changes
7974 * lyxlayout.C: read latexheader and latexfooter tags
7976 2003-03-14 John Levon <levon@movementarian.org>
7978 * text2.C: rewrite ::status() a bit
7980 2003-03-13 John Levon <levon@movementarian.org>
7982 * lyxtext.h: add some docs
7984 2003-03-13 John Levon <levon@movementarian.org>
7989 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7991 2003-03-13 John Levon <levon@movementarian.org>
7993 * text3.C: fix appendix redrawing
7995 2003-03-13 John Levon <levon@movementarian.org>
7997 * text.C (setHeightOfRow):
7999 * rowpainter.C: make appendix mark have the text
8000 "Appendix" so the user knows what it is
8003 * LColor.C: s/appendixline/appendix/ from above
8005 2003-03-13 John Levon <levon@movementarian.org>
8007 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8009 * text.C: fix a getChar(pos) bug properly
8011 2003-03-13 Angus Leeming <leeming@lyx.org>
8014 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8015 Probably only temporary. Let's see how things pan out.
8017 * BufferView.C (unlockInset):
8018 * BufferView_pimpl.C (fitCursor):
8019 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8021 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8022 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8024 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8025 new functions that convert ParagraphParameters to and from a string.
8027 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8028 BufferView::Pimpl's dispatch.
8029 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8031 2003-03-13 André Pönitz <poenitz@gmx.net>
8035 * factory.C: make it aware of InsetEnv
8037 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8039 * text2.C (setCursor): never ask for one past last
8040 (setCursor): add some debugging messages.
8042 * text.C (singleWidth): never ask for one past last
8043 (singleWidth): ditto
8045 (rightMargin): ditto
8046 (rowBreakPoint): ditto
8047 (setHeightOfRow): ditto
8048 (prepareToPrint): ditto
8050 * rowpainter.C (paintBackground): never ask for one past last
8051 (paintText): never ask for one past last
8053 * paragraph_pimpl.C (getChar): make the assert stricter, never
8054 allow the one past last pos to be taken
8056 * paragraph.C (getChar): ws changes only
8058 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8059 (numberOfSeparators): ditto
8060 (numberOfHfills): ditto
8062 2003-03-12 John Levon <levon@movementarian.org>
8068 * paragraph_funcs.C: fix per-buffer authorlists
8070 2003-03-12 John Levon <levon@movementarian.org>
8072 * text.C: fix newline in right address
8074 2003-03-12 Angus Leeming <leeming@lyx.org>
8076 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8077 duplicate those in LyXFunc::dispatch.
8081 * ToolbarDefaults.C:
8082 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8083 Add LFUN_FONTFREE_UPDATE.
8085 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8086 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8088 * bufferview_func.[Ch]: several new functions to facilliate
8089 transfer of data to and from the character dialog.
8091 2003-03-12 John Levon <levon@movementarian.org>
8096 * paragraph_funcs.C:
8097 * paragraph_pimpl.C:
8101 * text3.C: remove META_NEWLINE in favour of an inset
8104 * rowpainter.C: remove paintNewline (done by inset)
8106 2003-03-12 John Levon <levon@movementarian.org>
8108 * paragraph_pimpl.C: complain about bad getChar()s
8109 for a while at least
8111 2003-03-12 John Levon <levon@movementarian.org>
8114 * buffer.C: move paragraph read into a separate function,
8115 a little renaming to reflect that.
8118 * bufferparams.C: remove the author_ids map, not necessary now
8121 * factory.C: moved Buffer::readInset to here
8123 * paragraph_funcs.h:
8124 * paragraph_funcs.C: readParagraph free function moved from
8127 * tabular.C: name change
8129 2003-03-12 John Levon <levon@movementarian.org>
8132 * ParagraphParameters.C: move par params input to
8135 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8136 behave like a normal read from the stream wrt reading
8137 a line vs. a \\token
8139 2003-03-12 John Levon <levon@movementarian.org>
8142 * ParagraphParameters.h:
8143 * ParagraphParameters.C: move output code to a
8146 2003-03-12 John Levon <levon@movementarian.org>
8148 * BufferView.C (insertLyXFile):
8151 * tabular.C: use a parlist iterator for creating the
8154 2003-03-12 John Levon <levon@movementarian.org>
8156 * buffer.C: make current_change static local not
8159 2003-03-12 John Levon <levon@movementarian.org>
8161 * buffer.C: fix insertStringAsLines for change tracking
8163 2003-03-12 John Levon <levon@movementarian.org>
8170 * bufferparams.C: move author list into params. Rename some
8171 functions. Move the header reading into a separate token
8172 loop. Move the header token reading into BufferParams.
8174 2003-03-12 John Levon <levon@movementarian.org>
8176 * changes.C: put debug inside lyxerr.debugging() checks
8178 2003-03-11 André Pönitz <poenitz@gmx.net>
8180 * factory.C: make it aware of InsetHFill
8182 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8184 * buffer.C (latexParagraphs): move function from here...
8185 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8188 2003-03-10 Angus Leeming <leeming@lyx.org>
8190 * LyXAction.C (init): fix bug in poplating array with multiple entries
8191 with the same LFUN (spotted by JMarc).
8193 2003-03-10 John Levon <levon@movementarian.org>
8196 * text2.C: move getColumnNearX() near its
8199 2003-03-10 John Levon <levon@movementarian.org>
8201 * text.C: fix break before a minipage
8203 2003-03-10 John Levon <levon@movementarian.org>
8205 * text.C: fix the last commit
8207 2003-03-09 John Levon <levon@movementarian.org>
8211 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8212 bug 365 (don't break before insets unless needed). Don't
8213 return a value > last under any circumstances.
8215 2003-03-09 Angus Leeming <leeming@lyx.org>
8217 * BufferView_pimpl.C (trackChanges, dispatch): call
8218 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8220 2003-03-09 Angus Leeming <leeming@lyx.org>
8222 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8223 than Dialogs::showAboutlyx().
8225 2003-03-09 Angus Leeming <leeming@lyx.org>
8227 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8228 than Dialogs::showTabularCreate().
8230 2003-03-09 John Levon <levon@movementarian.org>
8234 * text2.C: 3rd arg to nextBreakPoint was always the same.
8237 2003-03-08 John Levon <levon@movementarian.org>
8244 * text2.C: Remove the "main" bit from the "main body"
8247 2003-03-08 John Levon <levon@movementarian.org>
8249 * text.C (leftMargin): The left margin of an empty
8250 manual label paragraph should not include the label width
8253 * text.C (prepareToPrint): don't attempt to measure hfills
8254 for empty manual label paragraphs - the answer should be 0
8256 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8258 * CutAndPaste.C: remove commented code and reindent.
8260 2003-03-08 John Levon <levon@movementarian.org>
8263 * lyxfunc.C: move reloadBuffer()
8266 * BufferView.C: to here
8268 * lyxvc.C: add comment
8271 * vc-backend.C: call bv->reload() to avoid
8272 getStatus() check on MENURELOAD
8274 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8276 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8277 to an old format .dep file.
8279 2003-03-07 Angus Leeming <leeming@lyx.org>
8281 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8282 when the LFUN_MOUSE_RELEASE should have been handled by
8283 inset->localDispatch.
8285 2003-03-07 Angus Leeming <leeming@lyx.org>
8287 * BufferView_pimpl.C (dispatch):
8288 * LyXAction.C (init):
8289 * ToolbarDefaults.C (init):
8291 * lyxfunc.C (getStatus):
8292 remove LFUN_INSET_GRAPHICS.
8294 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8296 2003-03-07 Angus Leeming <leeming@lyx.org>
8299 * LyXAction.C (init):
8300 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8302 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8305 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8307 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8308 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8310 2003-03-07 Angus Leeming <leeming@lyx.org>
8312 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8315 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8317 * ParagraphList.C (front): new function
8320 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8322 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8323 and top_row_offset_. removed var first_y.
8325 * text2.C (LyXText, removeRow):
8327 * BufferView_pimpl.C:
8328 use these methods instead of using first_y
8330 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8332 * text2.C (pasteSelection): adjust for checkPastePossible
8334 * CutAndPaste.C: remove Paragraph * buf and replace with
8335 ParagraphList paragraphs.
8336 (DeleteBuffer): delete
8337 (cutSelection): change the tc type to textclass_type
8338 (copySelection): change the tc type to textclass_type
8339 (copySelection): adjust for ParagraphList
8340 (pasteSelection): change the tc type to textclass_type
8341 (pasteSelection): adjust for Paragraphlist
8342 (nrOfParagraphs): simplify for ParagraphList
8343 (checkPastePossible): simplify for ParagraphList
8344 (checkPastePossible): remove unused arg
8346 * ParagraphList.C (insert): handle the case where there are no
8349 * CutAndPaste.h: make CutAndPaste a namespace.
8351 * text3.C (dispatch): adjust
8353 * text.C (breakParagraph): add a ParagraphList as arg
8355 * paragraph_funcs.C (breakParagraph): change to take a
8356 BufferParams and a ParagraphList as args.
8357 (breakParagraphConservative): ditto
8358 (mergeParagraph): ditto
8359 (TeXDeeper): add a ParagraphList arg
8360 (TeXEnvironment): ditto
8363 * buffer.C (readLyXformat2): adjust
8364 (insertStringAsLines): adjust
8365 (latexParagraphs): adjust
8367 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8368 (cutSelection): adjust
8369 (pasteSelection): adjust
8371 * BufferView_pimpl.C (insertInset): adjust
8373 2003-03-05 Angus Leeming <leeming@lyx.org>
8376 * LyXAction.C (init):
8377 * BufferView_pimpl.C (dispatch):
8378 * lyxfunc.C (getStatus):
8379 remove LFUN_CHILD_INSERT.
8381 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8383 2003-03-05 Angus Leeming <leeming@lyx.org>
8386 * LyXAction.C (init):
8387 * src/factory.C (createInset):
8388 * lyxfunc.C (getStatus):
8389 * text3.C (dispatch):
8390 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8392 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8394 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8396 * ParagraphList.C (insert): handle insert right before end()
8397 (erase): fix cases where it can be first or last paragraph.
8399 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8401 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8402 Paragraph::next and Paragraph::previous
8405 * text.C (breakParagraph): adjust
8407 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8408 BufferParams& as arg.
8409 (breakParagraph): use ParagraphList::insert
8410 (breakParagraphConservative): take a Buffer* instead of a
8411 BufferParams& as arg.
8412 (breakParagraphConservative): use ParagraphList::insert.
8414 * buffer.C (insertStringAsLines): un-const it
8415 (insertStringAsLines): adjust
8417 * ParagraphList.C (insert): new function
8419 * CutAndPaste.C (pasteSelection): adjust
8421 * text.C (backspace): adjust
8423 * tabular.C (SetMultiColumn): adjust
8425 * CutAndPaste.C (cutSelection): adjust
8426 (pasteSelection): adjust
8428 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8429 Buffer const * as arg
8431 * ParagraphList.C (erase): new function
8432 * paragraph_funcs.C (mergeParagraph): use it
8433 (mergeParagraph): make it take a Buffer* instead of a
8434 BufferParams* as arg
8436 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8438 (breakParagraphConservative): ditto
8440 * paragraph.h: remove the breakParagraph friend
8442 * paragraph.C (eraseIntern): new function
8443 (setChange): new function
8445 * paragraph_funcs.C (mergeParagraph): make it take a
8446 ParagraphList::iterator instead of a Paragraph *, adjust
8449 * paragraph.h: move an #endif so that the change tracking stuff
8450 also works in the NO_NEXT case.
8452 2003-03-04 Angus Leeming <leeming@lyx.org>
8455 * LyXAction.C: new LFUN_INSET_MODIFY.
8457 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8458 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8460 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8462 * several files: ws changes only
8464 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8465 (TeXEnvironment): ditto
8468 * buffer.C (makeLaTeXFile): adjust
8469 (latexParagraphs): make it take ParagraphList::iterator as args
8471 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8473 * buffer.C (latexParagraphs): adjust
8475 * paragraph.C (TeXOnePar): move function...
8476 (optArgInset): move function...
8477 (TeXEnvironment): move function...
8478 * paragraph_pimpl.C (TeXDeeper): move function...
8479 * paragraph_funcs.C: ...here
8481 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8483 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8485 * buffer.C (readInset): remove compability code for old Figure and
8488 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8490 * buffer.C: ws changes
8493 * BufferView_pimpl.C: ditto
8496 * bufferlist.h: ditto
8500 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8502 * converter.[Ch]: split into itself +
8505 * Makefile.am: += graph.[Ch] + format.[Ch]
8512 * lyxrc.C: added #include "format.h"
8514 2003-02-27 Angus Leeming <leeming@lyx.org>
8516 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8519 * factory.C (createInset): add "label" to the factory.
8521 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8522 string and do no more.
8524 2003-02-27 Angus Leeming <leeming@lyx.org>
8527 * LyXAction.C (init):
8528 * factory.C (createInset):
8529 * BufferView_pimpl.C (dispatch):
8530 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8532 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8534 * lyxfunc.C (dispatch):
8535 * text3.C (dispatch): pass name to params2string.
8537 2003-02-26 Angus Leeming <leeming@lyx.org>
8539 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8541 Rearrange the ~includes. Strip out the unnecessary ones.
8543 * factory.C (createInset): reformat.
8544 create new insets for the various LFUN_XYZ_APPLY lfuns.
8546 2003-02-26 John Levon <levon@movementarian.org>
8549 * lyxrow.C: add isParStart,isParEnd helpers
8551 * paragraph.h: make isInserted/DeletedText take refs
8553 * paragraph_funcs.h:
8554 * paragraph_funcs.C: remove #if 0'd code
8559 * text.C: use lyxrow helpers above.
8560 Move draw and paint routines to RowPainter.
8561 Make several methods use refs not pointers.
8562 Make backgroundColor() const.
8563 Add markChangeInDraw(), isInInset().
8564 Merge changeRegionCase into changeCase.
8565 Make workWidth() shouldn't-happen code into an Assert.
8568 * rowpainter.C: new class for painting a row.
8571 * vspace.C: make inPixels take a ref
8573 2003-02-26 Angus Leeming <leeming@lyx.org>
8575 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8578 2003-02-25 John Levon <levon@movementarian.org>
8580 * ispell.C: give the forked command a more accurate name
8582 2003-02-22 John Levon <levon@movementarian.org>
8585 * toc.C: make TocItem store an id not a Paragraph *
8588 2003-02-21 Angus Leeming <leeming@lyx.org>
8590 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8591 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8592 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8593 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8594 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8595 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8597 * BufferView_pimpl.C (dispatch):
8598 * LyXAction.C (init):
8599 * factory.C (createInset):
8600 * lyxfunc.C (getStatus, dispatch):
8601 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8603 2003-02-21 Angus Leeming <leeming@lyx.org>
8605 * BufferView_pimpl.C (MenuInsertLyXFile):
8606 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8607 * lyxfunc.C (menuNew, open, doImport):
8608 no longer pass a LyXView & to fileDlg.
8610 2003-02-21 Angus Leeming <leeming@lyx.org>
8612 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8613 * LyXAction.C: change, BIBKEY to BIBITEM.
8614 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8615 Change InsetBibKey to InsetBibitem.
8616 Change BIBKEY_CODE to BIBITEM_CODE.
8617 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8618 * factory.C: replace insetbib.h with insetbibitem.h.
8619 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8620 * paragraph.C: replace insetbib.h with insetbibitem.h.
8621 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8622 Change bibkey() to bibitem().
8623 * text.C: remove insetbib.h.
8624 * text2.C: replace insetbib.h with insetbibitem.h.
8625 change bibkey() to bibitem().
8626 * text3.C: remove insetbib.h.
8627 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8629 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8631 * lyxrc.C (output): enclose user email in quotes (in case there are
8634 2003-02-18 John Levon <levon@movementarian.org>
8636 * buffer.h: add std::
8638 2003-02-17 John Levon <levon@movementarian.org>
8644 * pspell.C: reworking. Especially in ispell, a large
8645 number of clean ups and bug fixes.
8647 * lyxfunc.C: fix revert to behave sensibly
8649 2003-02-17 André Pönitz <poenitz@gmx.net>
8652 * commandtags.h: new LFUN_INSERT_BIBKEY
8662 * paragraph_func.C: remove special bibkey handling
8664 2003-02-17 John Levon <levon@movementarian.org>
8666 * text.C (Delete): fix case where delete at the end of
8667 the very first paragraph would not merge the pars
8669 2003-02-17 John Levon <levon@movementarian.org>
8671 * lyxrow.C: fix lastPrintablePos()
8673 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8675 * bufferparams.C (writeLaTeX): add a std:here
8677 * buffer.C: and remove a using directive there
8679 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8681 * buffer.C (makeLaTeXFile): move the code that generates the
8684 * bufferparams.C (writeLaTeX): ... in this new method
8686 * LaTeXFeatures.C (getEncodingSet): make const
8687 (getLanguages): make const
8689 * MenuBackend.C (binding): returns the binding associated to this
8691 (add): sets the status of each item by calling getStatus. Adds
8693 (read): add support for OptSubMenu
8694 (expand): remove extra separator at the end of expanded menu
8696 2003-02-15 John Levon <levon@movementarian.org>
8699 * BufferView_pimpl.C:
8701 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8702 inset code that had no actual effect. Remove unneeded status
8705 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8707 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8710 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8712 * text.C (drawLengthMarker): also draw an arrow marker for
8713 symbolic lengths (medskip...)
8715 2003-02-14 John Levon <levon@movementarian.org>
8718 * tabular.C: better method names
8720 2003-02-14 John Levon <levon@movementarian.org>
8722 * BufferView_pimpl.C:
8727 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8728 it's a more accurate name. Remove some pointless uses.
8730 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8732 * text2.C (LyXText): change order of initilizers to shut off
8735 2003-02-14 John Levon <levon@movementarian.org>
8737 * buffer.C: use ParIterator for getParFromID()
8741 * paragraph_pimpl.h:
8742 * paragraph_pimpl.C: remove unused getParFromID()
8744 2003-02-14 John Levon <levon@movementarian.org>
8746 * buffer.C: remove some very old #if 0'd parse code
8748 2003-02-13 John Levon <levon@movementarian.org>
8752 * text2.C: move hfillExpansion(), numberOfSeparators(),
8753 rowLast(), rowLastPrintable(), numberofHfills(),
8754 numberOfLabelHfills() ...
8757 * lyxrow.C: ... to member functions here.
8762 * text.C: remove LyXText::beginningOfMainBody(), and call
8763 p->beginningOfMainBody() directly. Move the check for
8764 LABEL_MANUAL into the latter.
8771 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8777 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8778 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8780 2003-02-13 John Levon <levon@movementarian.org>
8782 * CutAndPaste.C: remove debug
8784 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8786 * paragraph.C (asString): remove two unused variables
8788 * lyxtextclass.C (readTitleType):
8790 (LyXTextClass): handle new members titletype_ and titlename_
8792 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8794 2003-02-09 John Levon <levon@movementarian.org>
8797 * buffer.C: replace hand-coded list with a map for the dep clean
8799 2003-02-08 John Levon <levon@movementarian.org>
8801 * LaTeX.C: consolidate code into showRunMessage() helper
8803 2003-02-08 John Levon <levon@movementarian.org>
8808 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8809 and pass the size in explicitly
8811 * BufferView_pimpl.h:
8812 * BufferView_pimpl.C:
8814 * BufferView.C: add getCurrentChange()
8816 * BufferView_pimpl.h:
8817 * BufferView_pimpl.C: handle change lfuns
8819 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8820 for changes. Mark pasted paragraphs as new.
8822 * support/lyxtime.h:
8823 * support/lyxtime.C:
8824 * DepTable.C: abstract time_t as lyx::time_type
8827 * LColor.C: add colours for new text, deleted text, changebars
8829 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8830 package use "usenames" option.
8834 * LyXAction.C: add change lfuns
8838 * author.C: author handling
8841 * buffer.C: add a per-buffer author list, with first entry as
8842 current author. Handle new .lyx tokens for change tracking. Output
8843 author list to .lyx file. Output dvipost stuff to .tex preamble.
8844 Bump lyx format to 222.
8847 * bufferlist.C: add setCurrentAuthor() to reset current author details
8851 * bufferparams.C: add param for tracking
8853 * bufferview_funcs.C: output change info in minibuffer
8857 * changes.C: add change-tracking structure
8860 * debug.C: add CHANGES debug flag
8863 * lyxfind.C: add code for finding the next change piece
8866 * lyxrc.C: add user_name and user_email
8869 * lyxrow.C: add a metric for the top of the text line
8872 * text.C: implement accept/rejectChange()
8875 * text.C: paint changebars. Paint new/deleted text in the chosen
8876 colours. Strike through deleted text.
8880 * paragraph_pimpl.h:
8881 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8882 in the current change to the insert functions. Rework erase to
8883 mark text as deleted, adding an eraseIntern() and a range-based
8884 erase(). Implement per-paragraph change lookup and
8887 * paragraph_funcs.C: Fixup paste for change tracking.
8889 * tabular.C: mark added row/columns as new.
8891 * text.C: fix rowLast() to never return -1. Don't allow
8892 spellchecking of deleted text. Track transpose changes. Don't
8893 allow paragraph break or merge where appropriate.
8895 * text2.C: leave cursor at end of selection after a cut.
8897 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8899 * text.C (getLengthMarkerHeight):
8900 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8901 visible on screen too.
8903 2003-02-07 John Levon <levon@movementarian.org>
8905 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8907 2003-02-05 Angus Leeming <leeming@lyx.org>
8909 * lyxserver.C (read_ready): revert my patch of 11 September last year
8910 as it sends PC cpu through the roof. Presumably this means that
8911 the lyxserver will no longer run on an Alpha...
8913 2003-01-30 Angus Leeming <leeming@lyx.org>
8915 * factory.C (createInset): create an InsetCommandParam of type "index"
8916 and use it to 'do the right thing'.
8918 * text2.C (getStringToIndex): ensure that cursor position is always
8919 reset to the reset_cursor position.
8921 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8923 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8926 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8930 * lyxfunc.C: Output messages with identical spelling, punctuation,
8933 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8935 * MenuBackend.C (expandFormats): List only viewable export formats
8938 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8941 * lyxfunc.C (getStatus): Make sure that formats other than
8942 "fax" can also be disabled
8944 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8946 * text3.C (dispatch): put the lfuns that insert insets in 3
8947 groups, and call doInsertInset with appropriate arguments.
8948 (doInsertInset): new function, that creates an inset and inserts
8949 it according to some boolean parameters.
8951 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8953 * buffer.C (readFile): remember to pass on 'par' when calling
8954 readFile recursively.
8956 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8958 * MenuBackend.C (expandFormats): add "..." to import formats.
8960 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8962 * paragraph.C (asString): Remove XForms RTL hacks.
8964 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8965 * buffer.C: fix typo
8967 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8969 * Makefile.am (LIBS): delete var
8970 (lyx_LDADD): add @LIBS@ here instead.
8972 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8974 * Clarify the meaning of "wheel mouse jump"
8976 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8978 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8981 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8983 * importer.C (Loaders): do not preallocate 3 elements in the
8984 vector, since one ends up with 6 elements otherwise
8986 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8988 * DepTable.C (write): write the file name as last element of the
8989 .dep file (because it may contain spaces)
8990 (read): read info in the right order
8992 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8994 * paragraph_pimpl.C (simpleTeXBlanks):
8995 (simpleTeXSpecialChars):
8996 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8998 * tabular.C (latex): add some missing case statements. Reindent.
9000 * MenuBackend.C (expandToc): remove unused variable.
9002 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9011 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9014 2003-01-05 John Levon <levon@movementarian.org>
9017 * BufferView.C: add getEncoding()
9020 * kbsequence.C: do not store last keypress
9023 * lyxfunc.C: store last keypress here instead. Pass encoding
9026 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9028 * lyx_main.C (init): remove annoying error message when following
9029 symbolic links (bug #780)
9031 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9033 * text.C (insertChar):
9034 * lyxrc.C (getDescription): remove extra spaces
9036 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9038 * lyxrc.C (getDescription): remove extra spaces
9040 2002-12-20 John Levon <levon@movementarian.org>
9042 * text3.C: hack fix for page up/down across tall rows
9044 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9046 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9049 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9051 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9052 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9053 thesaurus is not compiled in
9055 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9057 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9059 2002-12-16 Angus Leeming <leeming@lyx.org>
9062 * lyx_main.C (init): remove override_x_deadkeys stuff.
9064 2002-12-12 John Levon <levon@movementarian.org>
9066 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9067 insert. Only remove shift modifier under strict
9070 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9072 * MenuBackend.C (expandToc): fix crash.
9074 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9076 * MenuBackend.C (expandToc): gettext on float names.
9078 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9080 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9081 implement bool empty() [bug 490]
9083 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9085 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9087 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9089 * several files: ws changes
9091 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9093 * text2.C (setCounter): clean up a bit, use boost.format.
9094 (updateCounters): initialize par upon declaration.
9096 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9097 if the layout exists. We do not just store the layout any more.
9098 (SwitchLayoutsBetweenClasses): use boost.format
9100 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9102 * converter.C (convert): if from and to files are the same, use a
9103 temporary files as intermediary
9105 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9108 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9110 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9112 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9114 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9116 * tabular.C (asciiPrintCell): use string(size, char) instead of
9119 * sgml.C (openTag): fix order of arguments to string constructor
9122 * lyxfunc.C (dispatch): use boost.format
9124 * lots of files: change "c" -> 'c'
9126 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9128 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9130 2002-11-25 Angus Leeming <leeming@lyx.org>
9132 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9134 * lyx_main.C (init): compile fix.
9136 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9138 * lyx_cb.C (start): boost.formatify
9139 do not include <iostream>
9141 * lengthcommon.C: ws only
9143 * boost-inst.C,BoostFormat.h: add more explict instantations
9145 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9147 * lots of files: handle USE_BOOST_FORMAT
9149 2002-11-21 John Levon <levon@movementarian.org>
9151 * pspell.C: fix compile
9153 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9155 * lyxfunc.C (dispatch): use boost::format
9159 * lyxfont.C (stateText): use boost::format
9161 * lyx_main.C (LyX): use boost::format
9163 (queryUserLyXDir): ditto
9166 (typedef boost::function): use the recommened syntax.
9168 * importer.C (Import): use boost::format
9170 * debug.C (showLevel): use boost::format
9172 * converter.C (view): use boost::format
9177 * bufferview_funcs.C (currentState): use boost::format
9179 * bufferlist.C (emergencyWrite): use boost::format
9181 * buffer.C (readLyXformat2): use boost::format
9182 (parseSingleLyXformat2Token): ditto
9184 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9186 * LaTeX.C (run): use boost::format
9188 * Chktex.C (scanLogFile): use boost::format
9190 * BufferView_pimpl.C (savePosition): use boost::format
9191 (restorePosition): ditto
9192 (MenuInsertLyXFile): ditto
9194 * BoostFormat.h: help file for explicit instation.
9196 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9198 * tabular.C (latex): Support for block alignment in fixed width
9201 2002-11-17 John Levon <levon@movementarian.org>
9203 * BufferView_pimpl.C:
9205 * lyxfunc.C: split filedialog into open/save
9207 2002-11-08 Juergen Vigna <jug@sad.it>
9209 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9210 by my last patch (hopefully).
9212 2002-11-08 John Levon <levon@movementarian.org>
9221 * toc.C: ParConstIterator, and use it (from Lars)
9223 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9225 * lyxtextclass.[Ch]: revise and add doxygen comments
9227 2002-11-07 John Levon <levon@movementarian.org>
9229 * text.C: fix progress value for spellchecker
9231 * toc.C: fix navigate menu for insetwrap inside minipage
9233 * paragraph_funcs.C: added FIXME for suspect code
9235 2002-11-07 John Levon <levon@movementarian.org>
9237 * BufferView_pimpl.C: fix redrawing of insets
9240 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9242 * text2.C (updateCounters): fix bug 668
9244 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9246 * text3.C (dispatch): Do not make the buffer dirty when moving the
9249 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9251 * vc-backend.C: STRCONV
9254 * text2.C (setCounter): STRCONV
9256 * paragraph.C (asString): STRCONV
9258 * lyxlength.C (asString): STRCONV
9259 (asLatexString): ditto
9261 * lyxgluelength.C (asString): STRCONV
9262 (asLatexString): ditto
9264 * lyxfunc.C (dispatch): STRCONV
9267 * lyxfont.C (stateText): STRCONV
9269 * importer.C (Import): STRCONV
9271 * counters.C (labelItem): STRCONV
9272 (numberLabel): ditto
9273 (numberLabel): remove unused ostringstream o
9278 * bufferview_funcs.C (currentState): STRCONV
9280 * buffer.C (readFile): STRCONV
9281 (asciiParagraph): ditto
9282 (makeLaTeXFile): ditto
9284 * Spacing.C (writeEnvirBegin): STRCONV
9286 * LaTeXFeatures.C (getLanguages): STRCONV
9287 (getPackages): ditto
9289 (getBabelOptions): ditto
9290 (getTClassPreamble): ditto
9291 (getLyXSGMLEntities): ditto
9292 (getIncludedFiles): ditto
9296 (scanAuxFile): ditto
9299 * LString.h: add the STRCONV macros
9301 * BufferView_pimpl.C (savePosition): STRCONV
9302 (restorePosition): ditto
9303 (MenuInsertLyXFile): ditto
9305 * vc-backend.C (scanMaster): change from submatch[...] to
9308 * funcrequest.C: include config.h
9310 * factory.C: include config.h
9312 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9314 * box.C: include config.h
9316 * LaTeX.C (scanAuxFile): change from submatch[...] to
9320 2002-10-25 Angus Leeming <leeming@lyx.org>
9322 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9324 * ispell.[Ch] (setError): new method.
9325 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9326 Use setError() insetead of goto END.
9328 * lyx_cb.C (AutoSave): move out child process into new class
9331 2002-10-30 John Levon <levon@movementarian.org>
9333 * text3.C: make start appendix undoable
9335 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9337 * lyxlength.C (inPixels): Fix returned value.
9339 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9342 2002-10-24 Angus Leeming <leeming@lyx.org>
9344 * lyxgluelength.h: no need to forward declare BufferParams
9345 or BufferView, so don't.
9347 2002-10-21 John Levon <levon@movementarian.org>
9349 * BufferView.C: menuUndo ->undo, redo
9351 * BufferView.h: document, remove dead, make some methods private
9353 * paragraph_funcs.h:
9354 * paragraph_funcs.C:
9355 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9360 * sgml.C: move sgml open/close tag into sgml.C
9362 * bufferview_funcs.h: unused prototype
9365 * lyxfunc.C: remove unused
9368 * text.C: remove unused
9370 2002-10-21 John Levon <levon@movementarian.org>
9374 * BufferView_pimpl.h:
9375 * BufferView_pimpl.C: fix mouse wheel handling based on
9376 patch from Darren Freeman
9378 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9380 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9382 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9384 * lyxlength.C (inPixels): Fix hanfling of negative length.
9385 Fix LyXLength::MU case.
9387 2002-10-16 John Levon <levon@movementarian.org>
9389 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9391 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9393 * converter.C (view): add support for $$i (file name) and $$p
9394 (file path) for the viewer command. If $$i is not specified, then
9395 it is appended to the command (for compatibility with old syntax)
9397 2002-10-14 Juergen Vigna <jug@sad.it>
9399 * undo_funcs.C (textHandleUndo): alter the order in which the
9400 new undopar is added to the LyXText, as we have to set first
9401 the right prev/next and then add it as otherwise the rebuild of
9402 LyXText is not correct. Also reset the cursor to the right paragraph,
9403 with this IMO we could remove the hack in "redoParagraphs()".
9405 2002-10-09 Angus Leeming <leeming@lyx.org>
9407 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9408 to turn off an optimisation if a new inset is to be inserted.
9410 2002-10-11 André Pönitz <poenitz@gmx.net>
9412 * lyxtext.h: make some functions public to allow access
9413 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9415 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9417 * text3.C (dispatch): when changing layout, avoid an infinite loop
9420 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9422 * lyxrc.C (read): treat a viewer or converter command of "none" as
9425 * MenuBackend.C (expandFormats): for an update, also allow the
9426 formats that are not viewable
9428 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9429 script if it is newer than the lyxrc.defaults in user directory
9431 2002-10-07 André Pönitz <poenitz@gmx.net>
9433 * text.C: Vitaly Lipatov's small i18n fix
9435 2002-09-25 Angus Leeming <leeming@lyx.org>
9437 * ispell.h: doxygen fix.
9439 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9441 * buffer.h (readFile): Add a new argument to the method, to allow
9442 reading of old-format templates.
9444 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9446 * toc.C (getTocList): Get TOC from InsetWrap.
9448 2002-09-16 John Levon <levon@movementarian.org>
9450 * lyxfunc.C: check tabular for cut/copy too
9452 2002-09-12 John Levon <levon@movementarian.org>
9457 * factory.C: add header
9459 * paragraph_funcs.h:
9460 * paragraph_funcs.C: cleanup
9462 2002-09-11 John Levon <levon@movementarian.org>
9464 * PrinterParams.h: odd/even default to true
9466 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9468 * PrinterParams.h: update printer parameters for new xforms dialog
9470 2002-09-11 Angus Leeming <leeming@lyx.org>
9472 * lyxserver.C (read_ready): re-write to make it more transparent
9473 and to make it work in coherent fashion under Tru64 Unix.
9475 2002-09-11 André Pönitz <poenitz@gmx.net>
9479 * text3.C: implement LFUN_WORDSEL
9481 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9483 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9484 make floatlist_ a boost::shared_ptr<FloatList>
9486 * lyxtextclass.C: include FloatList.h
9487 (LyXTextClass): initialize floatlist_
9488 (TextClassTags): add TC_NOFLOAT
9489 (Read): match "nofloat" to TC_NOFLOAT and use it.
9490 (readFloat): modify call to floatlist_
9494 * FloatList.[Ch] (FloatList): remove commented out float
9496 (erase): new function
9498 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9500 * MenuBackend.C (expandToc): fix crash when there is no document
9503 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9505 * many files: Add insetwrap.
9507 2002-09-09 John Levon <levon@movementarian.org>
9509 * text2.C: remove confusing and awkward depth wraparound
9511 2002-09-09 John Levon <levon@movementarian.org>
9513 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9516 * buffer.C: remove getIncludeonlyList()
9519 * lyxfunc.C: remove headers
9521 2002-09-09 Juergen Vigna <jug@sad.it>
9523 * text.C (getColumnNearX): fix form Michael this is most
9524 probably a cut&paste bug.
9526 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9528 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9530 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9531 references, ws changes.
9533 * text2.C (init): update counters after init
9534 (insertParagraph): no need to set counter on idividual paragraphs.
9535 (setCounter): access the counters object in the textclass object
9536 on in the buffer object.
9537 (updateCounters): ditto
9539 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9540 shared_ptr<Counters> to avoid loading counters.h in all
9542 (LyXTextClass): initialize ctrs_
9543 (TextClassTags): add TC_COUNTER, and ...
9544 (Read): use it here.
9545 (CounterTags): new tags
9546 (readCounter): new function
9547 (counters): new funtion
9548 (defaultLayoutName): return a const reference
9550 * counters.C (Counters): remove contructor
9551 (newCounter): remove a couple of unneeded statements.
9552 (newCounter): simplify a bit.
9553 (numberLabel): some small formatting changes.
9555 * buffer.[Ch]: remove all traces of counters, move the Counters
9556 object to the LyXTextClass.
9558 2002-09-06 Alain Castera <castera@in2p3.fr>
9560 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9561 package to set the horizontal alignment on fixed width columns.
9564 * lyx_sty.h: added tabularnewline macro def.
9566 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9568 2002-09-06 John Levon <levon@movementarian.org>
9570 * LyXAction.C: tooltips for sub/superscript
9572 * MenuBackend.C: a bit more verbose
9574 * lyxfunc.C: tiny clean
9576 * undo_funcs.C: document undo_frozen
9578 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9580 * counters.C (Counters): add missing algorithm counter.
9582 * text2.C (setCounter): lookup the counter with layouts latexname
9583 instead of by section number.
9584 (setCounter): use a hackish way to lookup the correct enum
9586 a float name->type change
9587 reset enum couners with counter name directly instead of depth value.
9589 * counters.C (Counters): remove the push_backs, change to use the
9590 float type not the float name.
9591 (labelItem): remove unused string, float name->type change
9593 * counters.h: don't include vector, loose the enums and sects vectors
9595 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9597 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9598 (Read): add float->TC_FLOAT to textclassTags
9599 (Read): and handle it in the switch
9600 (readFloat): new function
9602 * FloatList.C (FloatList): comment out the hardcoded float
9605 * lyxlayout.h: ws change.
9607 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9609 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9611 2002-09-03 Angus Leeming <leeming@lyx.org>
9613 * BufferView_pimpl.h: qualified name is not allowed in member
9614 declaration: WorkArea & Pimpl::workarea() const;
9616 * factory.C: added using std::endl directive.
9618 * text3.C: added using std::find and std::vector directives.
9620 2002-08-29 André Pönitz <poenitz@gmx.net>
9623 * text2.C: remove unused member number_of_rows
9626 * BufferView2.C: remove file, move contents to...
9627 * BufferView.C: ... here
9629 * BufferView_pimpl.C:
9630 * factory.C: move more inset creation to factory
9632 * vspace.C: avoid direct usage of LyXText, ws changes
9635 don't provide direct access to WorkArea, use two simple
9636 acessors haveSelction() and workHeight() instead
9639 2002-08-29 John Levon <levon@movementarian.org>
9641 * BufferView_pimpl.C (dispatch): do not continue when
9644 2002-08-28 André Pönitz <poenitz@gmx.net>
9646 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9649 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9651 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9653 * buffer.C: increment LYX_FORMAT to 221
9655 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9656 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9658 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9660 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9662 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9664 * factory.C (createInset): use LyXTextClass::floats
9666 * MenuBackend.C (expandFloatListInsert):
9667 (expandFloatInsert):
9670 * text2.C (setCounter):
9672 * LaTeXFeatures.C (useFloat):
9673 (getFloatDefinitions):
9675 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9677 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9678 floatlist_, with accessor floats().
9680 * FloatList.h: remove global FloatList
9682 2002-08-26 André Pönitz <poenitz@gmx.net>
9684 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9688 * BufferView_pimpl.C:
9689 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9691 2002-08-25 John Levon <levon@movementarian.org>
9693 * LyXAction.C: fix margin note description
9695 2002-08-24 John Levon <levon@movementarian.org>
9699 * bufferview_funcs.C:
9701 * undo_funcs.C: cleanups
9703 * lyxfunc.C: disable CUT/COPY when no selection
9705 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9707 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9708 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9710 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9711 Add backward compatibility to "mono", "gray" and "no".
9713 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9715 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9716 (and file_format >= 200).
9718 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9720 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9722 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9724 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9726 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9728 * BufferView_pimpl.C:
9735 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9736 inset and code to make it work with the paragraph code. The inset
9737 can be anywhere in the paragraph, but will only do the expected
9738 thing in LaTeX if the layout file contains the parameter line
9740 (or more generally, a nonzero value) for that layout.
9742 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9744 * paragraph.h: remove the declaration of undefined counters class
9747 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9749 * text2.C (setCounter): fixed enumeration mis-count as reported by
9750 Dr. Richard Hawkins.
9752 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9754 * paragraph_funcs.h: remove some unneeded includes
9756 * text.C (backspace): pasteParagraph now in global scipe
9758 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9759 (pasteSelection): ditto
9761 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9762 * paragraph_funcs.C (pasteParagraph): ... here
9764 2002-08-20 André Pönitz <poenitz@gmx.net>
9766 * commandtags.h: new LFUNs for swapping/copying table row/colums
9769 * lyxfunc.C: support for new lfuns
9771 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9774 * buffer.[Ch]: remove NO_COMPABILITY stuff
9776 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9778 * boost.C (throw_exception): new file, with helper function for
9779 boost compiled without exceptions.
9784 * ParameterStruct.h:
9785 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9787 * bufferlist.C (emergencyWriteAll): use boost bind
9789 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9791 * text.C: include paragraph_funcs.h
9792 (breakParagraph): breakParagraph is now in global scope
9794 * paragraph_funcs.[Ch]: new files
9796 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9799 * buffer.C: include paragraph_funcs.h
9800 (insertStringAsLines): breakParagraph is now in global scope
9802 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9805 * CutAndPaste.C: include paragraph_funcs.h
9806 (cutSelection): breakParagraphConservative is now in global scope
9807 (pasteSelection): ditto
9809 * buffer.h: declare oprator== and operator!= for
9810 Buffer::inset_iterator
9812 * bufferlist.C (emergencyWrite): don't use fmt(...)
9814 * text3.C: add using std::endl
9816 * BufferView.C (moveCursorUpdate): remove default arg
9818 2002-08-20 André Pönitz <poenitz@gmx.net>
9820 * buffer.[Ch]: move inline functions to .C
9823 * BufferView_pimpl.C:
9825 * buffer.[Ch]: use improved inset_iterator
9828 * paragraph.[Ch]: write one paragraph at a time
9830 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9832 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9833 style if style is not specified.
9835 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9837 * text2.C (setCounter): when searching for right label for a
9838 caption, make sure to recurse to parent insets (so that a caption
9839 in a minipage in a figure float works) (bug #568)
9841 2002-08-20 André Pönitz <poenitz@gmx.net>
9843 * text3.C: new file for LyXText::dispatch() and helpers
9845 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9847 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9849 2002-08-19 André Pönitz <poenitz@gmx.net>
9852 * text.C: new LyXText::dispatch()
9854 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9856 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9858 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9860 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9863 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9865 * Makefile.am: use $(variables) instead of @substitutions@
9867 2002-08-15 André Pönitz <poenitz@gmx.net>
9870 * BufferView_pimpl.C: streamlining mathed <-> outer world
9874 * LyXAction.C: remove unused LFUN_MATH
9876 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9878 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9880 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9882 * paragraph.C (Paragraph): reformat a bit
9883 (cutIntoMinibuffer): use builtin InsetList function instad of
9887 * buffer.C: include boost/bind.hpp, add using std::for_each
9888 (writeFileAscii): use ParagraphList iterators
9889 (validate): use for_each for validate traversal of paragraphs
9890 (getBibkeyList): use ParagraphList iterators
9891 (resizeInsets): use for_each to resizeInsetsLyXText for all
9893 (getParFromID): use ParagraphList iterators
9895 * BufferView2.C (lockInset): use paragraph list and iterators
9897 2002-08-14 John Levon <levon@movementarian.org>
9899 * lyxserver.C: remove spurious xforms include
9901 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9903 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9905 2002-08-13 André Pönitz <poenitz@gmx.net>
9908 * lyxfunc.C: further cleaning
9910 2002-08-13 André Pönitz <poenitz@gmx.net>
9912 * funcrequest.h: new constructor
9914 * funcrequest.C: move stuff here from .h
9917 * BufferView_pimpl.C:
9920 * lyxfunc.C: subsequent changes
9922 * lyxfunc.h: new view() member function
9924 * lyxfunc.C: subsequent changes
9926 2002-08-13 Angus Leeming <leeming@lyx.org>
9929 * BufferView_pimpl.C:
9937 changes due to the changed LyXView interface that now returns references
9938 to member variables not pointers.
9940 2002-08-13 Angus Leeming <leeming@lyx.org>
9942 * WordLangTuple (word, lang_code): return references to strings,
9947 * lyxtext.h: forward-declare WordLangTuple.
9952 * text.C: #include "WordLangTuple.h".
9955 * text.C: (selectNextWordToSpellcheck): constify return type.
9957 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9963 * paragraph_pimpl.h:
9966 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9968 Made updateCounter always count from start of buffer, and removed
9969 second argument (par).
9970 Reverted floats number display to '#'. Perhaps I'll try again when the
9971 code base is sanitized a bit.
9973 2002-08-12 Angus Leeming <leeming@lyx.org>
9975 * buffer.[Ch] (getLabelList): constify.
9977 2002-08-07 André Pönitz <poenitz@gmx.net>
9979 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9981 * funcrequest.h: extension to keep mouse (x,y) position
9983 2002-08-12 Juergen Vigna <jug@sad.it>
9985 * BufferView2.C (insertErrors): forbid undo when inserting error
9988 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9990 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9992 * ParagraphList.[Ch]: new files
9994 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9996 * BufferView2.C (lockInset): ParagraphList changes
9999 * bufferlist.C: ditto
10003 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10005 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10006 unused class variable counter_,
10008 * paragraph.[Ch] (getFirstCounter): delete unused function
10010 * counters.C: include LAssert.h
10011 (reset): add a new function with no arg, change other version to
10012 not have def. arg and to not allow empty arg.
10014 * text2.C (setCounter): remove empty arg from call to Counters::reset
10016 2002-08-11 John Levon <levon@movementarian.org>
10018 * Makefile.am: add WordLangTuple.h
10020 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10022 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10023 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10025 * insets/insettext.C: InsetList changes
10027 * graphics/GraphicsSupport.C (operator()): InsetList changes
10029 * toc.C (getTocList): InsetList changes
10031 * paragraph_pimpl.[Ch]: InsetList changes
10033 * paragraph.[Ch]: InsetList changes
10035 * buffer.C (inset_iterator): InsetList changes
10036 (setParagraph): ditto
10037 * buffer.h (inset_iterator): ditto
10038 * iterators.C (operator++): ditto
10039 * iterators.h: ditto
10041 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10043 * InsetList.[Ch]: new files, most InsetList handling moved out of
10046 * BufferView2.C (removeAutoInsets): InsetList changes
10048 (ChangeInsets): ditto
10050 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10052 * paragraph_pimpl.h (empty): new function
10054 * paragraph.[Ch] (empty): new function
10056 * other files: use the new Paragraph::empty function
10058 2002-08-09 John Levon <levon@movementarian.org>
10060 * lyxtext.h: remove unused refresh_height
10062 2002-08-09 John Levon <levon@movementarian.org>
10069 * paragraph.C: move sgml char escaping out of paragraph
10072 * paragraph.C: remove id setter
10076 * paragraph_pimpl.C: remove dead tex_code_break_column
10078 * bufferview_funcs.C: small cleanup
10080 * lyxfunc.C: remove dead proto
10082 * lyxtext.h: make some stuff private. Remove some dead stuff.
10084 * lyxgluelength.C: make as[LyX]String() readable
10086 2002-08-08 John Levon <levon@movementarian.org>
10091 * ToolbarDefaults.C:
10094 * toc.C: lyxaction cleanup
10096 2002-08-08 John Levon <levon@movementarian.org>
10098 * BufferView2.C: small cleanup
10101 * lyxfind.C: move unnecessary header into the .C
10103 2002-08-08 John Levon <levon@movementarian.org>
10105 * funcrequest.h: just tedious nonsense
10108 * lyx_main.C: cleanups
10111 * vspace.C: remove dead header lyx_main.h
10113 2002-08-07 Angus Leeming <leeming@lyx.org>
10116 * paragraph_pimpl.h:
10117 Forward declare class Counters in paragraph.h by moving the ctrs member
10118 variable into Paragraph::Pimpl.
10119 (counters): new method, returning a reference to pimpl_->ctrs.
10121 * text2.C: ensuing changes.
10123 2002-08-07 John Levon <levon@movementarian.org>
10125 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10127 * BufferView_pimpl.C: announce X selection on double/triple
10130 * lyx_main.C: use correct bool in batch dispatch
10132 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10134 2002-08-07 André Pönitz <poenitz@gmx.net>
10136 * funcrequest.h: new class to wrap a kb_action and its argument
10139 * BufferView_pimpl[Ch]:
10143 * lyxrc.C: subsequent changes
10146 2002-08-07 John Levon <levon@movementarian.org>
10148 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10149 document options change.
10151 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10156 * makefile.am: move counters functionality over from
10157 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10159 2002-08-06 John Levon <levon@movementarian.org>
10161 * WordLangTuple.h: new file for word + language code tuple
10172 * BufferView2.C: use WordLangTuple
10175 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10177 2002-08-06 John Levon <levon@movementarian.org>
10179 * lyx_main.C: fix cmdline batch handling
10181 2002-08-06 André Pönitz <poenitz@gmx.net>
10183 * lyxrc.C: set default for show_banner to true
10185 2002-08-06 John Levon <levon@movementarian.org>
10187 * pspell.C: fix a crash, and allow new aspell to work
10189 2002-08-06 John Levon <levon@movementarian.org>
10192 * kbmap.C: small cleanup
10195 * vspace.C: add const
10197 2002-08-05 John Levon <levon@movementarian.org>
10199 * LyXAction.C: back to tabular-insert
10201 2002-08-04 John Levon <levon@movementarian.org>
10204 * BufferView.C: cosmetic change
10206 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10216 * BufferView2.C: purge all "Lyx" not "LyX" strings
10219 * lyxcursor.C: attempt to add some documentation
10224 * ToolbarDefaults.C:
10225 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10226 merge with LFUN_TABULAR_INSERT
10233 * pspell.C: split up i/pspell implementations into separate
10234 files, many cleanups
10236 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10238 * text2.C: some cleanup
10240 * lyxfunc.C: don't check for isp_command == "none" any more, it
10241 didn't make any sense
10243 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10248 * makefile.am: move counters functionality over
10249 from text2.C/paragraph.[Ch] to counters.[Ch], and
10251 2002-08-02 John Levon <levon@movementarian.org>
10253 * buffer.C: s/lyxconvert/lyx2lyx/
10255 2002-08-02 Angus Leeming <leeming@lyx.org>
10257 * lyxlex.C: revert John's change as it breaks reading of the user
10260 2002-08-02 Angus Leeming <leeming@lyx.org>
10262 * importer.C (Import):
10263 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10264 changes due to LyXView::view() now returning a boost::shared_ptr.
10266 2002-08-02 John Levon <levon@movementarian.org>
10268 * lyxlex.C: small cleanup
10270 2002-08-02 John Levon <levon@movementarian.org>
10272 * text2.C (status): small cleanup, no logic change
10274 2002-08-01 John Levon <levon@movementarian.org>
10277 * buffer.C (writeFile): don't output alerts, caller
10281 * lyx_cb.C: from above
10283 * lyxfunc.C: allow to open non-existent files
10285 2002-07-31 John Levon <levon@movementarian.org>
10287 * lyxserver.C: don't let incidental errors get
10290 2002-07-30 John Levon <levon@movementarian.org>
10292 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10294 2002-07-30 John Levon <levon@movementarian.org>
10297 * lyxserver.C: remove I/O callback too
10299 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10301 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10304 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10306 * many files: strip,frontStrip -> trim,ltrim,rtrim
10308 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10310 * PrinterParams.h: remove extern containsOnly, and include
10311 support/lstrings.h instead.
10313 * LaTeX.C (scanAuxFile): modify because of strip changes
10315 * buffer.C (makeLaTeXFile): ditto
10316 * bufferparams.C (writeFile): ditt
10317 * lyxfont.C (stateText): ditto
10318 * lyxserver.C (read_ready): ditto
10319 * vc-backend.C (scanMaster): ditto
10321 * BufferView_pimpl.h: ws changes
10323 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10325 2002-07-26 André Pönitz <poenitz@gmx.net>
10327 * kb_sequence.C: remove unnedred usings
10329 2002-07-26 Juergen Vigna <jug@sad.it>
10331 * lyxfind.C (LyXReplace): we have to check better if the returned
10332 text is not of theLockingInset()->getLockingInset().
10334 2002-07-25 Juergen Vigna <jug@sad.it>
10336 * lyxfind.C (LyXReplace): don't replace if we don't get the
10339 * undo_funcs.C (createUndo): remove debugging code.
10341 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10343 * buffer.C (parseSingleLyXformat2Token): Use default placement
10344 when reading old floats.
10346 * FloatList.C (FloatList): Change the default placement of figure
10347 and tables to "tbp".
10349 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10351 * MenuBackend.C: using std::max
10353 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10355 * MenuBackend.C (expandToc):
10356 (expandToc2): code moved from xforms menu frontend. It is now
10357 generic and TOCs are transparent to menu frontends.
10359 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10361 * toc.C (getTocList): protect against buf=0
10363 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10364 Menu as first parameter. Now, this calls itself recursively to
10365 expand a whole tree (this will be useful for TOC handling)
10366 (expandFloatInsert): remove 'wide' version of floats
10368 * MenuBackend.h (submenuname): returns the name of the submenu.
10369 (submenu): returns the submenu itself, provided it has been
10370 created by MenuBackend::expand
10372 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10374 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10375 insets which have noFontChange == true. (bug #172)
10377 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10379 * BufferView_pimpl.C: add connection objects and use them...
10382 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10384 * MenuBackend.C (expandLastfiles):
10387 (expandFloatListInsert):
10388 (expandFloatInsert):
10389 (expand): split expand in parts
10391 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10393 * lyx_gui.C: use lyx_gui::exit()
10395 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10397 * LyXAction.C: show the failing pseudo action
10399 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10401 * buffer.C (readFile): Run the lyxconvert script in order to read
10404 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10408 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10410 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10414 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10416 2002-07-22 Herbert Voss <voss@lyx.org>
10419 * lyxlength.[Ch]: add support for the vertical lengths
10421 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10423 * toc.[Ch]: std:: fixes
10425 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10427 * lyxrc.C: do not include lyx_main.h
10429 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10435 * BufferView2.C: include "lyxlex.h"
10438 * bufferparams.h: do not #include "lyxlex.h"
10440 * lyxtextclasslist.C (Add): remove method
10441 (classlist): renamed to classlist_
10443 * paragraph_pimpl.C:
10447 * bufferview_funcs.C:
10452 * toc.C (getTocList): use BufferParams::getLyXTextClass
10454 * toc.C (getTocList): use InsetFloat::addToToc
10456 * toc.[Ch]: new files, containing helper functions to handle table
10459 * lyxfunc.C (dispatch): no need to remove spaces around command
10461 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10462 first command of the sequence; it is not very clever, but I do not
10463 have a better idea, actually
10465 * LyXAction.C (LookupFunc): make sure to remove space at the
10466 beginning and end of the command
10468 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10470 * MenuBackend.C (getMenubar): new method: return the menubar of
10472 (read): treat differently reading of menu and menubar (in
10473 particular, the menubar has no name now)
10474 (Menu::menubar): remove
10476 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10479 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10481 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10482 a bibitem inset in a RTL paragraph.
10484 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10486 * paragraph_pimpl.C: constify
10488 * BufferView_pimpl.C:
10490 * lyxfunc.C: fix dispatch in a nicer way
10492 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10494 * lyxfunc.C (dispatch):
10495 * BufferView_pimpl.C:
10496 * BufferView_pimpl.h:
10498 * BufferView.h: rename Dispatch() to dispatch()
10500 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10502 * lyxlayout.C (Read): honor DependsOn tag
10504 * lyxlayout.[Ch] (depends_on): new method
10506 * version.C.in: update lyx_docversion
10508 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10510 * paragraph.C (validate): remove from here...
10511 * paragraph_pimpl.C (validate): ... and move here
10512 (isTextAt): make it const
10514 * buffer.C (getLists): ws cleanup
10516 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10518 * language.C (read): Use iso8859-1 encoding in latex_lang
10519 (this prevents LyX from crashing when using iso10646-1 encoding).
10521 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10523 * text2.C (toggleInset): if cursor is inside an inset, close the
10524 inset and leave cursor _after_ it
10526 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10528 * lyxfunc.C: move minibuffer completion handling out of here
10530 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10532 * BufferView_pimpl.C:
10533 * LaTeX.C: fix dispatch calls
10535 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10537 * text.C (drawChars): Fix Arabic text rendering.
10539 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10543 * lyxfunc.C: remove message-push/pop
10547 * lyxfunc.C: rationalise some code by removing verboseDispatch
10548 in favour of a bool argument to dispatch()
10550 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10552 * lyx_main.C (init): make sure to read symlinks as absolute paths
10554 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10557 * lyxfunc.C: no need for commandshortcut to be a member
10559 2002-07-15 André Pönitz <poenitz@gmx.net>
10561 * converter.C: add support for $$s (scripts from lib/scripts dir)
10562 * lyx_main.C: white space
10564 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10568 * lyxrc.C: remove second exit confirmation
10570 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10575 * BufferView_pimpl.h:
10576 * BufferView_pimpl.C:
10577 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10579 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10581 * MenuBackend.C (expand): add numeric shortcuts to document menu
10583 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10585 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10587 * lyxfont.C (setLyXFamily):
10594 * buffer.C (asciiParagraph): use ascii_lowercase
10596 2002-07-15 Mike Fabian <mfabian@suse.de>
10598 * lyxlex_pimpl.C (search_kw):
10599 * lyxlex.C (getLongString):
10600 * converter.h (operator<):
10601 * converter.C (operator<):
10602 * buffer.C (parseSingleLyXformat2Token):
10604 * ToolbarDefaults.C (read):
10605 * MenuBackend.C (checkShortcuts):
10607 * LColor.C (getFromGUIName):
10608 (getFromLyXName): use the compare_ascii_no_case instead of
10609 compare_no_case, because in turkish, 'i' is not the lowercase
10610 version of 'I', and thus turkish locale breaks parsing of tags.
10612 2002-07-16 Angus Leeming <leeming@lyx.org>
10614 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10615 now takes a Buffer const & argument.
10617 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10619 * BufferView.C (resize): check there's a buffer to resize
10621 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10623 * lyxfunc.C: remove dead code
10626 * lyxserver.C: use lyx_guii::set_read_callback
10628 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10630 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10631 an inset in a RTL paragraph.
10633 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10635 * lyxfunc.C: repaint after a font size update
10637 2002-07-15 André Pönitz <poenitz@gmx.net>
10639 * lyxlength.C: inBP should be able to return negative values
10641 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10643 * lyxfunc.C: use lyx_gui::update_fonts()
10645 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10647 * lyxfunc.C: use lyx_gui::update_color()
10649 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10655 * lyxrc.C: remove file->new asks for name option, and let
10656 buffer-new take an argument
10658 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10660 * BufferView_pimpl.C: remove unneeded extra repaint()
10662 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10664 * LyXAction.C: allow command-sequence with NoBuffer
10666 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10668 2002-07-10 Angus Leeming <leeming@lyx.org>
10670 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10672 2002-07-09 Angus Leeming <leeming@lyx.org>
10674 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10676 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10678 * lengthcommon.h: whitespace
10680 * lyxfunc.C: update scrollbar after goto paragraph
10682 * lyxtext.h: factor out page break drawing, and fix it so
10683 page break/added space paints as selected nicely
10685 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10687 * BufferView_pimpl.C: add FIXMEs, clean up a little
10689 2002-07-09 André Pönitz <poenitz@gmx.net>
10691 * lyxfont.[Ch]: support for wasy symbols
10693 2002-07-08 André Pönitz <poenitz@gmx.net>
10695 * BufferView_pimpl.C: apply John's patch for #93.
10697 2002-07-05 Angus Leeming <leeming@lyx.org>
10699 * BufferView_pimpl.C (buffer): generate previews if desired.
10701 * LColor.h: add "preview" to the color enum.
10703 * LColor.C (LColor): add a corresponding entry to the items array.
10705 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10708 2002-07-05 Angus Leeming <leeming@lyx.org>
10710 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10711 The body of the code is now in the method that is passed an ostream &
10712 rather than a file name.
10713 Pass an additional only_preamble parameter, useful for the forthcoming
10716 2002-07-03 André Pönitz <poenitz@gmx.net>
10718 * lyxfunc.C: simplify getStatus() a bit for math stuff
10720 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10722 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10724 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10726 * text.C (changeRegionCase): do not change case of all the
10727 document when region ends at paragraph end (bug #461)
10729 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10731 * paragraph.C (startTeXParParams):
10732 (endTeXParParams): add \protect when necessary
10734 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10736 * BufferView_pimpl.C (workAreaExpose): remove warning
10738 2002-06-27 Angus Leeming <leeming@lyx.org>
10740 * Makefile.am: add lyxlayout_ptr_fwd.h.
10742 2002-06-26 André Pönitz <poenitz@gmx.net>
10744 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10746 2002-06-25 Angus Leeming <leeming@lyx.org>
10748 * lyxfunc.C (dispatch): Comment out the call to
10749 grfx::GCache::changeDisplay. The method no longer exists now that the
10750 pixmap generation part of the graphics loader has been moved into
10753 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10755 * text2.C: layout as layout
10757 * text.C: layout as layout
10759 * tabular.C (OldFormatRead): layout as layout
10761 * paragraph_pimpl.C (TeXDeeper): layout as layout
10762 (realizeFont): layout as layout
10764 * paragraph.C (writeFile): layout as layout
10765 (validate): layout as layout
10766 (getFont): layout as layout
10767 (getLabelFont): layout as layout
10768 (getLayoutFont): layout as layout
10769 (breakParagraph): layout as layout
10770 (stripLeadingSpaces): layout as layout
10771 (getEndLabel): layout as layout
10772 (getMaxDepthAfter): layout as layout
10773 (applyLayout): layout as layout
10774 (TeXOnePar): layout as layout
10775 (simpleTeXOnePar): layout as layout
10776 (TeXEnvironment): layout as layout
10777 (layout): layout as layout
10778 (layout): layout as layout
10780 * lyxtextclass.C (compare_name): new functor to work with
10781 shared_ptr, layout as layout
10782 (Read): layout as layout
10783 (hasLayout): layout as layout
10784 (operator): layout as layout
10785 (delete_layout): layout as layout
10786 (defaultLayout): layout as layout
10788 * lyxlayout_ptr_fwd.h: new file
10790 * lyxlayout.C (Read): layout as layout
10792 * lyx_cb.C (MenuInsertLabel): layout as layout
10794 * bufferlist.C (newFile): layout as layout
10796 * buffer.C (readLyXformat2): layout as layout
10797 (parseSingleLyXformat2Token): layout as layout
10798 (insertStringAsLines): layout as layout
10799 (asciiParagraph): layout as layout
10800 (latexParagraphs): layout as layout
10801 (makeLinuxDocFile): layout as layout
10802 (simpleLinuxDocOnePar): layout as layout
10803 (makeDocBookFile): layout as layout
10804 (simpleDocBookOnePar): layout as layout
10805 (getLists): layout as layout
10807 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10809 * CutAndPaste.C (cutSelection): layout as layout
10810 (pasteSelection): layout as layout
10811 (SwitchLayoutsBetweenClasses): layout as layout
10813 * BufferView_pimpl.C (Dispatch): layout as layout
10814 (smartQuote): layout as layout
10816 * BufferView2.C (unlockInset): layout as layout
10818 2002-06-24 André Pönitz <poenitz@gmx.net>
10820 * lyxfunc.C: fix #487
10822 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10826 * lyxfunc.C: remove display_shortcuts, show_banner
10828 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10830 * Buffer_pimpl.C: oops, update on resize
10832 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10839 * BufferView.C: use repaint()
10841 * BufferView_pimpl.h:
10842 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10843 as it's a clearer description. Remove superfluous
10846 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10848 * text.C: fix bug 488. Not ideal, but getting
10849 getWord() to work properly for the insets that
10850 matter is more difficult ...
10852 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10854 * BufferView_pimpl.C:
10857 * lyxfunc.C: remove the six million index lyxfuncs to just
10858 one, and DTRT (bug 458)
10860 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10864 * BufferView_pimpl.h:
10865 * BufferView_pimpl.C: clean up resize() stuff,
10866 and unnecessary updateScreen()s
10868 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10872 * BufferView_pimpl.h:
10873 * BufferView_pimpl.C:
10876 * minibuffer.C: remove focus management of workarea,
10877 not needed. Use screen's greyOut()
10879 2002-06-17 Herbert Voss <voss@lyx.org>
10881 * converter.C: (convert) do not post a message, when converting
10882 fails, let the calling function decide what to do in this case
10884 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10886 * lyxfunc.C: tidy up a little
10888 2002-06-16 <alstrup@diku.dk>
10890 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10891 Got rid of FORMS_H_LOCATION include. Now we are
10894 2002-06-15 LyX Development team <lyx@rilke>
10896 * buffer.[Ch] (sgmlOpenTag):
10897 (sgmlCloseTag): Added support for avoiding pernicious mixed
10898 content. Return number of lines written.
10900 (makeLinuxDocFile):
10901 (makeDocBookFile): Fixed calls to sgml*Tag.
10902 Simple white space clean.
10904 (simpleDocBookOnePar): Simple white space clean.
10906 * tabular.[Ch] (docBook): Renamed to docbook and got another
10907 argument to related with the pernicious mixed content.
10909 (docbookRow): Fixed calls for docbook inset method.
10911 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10913 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10914 so it's X11 independent.
10918 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10920 2002-06-15 Lyx Development team <lyx@electronia>
10922 * intl.h: Renamed getTrans to getTransManager.
10924 2002-06-14 Angus Leeming <leeming@lyx.org>
10926 * Makefile.am: nuke forgotten stl_string_fwd.h.
10928 2002-06-12 Angus Leeming <leeming@lyx.org>
10930 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10932 2002-06-13 Angus Leeming <leeming@lyx.org>
10935 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10937 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10939 * kbmap.C (getiso): add support for cyrillic and greek
10941 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10945 * BufferView_pimpl.h:
10946 * BufferView_pimpl.C: move bogus scrolling logic
10949 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10952 * BufferView_pimpl.C: view->resize() change
10954 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10956 * BufferView_pimpl.C: topCursorVisible
10959 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10963 * lyx_gui.C: move to frontends/
10967 * lyx_main.C: changes from above
10969 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10976 * lyx_main.C: minor tidy
10978 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10980 * BufferView_pimpl.h:
10981 * BufferView_pimpl.C:
10983 * BufferView.C: make painter() const,
10986 * BufferView2.C: use screen() accessor
10989 * lyx_main.C: some minor cleanup
10991 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10993 * BufferView_pimpl.h:
10994 * BufferView_pimpl.C: remove enter/leaveView,
10997 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11002 * BufferView_pimpl.h:
11003 * BufferView_pimpl.C: only construct screen once,
11006 * lyxrc.C: remove pointless comment
11008 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11011 * BufferView.C: remove active() and belowMouse()
11013 * BufferView_pimpl.h:
11014 * BufferView_pimpl.C: use workarea() not workarea_,
11015 and make it use a scoped_ptr instead
11017 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11019 * lyx_gui.C: add debug message on BadWindow
11021 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11023 * sp_spell.C: fdopen is not part of the C++ standard.
11025 * paragraph.C (InsetIterator): use >= instead of ==
11027 2002-06-07 Angus Leeming <leeming@lyx.org>
11029 Fixes needed to compile with Compaq cxx 6.5.
11030 * BufferView_pimpl.C:
11037 * lyxtextclasslist.C:
11042 all c-library variables have been moved into namespace std. Wrap
11043 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11048 Add a using std::abs declaration.
11050 * kbmap.h (modifier_pair):
11051 * paragraph.h (InsetTable, InsetList):
11052 * lyxfont.h (FontBits):
11053 type definition made public.
11055 * bufferlist.C (emergencyWriteAll): the compiler complains that
11056 there is more than one possible lyx::class_fun template to choose from.
11057 I re-named the void specialisation as lyx::void_class_fun.
11059 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11061 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11062 the compiler is is unable to find tostr in write_attribute.
11064 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11066 * buffer.C (sgmlError): hide #warning
11068 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11070 * xtl/*: get rid of xtl, which is not in use anyway
11072 * LyXAction.C (init):
11073 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11074 were unimplemented xtl experimentation
11076 2002-06-04 André Pönitz <poenitz@gmx.net>
11078 * lyxfunc.C: disable array operation on simple formulae
11080 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11082 * converter.C: constify a bit
11084 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11086 * lyx_gui.C: check xforms version correctly
11088 2002-04-30 Herbert Voss <voss@lyx.org>
11090 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11093 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11095 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11096 attempt to register it with a VCS)
11098 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11100 * lyx_main.C (init): honor variables LYX_DIR_13x and
11103 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11107 * lyx_main.C: fix a crash on bad command line,
11108 and give a useful exit status on error
11110 * lyxfunc.C (doImport): allow -i lyx to work
11112 2002-03-30 André Pönitz <poenitz@gmx.net>
11114 * lyxfunc.C: mathed font changes
11116 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11131 * trans_mgr.h: srcdocs, and some minor cleanups
11133 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11135 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11136 call getFont all the time)
11138 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11140 * switch from SigC signals to boost::signals
11142 2002-05-29 André Pönitz <poenitz@gmx.net>
11144 * paragraph_pimpl.C (getChar): don't call size() too often...
11146 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11148 * paragraph_pimpl.C (insertChar): do not try to update tables when
11149 appending (pos == size())
11151 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11152 in order to reduce drastically the number of comparisons needed to
11153 parse a large document
11155 2002-05-29 André Pönitz <poenitz@gmx.net>
11161 * textclasslist.[Ch]:
11162 * sp_ispell.h: whitespace change
11164 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11166 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11167 lyxaction directly now.
11169 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11173 * lyxvc.C: remove unused headers
11175 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11182 * undo_funcs.C: some cleanups. Use shared_ptr
11183 and a template for the undo stacks.
11185 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11187 * BufferView_pimpl.h:
11188 * BufferView_pimpl.C:
11195 * text2.C: use key_state/mouse_state
11197 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11199 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11202 * chset.C: change include order
11203 (loadFile): use boost regex and get rid of LRegex and LSubstring
11205 * Makefile.am (BOOST_LIBS): new variable
11206 (lyx_LDADD): use it
11208 * LaTeX.C: change include order.
11209 (scanAuxFile): use boost regex and get rid of LRegex and
11213 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11218 * FontInfo.C: moved to frontends/xforms/
11221 * FontLoader.C: moved into frontends for GUIIzation
11226 * lyxfunc.C: changes from above
11228 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11230 * LColor.C: remove spurious X include
11232 * BufferView_pimpl.C:
11237 * text2.C: move font metrics to frontends/
11239 2002-05-24 Juergen Vigna <jug@sad.it>
11241 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11242 setting the undo_cursor.
11244 * ParagraphParameters.h: include local includes first.
11246 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11248 * BufferView_pimpl.C:
11249 * BufferView_pimpl.h:
11253 * screen.C: move WorkArea into frontends/
11259 * BufferView2.C: move LyXScreen into frontends/
11263 * lyx_gui.C: move lyxlookup into frontends/xforms/
11265 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11268 * BufferView_pimpl.C:
11278 * bufferview_funcs.C:
11291 * vc-backend.C: move LyX/XFormsView into frontends/
11293 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11305 * text2.C: move Painter to frontends/
11307 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11309 * buffer.C: comment out some some code that depend upon lyx_format
11312 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11313 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11315 * buffer.h (NO_COMPABILITY): turn off compability
11317 * ColorHandler.C: include scoped_array.hpp
11319 * font.C: Use more specific smart_ptr header.
11322 * ShareContainer.h: ditto
11323 * lyx_main.h: ditto
11325 * FontInfo.h: ditto
11326 * BufferView_pimpl.h: ditto
11327 * ColorHandler.h: ditto
11329 * kbmap.C (defkey): change call to shared_ptr::reset
11331 2002-05-21 Juergen Vigna <jug@sad.it>
11333 * buffer.C (insertErtContents): fix to insert ert asis if it is
11334 non empty. Skip it completely if it contains only whitespaces.
11336 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11338 * BufferView_pimpl.C:
11339 * BufferView2.C: clear selection on paste (bug 393)
11341 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11343 * DepTable.C: include ctime
11345 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11347 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11349 2002-05-14 Juergen Vigna <jug@sad.it>
11351 * text.C (breakParagraph): fixed function to honor the keepempty
11352 layout in the right maner and also to permit the right breaking
11353 algorithm on empty or non empyt keepempty paragraphs.
11355 * paragraph.C (breakParagraph): we have to check also if the par
11356 is really empty (!size()) for isempty otherwise we do the wrong
11359 2002-05-10 Juergen Vigna <jug@sad.it>
11361 * buffer.[Ch] : The following are only changes to the ert
11362 compatibility read reading old LaTeX layout and font stuff and
11363 convert it to ERTInsets.
11365 * buffer.h: added isErtInset().
11367 * buffer.C (struct ErtComp): add a fromlayout bool to check
11368 if we're inside a LaTeX layout.
11369 (isErtInset): new helper function.
11370 (insertErtContents): look for other ert insets before this one
11371 and insert the contents there, so that we don't have subsequent
11372 ERT insets with nothing between them. This way we create only one
11373 inset with multiple paragraphs. Also check if we don't insert only
11374 spaces ' ' as they are ignored anyway afterwards in the .tex file
11375 so if we have only spaces we will ignore this latex part in the
11377 (parseSingleLyXformat2Token \\layout): better compatibility when
11378 reading layout-latex stuff.
11379 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11381 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11382 stuff after reading the inset only get the information back from
11385 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11387 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11389 * LaTeXFeatures.C (getBabelOptions): New method.
11391 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11393 * BufferView_pimpl.C (Dispatch): work around missing argument for
11396 2002-05-08 Juergen Vigna <jug@sad.it>
11398 * text.C (leftMargin): handle paragraph leftindent.
11400 * paragraph.C (writeFile): write the new \\leftindent tag.
11401 (validate): handle leftindent code.
11402 (TeXEnvironment): handle paragraphleftindent code again.
11404 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11406 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11407 for paragrap_extra indent code and new token \\leftindent.
11408 (latexParagraphs): handle the leftindent as environment.
11410 * ParameterStruct.h: added leftindent support.
11412 * ParagraphParameters.C (leftIndent): added support functions for
11413 the paragraph left indent.
11415 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11418 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11420 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11423 * text.C (computeBidiTables): No bidi in insetERT.
11425 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11428 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11430 * version.C.in: pre 5
11432 2002-05-02 José Matos <jamatos@fep.up.pt>
11433 * buffer.C (makeDocBookFile): white space changes, add newline to
11435 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11437 * tabular.C (docBook): fix typo.
11439 2002-05-03 Juergen Vigna <jug@sad.it>
11441 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11442 change in LyXText as we can not be sure it was not freed.
11443 (drawOneRow): remove unused code.
11445 * text.C (drawInset): redo the calculation of the need_break_row as
11446 it could have a row which was already freed.
11447 (draw): look at the return value of drawInset and return false if
11448 it also returned false.
11449 (paintRowText): look at the return value of draw and return false if
11450 it also returned false.
11452 * lyxtext.h: added bool return type to drawInset() and draw() so that
11453 if we have a change in the row so that the rowbreak has to be redone
11454 we abort drawing as it will be called again.
11456 2002-05-02 Juergen Vigna <jug@sad.it>
11458 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11459 a change in the maintext also if we're inside an inset.
11460 (Dispatch): set the cursor again after a break line and after the
11461 screen has been updated as it could be we're in a different row.
11463 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11464 to set the cursor behind the pargraph with > size().
11465 (setCursor): check also for the same paragraph when checking where
11466 to put the cursor if we have a NFR inset.
11468 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11469 parts of layout read further up as it still was in the wrong
11472 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11474 * screen.C (drawFromTo): change sine fullRebreak always return
11477 * buffer.C (parseSingleLyXformat2Token): reindent some
11479 * BufferView_pimpl.C (update): change since fullRebreak always
11481 (Dispatch): git rid of the last hardcoded "Standard"s.
11483 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11485 * text2.[Ch] (fullRebreak): make it return void now that we always
11488 2002-04-30 Juergen Vigna <jug@sad.it>
11490 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11491 ert compatibility check for "latex" layout.
11493 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11495 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11496 minipages: use col% instead of p%, and also use the current font.
11497 (makeLaTeXFile): Fix use babel condition.
11498 (parseSingleLyXformat2Token): Correct font when reading old floats.
11500 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11502 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11503 inserting list of floats.
11505 2002-04-25 Herbert Voss <voss@lyx.org>
11507 * MenuBackend.C (expand): don't add the graphics extensions to the
11510 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11512 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11513 non-existing layout, do not complain if it was the default layout
11514 of the original class (bug #342)
11516 2002-04-24 Juergen Vigna <jug@sad.it>
11518 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11519 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11521 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11523 * buffer.C (getBibkeyList): If using \bibliography, return the
11524 option field with the reference itself. Enables us to provide natbib
11525 support when using \bibliography.
11527 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11529 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11531 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11532 natbib is provided by the LaTeX class.
11534 2002-04-23 Juergen Vigna <jug@sad.it>
11536 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11539 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11541 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11543 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11545 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11546 ensuremath around textordmasculine, textordfeminine and
11549 2002-04-19 Juergen Vigna <jug@sad.it>
11551 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11552 reinitializing the buffer otherwise row-dimensions may be wrong.
11553 (update): reset also the selection cursors if they do exits otherwise
11554 their x/y positions may be wrong.
11556 * text2.C (cursorDown): don't enter the inset if we came from a row
11557 above and are one row over the inset.
11559 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11560 really leaving an inset.
11562 2002-04-18 Juergen Vigna <jug@sad.it>
11564 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11565 of the selected paragraph does not have the selected layout also if
11568 * text2.C (setLayout): fixed bug which did not change last selected
11571 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11572 changed the read and substituted \\end_float with \\end_inset!
11574 * BufferView_pimpl.C (cursorPrevious):
11575 (cursorNext): fixed to make it work with rows heigher than the work
11576 area without moving the cursor only the draw of the row.
11577 (workAreaMotionNotify): fix jumping over high rows.
11579 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11581 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11584 2002-04-16 Juergen Vigna <jug@sad.it>
11586 * text2.C (setCursor): set also the irow().
11587 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11589 (cursorDown): support for locking an inset if the x_fix value goes
11590 inside it. That way I can transverse insets too with cursor up/down.
11592 * lyxrow.h: added irow helper function same as other (i) functions.
11594 * BufferView_pimpl.C (cursorPrevious):
11595 (cursorNext): fixed for insets!
11597 2002-04-15 Juergen Vigna <jug@sad.it>
11599 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11600 position otherwise it is wrong in some cases.
11602 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11603 inside the inset before the call.
11605 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11607 * buffer.[Ch] (getBibkeyList): make it const.
11609 2002-04-12 Juergen Vigna <jug@sad.it>
11611 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11613 * text2.C (getCursorX): new helper function
11614 (setCursor): compute also ix_
11615 (setCursorFromCoordinates): set also ix.
11617 * lyxcursor.h: added ix_ and helper functions.
11619 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11621 * buffer.C (insertStringAsLines): dont break paragraph if the this
11622 paragraph is inside an inset which does not permit it!
11624 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11625 also with no chars on this paragraph.
11626 (paintRowText): only paint stuff if it's inside the workarea!
11628 * paragraph.C (breakParagraph): honor keepempty flag and break the
11629 paragraph always below not above.
11631 * BufferView2.C (unlockInset): update the paragraph layout on inset
11632 unlock as we changed paragraph in such a case.
11634 * lyxfind.C (LyXFind): clear the former selection if not found!
11636 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11637 again called in insertChar().
11639 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11640 an inset which uses the whole row!
11641 (rightMargin): ditto.
11642 (insertChar): force a rebreak if we inserted an inset!
11644 2002-03-28 Herbert Voss <voss@lyx.org>
11646 * lyxlength.[Ch]: add inBP() to get the right PS-point
11647 units (BigPoint). With inPixels we have rounding errors
11649 2002-04-11 Juergen Vigna <jug@sad.it>
11651 * text2.C (setCursorFromCoordinates): set iy to the right value.
11652 (setCursor): add check if row->previous exists!
11654 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11655 an old float_type as this was the case in the old code!
11657 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11659 * BufferView2.C (showLockedInsetCursor): use iy
11660 (fitLockedInsetCursor): ditto
11662 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11663 locked insets as there we have the right value now.
11665 * lyxcursor.C: added iy_ variable and iy functions to set to the
11666 baseline of cursor-y of the locked inset.
11668 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11669 (setCursor): fixed for insets which need a full row.
11671 * text.C (rowLastPrintable): don't ignore the last space when before
11672 an inset which needs a full row.
11673 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11674 as last character of a row when before a inset which needs a full row.
11676 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11678 * version.C.in: update date
11680 * text2.C (fullRebreak): try to always return true and see what
11683 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11685 * MenuBackend.C (expand): use Floating::listName
11687 * FloatList.C (FloatList): add listName argument to the built-in
11690 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11691 text associated with the float.
11693 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11695 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11697 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11699 * ShareContainer.h: add a couple of missing typenames.
11701 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11703 * lyxrc.C (getDescription): use _() correctly rather than N_().
11705 2002-03-28 Herbert Voss <voss@lyx.org>
11707 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11708 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11710 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11712 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11713 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11715 2002-03-29 Juergen Vigna <jug@sad.it>
11717 * lyxfunc.C (dispatch): add a missing fitCursor call.
11719 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11720 it was scrolled by a cursor move, so return the bool status.
11722 * BufferView.C (fitCursor): return the bool flag also to the outside
11723 world as this is needed.
11725 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11727 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11728 call the edit() as it is not needed (and wrong) IMO.
11729 (workAreaButtonPress): set the screen_first variable before evt.
11730 unlock the inset as this may change screen_first and then we have
11731 a wrong y position for the click!
11733 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11735 * MenuBackend.C (expand): another translation that I missed
11737 2002-03-28 Juergen Vigna <jug@sad.it>
11739 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11741 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11743 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11745 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11747 * MenuBackend.C (expand): fix export/view/update when there is no
11750 2002-03-27 Herbert Voss <voss@lyx.org>
11752 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11755 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11757 * bufferview_funcs.C (currentState): only show paragraph number
11758 for is DEVEL_VERSION is set.
11760 * lyxfunc.C (dispatch): put warning in INFO channel
11762 * MenuBackend.C (expand): translate the name of floats
11764 * FloatList.C (FloatList): mark the float names for translation
11766 * converter.C (convert): use LibScriptSearch
11768 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11770 * MenuBackend.C (defaults): fix default menu (we might as well get
11773 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11775 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11778 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11780 * lyxvc.C: reorder includes.
11782 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11784 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11787 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11789 * CutAndPaste.C: change layouts earlier on paste
11790 to avoid crashing when calling getFont()
11792 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11794 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11797 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11799 * WorkArea.C: remove 'Pending' debug message.
11801 * most files: ws cleanup
11803 * buffer.[Ch]: ws changes
11805 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11807 2002-03-21 Juergen Vigna <jug@sad.it>
11809 * tabular.C (SetMultiColumn): collapse also the contents of the
11810 cells and set the last border right. Added a Buffer const * param.
11812 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11814 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11817 2002-03-19 Juergen Vigna <jug@sad.it>
11819 * text2.C (clearSelection): reset also xsel_cache.
11821 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11822 where it needs to be called (John tells us to do so too :)
11823 (selectionLost): reset sel_cache.
11825 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11827 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11829 * text2.C (setCursorIntern): put debuging code in INSETS channel
11831 2002-03-19 André Pönitz <poenitz@gmx.net>
11833 * lyxfunc.C: tiny whitespace change
11835 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11837 * ToolbarDefaults.C (init):
11838 * LyXAction.C (init):
11840 * BufferView_pimpl.C (Dispatch):
11841 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11843 2002-03-19 Allan Rae <rae@lyx.org>
11845 * exporter.C (Export): removeAutoInsets before doing anything else.
11846 While I've just introduced a dependency on BufferView this really is
11847 the best place to clean the buffer otherwise you need to cleanup in
11848 a dozen places before calling export or cleanup in a dozen functions
11851 * converter.C (runLaTeX):
11852 (scanLog): Better handling of removeAutoInsets and screen updates.
11854 * lyxfunc.C (dispatch): small whitespace changes
11856 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11858 * WorkArea.C (C_WorkAreaEvent): return a value.
11859 (event_cb): return 1 if we handled the event, 0 otherwise.
11861 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11863 2002-03-18 Juergen Vigna <jug@sad.it>
11865 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11866 (GetAdditionalWidth): ditto.
11867 (RightLine): ditto.
11870 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11871 inset if we're there actually (probably not used right now but this
11872 is the direction to go for unifying code).
11873 (paste): disable code to clear the selection.
11875 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11876 inside an InsetText and move the check further up as it is in the
11879 * text2.C (pasteSelection): set a selection over the pasted text.
11881 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11883 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11884 and libgraphics to build on Cygwin.
11886 2002-03-15 Juergen Vigna <jug@sad.it>
11888 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11889 inserting an Inset into the paragraph. I know this is not the best
11890 fix but we already use current_view in CutAndPaste so we will remove
11891 all of it's using at the same time.
11893 * buffer.C (sgmlError): deactivated function till it is rewritten in
11894 the right mode, now it can create problems.
11896 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11897 before accessing it.
11899 2002-03-14 Juergen Vigna <jug@sad.it>
11901 * undo_funcs.C (textHandleUndo): do the right thing when updating
11902 the inset after the undo/redo.
11904 * text2.C (setCursor): just some testcode for #44 not ready yet.
11906 * undo_funcs.C (textHandleUndo): set the next() and previous()
11907 pointers of the paragraph to 0 before deleting otherwise we have
11908 problems with the Paragraph::[destructor].
11910 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11911 on a paragraph insertion.
11913 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11915 * buffer.C (asciiParagraph): use += operator for char append to
11918 * paragraph.C (getFontSettings): compare >= not just >
11919 (highestFontInRange): ditto
11922 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11924 * paragraph.C: change several algorithm to be more appripriate for
11925 the problem domain. This is lookip in FontList and in the InsetList.
11927 2002-03-13 André Pönitz <poenitz@gmx.net>
11930 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11932 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11937 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11939 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11941 * Painter.C (display): anon helper function, adjust code for this
11943 (pixmap): remove function.
11945 * Painter.h: remove private display variable.
11947 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11949 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11951 * WorkArea.[Ch]: remove figinset_canvas cruft.
11953 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11955 * lyxtextclass.C (operator): add one item cache optimization.
11957 * bufferlist.h: doxy changes
11959 * bufferlist.C: ws changes
11961 * DepTable.[Ch] (ext_exist): place const in the right spot.
11963 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11965 (workAreaExpose): call resizeInsets when the with BufferView changes.
11966 (Dispatch): adjust for protectedBlank removal
11967 (specialChar): call updateInset if the insert went ok.
11969 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11970 specialChar instead.
11972 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11974 * BufferView.h: doxy change
11976 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11978 * lyxtextclass.C (operator[]): remove non-const version
11979 (defaultLayout): remove non-const version
11981 2002-03-12 Juergen Vigna <jug@sad.it>
11983 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11984 did resize the LyXText too.
11986 * buffer.C (readLyXformat2): set layout information on newly allocated
11989 * tabular.C (OldFormatRead): set layout information on the paragraph.
11991 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11993 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11995 2002-03-11 Juergen Vigna <jug@sad.it>
11997 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11999 (resizeCurrentBuffer): force also the insets to resize themselfes.
12000 (moveCursorUpdate): fixed up for InsetText.
12002 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12005 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12006 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12007 value of Dialogs::tooltipsEnabled().
12008 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12010 2002-03-08 Juergen Vigna <jug@sad.it>
12012 * BufferView_pimpl.C (updateInset): update inset inside inset also
12013 if it isn't inside theLockingInset().
12015 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12017 * buffer.C (asciiParagraph): redo some of the word and line length
12019 (getLists): look for Caption instead of caption.
12021 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12023 * buffer.C (Buffer): initialize niceFile to true
12025 (makeLinuxDocFile):
12026 (makeDocBookFile): make sure niceFile is true on exit
12028 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12030 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12032 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12034 * LyXSendto.C: remove.
12035 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12036 * lyx_gui.C: remove now-redundant comment.
12037 * ColorHandler.h: remove forward declaration of class WorkArea.
12038 * lyxfunc.C: remove #include "WorkArea.h".
12040 2002-03-07 Juergen Vigna <jug@sad.it>
12042 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12043 got moved away with the DEPM and also set the inset_owner always
12044 right which before could have been omitted.
12046 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12048 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12049 wanted layout is not found.
12051 2002-03-07 Juergen Vigna <jug@sad.it>
12053 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12055 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12057 * paragraph.C (breakParagraph): use default layout not layout of
12059 (Paragraph): clear ParagraphParameters.
12061 2002-03-06 Juergen Vigna <jug@sad.it>
12063 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12064 otherwise it would not be a valid lenght. Fixed a special case in
12065 the minipage compatibility read where we end the document with a
12068 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12069 was set as it could be 0 for InsetTexts first entry.
12071 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12073 * paragraph.C (writeFile): if layout is empty write out
12074 defaultLayoutName().
12076 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12077 file without named layout we set layout to defaultLayoutName().
12079 2002-03-06 Juergen Vigna <jug@sad.it>
12081 * CutAndPaste.C (copySelection): set layout for new paragraph.
12083 * text.C (prepareToPrint): leave ERT inset left aligned
12084 (leftMargin): don't indent paragraphs inside ERT insets
12086 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12088 * paragraph.C (breakParagraph): dont call clear do the work manually
12090 * paragraph.[Ch] (clear): remove function
12092 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12094 * paragraph.C (Paragraph): dont call clear, the work has already
12097 * lyxtextclass.C (operator): assert if n is empty
12099 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12100 work manually instead.
12102 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12104 * BufferView_pimpl.C: protect selectionLost against text == 0
12106 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12108 * text.C (breakParagraph): fix a setting layout to '0' problem.
12110 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12112 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12113 final location of file, for the included files, and graphics.
12115 2002-03-05 Juergen Vigna <jug@sad.it>
12117 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12119 2002-03-04 Juergen Vigna <jug@sad.it>
12121 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12123 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12124 last column of multicolumn cells.
12125 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12127 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12129 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12130 file if it doesn't go to a temporary file.
12132 * buffer.C (sgmlOpenTag):
12133 (sgmlCloseTag): remove extra newline insertion.
12135 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12137 * text.C (getRowNearY): comment out debug msg
12139 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12141 * text2.C: first -> first_y
12143 * text.C (getRowNearY): add some attemts at a possible
12144 optimization, not working.
12146 * tabular.[Ch]: add BufferParams to several function so that newly
12147 created paragraph can be initialized to he default layotu for the
12150 * tabular-old.C (ReadOld): add buf->params to call of Init
12152 * screen.C: rename text->first to text->first_y
12154 * paragraph.C (breakParagraph): always set layout in the broken
12157 * lyxtextclass.C (Read): remove lowercase
12160 (delete_layout): ditto
12162 * lyxtext.h: rename first -> first_y
12164 * lyxlayout.C (Read): remove lowercase
12167 (obsoleted_by): ditto
12169 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12171 * buffer.C (insertErtContents): add params are to InsetERT
12172 (parseSingleLyXformat2Token): add code to check if a paragraphs
12173 layout really exist.
12174 (parseSingleLyXformat2Token): add params to several inset
12176 (asciiParagraph): remove lowercase, do the layout comparisons with
12179 * BufferView_pimpl.C (cursorNext): first -> first_y
12180 (resizeCurrentBuffer): first -> first_y
12181 (updateScrollbar): first -> first_y
12182 (scrollCB): first -> first_y
12183 (workAreaMotionNotify): first -> first_y
12184 (workAreaButtonPress): first -> first_y
12185 (checkInsetHit): first -> first_y
12186 (cursorPrevious): first -> first_y
12187 (cursorNext): first -> first_y
12188 (Dispatch): add buffer_->params to severl inset contructors
12190 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12192 * lyxlayout.C (Read): remove some debug info that I forgot.
12194 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12195 clean up the code slightly.
12196 (makeLinuxDocFile): ditto
12197 (makeDocBookFile): ditto
12199 * text2.C: layout as string
12201 * text.C: layout as string
12203 * paragraph_pimpl.C: layout as string
12205 * paragraph.[Ch]: layout as string
12207 * lyxtextclasslist.[Ch]: layout as string
12209 * lyxtextclass.[Ch]: layout as string
12211 * lyxtext.h: layout as string
12213 * lyxlayout.[Ch]: layout as string
12215 * lyx_cb.C: layout as string
12217 * bufferview_funcs.C: layout as string
12219 * bufferparams.C: layout as string
12221 * buffer.C: layout as string
12223 * LyXView.[Ch]: layout as string
12225 * LaTeXFeatures.[Ch]: layout as string
12227 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12229 * BufferView_pimpl.C: change current_layout to string, remove
12234 (workAreaButtonRelease): layout as string
12236 * BufferView2.C (unlockInset): adjust
12238 * vspace.C (asLatexCommand): use an explict temp variable.
12240 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12242 * Makefile.am: use FRONTEND_*
12244 2002-03-01 Juergen Vigna <jug@sad.it>
12246 * tabular.C (SetWidthOfMulticolCell): changed to something better
12247 I hope but still work in progress.
12248 (recalculateMulticolumnsOfColumn): renamed function from
12249 recalculateMulticolCells as it is more appropriate now.
12250 (SetWidthOfCell): calculate multicols better.
12252 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12254 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12256 * lyxfunc.C (processKeySym): print sequence also if it is
12257 `deleted' (complete)
12259 * kbsequence.C (print): print sequence even if it is deleted
12260 (complete would be a better word, actually).
12262 * lyxfunc.C (dispatch): print complete options after a prefix key
12264 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12266 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12268 * text2.C (setCharFont): eliminate setCharFont code duplication.
12270 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12272 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12273 LFUN_TABULAR_FEATURE (bug #177)
12275 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12277 * Makefile.am: remove figure.h
12279 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12281 * Bufferview_pimpl.C:
12293 * text2.C: remove #include "lyx_gui_misc.h".
12295 * LaTeX.C: added #include <cstdio>
12297 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12299 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12300 that the paragraph following this one can have.
12302 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12304 * vspace.C (asLatexCommand): fix bogus gcc warning
12306 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12308 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12310 * text2.C (setLayout): get rid of redundant code
12312 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12314 * text2.C (incDepth): make sure depth cannot be increased beyond
12317 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12319 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12320 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12322 * PainterBase.h (image):
12323 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12324 a LyXImage const *.
12326 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12330 * BufferView_pimpl.C:
12331 * BufferView_pimpl.h:
12351 * sp_spell.C: remove fig inset, and the crap house of
12352 cards that follows it
12354 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12359 * os2_errortable.h:
12360 * nt_defines.h: move .h into support/
12362 * vms_defines.h: remove
12364 * WorkArea.C: add space in debug output
12368 * buffer.C: add WITH_WARNINGS
12372 * bufferlist.C: s/retrive/retrieve/, add docs
12381 * chset.C: add docs
12383 * lyxgui.C: add ID to X error handler
12385 * lyxtestclass.c: fix typo
12387 2002-02-26 Juergen Vigna <jug@sad.it>
12389 * tabular_funcs.C (write_attribute): changed so that some default
12390 attributes are not written at all.
12391 (getTokenValue): set default values before trying to read the
12392 value so we have the return value always set as default if we don't
12393 find the token we search for.
12395 * tabular.C (Write): write bools as bools not as strings!
12397 2002-02-22 Juergen Vigna <jug@sad.it>
12399 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12400 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12402 * text.C (leftMargin): don't add an indent for paragraphs inside
12403 tabular cells (fix #208).
12405 2002-02-21 José Matos <jamatos@fep.up.pt>
12407 * tabular.C (docBook): fixed support for long tables.
12409 2002-02-20 Juergen Vigna <jug@sad.it>
12411 * text2.C (getFont): get the drawing font of the Inset if this
12412 paragraph is inside an inset (only important for InsetERT for now).
12414 * buffer.C (insertErtContents): use new lanugage params in ERT
12417 * CutAndPaste.C: commenting out seemingly uneeded code.
12419 2002-02-19 Allan Rae <rae@lyx.org>
12421 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12422 Iterators might be simple to use but they also get invalidated.
12423 (removeAutoInsets): renamed saved cursor tracking variables and added
12424 some comments to clarify what everything does.
12426 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12433 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12434 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12437 * vc-backend.h: remove #include "support/syscall.h"
12441 * converter.C: rearrange #includes in Lars' approved fashion.
12443 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12444 forward declare class Timeout in the header file.
12446 * XFormsView.C: changes due to the above.
12448 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12449 similar to LyXView.
12451 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12452 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12454 2002-02-18 José Matos <jamatos@fep.up.pt>
12456 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12459 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12461 * a lot of small ws changes
12462 * add a lot of using std::XXX
12463 * use std construcs some places where approp.
12464 * use some exisint stuff from lyxfunctional where approp.
12465 * Make file changes to use partial linking (lets test this now...)
12467 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12471 remove #include "support/syscontr.h" as it's redundant. Always has been.
12479 change Systemcalls::System to Systemcalls::Wait and
12480 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12481 No change of functionality, just reflects the stripped down Systemcalls
12484 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12486 * debug.[Ch]: add a GRAPHICS type to the enum.
12488 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12490 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12492 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12495 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12497 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12498 match the changes below.
12500 * text2.C (toggleInset): if there is not editable inset at cursor
12501 position, try to see if cursor is _inside_ a collapsable inset
12504 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12506 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12507 document menu has a nice checkbox
12509 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12511 * lyxlength.C (asLatexString): change PW to output as percent of
12514 * lengthcommon.C: change '%' to 't%'
12516 * lyxfunc.C (dispatch): a few comments from Martin
12518 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12522 * BufferView_pimpl.h:
12523 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12526 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12528 * vspace.C (inPixels): fix compiler warning
12530 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12532 * lyxfunc.C (getStatus): fix status message for disabled commands.
12534 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12536 * BufferView_pimpl.C: fix crash on close buffer
12537 during selection (#227)
12539 2002-01-27 Herbert Voss <voss@lyx.org>
12541 * buffer.C: link old Figure to new graphic inset
12543 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12545 * FontLoader.C (getFontinfo): Change the latex font names in order
12546 to match the names of type1inst.
12548 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12550 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12552 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12553 (extchanged): ditto
12555 (remove_files_with_extension): ditto
12556 (remove_file): ditto
12559 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12560 document is smaller than the work area height. Do not initialize
12561 static variables to 0.
12563 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12565 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12567 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12568 LFUN_LAYOUT_PARAGRAPHS.
12570 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12571 tabular. It is possible to provide a possible cell, which will
12572 typically be the actcell from the corresponding insettabular
12574 * lyxfunc.C (getStatus): small cleanup; disable
12575 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12578 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12580 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12582 * paragraph.C (startTeXParParams):
12583 (endTeXParParams): new methods. The LaTeX code to
12584 start/end paragraph formatting
12585 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12586 empty (fixes bug #200)
12588 * vspace.C (inPixels): adapt to the change below
12589 (inPixels): [later] more cleanups (remove unused variables)
12591 * lyxlength.C (inPixels): change to use a width and a height as
12594 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12596 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12597 Replaced with \paperwidth
12599 * DepTable.C (insert): add std:: qualifier
12601 2002-01-18 Allan Rae <rae@lyx.org>
12603 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12606 * text.C (drawInset): Turned out I didn't know enough about how
12607 rebreaking worked. This fixes most of the redraw problems. I see
12608 an occasional cursor trail when a line is broken now and the cursor
12609 placement can seem out by a few pixels also after a rebreak.
12611 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12613 * buffer.C (parseSingleLyXformat2Token): update because minipage
12614 width is now a LyXLength
12616 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12618 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12621 2002-01-17 Juergen Vigna <jug@sad.it>
12623 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12625 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12626 is set correctly and the inset is updated correctly.
12628 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12630 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12631 the beginning of the loop.
12633 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12635 * lyxrc.C: improve help for use_scalable_fonts
12637 2002-01-17 Allan Rae <rae@lyx.org>
12639 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12641 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12643 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12644 make sure to set their inset_owner to the right value (bug #171)
12646 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12649 * DepTable.C: Implement mtime checking to reduce time spent doing
12652 2002-01-16 Juergen Vigna <jug@sad.it>
12654 * tabular.C (GetAdditionalHeight): one of error fixed.
12656 * lyxrc.C (output): small fix in writing use_pspell.
12658 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12660 * sp_base.h: #include LString.h
12662 2002-01-16 Allan Rae <rae@lyx.org>
12664 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12665 Can someone check this please?
12667 * text.C (drawInset): It was possible that p.row would be removed by
12668 breakAgainOneRow upsetting a few other settings. There may be another
12669 small tweak possible by setting need_break_row = 0 when p.row has been
12670 removed but I don't know enough about the logic here.
12672 2002-01-15 Allan Rae <rae@lyx.org>
12674 * text.C (insertChar): removed conditional truism.
12676 * BufferView2.C (removeAutoInsets): More tweaks.
12677 cur_par_prev could be a stray pointer. Check for trailing empty line
12678 in case last line was cur_par and only had an error inset on it.
12680 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12682 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12685 * vc-backend.C (most methods):
12686 * exporter.C (Export):
12687 * converter.C (convert):
12689 * LyXSendto.C (SendtoApplyCB):
12690 * lyxfunc.C (dispatch):
12694 * lyx_cb.C (AutoSave):
12696 * BufferView_pimpl.C (MenuInsertLyXFile):
12697 * buffer.C (runChktex): use Buffer::filePath().
12699 * buffer.h: rename filename to filename_; rename filepath to
12700 filepath_ and make it private
12701 (filePath): new method
12703 * buffer.C (writeFile): use fileName()
12706 * lyx_main.C (init): fix starting of LyX when the binary is a
12707 link from so,ewhere else.
12709 * minibuffer.C: include <cctype> for isprint
12711 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12713 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12714 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12715 name clash with InsetCollapsable's width function.
12717 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12719 * lastfiles.C: include <iterator>
12721 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12723 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12726 * buffer.C (makeLaTeXFile): ditto.
12727 Also make loop operation more transparent.
12729 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12731 * ToolbarDefaults.C: remove trailing comma closing namespace.
12733 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12735 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12738 * trans.C (Load): comment out unused variable, allowed.
12740 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12742 * minibuffer.[Ch] (append_char): new method to recieve input from the
12743 drop-down completion browser. If a key was pressed, then recieve this
12744 char and append it to the existing string.
12745 (peek_event): modify the positioning data passed to the completion
12746 browser so that it can be placed above the minibuffer rather than below.
12747 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12749 * LyXAction.C (init): alloe error-next for readonly documents.
12751 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12754 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12756 * bufferlist.C (readFile): create the buffer _after_ checking that
12759 * lyxfunc.C (verboseDispatch): fix handling of arguments
12761 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12763 * lyxrc.C: use string::erase() instead of initializing to "".
12766 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12768 * BufferView_pimpl.h:
12769 * BufferView_pimpl.C:
12772 * text2.C: tell X when we have made a selection for copying
12774 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12776 * BufferView_pimpl.C (MenuInsertLyXFile):
12777 * lyxfunc.C (menuNew):
12779 (doImport): add shortcuts to directory buttons
12781 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12784 * lyxfunc.C (setStatusMessage):
12785 (getStatusMessage): new methods
12786 (getStatus):use setStatusMessage instead of setErrorMessage
12787 (dispatch): when function is disabled, set error message here
12788 [instead of in getStatus previously]
12790 * BufferView_pimpl.C (workAreaButtonRelease): update
12791 toolbar/menubar here too.
12793 2002-01-13 Allan Rae <rae@lyx.org>
12795 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12796 Now seems indestructible. Remaining task is to audit all other
12797 code affected by deleteEmptyParagraphMechanism. One small quirk
12798 left is that an empty document with an error in the preamble can
12799 be made to report an error but no error box appears. I don't know
12801 (removeAutoInsets): Improved comments.
12803 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12806 * Thesaurus.C: update for Aiksaurus 0.14
12808 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12810 * text2.C (firstParagraph): removed member function, all uses
12811 replaces with ownerParagraph
12812 (redoParagraphs): here
12813 (updateInset): here
12814 (toggleAppendix): here
12815 * BufferView2.C (insertErrors): here
12816 (setCursorFromRow): here
12818 2002-01-13 Allan Rae <rae@lyx.org>
12820 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12821 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12822 There is still a way to segfault this although you may have to do this
12823 multiple times: Have an InsetERT with an unknown command in it.
12824 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12825 <down-arrow>, <Enter> again, View->DVI, BANG!
12827 * text2.C (setCursor):
12828 (deleteEmptyParagraphMechanism):
12829 * lyxtext.h (setCursor):
12830 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12831 Making use of the return value may help fix other bugs.
12833 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12835 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12837 * LyXView.C (updateMenubar): call MenuBar::update here
12838 (updateToolbar): but not here
12839 (showState): do not update toolbar/menubar
12841 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12842 should need to care about that.
12844 * lyxfunc.C (verboseDispatch): simplify a bit
12845 (getStatus): have a version which takes a pseudoaction, and
12846 another which requires a (kb_action,string).
12848 * LyXAction.C (retrieveActionArg): make it work also when action
12849 is not a pseudo-action.
12850 (getActionName): simplify a bit
12853 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12855 * lyxfunc.C (verboseDispatch): new families of methods with
12856 several ways to specify a command and a bool to indicate whether
12857 the command name and shortcut should be displayed in minibuffer
12858 (eventually, we could extend that to a finer bitmask like
12859 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12860 (dispatch): the pristine dispatch command which just, well,
12861 dispatchs! Note it still sets its result to minibuffer; I'm not
12864 * lyxfunc.h: remove setHintMessage
12866 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12868 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12870 * BufferView_pimpl.C (specialChar): delete new inset if we have
12871 not been able to insert it.
12873 * kbmap.C: revert to using int instead of kb_action, since all we
12874 are dealing with is pseudo-actions.
12876 * LyXAction.C (searchActionArg): change to return int instead of
12877 kb_action, since the result is a pseudoaction.
12879 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12881 * buffer.C (insertErtContents): Fix (partially) the font bug.
12883 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12885 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12886 as the other one is broken on my machine!
12888 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12891 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12893 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12895 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12896 reflect their actual use. Provide compatibility code for older lyxrc
12899 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12901 change names of popup font variables in line with the changes to lyxrc.C
12903 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12905 * buffer.C (asciiParagraph): avoid outputing a word twice after
12908 * lyxrc.C (getDescription): document that document_path and
12909 template_path can be empty.
12911 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12913 * LaTeXFeatures.C (getMacros):
12914 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12916 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12918 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12920 (getPackages): rename feature "floats" to "float". Use an array to
12921 iterate over 'simple' features (i.e. just a \usepackage). Add
12922 handling of "amsmath" (renamed from "amsstyle").
12924 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12926 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12929 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12931 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12932 FuncStaus::FuncStatus & FuncStaus::some_method().
12934 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12936 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12937 of the func_satus stuff. Edited and massaged in various ways by
12940 * lyxfunc.C (getStatus): use FuncStatus
12942 2002-01-08 Juergen Vigna <jug@sad.it>
12944 * text.C (nextBreakPoint): use function Inset::isChar().
12946 * paragraph.C (TeXOnePar): use function
12947 Inset::forceDefaultParagraphs.
12949 * buffer.C (latexParagraphs): use function
12950 Inset::forceDefaultParagraphs.
12952 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12954 * lyx_gui.C (init): set the style of the menu popups to
12955 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12957 2002-01-07 Juergen Vigna <jug@sad.it>
12959 * text.C (setHeightOfRow): small fix
12960 (prepareToPrint): don't look at alignment if we don't have the place
12963 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12965 * box.C: New file. Move the Box methods and functions out of box.h,
12966 following Lars' suggestion.
12968 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12970 * box.h: #include "support/LOstream.h", needed for inlined function.
12973 * lyxtextclasslist.C: added some using std declarations.
12975 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12977 * box.h: make signed dimensions to allow insets wider than
12978 the screen (bug #162)
12980 * BufferView_pimpl.C: add some insetHit debug
12982 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12984 * vc-backend.C: add FIXME
12986 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12988 * lyxfunc.C (getStatus): enable code for showing math font status
12991 2002-01-07 Juergen Vigna <jug@sad.it>
12993 * text.C (nextBreakPoint): removed debug output not needed anymore.
12995 2002-01-06 Juergen Vigna <jug@sad.it>
12997 * text.C (nextBreakPoint): fixed up this function we had this bug
12998 since ever but now hopefully we break row better.
12999 (insertChar): we have to check if an inset is the next char as it
13000 could now happen that a large inset is causing a break.
13002 2002-01-05 Juergen Vigna <jug@sad.it>
13004 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13005 if it doesn't like to be drawed.
13007 2002-01-04 Juergen Vigna <jug@sad.it>
13009 * BufferView2.C (lockInset): forgot to set a cursor.
13011 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13013 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13015 * FormMathsPanel.C:
13018 * form_maths_panel.C:
13019 * form_maths_panel.h:
13020 * form_maths_panel.fd: implemented sub- and super- buttons in math
13023 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13024 (or ^ space) to be used as in TeX (req'd by André).
13026 * lyxfunc.C: Allow ^ and _ again to be used both as
13027 super/subscript (mathed) and as themselves (in text).
13029 2002-01-03 Allan Rae <rae@lyx.org>
13031 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13032 "LyX" or the filename of the current buffer if it has one. This is a
13033 modified form of John Levon's patch.
13035 * XFormsView.C (setWindowTitle): also set icon title.
13037 * LyXView.h (setWindowTitle): signature changed.
13038 * XFormsView.h (setWindowTitle): ditto.
13040 2002-01-02 Juergen Vigna <jug@sad.it>
13042 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13044 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13046 * screen.C (topCursorVisible): introduce a temp var for
13047 text->cursor.row(), handle the case where this row is null. (kindo
13050 * text2.C (setCursor): add a couple of asserts.
13052 * paragraph.h (inset_iterator): add -> operator
13054 * paragraph.[Ch] (autoDeleteInsets): remove member function
13056 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13057 cursor pos correctly and handle inset deletion by itself.
13058 (insertErrors): move iterator declaration out of for expression
13060 * lyxtextclass.C: add <algorithm>
13062 * Makefile.am: added the new files to sources, removed layout.C
13064 * layout.C: removed file
13066 * layout.h: remove LYX_DUMMY_LAYOUT
13068 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13072 * lyxtextclass.[Ch]:
13073 * lyxtextclasslist.[Ch]: new files
13075 * include order changes to a lot of files, also changes because of
13078 2001-12-27 Juergen Vigna <jug@sad.it>
13080 * buffer.C (asciiParagraph): more fixes.
13082 * tabular.C (ascii): make ascii export support export of only the
13083 data separated by a column-delimiter.
13084 (ascii): better support for ascii export.
13086 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13088 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13090 * tabular_funcs.C: use a "using std::getline" instead of the
13091 previous fix from Angus (necessary for cxx + lyxstring)
13093 2001-12-24 Juergen Vigna <jug@sad.it>
13095 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13097 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13098 problems. First check a minipage also if we have some ert-contents
13099 (not only on par->size(), second set the right depth of the paragraph
13100 on the relink to the root-paragraph-list!
13102 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13103 which then did not anymore update the main paragraphs on undo/redo!
13105 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13107 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13108 code. Support all font-changing funcs (even those which are not in
13109 menu currently). Support for reporting font settings in
13110 mathed (disabled until Andre provides a function on mathed's side).
13112 * func_status.h (toggle): small helper function to set toggle
13115 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13117 * tabular_funcs.C: getline -> std::getline
13119 2001-12-21 Juergen Vigna <jug@sad.it>
13121 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13122 accessed and could be 0 (I couldn't generate this but it seems
13125 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13127 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13128 * tabular_funcs.h: here and include iosfwd
13130 2001-12-20 Juergen Vigna <jug@sad.it>
13132 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13133 inside inset but undo_par was.
13135 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13137 * Thesaurus.C: always include <config.h> in sources.
13141 * box.h: do not include <config.h> in header files
13143 * text.C (paintLastRow): remove unused variable
13145 * text.C (transformChar):
13147 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13149 * Painter.C (text):
13150 * font.C (width): rewrite to use uppercase() instead of
13153 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13155 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13157 * lyxfind.C: clean up of find failure position change
13159 2001-12-20 Juergen Vigna <jug@sad.it>
13161 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13163 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13164 (TeXRow): added to LaTeX a single tabular row.
13165 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13166 (Latex): simplified and finally good LT-h/f support.
13167 (various_functions): just small adaptions for LT-h/f support.
13169 * tabular_funcs.[hC]: added and moved here all not classfunctions
13172 2001-12-19 Juergen Vigna <jug@sad.it>
13174 * tabular.[Ch]: better support for longtabular options (not finished
13177 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13179 * text.C (paintLastRow): use the label font instead of the font of
13180 the last character to compute the size of *_BOX. This makes more
13181 sense and avoids a crash with empty paragraphs.
13182 Use Painter::rectangle to draw EMPTY_BOX.
13184 2001-12-19 Juergen Vigna <jug@sad.it>
13186 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13187 the paragraphs if the replaced paragraph is not the first one!
13188 Tried to delete not used paragraphs but does not work yet so for
13189 now it's inside #ifdef's and by default off!
13191 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13193 * MenuBackend.C: include "lyx_main.h" instead of declaring
13194 lastfiles (actually was declared as LastFiles* instead of a
13197 2001-12-17 Juergen Vigna <jug@sad.it>
13199 * tabular.C (AppendColumn): applied John's fix
13201 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13205 * BufferView_pimpl.h:
13206 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13209 * box.h: new start of class for above
13211 * lyxfunc.C: ignore space-only minibuffer dispatches.
13212 Show the command name when it doesn't exist
13214 * minibuffer.C: don't add empty lines to the history
13216 * minibuffer.C: add a space on dropdown completion
13218 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13220 * text.C: fix line above/below drawing in insets
13222 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13224 * lyxlength.C (LyXLength): Initialize private variables.
13226 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13228 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13229 when inserting error insets.
13231 2001-12-13 Juergen Vigna <jug@sad.it>
13233 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13234 actually sometimes the before-paragraph.
13235 (setUndo): don't clear the redostack if we're not actually undoing!
13237 2001-12-06 Juergen Vigna <jug@sad.it>
13239 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13240 and fixed redoing of main paragraph, so we can use it now ;)
13242 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13244 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13246 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13249 2001-12-13 André Pönitz <poenitz@gmx.net>
13252 * undo_func.C: minor cleanup
13254 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13256 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13257 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13258 font in urw-fonts package which is marked as -urw-fontspecific and
13259 does not work (incidentally, changing the encoding in the
13260 fonts.dir of this package to -adobe-fontspecific fixes the
13263 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13264 is a crash when undoing first paragraph (Juergen, please take a
13265 look). THis does not mean the undo fix is wrong, just that it
13268 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13269 the (Paragraph*) version when needed instead of duplicating the
13272 * text.C (workWidth): use Inset::parOwner to find out where the
13273 inset has been inserted. This is a huge performance gain for large
13274 documents with lots of insets. If Inset::parOwner is not set, fall
13275 back on the brute force method
13277 * paragraph_pimpl.C (insertInset):
13278 * paragraph.C (Paragraph):
13279 (cutIntoMinibuffer): set parOwner of insets when
13280 inserting/removing them
13282 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13284 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13290 * mathed/formulabase.C:
13291 * mathed/math_cursor.[Ch]:
13292 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13295 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13297 * lyxlength.[Ch] (operator!=): new function
13299 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13301 * text.C (workWidth): use Inset::parOwner to find out where the
13302 inset has been inserted. This is a huge performance gain for large
13303 documents with lots of insets. If Inset::parOwner is not set, fall
13304 back on the brute force method
13306 * paragraph_pimpl.C (insertInset):
13307 * paragraph.C (Paragraph):
13308 (cutIntoMinibuffer): set parOwner of insets when
13309 inserting/removing them
13311 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13313 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13315 * tabular-old.C (getTokenValue):
13316 * tabular.C (getTokenValue):
13317 (write_attribute): new versions for LyXLength
13318 (everywhere): adjust the use of widths
13320 * tabular.h: change the type of widths from string to LyXLength
13322 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13324 * paragraph.C: fixed missing line number count when exporting
13325 Environments to LaTeX file
13327 * buffer.C: added informational message for checking line numbers.
13329 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13331 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13332 paragraph, do the 'double space' part, but not the 'empty
13335 * text.C (workWidth): small optimization
13336 (getLengthMarkerHeight): use minimal size for negative lengths.
13338 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13340 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13342 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13344 2001-12-11 André Pönitz <poenitz@gmx.net>
13347 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13349 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13351 * text2.C: keep selection on a setFont()
13353 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13355 * lyx_cb.C: another bv->text misuse, from insert label
13357 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13360 * kbsequence.C: re-instate nmodifier mask
13362 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13364 * lyx_main.h: make lyxGUI private.
13366 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13368 * lyxfind.C: place the cursor correctly on failed search
13370 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13372 * text.C (getLengthMarkerHeight): for small heights, the arrows
13373 are not always on top/bottom of the text
13374 (drawLengthMarker): smaller arrows; take the left margin in
13375 account; draw also vfills.
13377 (paintLastRow): remove special code for vfill and standard spaces,
13378 since everything is handled in drawLengthMarker now.
13380 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13382 * buffer.C (insertErtContents): try to handle font and language
13383 interaction a bit better.g
13385 * ColorHandler.C (updateColor): change the hash to cover the whole
13386 LColor enum, ws cleanup
13387 (getGCLinepars): ditto
13388 (getGCLinepars): only lookup in the linecache once.
13390 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13392 * iterators.C (operator++): Make the iterator more robust
13394 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13396 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13398 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13401 * text.C: better added space drawing
13403 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13406 * BufferView2.C: fix layout combo update on inset unlock
13408 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13410 * Makefile.am: don't compile unused files
13412 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13416 * LyXAction.C: remove old LFUN_LAYOUTNO
13418 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13420 * paragraph_pimpl.h:
13421 * paragraph_pimpl.C: isTextAt() doesn't need font param
13423 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13426 * lyxlex.C: little cleanup
13428 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13430 * BufferView_pimpl.C: fix insertAscii for insets
13432 2001-12-05 Juergen Vigna <jug@sad.it>
13434 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13435 set the right font on the "multi" paragraph paste!
13437 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13443 * lyxlength.C: remove out-commented code.
13445 * BufferView_pimpl:
13459 * vc-backend.C: change "while(" to "while ("
13461 * lyxlength.[Ch]: add zero function to check if length is zero or
13463 * lyxgluelength.C: use it
13465 2001-12-05 Allan Rae <rae@lyx.org>
13467 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13468 Works for 2.95.3, from what I understand of Garst's reports this should
13469 work for other g++ versions. We're screwed if the abs(int) definition
13470 changed between bugfix releases of gcc.
13472 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13474 * text.C: fix chapter label offset !
13476 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13479 * text.C: fix hfill at end of line, clean up
13481 2001-12-04 Juergen Vigna <jug@sad.it>
13483 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13484 that we force an update of the inset and it's owners if neccessary.
13486 2001-12-03 Juergen Vigna <jug@sad.it>
13488 * text.C (rowLast): simplified code
13490 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13492 * lyxfunc.C: fix show options on timeout
13494 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13496 * screen.C (topCursorVisible): scroll half a page when the cursor
13497 reached top of bottom of screen
13499 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13501 * minibuffer.C: deactivate on loss of focus
13503 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13505 * vspace.[Ch] (operator!=): add operator.
13507 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13509 * BufferView_pimpl.C: refuse to open an inset when
13510 there's a selection.
13512 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13514 * BufferView_pimpl.C: allow to click on RHS of full row insets
13516 2001-11-30 Juergen Vigna <jug@sad.it>
13518 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13519 insets for undo reasons.
13521 2001-11-28 André Pönitz <poenitz@gmx.net>
13523 * vspace.[Ch]: cosmetical changes
13525 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13535 * kbsequence.C: part re-write of old kb code
13538 * WorkArea.C: remove Lgb_bug_find_hack
13540 2001-11-30 José Matos <jamatos@fep.up.pt>
13542 * buffer.C (makeDocBookFile): add a comment to point a hack.
13543 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13544 Fixed a double write of labels.
13546 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13549 * LaTeX.h Fixed bug in LaTeX class where it would not
13550 re-run latex if no depfiles were changed, but the .dvi was removed.
13552 2001-11-28 André Pönitz <poenitz@gmx.net>
13554 * all the files from the change on 2001/11/26:
13555 use lyx::layout_type instead of LyXTextClass::size_type
13556 use lyx::textclass_type instead of LyXTextClassList::size_type
13558 2001-11-29 Juergen Vigna <jug@sad.it>
13560 * text.C: added support for paragraph::isFreeSpacing()
13562 * buffer.C: same as above
13564 * paragraph.h: inserted isFreeSpacing() function to enable
13565 FreeSpacing inside InsetERT.
13567 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13568 of the paragraph's in the cut/copy buffer to 0!
13570 * text2.C (removeRow): remove the assert as it can!
13572 * lyxtext.h: added helper function firstRow returning firstrow and
13573 made firstrow private again.
13575 * BufferView2.C (lockInset): don't relock if we're already locked!
13577 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13578 the only paragraph.
13579 (removeRow): added Assert::(firstrow)
13581 * debug.C: forgot to add INSETTEXT here.
13583 2001-11-28 Juergen Vigna <jug@sad.it>
13585 * sp_spell.C (initialize): changed error text to more general
13586 spellchecker command use (not only ispell!)
13588 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13590 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13592 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13594 * vspace.C: initialise lyxgluelength on failure
13596 2001-11-28 Allan Rae <rae@lyx.org>
13598 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13599 declaration & definition that looks like a function declaration.
13601 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13603 * BufferView2.C (copy):
13604 (copyEnvironment): do not clear the selection when doing a copy.
13606 * text.C (paintFirstRow): compilation fix
13608 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13610 * tabular.C (Latex): correct line count when writing latex.
13612 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13614 * paragraph_pimpl.h:
13615 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13618 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13622 * LColor.C: change vfillline->added_space
13624 * text.C: add markers and text for added space
13626 * vspace.C: fix comment
13628 2001-11-28 André Pönitz <poenitz@gmx.net>
13630 * paragraph.C: whitespace changes
13631 * all the other files from the change on 2001/11/26:
13632 change *::pos_type into lyx::pos_type
13634 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13636 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13637 language of the document when inserting error insets.
13639 2001-11-26 André Pönitz <poenitz@gmx.net>
13641 * BufferView_pimpl.[Ch]:
13649 * paragraph_pimpl.[Ch]:
13652 * text2.C: reduce header dependencies, introduce type for positions
13654 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13656 * <various>: change to use Alert.h
13658 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13660 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13661 when encountering an unknown token.
13662 (readLyXformat2): Show an error message if there were unknown tokens.
13664 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13667 * BufferView_pimpl.C:
13671 * text2.C: use par->isInset()
13673 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13675 * paragraph_pimpl.h:
13676 * paragraph_pimpl.C: cleanup
13678 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13680 * text2.C (removeRow):
13681 * text.C (setHeightOfRow): remove useless (and costly) call to
13684 2001-11-20 Allan Rae <rae@lyx.org>
13686 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13687 Now need Inset*::checkInsertChar() to return true for appropriate
13688 cases so that the characters in the minibuffer will actually be
13691 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13693 * text.C: change the order of the includes.
13694 (workWidth): initialize it at once.
13695 (workWidth): make maxw unsigned
13696 (setHeightOfRow): remove unused variable (inset)
13697 (selectSelectedWord): remove unused variable (inset)
13698 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13700 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13702 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13703 server is not running.
13705 (closeConnection): add debug info when server is disabled.
13707 * ColorHandler.C (getGCForeground): send debug message to GUI
13710 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13712 * kbmap.C (bind): modify because return conventions of
13713 kb_sequence::parse have changed.
13715 * kbsequence.C (parse): only ignore spaces and not any stupid
13716 control character. This avoids tests like s[i] <= ' ', which are
13717 guaranteed to fail with 8bit characters and signed chars.
13718 Change return code to string::npos when there have been no error
13719 (0 was a bad idea when error is at first character)
13721 2001-11-14 José Matos <jamatos@fep.up.pt>
13724 * buffer.C (simpleDocBookOnePar): removed unused argument.
13726 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13728 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13729 insets which are part of a word. Paragraph::isLetter takes care of
13730 that now. Use Paragraph::isInset to identify insets.
13731 (selectSelectedWord): do not test for hyphenation break.
13733 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13734 that protected spaces are considered as spaces.
13736 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13739 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13742 * lyxserver.C: fix it. and small cleanup.
13744 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13746 * BufferView_pimpl.C: use inline helpers
13749 * LaTeXFeatures.C: fix typos
13752 * Spacing.C: move spacing_string into class
13754 * ToolbarDefaults.C: move stuff into namespace anon
13756 * layout.h: update enum
13758 * lyxfunc.C: use better debug
13760 * minibuffer.h: fix typo
13764 * WorkArea.C: add and use Debug::WORKAREA
13768 * text2.C: code re-organisation, inline helpers
13770 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13772 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13773 std::vector.empty().
13775 2001-11-09 Allan Rae <rae@lyx.org>
13777 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13778 '\n's after tables. Tabular and ERT inset work now makes this no
13781 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13784 * minibuffer.C: fix crash, improve drop-down completion
13786 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13789 * lyxserver.C: invalidate fd's when doing endPipe()
13791 2001-11-08 José Matos <jamatos@fep.up.pt>
13793 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13794 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13797 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13799 2001-11-07 José Matos <jamatos@fep.up.pt>
13802 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13805 * buffer.C (sgmlOpenTag):
13806 * buffer.C (sgmlCloseTag): removed debug info.
13808 * buffer.h (sgmlOpenTag):
13809 * buffer.h (sgmlCloseTag): made public.
13811 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13813 * buffer.C (saveParamsAsDefaults):
13814 * lyx_cb.C (MenuLayoutSave): remove
13816 * LyXAction.C (init):
13818 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13820 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13822 * buffer.C (setPaperStuff): removed from here...
13824 * bufferparams.C (setPaperStuff): ... and moved there.
13826 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13830 * XFormsView.C: add support for drop-down completion
13832 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13834 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13837 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13839 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13842 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13844 * lyx_main.C: change ref to known bugs
13846 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13848 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13849 to work around older babel problems.
13851 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13853 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13855 2001-10-24 Juergen Vigna <jug@sad.it>
13857 * tabular-old.C (ReadOld): below variable changes reflected.
13859 * tabular.[Ch]: added ltType struct for longtable header/footer
13860 defines and changed all instances where they are used. Added
13861 future support for double top/bottom rows.
13863 2001-10-24 José Matos <jamatos@fep.up.pt>
13865 * buffer.h (docbookHandleCaption):
13866 * buffer.C (docbookHandleCaption): removed unused function.
13867 (makeDocBookFile): moved docbook supported version to v4.1.
13869 2001-10-24 José Matos <jamatos@fep.up.pt>
13872 * tabular.C (docbookRow): new function to export docbook code of a row.
13873 (DocBook): now honors the longtable flags.
13875 2001-10-23 José Matos <jamatos@fep.up.pt>
13878 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13879 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13881 * buffer.C (makeLinuxDocFile):
13882 (makeDocBookFile): reworked the preamble, more clean, and with
13883 support for lyx defined entities. Changed the document declaration
13884 to be more XML friendly.
13886 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13887 if we need to output XML that should be done with a filter.
13889 2001-10-22 Juergen Vigna <jug@sad.it>
13891 * sp_pspell.h (class PSpell): add alive function needed in the
13892 controller to see if the spellchecker could be started.
13894 2001-10-22 Juergen Vigna <jug@sad.it>
13896 * buffer.C (insertStringAsLines): modify the font for inserting
13897 chars in certain conditions by calling checkInsertChar(font).
13899 2001-10-19 Juergen Vigna <jug@sad.it>
13901 * text.C (workWidth): use getRow instead of wrong algorithm.
13902 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13904 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13909 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13911 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13913 * text.C (workWidth): do not search for the exact row when
13914 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13915 optimization for big documents.
13917 2001-10-18 Juergen Vigna <jug@sad.it>
13919 * text.C (workWidth): new function with added Inset * parameter.
13921 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13923 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13925 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13926 change return type of getColumnNearX.
13929 * text.C (changeRegionCase): use uppercase/lowercase instead of
13932 (rightMargin): simplify code by factoring out the uses of
13937 (appendParagraph): use Paragraph::size_type
13939 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13941 * vspace.C (asLatexString): add a missing break
13943 2001-10-15 Herbert Voss <voss@perce.de>
13945 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13947 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13949 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13952 2001-10-10 André Pönitz <poenitz@gmx.net>
13954 * lyxfunc.C: removed greek_kb_flag.
13956 2001-10-10 Herbert Voss <voss@perce.de>
13958 * lyx_main.C: delete global string help_lyxdir.
13960 2001-10-09 Herbert Voss <voss@perce.de>
13962 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13964 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13966 * lyx_main.C: added global string help_lyxdir.
13968 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13970 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13972 * lyxrc.C (set_font_norm_type): support iso8859-4
13974 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13976 * LaTeX.C (deplog): add another regex for MikTeX
13978 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13980 * lyxrc.C (set_font_norm_type): support iso8859-3
13982 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13984 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13986 * LaTeXFeatures.C: remove special case of french and index
13988 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13989 before \begin{document}). This solves several incompatibilities.
13991 2001-10-03 Garst Reese <reese@isn.net>
13993 * lyx_cb.C: change CheckTex error msg.
13995 2001-10-03 José Matos <jamatos@fep.up.pt>
13997 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13999 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14001 * .cvsignore: update
14003 * lyx_main.C (commandLineVersionInfo): use new style version info.
14005 * buffer.C (writeFile):
14007 (makeLinuxDocFile):
14008 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14010 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14012 * version.h: update to use stuff in version.C
14014 * version.C.in: new file. Contains version information determined
14015 at compile time. This is a merging of version.h and
14018 2001-10-03 Juergen Vigna <jug@sad.it>
14020 * BufferView_pimpl.C (update): don't change "dirty" status in
14023 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14025 * WorkArea.C (c-tor): re-position version string slightly.
14027 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14029 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14030 revert to previous code.
14032 WorkArea.[Ch]: (show, destroySplash): methods removed.
14034 WorkArea.C: rework code so that it's an amalgam of the codes before and
14035 after the splash screen was moved to WorkArea.
14037 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14040 * vspace.C (inPixels):
14043 * buffer.C (insertStringAsLines):
14044 (asciiParagraph): fix types to be large enough
14046 * lyxlex_pimpl.h: change member status from short to int
14048 * layout.h: fix type of endlabeltype
14051 * kbsequence.C (parse): change return type to string::size_type
14053 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14056 * Bullet.C (bulletSize):
14057 (bulletEntry): do not use short ints as parameters
14059 * BufferView2.C (insertLyXFile): change a char to an int.
14061 * WorkArea.C (WorkArea): remove unneeded floats in computation
14063 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14065 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14067 * paragraph.C (asString): Do not ignore newline/hfill chars when
14068 copying to the clipboard.
14070 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14072 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14073 after a multi-line inset.
14075 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14077 * paragraph.C (validate): Set NeedLyXFootnoteCode
14079 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14081 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14082 and decrease-error to decrease.
14084 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14086 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14087 it more readable (should be equivalent)
14089 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14091 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14093 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14095 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14096 of a cursor (row, etc.) after a character has been deleted
14097 (deleteEmptyParagraphMechanism): call the method above on _all_
14098 cursors held by the LyXText when a double space has been
14101 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14103 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14105 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14107 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14108 background. Use greyOut() and the new show() methods to toggle between
14109 the foreground and background. Add code to remove the splash after
14110 its initial showing.
14112 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14113 (create_forms): no longer call Dialogs::showSplash.
14115 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14117 * .cvsignore: add version_info.h
14119 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14121 * version_info.h.in: new file
14123 * Makefile.am: add version_info.h.in
14125 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14126 version_info.h instead of VERSION_INFO
14128 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14130 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14131 The ERT inset now returns string().
14133 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14135 * lyxtext.h, text.C (selectNextWord): renamed as
14136 selectNextWordToSpellcheck.
14138 * text.C (selectNextWordToSpellcheck): Modified to not select
14139 words inside an ERT inset.
14141 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14143 * lyx_cb.C (MenuLayoutSave): change a bit the question
14145 * sp_base.h: include <sys/types.h>
14147 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14149 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14151 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14153 * several files: fix typos in user-visible strings
14155 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14157 * text2.C (pasteSelection): do not set the selection, since it
14158 will be cleared later. Actually, the intent was to fix the way the
14159 selection was set, but I figured rmoving the code was just as good.
14161 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14163 * FontLoader.C (available): Check if font is available without
14166 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14168 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14170 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14172 * lyxrc.[Ch]: added display_graphics variable and associated code.
14174 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14176 * bufferparams.C (hasClassDefaults): new method. Returns true if
14177 the buffer parameters correspond to known class defaults
14179 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14181 * XFormsView.C (show): set minimum size to the main window.
14183 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14185 * text2.C (copySelection):
14187 * lyxfind.C (LyXReplace):
14188 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14189 LyXText::selectionAsString.
14191 * paragraph.C (asString): add "label" argument to the second form
14193 * text2.C (selectionAsString): add "label" argument and pass it to
14194 Paragraph::asString.
14196 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14198 * lyx_main.C (commandLineHelp): remove version information
14200 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14202 * lyx_main.C: add -version commandline option
14204 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14206 * paragraph.h: make the optional constructor arg required instead.
14207 some modifications to other files because of this.
14209 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14211 * lyxserver.C (C_LyXComm_callback): make it static
14213 * lyx_main.C (error_handler): make it static
14215 * lyx_gui.C (LyX_XErrHandler): make it static
14217 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14219 * WorkArea.C: make the extern "C" methods static.
14221 * Makefile.am (lyx_LDADD): simplify
14223 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14225 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14226 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14228 * LyXAction.C (init):
14229 * lyxfunc.C (dispatch): associated code removal.
14231 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14233 * lyxfont.h (isSymbolFont): shut off warning
14235 * text.C (setHeightOfRow):
14236 (getVisibleRow): fix crash with empty paragraphs which have a
14239 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14241 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14244 2001-09-04 José Matos <jamatos@fep.up.pt>
14247 * tabular.C (docbook): rename docBook method to docbook.
14249 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14251 * Makefile.am: add dependencies to main.o.
14253 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14255 * FontLoader.C (available): Return false if !lyxrc.use_gui
14257 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14259 * FontInfo.C (query):
14260 * converter.C (view):
14261 * importer.C (Import):
14262 * exporter.C (Export): Can not -> cannot.
14264 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14266 * BufferView_pimpl.C: allow to create index inset even if
14269 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14271 * buffer.C (getLists): replace boost::tie code with an explicit pair
14272 as boost::tie can break some compilers.
14274 * iterators.h: Added a std:: declaration to the return type of
14277 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14279 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14282 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14284 * iterators.[Ch]: New files. Provide paragraph iterators.
14286 * buffer.C (changeLanguage): Use paragraph iterators.
14287 (isMultiLingual): ditto
14289 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14291 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14293 * FontLoader.C: Support for cmr font.
14295 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14297 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14298 (available): New method.
14300 * FontInfo.C (getFontname): Use scalable fonts even when
14301 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14304 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14306 * converter.C (Formats::view): reverted! Incorrect fix.
14308 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14310 * converter.C (Formats::view): only output the -paper option
14311 if the dvi viewer is xdvi, thereby fixing bug #233429.
14313 2001-08-23 Herbert Voss <voss@perce>
14315 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14317 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14319 * Spacing.h (Spacing): Set space to Default on in the default
14322 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14324 * vc-backend.h (RCS::versionString): add RCS to version
14325 (CVS::versionString): add CVS to version
14327 * vc-backend.C (scanMaster): do not add CVS to version.
14328 (scanMaster): do not add RCS to version
14330 * lyxvc.C (versionString): new method
14332 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14334 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14336 * Spacing.C (set): initialize fval
14338 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14340 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14343 2001-08-16 Juergen Vigna <jug@sad.it>
14345 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14347 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14349 * BufferView_pimpl.C:
14352 * text2.C: setParagraph takes linespacing now
14354 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14356 * LyxAction.C: add internal LFUN_CITATION_INSERT
14358 * LyXView.C: actually apply fix
14360 * bufferlist.C: fix open non-existent file
14362 * lyxfind.C: fix indentation
14364 * lyxfunc.C: remove unneeded assert, fix typo
14366 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14368 * MenuBackend.C: use "Floatname List"
14370 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14372 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14373 when converting LaTeX layout to insetERT.
14374 Generate a non-collapsed float when reading old float
14376 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14378 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14381 2001-08-13 Juergen Vigna <jug@sad.it>
14383 * text.C (fill): return 0 instead of 20 as this seems to be the more
14386 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14388 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14391 2001-08-13 Juergen Vigna <jug@sad.it>
14393 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14395 (SearchBackward): comment out the unlocking of the inset_owner this
14396 should not be needed!
14398 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14400 * Many files: Remove inherit_language, and add latex_language
14402 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14403 collapsible insets.
14405 2001-08-10 Juergen Vigna <jug@sad.it>
14407 * text.C (prepareToPrint): fixed hfill-width in draw!
14409 * BufferView2.C (selectLastWord): save the selection cursor as this
14410 now is cleared in the function LyXText::clearSelection!
14412 2001-08-08 Juergen Vigna <jug@sad.it>
14414 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14415 BACKSPACE type functions.
14417 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14418 is only cutted from the document but not put in the cut-buffer, where
14419 still the old stuff should be.
14421 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14423 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14425 * tabular.C (SetWidthOfCell): fixed special case where the width
14427 (LeftLine): handle '|' in align_special.
14429 (LeftAlreadyDrawed): ditto
14430 (SetWidthOfCell): ditto
14432 2001-08-07 Juergen Vigna <jug@sad.it>
14434 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14436 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14438 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14439 * lyxlex.[hC]: ditto
14441 2001-08-06 Juergen Vigna <jug@sad.it>
14443 * text.C (getVisibleRow): fix up row clearing a bit.
14445 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14447 * minibuffer.C: make sure the X server sees the changes in the input.
14449 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14451 * paragraph.C (getFont): split into...
14452 (getLabelFont): this
14453 (getLayoutFont): and this
14454 * paragraph_pimpl.C (realizeFont): calling this
14456 * text2.C (getFont): split into...
14457 (getLayoutFont): this
14458 (getLabelFont): and this
14459 (realizeFont): all three calling this
14461 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14464 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14466 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14468 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14470 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14471 layouts from the Quote inset insertion.
14473 2001-08-03 Juergen Vigna <jug@sad.it>
14475 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14477 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14478 only if status not is already CHANGED_IN_DRAW (second level).
14480 * text.C (draw): don't set the need_break_row when inside an
14483 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14485 * buffer.C (parseSingleLyXformat2Token): handle more latex
14488 * bufferview_funcs.[hC]: change function names to
14489 begin with small char, adjust other files.
14491 2001-08-02 André Pönitz <poenitz@gmx.net>
14494 BufferView_pimpl.C: remove broken special code for math-greek
14496 2001-08-02 Juergen Vigna <jug@sad.it>
14498 * BufferView_pimpl.C (update): redone this function so that we
14499 update the text again if there was a CHANGE_IN_DRAW.
14501 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14502 (drawFromTo): added a new internal bool which is used by draw() and
14504 (general): some cursor drawing problems fixed.
14506 2001-08-01 Juergen Vigna <jug@sad.it>
14508 * lyxfind.C (LyXFind): fixed
14509 (SearchForward): ditto
14510 (SearchBackward): ditto
14512 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14513 spurius drawing of the cursor in the main area.
14515 * text2.C (status): small fix which could lead to a segfault!
14516 (clearSelection): remove unneeded BufferView param.
14518 2001-08-01 André Pönitz <poenitz@gmx.net>
14520 * lyxfunc.C: small change due to changed mathed interface
14522 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14524 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14526 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14528 * lyxfunc.c: fail gracefully if file doesn't exist
14533 * BufferView_pimpl.C: IsDirWriteable() proto changed
14535 * LyXView.C: fix updateWindowTitle() to store the last title
14537 2001-07-31 Juergen Vigna <jug@sad.it>
14539 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14540 the font (wrong since using of Paragraph::highestFontInRange).
14542 * paragraph.C (highestFontInRange): added a default_size parameter.
14544 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14545 (setHeightOfRow): reformat
14547 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14549 * converter.[hC] + affected files: move to (inital-char)lowercase
14552 * ParagraphParameters.C (ParagraphParameters): remove commented code
14554 * PainterBase.[Ch]: remove commented code
14556 * LaTeXFeatures.h: add "bool floats" for float.sty
14558 * LaTeXFeatures.C (LaTeXFeatures): init floats
14559 (require): handle float
14560 (getPackages): do it with floats
14562 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14564 * BufferView_pimpl.C (Dispatch): improve handling of
14565 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14567 * commandtags.h: #include lyxfont.h here temporarily to avoid
14570 * bufferlist.h: include LString.h here.
14572 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14574 * text2.C (getStringToIndex): new method.
14576 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14578 * *: Reduced header file dependencies all over.
14580 2001-07-30 Baruch Even <baruch@lyx.org>
14582 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14584 2001-07-29 Baruch Even <baruch@lyx.org>
14586 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14588 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14590 * ParameterStruct.h (endif): add a default constructor to make
14591 sure that all variables is initialized.
14593 * ParagraphParameters.C (ParagraphParameters): adjust
14595 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14597 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14598 index; also, check that there is something to index, and that it
14599 does not span over several paragraphs.
14600 (doubleClick): use WHOLE_WORD_STRICT for double click.
14602 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14604 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14607 2001-07-26 Baruch Even <baruch@lyx.org>
14609 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14610 an InsetFig figure, backwards compatible reading of old figure code.
14612 2001-07-27 Juergen Vigna <jug@sad.it>
14614 * text2.C: font.realize function adaption.
14616 * text.C (draw): add a warnings lyxerr text if needed.
14618 * layout.C: font.realize function adaption.
14620 * language.C: add inherit_language and implement it's handlings
14622 * bufferview_funcs.C (StyleReset): remove language parameter from
14623 font creation (should be language_inherit now).
14625 * bufferparams.C (writeFile): handle ignore_language.
14627 * paragraph.C (getFontSettings): the language has to be resolved
14628 otherwise we have problems in LyXFont!
14630 * lyxfont.C (lyxWriteChanges): added document_language parameter
14631 (update): removed unneeded language parameter
14633 * paragraph.C (validate): fixed wrong output of color-package when
14634 using interface colors for certain fonts in certain environments,
14635 which should not seen as that on the final output.
14637 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14639 * BufferView_pimpl.C:
14644 * LyXAction.C: add thesaurus support
14647 * lyxfind.C: add "once" parameter, for thesaurus, to not
14648 move to the next match
14650 2001-07-26 Juergen Vigna <jug@sad.it>
14652 * lyxfont.C (realize): honor ignore_language too!
14655 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14657 * text.C (draw): one place more for ignore_language to not draw
14660 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14662 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14664 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14666 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14667 the minipage conversion problem.
14669 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14671 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14674 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14676 * BufferView.h: don't forward declare WorkArea
14678 * BufferView.C: don't include WorkArea.h
14680 2001-07-25 André Pönitz <poenitz@gmx.net>
14684 * lyxfunc.C: new LFUN 'math-space'
14686 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14688 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14690 * text2.C (toggleInset): call open/close
14692 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14694 * lyxfunc.C (dispatch): add debug for the disabled case
14696 * font.C (buttonText): make similar to rectText
14698 * buffer.C (readInset): comment out parsing of insetlist and
14701 * PainterBase.C (rectText): small correction
14703 * BufferView_pimpl.C: comment out insettheorem and insetlist
14704 * LyXAction.C: ditto
14705 * commandtags.h: ditto
14707 2001-07-24 Juergen Vigna <jug@sad.it>
14709 * text.C (draw): honor the ignore_language.
14711 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14713 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14715 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14718 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14720 * lyxtext.h: remove unused (and unimplemented) methods
14722 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14724 * text.C (getVisibleRow): honor background color
14727 * Painter.h: remove default color argument for fillRectangle
14729 * text.C (backgroundColor): new method
14731 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14733 * text.C (getVisibleRow): adjust
14735 * font.[Ch] (rectText): new method, metrics
14736 (buttonText): new method, metrics
14738 * PainterBase.[hC]: make rectText and buttonText always draw and take
14741 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14743 * ToolbarDefaults.C (read):
14744 * MenuBackend.C (read): allow escaping in all strings
14746 * BufferView_pimpl.C (insertAndEditInset): new method.
14747 (Dispatch): use insertAndEditInset whenever appropriate.
14749 * BufferView_pimpl.C (insertNote): removed
14751 * BufferView_pimpl.C (smartQuote): new method, moved from
14752 BufferView; if an insetquote cannot be inserted, insert a '"'
14755 * BufferView2.C: remove insertCorrectQuote();
14757 * lyxfunc.C (getStatus): Add support for all remaingin
14758 inset-insert lfuns.
14760 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14762 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14763 command (necessary to pass " as parameter of self-insert.
14765 * text.C (selectWordWhenUnderCursor):
14766 (selectWord): add word_location parameter
14767 (selectWordWhenUnderCursor): same + remove special code for word
14769 (selectNextWord): use kind() to guess type of insetspecialchar,
14772 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14773 (insertErtContents): create ert insets as collapsed.
14774 (readInset): better compatibility code for Info inset.
14776 2001-07-20 Juergen Vigna <jug@sad.it>
14778 * lyxfunc.C (dispatch): use always LyXFind now!
14780 * text2.C (init): add a reinit flag so that the LyXText can be
14781 reinited instead of deleted and reallocated (used in InsetText).
14783 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14789 2001-07-18 Juergen Vigna <jug@sad.it>
14791 * text.C (selectNextWord): handle insets inside inset by calling
14792 always the bv->text functions so that we can go up the_locking_inset!
14794 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14795 in strange locations when inside an inset!
14797 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14798 handling to include insets.
14800 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14802 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14804 * LyXAction.C (init):
14806 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14807 LIGATURE_BREAK, since the name is so stupid.
14809 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14811 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14814 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14816 * sp_form.[Ch]: remove.
14818 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14820 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14823 * src/buffer.C (readInset): ditto.
14825 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14827 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14828 menuSeparator(), endOfSentenceDot(), ldots() and
14829 hyphenationPoint(), which are therefore removed.
14830 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14832 * LyXAction.C (init):
14833 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14835 * paragraph.C (getWord): removed.
14837 * BufferView_pimpl.C (Dispatch): use last word or selection for
14838 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14840 * lyx_main.C (queryUserLyXDir): do not ask before creating
14841 user_dir, except if it has been named explicitely.
14843 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14845 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14846 a document of zero size.
14848 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14850 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14851 approriately in the c-tor and in require().
14852 (getPackages): output the appropriate LaTeX for natbib support.
14854 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14855 variables "use_natbib" and "use_numerical_citations" when reading the
14857 (readInset): read the various natbib cite commands.
14858 (validate): white-space change.
14860 * bufferparams.[Ch]: new variables "bool use_natbib" and
14861 "bool use_numerical_citations".
14862 (writeFile): output them in the LyX file.
14864 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14866 * lyxfunc.C (getStatus): add support for all the inset insertion
14869 * text2.C (insertInset):
14870 * paragraph.C (insetAllowed):
14871 * BufferView_pimpl.C (insertInset): update to take in account the
14872 renaming of insertInsetAllowed
14874 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14876 * text2.C (getInset): new method. returns inset at cursor position.
14878 * BufferView_pimpl.C (Dispatch): changes because of this.
14880 * LyXAction.C (init): rename open-stuff to inset-toggle.
14882 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14884 * text2.C (toggleInset): renamed from openStuff; use
14887 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14889 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14891 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14893 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14895 * buffer.C (readLyXformat2): Add filename to the error dialog
14897 2001-07-18 Juergen Vigna <jug@sad.it>
14899 * tabular.C (GetCellNumber): put an assert here instead of the check!
14901 2001-07-17 Juergen Vigna <jug@sad.it>
14903 * BufferView_pimpl.C (toggleSelection): adapted too.
14905 * text.C (selectNextWord): adapted for use with insets.
14906 (selectSelectedWord): ditto
14908 2001-07-17 Juergen Vigna <jug@sad.it>
14910 * sp_spell.C (PSpell): fix initialitation order.
14912 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14914 * paragraph.C: spacing
14916 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14918 * sp_spell.C: repair language selection for pspell
14920 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14922 * lyxfunc.h: change more methods to begin with lower char.
14924 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14926 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14927 for unknown layouts.
14929 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14931 * buffer.C (readLyXformat2): Generate an error dialog if there are
14934 2001-07-16 Juergen Vigna <jug@sad.it>
14936 * sp_spell.C: always compile ISpell part.
14938 * lyxrc.C: added use_pspell entry and it's handling.
14940 2001-07-13 Juergen Vigna <jug@sad.it>
14942 * sp_spell.C: removed double includes.
14944 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14946 Consistent use of Lsstream.h:
14947 * Lsstream.h: added using std::stringstream for consistencies sake.
14949 * buffer.C: removed using std::stringstream
14951 * lyxfont.C (stateText):
14952 * paragraph.C (asString):
14953 * text.C (selectNextWord, selectSelectedWord):
14954 * text2.C (setCounter):
14955 * vspace.C (asString, asLatexString):
14956 std::ostringstream -> ostringstream.
14958 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14960 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14961 * commandtags.h: add LFUN_HELP_ABOUTLYX
14962 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14964 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14966 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14968 * lyx_gui_misc.C: remove spellchecker
14969 * lyxfunc.C: showSpellchecker
14971 * sp_ispell.h: added
14972 * sp_pspell.h: added
14973 * sp_spell.C: added
14974 * sp_form.[Ch]: removed
14975 * spellchecker.[Ch]: removed
14977 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14979 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14981 (simpleTeXSpecialChars): Simply print the input character without
14982 any special translation if pass_thru is set.
14984 * layout.h: Added bool pass_thru to layout class for being able to
14985 implement pass through of a paragraph for Literate Programming.
14987 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14988 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14989 * layout.C (Read): add "passthru" to list of layout tags and add
14990 code to set the pass_thru boolean when it is read.
14992 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14994 * trans_decl.h: remove allowed from KmodInfo
14996 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14997 remove allowed code
15000 * paragraph_pimpl.C (erase): use boost::prior
15002 * Painter.C (text): use data() instead of c_str() when length is
15004 * WorkArea.C (putClipboard): ditto
15005 * font.h (width): ditto
15007 * BufferView2.C: use it-> instead of (*it). for iterators
15009 * paragraph_pimpl.C: ditto
15010 * paragraph.C: ditto
15011 * minibuffer.C: ditto
15012 * language.C: ditto
15014 * encoding.C: ditto
15015 * counters.C: ditto
15016 * converter.C: ditto
15018 * Variables.C: ditto
15019 * TextCache.C: ditto
15020 * MenuBackend.C: ditto
15021 * LyXAction.C: ditto
15023 * FloatList.C: ditto
15024 * DepTable.C: ditto
15025 * ColorHandler.C (LyXColorHandler): ditto
15027 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15029 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15031 * text2.C (openStuff): reintroduce this method (which had been
15032 nuked in NEW_INSETS frenzy).
15034 * lyxfunc.C (Dispatch): when an action has not been handled, use
15035 its name in the error message, not its number.
15037 * paragraph.C (inInset): change method name to begin with lowercase.
15040 * text2.C: updates because of this.
15042 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15044 * ToolbarDefaults.C (add): add spaces in error message
15046 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15048 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15049 (readLyXformat2): rename return_par to first_par, use lyxlex's
15050 pushToken and remove the manual push handling.
15051 (parseSingleLyXformat2Token): add another ert comp. variable:
15052 in_tabular, rename return_par to first_par. handle newlines better
15054 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15056 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15058 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15060 * text2.C (getParFromID): removed
15062 * buffer.C (getParFromID): new method moved form lyxtext.
15063 * BufferView2.C (insertErrors): adjust
15064 (setCursorFromRow): adjust
15065 * BufferView_pimpl.C (restorePosition): adjust
15066 * lyxfunc.C (Dispatch): adjust
15067 * undo_funcs.C (textUndo): adjust
15069 (textHandleUndo): adjust
15070 (textHandleUndo): adjust
15072 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15074 * buffer.C: up' the LYX_FORMAT
15076 * lyxfont.h: turn NO_LATEX on as default
15078 * buffer.C (insertErtContents): new methods of tex style compability.
15079 (parseSingleLyXformat2Token): use it several places.
15080 * tabular.C (OldFormatRead): and here
15082 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15084 * text2.C: remove some commented code.
15087 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15088 * trans.C: changes because of the above.
15090 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15092 * text2.C (setCounter): Fix counters bug with bibliography layout.
15094 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15096 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15097 own member functions
15098 (simpleTeXSpecialChars): ditto
15100 2001-07-06 Juergen Vigna <jug@sad.it>
15102 * a lot of files: changed the access to LyXText::status and the
15103 call of undo-functions.
15105 * undo.[Ch]: added a inset_id to the undo informations.
15107 * undo_funcs.[Ch]: added and moved here all undo functions.
15109 * lyxtext.h: give the status enum a weight, made status_ a private
15110 variable and made accessor functions for it, removed the whole bunch
15111 of undo-functions as they are now in their own file, make some
15112 functions publically available. Added function ownerParagraph with
15115 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15116 made InInset() a const function, added getParFromID() function.
15118 * buffer.[Ch]: added const version for inset_iterator functions,
15119 added getInsetFromID() function.
15121 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15122 changed undo functions for new version.
15124 2001-07-05 Juergen Vigna <jug@sad.it>
15126 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15127 unknow mechanism does not call the proper constructor but only this
15128 one also if I request the other!?
15130 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15132 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15134 * text2.C (LyXText): use initialization lists.
15136 * lyxtext.h (Selection): initialize set_ and mark_
15137 (init): remove method
15139 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15141 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15143 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15145 * screen.[Ch]: change method names to begin with lowercase
15147 * BufferView_pimpl.C (updateScrollbar): simplify further and
15148 hopefully make it a bit faster.
15150 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15152 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15153 calling directly xforms functions.
15155 * Painter.C (Painter):
15156 * lyx_cb.C (MenuWrite):
15157 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15160 * lyx_gui.C: remove bogus guiruntime extern declaration.
15162 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15164 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15166 (redoDrawingOfParagraph): ditto
15167 (redoParagraphs): ditto
15168 (cutSelection): don't create a object for CutAndPaste use the
15169 static method directly
15170 (pasteSelection): ditto
15172 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15175 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15177 * modifications to some other files because of this.
15179 * Makefile.am (lyx_SOURCES): add XFormsView
15181 * XFormsView.[Ch]: new files
15183 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15184 the main window. Move the gui dependent stuff to XFormsView
15186 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15188 * tabular.C (GetCellInset): update cur_cell also in the row/col
15189 version of this function.
15191 * lyxfunc.C: no need to include figure_form.h here.
15197 * lyxvc.C: no need to include forms.h here.
15199 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15201 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15203 * lyxfunc.C (Dispatch):
15205 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15206 constructor argument.
15208 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15210 * paragraph.C (Paragraph): dont't clear, and just set layout.
15211 (makeSameLayout): use params's copy contructor.
15213 * ParagraphParameters.[Ch] (makeSame): delete method
15215 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15217 * Variables.[Ch]: fix indentation, rename set to isSet
15219 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15221 * lyxfunc.C (Dispatch): fix typo
15223 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15225 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15228 * bufferlist.C: include assert.h for emergencyWrite().
15230 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15232 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15233 give up at last (bug #425202) !
15235 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15241 * spellchecker.C: strip spellchecker options and bring up
15242 preferences tab instead
15244 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15246 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15247 the istringstream constructor
15249 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15251 * paragraph.C (getLayout): fix return value
15253 * paragraph.h: do not declare getLayout as inline.
15255 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15257 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15259 * lyxcursor.h (operator<): new func
15260 (operator>): new func
15261 (operator>=): new func
15262 (operator<=): new func
15264 * text.C (changeCase): use selection.start and selection.end
15265 (changeRegionCase): require from to be <= to. Require par to be a
15268 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15270 2001-06-27 Juergen Vigna <jug@sad.it>
15272 * text.C (cursorLeftOneWord): changed to return the cursor and added
15273 overlay with BufferView * parameter which calls this one.
15275 (selectWord): use new getWord function.
15276 (changeCase): renamed from changeWordCase as and extended to work
15277 also on selections.
15279 * lyxtext.h: added enum word_location
15281 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15282 changeCase as this operates now also on selections.
15284 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15286 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15288 * many files: send debug output to Debug::INFO instead of
15291 * converter.C (View):
15293 (Move): send debug output to Debug::FILES instead of console.
15295 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15297 * lyxfunc.C (getStatus): use func_status
15299 * func_status.h: new header, describing the results of
15300 LyXFunc::getStatus;
15302 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15305 2001-06-25 The LyX Project <jug@sad.it>
15307 * buffer.C (sgmlOpenTag):
15309 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15311 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15313 * text2.C: remove some dead code
15315 * tabular.C (GetCellInset): store the last cell checked (gotten)
15317 * tabular.h: add the helper for the speedup
15319 * lyxtext.h: remove some dead code
15321 2001-06-26 The LyX Project <Asger>
15323 * paragraph.C: Change export to LaTeX of alignment to
15324 \begin{center} and family for better roundtrip work with reLyX.
15326 * Tune the math drawing a bit.
15328 2001-06-25 The LyX Project <Asger>
15330 * LColor.C (LColor): New color for math background. New color
15333 2001-06-25 The LyX Project <jug@sad.it>
15335 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15337 * lyxfunc.C (Open):
15338 * bufferlist.C (newFile): do not restrict to files ending with
15341 * BufferView_pimpl.C (MenuInsertLyXFile):
15343 2001-06-24 The LyX Project <jug@sad.it>
15345 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15348 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15350 * lyxtext.h: rename most methods to begin with a small char.
15351 Lots of changes because of this.
15353 * paragraph.C (Paragraph): do not call fitToSize
15354 (erase): call Pimpl::erase
15355 (insertChar): call Pimpl::insertChar
15356 (insertInset): call Pipl::insertInset
15357 (breakParagraph): do not call fitToSize
15358 (breakParagraphConservative): do not call fitToSize
15359 (fitToSize): remove method
15361 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15363 2001-06-24 The LyX Project <Asger>
15365 * Fix Qt compilation^2
15367 2001-06-24 The LyX Project <jug@sad.it>
15369 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15370 depthHook(getDepth()-1).
15373 * ParagraphParameters.h:
15374 * ParameterStruct.h: change type of depth to unsigned int ==
15375 depth_type. Many adaptations to other files before of that.
15377 2001-06-24 The LyX Project <Asger>
15379 * Fix Qt compilation.
15381 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15383 * paragraph.h: renamed several methods to begin with small letter.
15384 several changes to many parts of the code because of this.
15386 2001-06-23 The LyX Project <jug@sad.it>
15388 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15389 rewritten to discard all double spaces when KeepEmpty is off
15390 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15391 to only handle newlines but not fiddle with spaces and friends.
15393 * lyxfunc.C (MenuNew): when doing 'new from template', use
15394 template_path as default directory
15396 2001-06-23 The LyX Project <Asger>
15398 * Clean-up of header file includes all over
15399 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15401 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15403 * paragraph.h: renamed from lyxparagraph.h
15405 2001-06-23 Asger <lyx@violet.home.sad.it>
15407 * Buffer.h: Removed Buffer::resize
15408 * BufferList.h: Removed BufferList::resize
15409 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15410 the document lazily when we change the width, or the font settings.
15412 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15414 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15416 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15418 * buffer.h: remove out of date comment
15420 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15423 * screen.C: fix "theoretical" GC leak
15425 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15427 * LaTeX.C (scanAuxFile):
15428 (deplog): remove trailing \r when reading stream (useful under
15431 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15433 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15434 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15435 and BufferView::theLockingInset(Inset*), so should use them and not
15436 access bv_->text->the_locking_inset directly.
15438 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15440 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15443 * tex-defs.h: remove old unused file
15445 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15447 * BufferView_pimpl.C: fix typo, remove minibuffer message
15448 when buffer has loaded
15450 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15452 * lyxfunc.C (Dispatch): use stringstream
15453 (MenuNew): use stringstream
15454 (Open): use stringstream
15456 * importer.C (Import): use stringstream
15458 * bufferview_funcs.C (CurrentState): use stringstream
15460 * LaTeX.C (run): use stringstream
15462 * BufferView_pimpl.C (savePosition): use stringstream
15463 (restorePosition): use stringstream
15464 (MenuInsertLyXFile): use stringstream
15466 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15479 * vspace.C: removed // -*- C++ -*- as first line.
15482 * version.h: added // -*- C++ -*- as first line.
15484 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15486 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15488 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15491 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15493 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15496 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15498 * gettext.C: include LString.h even when --disable-nls is on.
15500 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15502 * converter.h (Get): changed argument type from int to
15503 FormatList::size_type to avoid unnecessary conversion.
15505 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15508 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15510 * gettext.h: include LString.h even when --disable-nls is on.
15512 2001-06-07 Juergen Vigna <jug@sad.it>
15514 * text.C (BreakAgain): subst spaces with tabs.
15516 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15517 (resizeInsetsLyXText): set force on resizeLyXText.
15519 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15521 * gettext.h (gettext_init):
15522 (locale_init): use a real definition instead of a macro
15524 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15526 * Bufferview_pimpl.C:
15528 * LColor.C: further lcolor tidies
15530 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15532 * BufferView_pimpl.C (updateScrollbar): simplify.
15534 * BufferView2.C: don't include insets/insetinfo.h, change
15535 prototype for insertInset and call the Pimpl version. let
15536 updateInset call Pimpl version.
15538 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15539 gotoInset to BufferView::Pimpl
15541 2001-06-01 Juergen Vigna <jug@sad.it>
15543 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15544 inside a LockingInset (is the update needed at all?).
15546 2001-05-31 Juergen Vigna <jug@sad.it>
15548 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15549 here not the old one otherwise how should we compare it afterwards
15552 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15557 * FontInfo.C: bring C functions into global namespace when
15560 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15562 * LString.h: make sure config.h has been loaded before LString.h.
15564 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15565 (one for each char read by EatLine!).
15567 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15570 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15572 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15573 to the same as the par we break from
15575 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15577 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15579 * MenuBackend.C (expand): also create menu entries for wide
15580 versions of the floats.
15582 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15584 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15586 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15587 frontends/Makefile.am
15593 * tabular.C (getTokenValue): add std::
15595 * tabular-old.C (getTokenValue): add std::
15596 (getTokenValue): ditto
15597 (getTokenValue): ditto
15599 * screen.C (ToggleSelection): adjust
15601 * lyxtext.h: put selection cursors inside a Selection struct.
15603 * lyxfunc.C (moveCursorUpdate): adjust
15605 * lyxfont.C (latexWriteStartChanges): add std::
15607 * lyxfind.C: adjust
15609 * font.h: delete with(char const *, LyXFont const &)
15611 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15613 * FontInfo.C (getFontname): add std::
15615 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15616 (workAreaButtonPress): adjust
15617 (tripleClick): adjust
15619 (moveCursorUpdate): adjust
15622 * BufferView2.C (gotoInset): adjust
15624 2001-05-30 Juergen Vigna <jug@sad.it>
15626 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15627 to check pspell I add this as default as I now have new pspell
15628 libraries and they seem to use this.
15630 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15632 * text2.C (CutSelection): make the cursor valid before the call to
15635 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15637 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15638 relied on 0 terminated strings and other horrors. Bug found due to
15639 the new assert in lyxstring!
15641 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15644 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15646 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15649 * lyxfunc.C (processKeySym): change method of getting to the
15652 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15653 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15654 * BufferView_pimpl.[Ch]: here as private methods.
15656 2001-05-28 Juergen Vigna <jug@sad.it>
15658 * text.C (SetHeightOfRow): added the update() call again as it is
15659 needed to initialize inset dimensions!
15661 2001-05-16 Juergen Vigna <jug@sad.it>
15663 * text2.C (SetCharFont): Add new function with BufferView * and
15664 bool toggleall parameters for setting insets internal fonts.
15665 (SetFont): Freeze the undo as we may change fonts in Insets and
15666 all this change should be inside only one Undo!
15668 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15669 setting font's in insets as for them we have the SetFont function!
15671 2001-05-15 Juergen Vigna <jug@sad.it>
15673 * text2.C (ClearSelection): to be sure we REALLY don't have any
15676 * tabular.C (TeXCellPreamble): fixed the left border problem for
15679 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15681 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15684 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15686 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15687 LFUN_BREAKPARAGRAPH.
15689 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15690 help test to "internal only", similar for LFUN_INSERT_URL
15692 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15693 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15694 auto_region_delete and deadkeys.
15696 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15699 * LColor.C: remove some dead entries, tidy a little
15701 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15703 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15705 (Dispatch): implement LFUN_ESCAPE
15707 * commandtags.h: add LFUN_ESCAPE
15709 * LyXAction.C (init): add entry for LFUN_ESCAPE
15711 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15712 Remove commented code.
15713 (insertNote): moved here
15714 (open_new_inset): moved here
15716 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15719 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15721 * kbmap.C (findbinding): clean it up and make it work correctly.
15723 * lyx_main.C (init): do not pass argc and argv as parameters
15725 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15727 * buffer.C: fix path for OS/2 & Win32
15731 * lyx_main.C: Added os:: class.
15733 * os2_defines.h: update
15735 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15737 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15738 better by trying again with reduced state.
15740 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15742 * lyxrc.C (read): print error about invalid key sequence only when
15743 debugging (because not all latinX keysyms are known to some X
15746 * kbsequence.C (getiso): add a few std:: qualifiers
15747 (getiso): comment out extra return statement.
15749 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15751 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15753 (Dispatch): enhance the accent inset a bit. (not perfect)
15755 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15757 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15759 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15761 * bufferlist.C (emergencyWrite): fix assert() call
15763 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15765 * text.C (InsertChar): Added trivial patch to only send the "you
15766 can not do multiple spaces this way" message once during a
15769 2001-05-08 Baruch Even <baruch@lyx.org>
15771 * Makefile.am: Changed order of libraries to get LyX to link properly
15772 with the gnome frontend.
15774 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15776 * LaTeXFeatures.h: add a std:: qualifier
15778 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15780 * paragraph.C (String): use stringstream
15782 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15784 * paragraph.C (writeFile): remove footflag arg
15786 * buffer.C (makeLaTeXFile): use stringstream
15787 (latexParagraphs): remove footnot gurba
15789 * LaTeXFeatures.C (getPackages): use stringstream
15790 (getMacros): likewise
15791 (getTClassPreamble): likewise
15792 (getFloatDefinitions): new method
15794 * paragraph.C (writeFile): reindent
15797 * WorkArea.h: revert the xpos + etc changes.
15799 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15801 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15803 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15804 (pasteSelection): likewise
15805 * text2.C (CreateUndo): likewise
15807 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15809 * minibuffer.C (peek_event): temporarily reduce the functionality
15810 of the minibuffer (to allow args on lfuns)
15812 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15813 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15815 * buffer.C (readInset): add compability reading of old float
15816 lists, add reading of new style float list.
15817 (readInset): avoid reevaluation of inscmd.getCmdName()
15818 (getLists): reindent
15820 * MenuBackend.C (MenuItem): implement parsing of
15821 md_floatlistinsert and md_floatinsert.
15822 (expand::LastFiles): move initalizaton of iterators out of loop,
15823 avoid reevaluation.
15824 (expand::Documents): introduce typdedef vector<string> Strings,
15826 (expand::ExportFormats): introduce typedef vector<Format const *>
15827 Formats, and use it.
15828 (expand): implement FloatListInsert and FloatInsert.
15830 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15831 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15832 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15834 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15836 (Dispatch::LFUN_FLOAT_LIST): implement
15838 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15840 * LaTeX.C (run): Fix problem with --export code.
15842 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15844 * BufferView.[Ch] (workarea): removed.
15845 (getClipboard) new method; wrapper for workarea()->getClipboard()
15847 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15850 * WorkArea.h (width, height, xpos, ypos): These methods all
15851 returned the dimensions of the work_area sub-area of WorkArea,
15852 resulting in a position error if the WorkArea were resized. Now
15853 return the dimensions of the entire WorkArea.
15855 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15857 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15859 * LaTeX.C (deplog): correct the syntax of regex reg1
15861 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15863 * undo.C: remove !NEW_INSETS cruft
15865 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15867 * text2.C: remove !NEW_INSETS cruft
15869 * text.C: remove !NEW_INSETS cruft
15871 * tabular.C: remove !NEW_INSETS cruft
15873 * spellchecker.C: remove !NEW_INSETS cruft
15875 * lyxtext.h: remove !NEW_INSETS cruft
15877 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15879 * lyxfunc.C: remove !NEW_INSETS cruft
15881 * lyxfind.C: remove !NEW_INSETS cruft
15883 * lyx_cb.C: remove !NEW_INSETS cruft
15885 * figureForm.C: remove !NEW_INSETS cruft
15887 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15889 * buffer.[Ch]: remove !NEW_INSETS cruft
15891 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15893 * CutAndPaste.C: remove !NEW_INSETS cruft
15895 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15897 * BufferView2.C: remove !NEW_INSETS cruft
15899 * BufferView.h: remove !NEW_INSETS cruft
15901 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15903 * Lsstream.h: include LString.h before the sstream headers to
15904 fix problem with gcc 2.95.3 and lyxstring
15906 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15908 * lyx_main.C: add using directives when needed for C functions
15909 declared in std:: namespace.
15911 2001-04-27 Juergen Vigna <jug@sad.it>
15913 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15914 (SetHeightOfRow): comment out the update call should not be needed!
15916 2001-04-13 Juergen Vigna <jug@sad.it>
15918 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15919 (LyXTabular): tried to minimize operator= operations (and realized
15920 hopfully Lars wish).
15922 2001-04-27 Juergen Vigna <jug@sad.it>
15924 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15926 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15928 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15930 * buffer.C (readInset): hack to make listof algorithm work
15932 * BufferView_pimpl.C: hack to make listof algorithm work
15934 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15936 * LyXAction.C: removed all !NEW_INSETS cruft
15937 (init): moved lfun_item in method
15939 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15941 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15943 * BufferView2.C (theLockingInset): white space.
15945 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15947 * minibuffer.C: include <iostream>
15949 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15951 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15953 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15955 * text.[Ch] (TransposeChars): new method
15957 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15959 * call message directly through LyXView instead of through LyXFunc
15960 * BufferView2.C: adjust
15961 * BufferView_pimpl.C: adjust
15962 * FontLoader.C: adjust
15964 * bufferview_funcs.C: adjust
15965 * converter.C: adjust
15966 * figureForm.C: adjust
15967 * importer.C: adjust
15969 * lyx_gui_misc.C: adjust
15970 * lyxfunc.C: adjust
15973 + more files in subdirs
15975 * lyxparagraph.h (size): move up int file
15978 * adjust all uses of Assert to lyx::Assert.
15980 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15981 lyxfunctional in namespace lyx
15982 * layout.C (hasLayout): ditto
15985 (delete_layout): ditto
15986 (NumberOfClass): ditto
15987 * converter.C (GetFormat): ditto
15992 * bufferlist.C (getFileNames): ditto
15993 (emergencyWriteAll): ditto
15996 * MenuBackend.C (hasSubmenu): ditto
15999 * BufferView_pimpl.C (getInsetByCode): ditto
16001 2001-04-18 Juergen Vigna <jug@sad.it>
16003 * vspace.C (asLatexString): fixed the 100% problem.
16005 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16007 * lyxfunc.C (Dispatch):
16009 * minibuffer.h: add a few std:: qualifiers
16011 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16013 * minibuffer.[Ch]: reimplement so that commands is initiated and
16014 run from lyxfunc, simplified som handling, and made the completion
16015 and history code for complete. wip.
16017 * lyxfunc.C (processKeySym): call message
16018 (miniDispatch): new temporary method
16019 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16020 (LFUN_MESSAGE): implement
16021 (LFUN_MESSAGE_PUSH): implement
16022 (LFUN_MESSAGE_POP): implement
16023 (initMiniBuffer): the initial/defualt minibuffer message.
16025 * lyxfont.[Ch]: inline some more getters
16027 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16029 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16031 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16032 (AutoSave): use LFUN_MESSAGE
16033 (Reconfigure): ditto
16035 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16037 * figureForm.C: use LFUN_MESSAGE
16039 * converter.C (runLaTeX): use LFUN_MESSAGE
16041 * bufferview_funcs.C: use LFUN_MESSAGE
16043 (changeDepth): ditto
16045 * bufferparams.h: use boost::
16047 * bufferlist.h: inherit privately from noncopyable
16049 * bufferlist.C (loadLyXFile): remove some commented code.
16051 * buffer.C (runChktex): use LFUN_MESSAGE
16053 * ShareContainer.h: inherit privately from noncopyable
16055 * ParagraphParameters.[hC] (depth): inline it.
16057 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16059 (message): new method
16060 (messagePush): ditto
16061 (messagePop): ditto
16062 (show): init minibuffer
16063 (showState): direct call
16065 * LaTeX.[Ch]: inherit privately from noncopyable
16066 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16067 instead of WriteStatus.
16069 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16071 * BufferView_pimpl.C (buffer): don't init minibuffer
16072 (workAreaButtonPress): use LFUN_MESSAGE
16073 (workAreaButtonRelease): ditto
16074 (savePosition): ditto
16075 (restorePosition): ditto
16076 (MenuInsertLyXFile): ditto
16077 (workAreaExpose): don't init minibuffer
16078 (update): remove commented code, simplify
16080 * BufferView2.C (openStuff): use LFUN_MESSAGE
16081 (toggleFloat): ditto
16084 (copyEnvironment): ditto
16085 (pasteEnvironment): ditto
16090 (updateInset): remove some commented code
16092 * lastfiles.h: inherit privately from noncopyable
16095 * lyx_main.h: ditto
16097 * lyxlex_pimpl.h: ditto
16099 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16100 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16101 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16103 * LyXAction.h: inherit privately from noncopyable, add methods
16104 func_begin, func_end, returning iterators to the func map.
16106 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16107 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16108 (func_begin): new method
16109 (func_end): new method
16111 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16113 (copySelection): ditto
16114 (pasteSelection): ditto
16116 * BufferView.C: whitespace change
16117 * BufferView.h: inherit privately from noncopyable
16119 2001-04-16 Allan Rae <rae@lyx.org>
16121 * tabular-old.C (l_getline):
16122 * spellchecker.C (sc_check_word):
16123 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16124 an unrecognised preprocessor directive. So ensure they're wrapped.
16126 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16128 * src/exporter.C (Export): Give an error message when path to file
16131 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16133 * LaTeX.C (deplog): Always check that foundfile exists.
16135 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16138 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16140 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16142 * tabular.[Ch] (getLabelList): implement new method
16144 * minibuffer.h: comment ouf setTiimer
16146 * minibuffer.C (ExecutingCB): constify res
16147 (peek_event): constify s
16148 (Set): constify ntext
16149 (Init): constify nicename
16151 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16153 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16154 (savePosition): use two params to Minibuffer::Set
16155 (restorePosition): ditto
16157 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16159 * lyx_main.C: include language.h
16161 * Makefile.am (lyx_main.o): add language.h
16163 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16169 * CutAndPaste.C: include gettext.h
16171 * lyxfont.h: remove old hack with ON and OFF.
16174 * lyxfont.h: do not include language.h...
16179 * bufferview_funcs.C:
16185 * paragraph.C: ... but do it here instead
16187 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16189 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16191 * tabular.C: small reformat
16193 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16196 (BreakParagraph): ditto
16197 (SetOnlyLayout): ditto
16200 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16203 * lastfiles.C: removed most using decl, add std:: where needed
16205 * buffer.C: ws changes
16207 * MenuBackend.C (class compare_format): put into anon namespace
16208 (expand): constify label, names, action, action2
16211 * text.C (SingleWidth): constify font
16212 (IsBoundary): constify rtl2
16213 (GetVisibleRow): constify ww
16215 * LaTeX.C (deplog): constify logfile
16217 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16219 (workAreaExpose): constify widthChange, heightChange
16221 * lyxrow.C (par): moved
16224 * lyxrow.h: as inlines here
16226 * lyxfont.h (shape): moved from lyxfont.C
16227 (emph): moved from lyxfont.C
16229 * lyxfont.C (LyXFont): use initialization list for all
16231 (shape): move to lyxfont.h as inline
16232 (emph): move to lyxfont.h as inline
16235 2001-04-04 Juergen Vigna <jug@sad.it>
16237 * vspace.C: had to include stdio.h for use of sscanf
16239 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16242 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16243 independent of xforms.
16245 2001-04-02 Juergen Vigna <jug@sad.it>
16247 * spellchecker.C: fixed namespace placing!
16249 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16251 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16252 the LyXParagraph * is 0.
16254 2001-03-29 Juergen Vigna <jug@sad.it>
16256 * vspace.C: added support for %, c%, p%, l%.
16257 (stringFromUnit): added helper function.
16258 (asLatexString): changed to give right results for the %-values.
16260 * buffer.C: convert the widthp in a width%.
16262 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16264 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16267 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16268 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16270 * lyx_cb.[Ch]: see above.
16272 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16276 * lyx.[Ch]: replaced by figure_form.[Ch].
16280 * lyxfunc.C: changed headers associated with above changes.
16282 2001-03-27 Juergen Vigna <jug@sad.it>
16284 * BufferView_pimpl.C: set the temporary cursor right!
16286 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16288 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16290 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16292 * LString.h: removed "using std::getline"!
16294 * BufferView_pimpl.C (Dispatch): changes due to changes in
16295 InsetInclude::Params.
16297 * buffer.C (tag_name): removed redundant break statements as they were
16298 producing lots of warnings with my compiler.
16300 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16302 * LString.h: add "using std::getline" when using the real <string>.
16304 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16306 * buffer.C: removed bitset usage.
16307 PAR_TAG moved to an anonymous name space.
16308 (tag_name): new funtion, also in the anonymous namespace.
16309 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16310 (makeDocBookFile): clean code. Completed transition from string arrays
16312 (SimpleDocBookOnePar): code clean.
16314 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16316 * tabular.C: add some comments.
16318 2001-03-22 Juergen Vigna <jug@sad.it>
16320 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16321 compatibility read a bit and fixed bug with minipage in different
16324 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16326 * buffer.C (pop_tag): removed.
16327 (push_tag): removed.
16328 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16329 array replaced with vector. Added support for CDATA sections.
16330 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16332 (makeDocBookFile): XML conformant declaration of CDATA section,
16333 fixed bug related to <emphasis> in the first paragraph char.
16334 (sgmlOpenTag): exclude empty tags.
16335 (sgmlCloseTag): ditto.
16337 * buffer.h (pop_tag): removed.
16338 (push_tag): removed.
16340 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16342 * language.h (Languages): added size_type and size().
16344 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16346 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16347 response on compability reading of minipages. One probliem is that
16348 the old usage of minipages was «flertydig»
16350 * several files here and in subdirs: don't use static at file
16351 scope use anon namespaces instead.
16353 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16355 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16356 LaTeX output. This is necessary for Literate document
16359 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16361 * buffer.C: insert hfill when needed.
16363 * tabular.C (l_getline): use string::erase, small whitespace change.
16365 * BufferView_pimpl.C: try the anon namespace.
16366 * WorkArea.C: ditto
16368 2001-03-16 Juergen Vigna <jug@sad.it>
16370 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16371 otherwise it won't open options-dialogs.
16373 * buffer.C: honor pextraWidth(p) on converting minipages.
16375 * tabular.C (l_getline): changed the functions to strip trailing \r.
16377 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16379 * BufferView_pimpl.C:
16380 * minibuffer..C: added "using SigC::slot" declaration.
16382 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16384 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16390 * paragraph.C: ditto
16392 * lyxtext.h: NO_PEXTRA
16394 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16396 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16397 * ParameterStruct.h: ditto
16398 * ParagraphParameters.h: ditto
16399 * lyxparagraph.h: ditto
16401 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16403 * buffer.C: add compability for minipage alignment.
16404 (latexParagraphs): remove unwanted pextra check.
16406 * several files: remove CXX_WORKING_NAMESPACES
16408 * buffer.C (pop_tag): tie is in namespace boost
16410 * BufferView.h: noncopyable is in namespace boost
16412 * lyx_main.h: ditto
16415 * lastfiles.h: ditto
16416 * bufferlist.h: ditto
16417 * ShareContainer.h: ditto
16419 * LyXAction.h: ditto
16422 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16424 * Merging changes from BRANCH_MVC back into HEAD.
16426 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16428 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16430 * BufferView_pimpl.C: change from intl.C
16434 * Makefile.am: move combox.*
16440 * intl.C: remove dialog (covered by prefs)
16442 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16444 * lyxfunc.C (Dispatch): removed redundant break statement.
16446 2001-03-14 Juergen Vigna <jug@sad.it>
16448 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16450 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16452 * buffer.C: add hack to fix compability reading of minipages.
16454 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16456 * buffer.C (getLists): Cleanup.
16458 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16460 * lyxfont.C (update): don't honor toggleall on font size.
16462 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16466 * Makefile.am: moved to frontends/xforms/
16470 * BufferView_pimpl.C: changes for moved mathpanel
16472 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16474 * gettext.h: fix gettext_init() in --disable-nls
16476 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16478 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16480 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16483 * lyx.h: strip external form
16485 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16487 * BufferView_pimpl.C: add comment, destroySplash()
16489 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16491 * BufferView_pimpl.C:
16495 * lyxfunc.C: use re-worked insetinclude
16497 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16499 * buffer.C: add using std::stringstream.
16501 * lyx_cb.C: readd using std::ios.
16503 * buffer.C: add using std::map.
16505 * BufferView_pimpl.C: add using std::vector.
16507 * ShareContainer.h: add std:: to swap.
16509 * buffer.h: add some typedefs
16510 * buffer.C (getLists): use them
16511 (getLists): renamed from getTocList.
16512 add a counter for the different float types and use it in the
16514 (getLists): use the same counter for the NEW_INSETS and the "non"
16517 * lyx_cb.h: remove unused items, includes, using etc.
16519 * ShareContainer.h: remove some commented code, add more comments
16520 and "documentation".
16522 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16524 * buffer.C (getTocList): make the list also when NEW_INSETS is
16527 * buffer.h: remove TocType
16529 * buffer.C (getTocList): change to return a map<string,
16530 vector<TocItem> >, implement for dynamic number of list.
16532 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16533 * text2.C (PasteSelection): adjust
16534 * CutAndPaste.C (pasteSelection): adjust
16536 * FloatList.C (FloatList): update from the new_insets branch.
16537 * Floating.[Ch]: ditto
16538 * LaTeXFeatures.C: ditto
16540 * lyxlex_pimpl.C: ditto
16542 * paragraph.C (Last): remove when NEW_INSETS is defined.
16544 * other file: changes because of the above.
16546 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16548 * lyxparagraph.h: rename next to next_, previous to previous_,
16549 make them private for NEW_INSETS. Rename Next() to next(),
16550 Previous() to previous().
16552 * other files: changes because of the above.
16554 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16557 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16560 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16562 * main.C (main): pass lyx_localedir to gettext_init().
16564 * gettext.h: remove locale_init and gettext_init macros
16566 * gettext.C (locale_init): new function
16567 (gettext_init): new function
16569 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16572 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16574 * Moved credits to frontends:
16575 * credits.[Ch]: removed
16576 * credits_form.[Ch]: removed
16577 * lyx_gui_misc.C: remove credits stuff
16580 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16582 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16584 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16585 unneeded destructor.
16587 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16588 a standalone pointer again.
16590 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16592 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16598 * ToolbarDefaults.C:
16607 * BufferView_pimpl.C: use new file dialog in GUII
16610 * lyx_cb.C: remove LayoutsCB to Toolbar
16612 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16614 * ShareContainer.h (get): add std:: qualifier
16616 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16618 * ShareContainer.h: define a proper ShareContainer::value_type
16619 type (and use typename to please compaq cxx)
16621 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16623 * lyxparagraph.h: move serveral local vars to
16624 ParameterStruct/ParagraphParameters., use ShareContainer in
16625 FontTable., make vars in FontTable private and add getter and
16628 * paragraph.C: changes because of the above.
16630 * lyxfont.h: remove copy constructor and copy assignment. (the
16631 default ones is ok), move number inside FontBits. move inlines to
16634 * lyxfont.C: add number to initializaton of statics, move several
16635 inlines here. constify several local vars. some whitespace
16636 cleanup. Dont hide outerscope variables.
16638 * Spacing.h: add two new constructors to match the set methods.
16640 * ShareContainer.h: new file, will perhaps be moved to support
16642 * ParameterStruct.h: new file
16644 * ParagraphParameters.h: new file
16646 * ParagraphParameters.C: new file
16648 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16649 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16651 * BufferView_pimpl.C: ParagraphParameter changes.
16652 * buffer.C: Likewise.
16653 * bufferview_funcs.C: Likewise.
16654 * text.C: Likewise.
16655 * text2.C: Likewise.
16657 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16659 * lyxfind.C (LyXReplace): do not redefine default argument in
16661 (IsStringInText): ditto
16662 (SearchForward): ditto
16663 (SearchBackward): ditto
16665 2001-03-06 Juergen Vigna <jug@sad.it>
16667 * lyxfind.C (IsStringInText): put parentes around expressions.
16669 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16671 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16673 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16675 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16677 * stl_string_fwd.h: add comment
16679 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16682 * tabular.C: remove unused DocBook methods
16688 killed DO_USE_DEFAULT_LANGUAGE
16690 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16692 * lyx_gui.C: do not include language.h.
16694 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16695 arguments in function implementation.
16697 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16699 * BufferView_pimpl.C: add <ctime>
16701 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16703 * BufferView_pimpl.C: add using std::find_if
16705 2001-02-27 José Matos <jamatos@fep.up.pt>
16707 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16710 2001-02-11 José Matos <jamatos@fep.up.pt>
16712 * buffer.C (makeDocBookFile): command styles now have a parameter as
16713 "title" by default.
16715 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16717 * layout_forms.[Ch]: removed
16718 * lyx_cb.[Ch]: out character
16719 * lyx_gui.C: out character
16720 * lyx_gui_misc.C: out character
16721 * bufferview_funcs.C: : out character,
16722 added toggleall as parameter in ToggleAndShow
16724 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16726 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16728 * text2.C (SetCurrentFont): Disable number property at boundary.
16730 2001-02-26 Juergen Vigna <jug@sad.it>
16732 * lyxfunc.C (getStatus): added a string argument override function so
16733 that this is correctly called from LyXFunc::Dispatch if it contains a
16734 do_not_use_argument which is used!
16735 (Dispatch): added check for "custom" export and call appropriate func.
16737 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16739 * lyxrc.C: Add language_command_local, language_use_babel and
16740 language_global_options.
16742 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16744 * buffer.C (makeLaTeXFile): Use language_use_babel and
16745 language_global_options.
16747 2001-02-23 Juergen Vigna <jug@sad.it>
16749 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16750 which works with LyXText and putted it inside BufferView. Here now we
16751 only call for that part the BufferView::Dispatch() function.
16753 * BufferView.C (Dispatch): added.
16755 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16756 functions which needs to use a LyXText over from LyXFunc.
16757 (MenuInsertLyXFile): added
16758 (getInsetByCode): added
16759 (moveCursorUpdate): added
16760 (static TEXT): added
16762 2001-02-22 Juergen Vigna <jug@sad.it>
16764 * BufferView_pimpl.C (update): call a status update to see if LyXText
16767 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16769 * vc-backend.C (revert): implement for CVS
16770 (getLog): implement for CVS
16772 2001-02-20 Juergen Vigna <jug@sad.it>
16774 * text2.C (ClearSelection): added BufferView param for inset_owner call
16776 * lyxfunc.C (TEXT): added this function and use it instead of
16777 directly owner->view()-text of getLyXText().
16779 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16781 * src/layout_forms.C: out preamble
16782 * src/layout_forms.h: out preamble
16783 * src/lyx_cb.C: out preamble
16784 * src/lyx_cb.h: out preamble
16785 * src/lyx_gui.C: out preamble
16786 * src/lyx_gui_misc.C: out preamble
16787 * src/lyxfunc.C: connect with guii preamble
16789 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16791 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16793 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16795 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16796 whether to run bibtex.
16798 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16800 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16802 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16804 * Makefile.am (lyx_SOURCES): removed bibforms.h
16806 * vspace.h: doxygen
16808 * text.C (GetVisibleRow): make several local vars const
16810 * tabular.C: small cleanup.
16812 * lyxserver.C (callback): use compare instead of strncmp
16814 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16815 inlines to after class or to paragraph.C
16817 * lyxfont.h: remove friend operator!=
16819 * converter.h: move friend bool operator< to non friend and after
16822 * combox.h: small cleanup
16824 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16825 to inlines after class def.
16827 * buffer.C (pop_tag): use string operations instead of strcmp
16829 * bmtable.c: doxygen, small cleanup
16831 * LaTeX.h: remove friend operator==
16833 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16845 * BufferView_pimpl.C:
16846 * BufferView.[Ch]: remove cruft
16848 2001-02-14 Juergen Vigna <jug@sad.it>
16850 * lyxfunc.C: removed #if 0 unused code
16852 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16854 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16856 * text2.C (SetSelection): added a BufferView * parameter
16858 2001-02-13 Juergen Vigna <jug@sad.it>
16860 * lyxfunc.C (Dispatch): fixed protected blank problem.
16861 * BufferView2.C (protectedBlank): added LyxText * parameter.
16863 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16864 (AppendColumn): same as above for column_info.
16866 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16867 (moveCursorUpdate): use a LyXText param for support of InsetText.
16869 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16870 (tripleClick): ditto
16872 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16874 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16876 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16878 * text2.C (SetSelection): set correct update status if inset_owner
16879 (ToggleFree): ditto
16881 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16883 * tabular.C: remove some commented code.
16885 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16887 * BufferView_pimpl.C: call hideSplash()
16889 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16892 * bibforms.h: remove
16895 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16896 add LFUN_CHILD_CREATE
16898 * counters.h: fix tiny typo
16903 * lyx.C: move splash to frontends/xforms/
16905 * lyx_gui_misc.C: move Include and Bibform to frontends
16907 * lyxvc.h: clarify comment
16909 * vspace.C: tiny housekeeping
16911 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16913 * text.C (PrepareToPrint): RTL Fix.
16915 * paragraph.C (GetUChar): New method.
16916 (String): Use GetUChar.
16918 * buffer.C (asciiParagraph): Use GetUChar.
16920 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16922 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16924 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16927 * buffer.C: rename to getLogName(), handle
16928 build log / latex log nicely
16930 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16933 * MenuBackend.h: remove support for reference menuitem type.
16935 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16937 * BufferView_pimpl.C: housekeeping
16938 * BufferView_pimpl.h:
16943 * minibuffer.h: move Timeout GUI-I
16945 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16947 * lyxrc.C (read): Update converters data-structures.
16949 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16951 * LaTeX.h (operator!=): add operator != for Aux_Info
16953 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16955 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16957 * LaTeXLog.C: deleted, useful code moved to Buffer
16960 * buffer.C: new function getLatexLogName()
16966 * lyxfunc.C: use frontends for LaTeX and VC logs
16968 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16970 * LaTeX.h: yet another std:: that Allan forgot.
16972 * Variables.C (set): renamed from isset(), because this clashes
16973 with some HP-UX macros (grr).
16975 2001-02-06 Allan Rae <rae@lyx.org>
16977 * LaTeX.h: Another bug fix. Missing std:: this time.
16979 2001-02-04 Allan Rae <rae@lyx.org>
16981 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16982 floats problem. I've left it commented out because it's not quite
16983 correct. It should also test that the current object is a table or
16984 figure inset. But I haven't gotten around to figuring out how to do
16985 that. I *think* it'll be something like: "table" == inset.type()
16987 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16990 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16992 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16993 all the citation/databases/styles in the auxilary file.
16994 (run): Rerun latex if there was a babel language error.
16996 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16998 * text.C (Backspace): Preserve the font when changing newline char
17000 (BreakParagraph): If the cursor is before a space, delete the space.
17002 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17004 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17006 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17007 new argument (code).
17008 (ChangeCitationsIfUnique): New method.
17010 * paragraph.C (GetPositionOfInset): Handle bibkey.
17012 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17014 * BufferView_pimpl.h: change type of Position::par_pos to
17015 LyXParagraph::size_type.
17017 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17019 * BufferView_pimpl.C (savePosition, restorePosition): Write
17020 messages to minibuffer.
17022 2001-01-28 José Matos <jamatos@fep.up.pt>
17024 * buffer.C (makeDocBookFile): adds support for document language.
17025 A silly restriction on the name of LatexCommand types where removed.
17026 Added support for CDATA sections, allows to chars unescaped, used
17027 among others in code, to avoid escape < and >.
17029 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17031 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17032 saved positions instrad of a stack. Furthermore, a position is
17033 stored using paragraph id/paragraph position.
17035 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17036 Remove LFUN_REF_BACK.
17038 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17040 * converter.C (dvipdfm_options): New method.
17042 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17044 * vspace.C (isValidLength): Fix for empty input string.
17046 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17048 * LyXAction.C (init): change description of LFUN_FIGURE to
17051 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17053 * LaTeX.C: add using directive
17055 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17057 * MenuBackend.C (expand): Fix the sorting of the formats.
17059 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17061 * lyx_main.C: tiny error message fix
17063 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17065 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17066 calling fl_initialize(). This fixes the problem with ',' as
17067 decimal separator in text files.
17069 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17071 * trans.C (process): Fix the keymap bug.
17073 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17075 * LaTeX.C (scanAuxFiles): New method. Provides support for
17076 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17077 (scanLogFile) Scan for "run BibTeX" messages.
17079 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17080 OT1 font encoding. Also, load the aecompl package if the ae
17083 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17085 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17087 * texrow.C (increasePos): turn two error messages into debug
17090 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17092 * LaTeX.C (scanAux): Handle the \@input macro.
17093 (runBibTeX): Use scanAux().
17095 * language.C (latex_options_): New field.
17097 * LaTeXFeatures.C (getMacros): Add language macros.
17099 * buffer.C (makeLaTeXFile): Small fix.
17101 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17103 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17105 * text2.C: add a using directive.
17107 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17112 * lyxfunc.C: kill LyXBell.
17114 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17116 * text.C (IsBoundary): Remove the error message
17118 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17120 * lyxrc.C (setDefaults): Correct initialization value for
17123 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17125 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17128 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17129 and GotoNextNote().
17131 * src/LyXAction.C: Added reference-next.
17133 * text.C (InsertChar): Use contains instead of strchr.
17135 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17137 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17139 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17140 alignment commands (when needed).
17142 * text.C (InsertChar): Add ':' to number separator chars.