1 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
3 * tabular.C (l_getline): use string::erase, small whitespace change.
5 * BufferView_pimpl.C: try the anon namespace.
8 2001-03-16 Juergen Vigna <jug@sad.it>
10 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11 otherwise it won't open options-dialogs.
13 * buffer.C: honor pextraWidth(p) on converting minipages.
15 * tabular.C (l_getline): changed the functions to strip trailing \r.
17 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
20 * minibuffer..C: added "using SigC::slot" declaration.
22 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
24 * lyxlex_pimpl.h: noncopyable is in namespace boost.
32 * lyxtext.h: NO_PEXTRA
34 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
36 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
37 * ParameterStruct.h: ditto
38 * ParagraphParameters.h: ditto
39 * lyxparagraph.h: ditto
41 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
43 * buffer.C: add compability for minipage alignment.
44 (latexParagraphs): remove unwanted pextra check.
46 * several files: remove CXX_WORKING_NAMESPACES
48 * buffer.C (pop_tag): tie is in namespace boost
50 * BufferView.h: noncopyable is in namespace boost
57 * ShareContainer.h: ditto
62 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
64 * Merging changes from BRANCH_MVC back into HEAD.
66 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
68 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
70 * BufferView_pimpl.C: change from intl.C
74 * Makefile.am: move combox.*
80 * intl.C: remove dialog (covered by prefs)
82 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
84 * lyxfunc.C (Dispatch): removed redundant break statement.
86 2001-03-14 Juergen Vigna <jug@sad.it>
88 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
90 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
92 * buffer.C: add hack to fix compability reading of minipages.
94 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
96 * buffer.C (getLists): Cleanup.
98 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
100 * lyxfont.C (update): don't honor toggleall on font size.
102 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
106 * Makefile.am: moved to frontends/xforms/
110 * BufferView_pimpl.C: changes for moved mathpanel
112 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
114 * gettext.h: fix gettext_init() in --disable-nls
116 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
118 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
120 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
123 * lyx.h: strip external form
125 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
127 * BufferView_pimpl.C: add comment, destroySplash()
129 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
131 * BufferView_pimpl.C:
135 * lyxfunc.C: use re-worked insetinclude
137 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
139 * buffer.C: add using std::stringstream.
141 * lyx_cb.C: readd using std::ios.
143 * buffer.C: add using std::map.
145 * BufferView_pimpl.C: add using std::vector.
147 * ShareContainer.h: add std:: to swap.
149 * buffer.h: add some typedefs
150 * buffer.C (getLists): use them
151 (getLists): renamed from getTocList.
152 add a counter for the different float types and use it in the
154 (getLists): use the same counter for the NEW_INSETS and the "non"
157 * lyx_cb.h: remove unused items, includes, using etc.
159 * ShareContainer.h: remove some commented code, add more comments
162 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
164 * buffer.C (getTocList): make the list also when NEW_INSETS is
167 * buffer.h: remove TocType
169 * buffer.C (getTocList): change to return a map<string,
170 vector<TocItem> >, implement for dynamic number of list.
172 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
173 * text2.C (PasteSelection): adjust
174 * CutAndPaste.C (pasteSelection): adjust
176 * FloatList.C (FloatList): update from the new_insets branch.
177 * Floating.[Ch]: ditto
178 * LaTeXFeatures.C: ditto
180 * lyxlex_pimpl.C: ditto
182 * paragraph.C (Last): remove when NEW_INSETS is defined.
184 * other file: changes because of the above.
186 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
188 * lyxparagraph.h: rename next to next_, previous to previous_,
189 make them private for NEW_INSETS. Rename Next() to next(),
190 Previous() to previous().
192 * other files: changes because of the above.
194 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
197 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
200 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
202 * main.C (main): pass lyx_localedir to gettext_init().
204 * gettext.h: remove locale_init and gettext_init macros
206 * gettext.C (locale_init): new function
207 (gettext_init): new function
209 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
212 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
214 * Moved credits to frontends:
215 * credits.[Ch]: removed
216 * credits_form.[Ch]: removed
217 * lyx_gui_misc.C: remove credits stuff
220 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
222 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
224 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
227 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
228 a standalone pointer again.
230 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
232 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
247 * BufferView_pimpl.C: use new file dialog in GUII
250 * lyx_cb.C: remove LayoutsCB to Toolbar
252 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
254 * ShareContainer.h (get): add std:: qualifier
256 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
258 * ShareContainer.h: define a proper ShareContainer::value_type
259 type (and use typename to please compaq cxx)
261 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
263 * lyxparagraph.h: move serveral local vars to
264 ParameterStruct/ParagraphParameters., use ShareContainer in
265 FontTable., make vars in FontTable private and add getter and
268 * paragraph.C: changes because of the above.
270 * lyxfont.h: remove copy constructor and copy assignment. (the
271 default ones is ok), move number inside FontBits. move inlines to
274 * lyxfont.C: add number to initializaton of statics, move several
275 inlines here. constify several local vars. some whitespace
276 cleanup. Dont hide outerscope variables.
278 * Spacing.h: add two new constructors to match the set methods.
280 * ShareContainer.h: new file, will perhaps be moved to support
282 * ParameterStruct.h: new file
284 * ParagraphParameters.h: new file
286 * ParagraphParameters.C: new file
288 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
289 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
291 * BufferView_pimpl.C: ParagraphParameter changes.
292 * buffer.C: Likewise.
293 * bufferview_funcs.C: Likewise.
297 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
299 * lyxfind.C (LyXReplace): do not redefine default argument in
301 (IsStringInText): ditto
302 (SearchForward): ditto
303 (SearchBackward): ditto
305 2001-03-06 Juergen Vigna <jug@sad.it>
307 * lyxfind.C (IsStringInText): put parentes around expressions.
309 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
311 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
313 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
315 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
317 * stl_string_fwd.h: add comment
319 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
322 * tabular.C: remove unused DocBook methods
328 killed DO_USE_DEFAULT_LANGUAGE
330 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
332 * lyx_gui.C: do not include language.h.
334 * bufferview_funcs.C (ToggleAndShow): do not provide optional
335 arguments in function implementation.
337 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
339 * BufferView_pimpl.C: add <ctime>
341 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
343 * BufferView_pimpl.C: add using std::find_if
345 2001-02-27 José Matos <jamatos@fep.up.pt>
347 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
350 2001-02-11 José Matos <jamatos@fep.up.pt>
352 * buffer.C (makeDocBookFile): command styles now have a parameter as
355 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
357 * layout_forms.[Ch]: removed
358 * lyx_cb.[Ch]: out character
359 * lyx_gui.C: out character
360 * lyx_gui_misc.C: out character
361 * bufferview_funcs.C: : out character,
362 added toggleall as parameter in ToggleAndShow
364 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
366 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
368 * text2.C (SetCurrentFont): Disable number property at boundary.
370 2001-02-26 Juergen Vigna <jug@sad.it>
372 * lyxfunc.C (getStatus): added a string argument override function so
373 that this is correctly called from LyXFunc::Dispatch if it contains a
374 do_not_use_argument which is used!
375 (Dispatch): added check for "custom" export and call appropriate func.
377 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
379 * lyxrc.C: Add language_command_local, language_use_babel and
380 language_global_options.
382 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
384 * buffer.C (makeLaTeXFile): Use language_use_babel and
385 language_global_options.
387 2001-02-23 Juergen Vigna <jug@sad.it>
389 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
390 which works with LyXText and putted it inside BufferView. Here now we
391 only call for that part the BufferView::Dispatch() function.
393 * BufferView.C (Dispatch): added.
395 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
396 functions which needs to use a LyXText over from LyXFunc.
397 (MenuInsertLyXFile): added
398 (getInsetByCode): added
399 (moveCursorUpdate): added
402 2001-02-22 Juergen Vigna <jug@sad.it>
404 * BufferView_pimpl.C (update): call a status update to see if LyXText
407 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
409 * vc-backend.C (revert): implement for CVS
410 (getLog): implement for CVS
412 2001-02-20 Juergen Vigna <jug@sad.it>
414 * text2.C (ClearSelection): added BufferView param for inset_owner call
416 * lyxfunc.C (TEXT): added this function and use it instead of
417 directly owner->view()-text of getLyXText().
419 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
421 * src/layout_forms.C: out preamble
422 * src/layout_forms.h: out preamble
423 * src/lyx_cb.C: out preamble
424 * src/lyx_cb.h: out preamble
425 * src/lyx_gui.C: out preamble
426 * src/lyx_gui_misc.C: out preamble
427 * src/lyxfunc.C: connect with guii preamble
429 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
431 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
433 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
435 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
436 whether to run bibtex.
438 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
440 * Makefile.am (lyx_SOURCES): Remove BackStack.h
442 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
444 * Makefile.am (lyx_SOURCES): removed bibforms.h
448 * text.C (GetVisibleRow): make several local vars const
450 * tabular.C: small cleanup.
452 * lyxserver.C (callback): use compare instead of strncmp
454 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
455 inlines to after class or to paragraph.C
457 * lyxfont.h: remove friend operator!=
459 * converter.h: move friend bool operator< to non friend and after
462 * combox.h: small cleanup
464 * buffer.h: doxygen, remove unused constructor, move inclas inlies
465 to inlines after class def.
467 * buffer.C (pop_tag): use string operations instead of strcmp
469 * bmtable.c: doxygen, small cleanup
471 * LaTeX.h: remove friend operator==
473 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
485 * BufferView_pimpl.C:
486 * BufferView.[Ch]: remove cruft
488 2001-02-14 Juergen Vigna <jug@sad.it>
490 * lyxfunc.C: removed #if 0 unused code
492 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
494 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
496 * text2.C (SetSelection): added a BufferView * parameter
498 2001-02-13 Juergen Vigna <jug@sad.it>
500 * lyxfunc.C (Dispatch): fixed protected blank problem.
501 * BufferView2.C (protectedBlank): added LyxText * parameter.
503 * tabular.C (AppendRow): forgot to set row_info of newly added row.
504 (AppendColumn): same as above for column_info.
506 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
507 (moveCursorUpdate): use a LyXText param for support of InsetText.
509 * BufferView_pimpl.C (doubleClick): added support for InsetText.
512 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
514 * BufferView_pimpl.C (update): added LyXText param to honor insets.
516 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
518 * text2.C (SetSelection): set correct update status if inset_owner
521 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
523 * tabular.C: remove some commented code.
525 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
527 * BufferView_pimpl.C: call hideSplash()
529 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
535 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
536 add LFUN_CHILD_CREATE
538 * counters.h: fix tiny typo
543 * lyx.C: move splash to frontends/xforms/
545 * lyx_gui_misc.C: move Include and Bibform to frontends
547 * lyxvc.h: clarify comment
549 * vspace.C: tiny housekeeping
551 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
553 * text.C (PrepareToPrint): RTL Fix.
555 * paragraph.C (GetUChar): New method.
556 (String): Use GetUChar.
558 * buffer.C (asciiParagraph): Use GetUChar.
560 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
562 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
564 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
567 * buffer.C: rename to getLogName(), handle
568 build log / latex log nicely
570 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
573 * MenuBackend.h: remove support for reference menuitem type.
575 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
577 * BufferView_pimpl.C: housekeeping
578 * BufferView_pimpl.h:
583 * minibuffer.h: move Timeout GUI-I
585 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
587 * lyxrc.C (read): Update converters data-structures.
589 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
591 * LaTeX.h (operator!=): add operator != for Aux_Info
593 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
595 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
597 * LaTeXLog.C: deleted, useful code moved to Buffer
600 * buffer.C: new function getLatexLogName()
606 * lyxfunc.C: use frontends for LaTeX and VC logs
608 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
610 * LaTeX.h: yet another std:: that Allan forgot.
612 * Variables.C (set): renamed from isset(), because this clashes
613 with some HP-UX macros (grr).
615 2001-02-06 Allan Rae <rae@lyx.org>
617 * LaTeX.h: Another bug fix. Missing std:: this time.
619 2001-02-04 Allan Rae <rae@lyx.org>
621 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
622 floats problem. I've left it commented out because it's not quite
623 correct. It should also test that the current object is a table or
624 figure inset. But I haven't gotten around to figuring out how to do
625 that. I *think* it'll be something like: "table" == inset.type()
627 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
630 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
632 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
633 all the citation/databases/styles in the auxilary file.
634 (run): Rerun latex if there was a babel language error.
636 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
638 * text.C (Backspace): Preserve the font when changing newline char
640 (BreakParagraph): If the cursor is before a space, delete the space.
642 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
644 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
646 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
648 (ChangeCitationsIfUnique): New method.
650 * paragraph.C (GetPositionOfInset): Handle bibkey.
652 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
654 * BufferView_pimpl.h: change type of Position::par_pos to
655 LyXParagraph::size_type.
657 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
659 * BufferView_pimpl.C (savePosition, restorePosition): Write
660 messages to minibuffer.
662 2001-01-28 José Matos <jamatos@fep.up.pt>
664 * buffer.C (makeDocBookFile): adds support for document language.
665 A silly restriction on the name of LatexCommand types where removed.
666 Added support for CDATA sections, allows to chars unescaped, used
667 among others in code, to avoid escape < and >.
669 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
671 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
672 saved positions instrad of a stack. Furthermore, a position is
673 stored using paragraph id/paragraph position.
675 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
676 Remove LFUN_REF_BACK.
678 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
680 * converter.C (dvipdfm_options): New method.
682 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
684 * vspace.C (isValidLength): Fix for empty input string.
686 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
688 * LyXAction.C (init): change description of LFUN_FIGURE to
691 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
693 * LaTeX.C: add using directive
695 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
697 * MenuBackend.C (expand): Fix the sorting of the formats.
699 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
701 * lyx_main.C: tiny error message fix
703 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
705 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
706 calling fl_initialize(). This fixes the problem with ',' as
707 decimal separator in text files.
709 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
711 * trans.C (process): Fix the keymap bug.
713 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
715 * LaTeX.C (scanAuxFiles): New method. Provides support for
716 multiple bibliographies (when using the bibtopic/bibunits pacakges).
717 (scanLogFile) Scan for "run BibTeX" messages.
719 * buffer.C (makeLaTeXFile): Do not load the ae package when using
720 OT1 font encoding. Also, load the aecompl package if the ae
723 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
725 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
727 * texrow.C (increasePos): turn two error messages into debug
730 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
732 * LaTeX.C (scanAux): Handle the \@input macro.
733 (runBibTeX): Use scanAux().
735 * language.C (latex_options_): New field.
737 * LaTeXFeatures.C (getMacros): Add language macros.
739 * buffer.C (makeLaTeXFile): Small fix.
741 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
743 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
745 * text2.C: add a using directive.
747 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
752 * lyxfunc.C: kill LyXBell.
754 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
756 * text.C (IsBoundary): Remove the error message
758 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
760 * lyxrc.C (setDefaults): Correct initialization value for
763 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
765 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
768 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
771 * src/LyXAction.C: Added reference-next.
773 * text.C (InsertChar): Use contains instead of strchr.
775 * lyx_cb.C (MenuInsertLabel): Enable default value code.
777 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
779 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
780 alignment commands (when needed).
782 * text.C (InsertChar): Add ':' to number separator chars.