]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
gen toc also when NEW_INSETS is defined
[lyx.git] / src / ChangeLog
1 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
2
3         * buffer.C (getTocList): make the list also when NEW_INSETS is
4         defined.
5
6         * buffer.h: remove TocType
7
8         * buffer.C (getTocList): change to return a map<string,
9         vector<TocItem> >, implement for dynamic number of list.
10
11         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12         * text2.C (PasteSelection): adjust
13         * CutAndPaste.C (pasteSelection): adjust
14
15         * FloatList.C (FloatList): update from the new_insets branch.
16         * Floating.[Ch]: ditto
17         * LaTeXFeatures.C: ditto
18         * buffer.C: ditto
19         * lyxlex_pimpl.C: ditto
20         
21         * paragraph.C (Last): remove when NEW_INSETS is defined.
22
23         * other file: changes because of the above.
24
25 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
26
27         * lyxparagraph.h: rename next to next_, previous to previous_,
28         make them private for NEW_INSETS. Rename Next() to next(),
29         Previous() to previous().
30
31         * other files: changes because of the above.
32
33 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
34
35         * BufferView.h: 
36         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
37         problem.
38
39 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
40
41         * main.C (main): pass lyx_localedir to gettext_init().
42
43         * gettext.h: remove locale_init and gettext_init macros
44
45         * gettext.C (locale_init): new function
46         (gettext_init): new function
47
48         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
49         setlocale().
50
51 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
52
53         * Moved credits to frontends:
54         * credits.[Ch]: removed
55         * credits_form.[Ch]: removed
56         * lyx_gui_misc.C: remove credits stuff
57         * Makefile.am:
58
59 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
60
61         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
62
63         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
64         unneeded destructor.
65
66         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
67         a standalone pointer again.
68
69         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
70
71 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
72
73         * Makefile.am:
74         * filedlg.h:
75         * filedlg.C:
76         * LyXAction.C:
77         * ToolbarDefaults.C:
78         * bufferlist.C:
79         * commandtags.h:
80         * form1.C:
81         * form1.h:
82         * lyx_cb.C:
83         * lyx_cb.h:
84         * lyxfunc.h:
85         * lyxfunc.C:
86         * BufferView_pimpl.C: use new file dialog in GUII
87
88         * lyx_cb.h:
89         * lyx_cb.C: remove LayoutsCB to Toolbar
90
91 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
92
93         * ShareContainer.h (get): add std:: qualifier
94
95 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
96
97         * ShareContainer.h: define a proper ShareContainer::value_type
98         type (and use typename to please compaq cxx)
99
100 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
101
102         * lyxparagraph.h: move serveral local vars to
103         ParameterStruct/ParagraphParameters., use ShareContainer in
104         FontTable., make vars in FontTable private and add getter and
105         setter.
106
107         * paragraph.C: changes because of the above.
108
109         * lyxfont.h: remove copy constructor and copy assignment. (the
110         default ones is ok), move number inside FontBits. move inlines to
111         lyxfont.C 
112
113         * lyxfont.C: add number to initializaton of statics, move several
114         inlines here. constify several local vars. some whitespace
115         cleanup. Dont hide outerscope variables.
116
117         * Spacing.h: add two new constructors to match the set methods.
118
119         * ShareContainer.h: new file, will perhaps be moved to support
120
121         * ParameterStruct.h: new file
122
123         * ParagraphParameters.h: new file
124
125         * ParagraphParameters.C: new file
126
127         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
128         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
129
130         * BufferView_pimpl.C: ParagraphParameter changes.
131         * buffer.C: Likewise.
132         * bufferview_funcs.C: Likewise.
133         * text.C: Likewise.
134         * text2.C: Likewise.
135         
136 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
137
138         * lyxfind.C (LyXReplace): do not redefine default argument in
139         implementation. 
140         (IsStringInText): ditto
141         (SearchForward): ditto
142         (SearchBackward): ditto
143
144 2001-03-06  Juergen Vigna  <jug@sad.it>
145
146         * lyxfind.C (IsStringInText): put parentes around expressions.
147
148 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
149
150         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
151         
152 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
153
154         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
155
156         * stl_string_fwd.h: add comment
157
158         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
159
160         * tabular.h:
161         * tabular.C: remove unused DocBook methods
162
163         * intl.C:
164         * language.C:
165         * paragraph.C:
166         * buffer.C:
167         killed DO_USE_DEFAULT_LANGUAGE
168
169 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
170
171         * lyx_gui.C: do not include language.h.
172
173         * bufferview_funcs.C (ToggleAndShow): do not provide optional
174         arguments in function implementation.
175
176 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
177
178         * BufferView_pimpl.C: add <ctime>
179
180 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
181
182         * BufferView_pimpl.C: add using std::find_if
183
184 2001-02-27  José Matos  <jamatos@fep.up.pt>
185         
186         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
187         by OnlyPath.
188         
189 2001-02-11  José Matos  <jamatos@fep.up.pt>
190
191         * buffer.C (makeDocBookFile): command styles now have a parameter as
192         "title" by default.
193
194 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
195
196         * layout_forms.[Ch]: removed
197         * lyx_cb.[Ch]: out character
198         * lyx_gui.C: out character
199         * lyx_gui_misc.C: out character
200         * bufferview_funcs.C: : out character,
201         added toggleall as parameter in ToggleAndShow
202                    
203 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
204
205         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
206
207         * text2.C (SetCurrentFont): Disable number property at boundary.
208
209 2001-02-26  Juergen Vigna  <jug@sad.it>
210
211         * lyxfunc.C (getStatus): added a string argument override function so
212         that this is correctly called from LyXFunc::Dispatch if it contains a
213         do_not_use_argument which is used!
214         (Dispatch): added check for "custom" export and call appropriate func.
215
216 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
217
218         * lyxrc.C: Add language_command_local, language_use_babel and
219         language_global_options.
220
221         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
222
223         * buffer.C (makeLaTeXFile): Use language_use_babel and 
224         language_global_options.
225
226 2001-02-23  Juergen Vigna  <jug@sad.it>
227
228         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
229         which works with LyXText and putted it inside BufferView. Here now we
230         only call for that part the BufferView::Dispatch() function.
231
232         * BufferView.C (Dispatch): added.
233
234         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
235         functions which needs to use a LyXText over from LyXFunc.
236         (MenuInsertLyXFile): added
237         (getInsetByCode): added
238         (moveCursorUpdate): added
239         (static TEXT): added
240
241 2001-02-22  Juergen Vigna  <jug@sad.it>
242
243         * BufferView_pimpl.C (update): call a status update to see if LyXText
244         needs it.
245
246 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
247
248         * vc-backend.C (revert): implement for CVS
249         (getLog): implement for CVS
250
251 2001-02-20  Juergen Vigna  <jug@sad.it>
252
253         * text2.C (ClearSelection): added BufferView param for inset_owner call
254
255         * lyxfunc.C (TEXT): added this function and use it instead of
256         directly owner->view()-text of getLyXText().
257
258 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
259
260         * src/layout_forms.C: out preamble
261         * src/layout_forms.h: out preamble
262         * src/lyx_cb.C: out preamble
263         * src/lyx_cb.h: out preamble
264         * src/lyx_gui.C: out preamble
265         * src/lyx_gui_misc.C: out preamble
266         * src/lyxfunc.C: connect with guii preamble
267
268 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
269
270         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
271
272 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
273
274         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
275         whether to run bibtex.
276
277 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
278
279         * Makefile.am (lyx_SOURCES): Remove BackStack.h
280
281 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
282
283         * Makefile.am (lyx_SOURCES): removed bibforms.h
284
285         * vspace.h: doxygen
286
287         * text.C (GetVisibleRow): make several local vars const
288
289         * tabular.C: small cleanup.
290
291         * lyxserver.C (callback): use compare instead of strncmp
292
293         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
294         inlines to after class or to paragraph.C
295
296         * lyxfont.h: remove friend operator!=
297
298         * converter.h: move friend bool operator< to non friend and after
299         class def.
300
301         * combox.h: small cleanup
302
303         * buffer.h: doxygen, remove unused constructor, move inclas inlies
304         to inlines after class def.
305
306         * buffer.C (pop_tag): use string operations instead of strcmp
307
308         * bmtable.c: doxygen, small cleanup
309
310         * LaTeX.h: remove friend operator==
311
312 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
313
314         * screen.C: 
315         * lyxrc.[Ch]:
316         * lyxfunc.C: 
317         * lyxfont.[Ch]: 
318         * lyx_cb.C: 
319         * intl.[Ch]: 
320         * commandtags.h: 
321         * buffer.C: 
322         * WorkArea.[Ch]: 
323         * LyXAction.C: 
324         * BufferView_pimpl.C:
325         * BufferView.[Ch]: remove cruft
326
327 2001-02-14  Juergen Vigna  <jug@sad.it>
328
329         * lyxfunc.C: removed #if 0 unused code
330
331         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
332
333         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
334
335         * text2.C (SetSelection): added a BufferView * parameter
336
337 2001-02-13  Juergen Vigna  <jug@sad.it>
338
339         * lyxfunc.C (Dispatch): fixed protected blank problem.
340         * BufferView2.C (protectedBlank): added LyxText * parameter.
341
342         * tabular.C (AppendRow): forgot to set row_info of newly added row.
343         (AppendColumn): same as above for column_info.
344
345         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
346         (moveCursorUpdate): use a LyXText param for support of InsetText.
347
348         * BufferView_pimpl.C (doubleClick): added support for InsetText.
349         (tripleClick): ditto
350
351         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
352
353         * BufferView_pimpl.C (update): added LyXText param to honor insets.
354
355         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
356
357         * text2.C (SetSelection): set correct update status if inset_owner
358         (ToggleFree): ditto
359
360 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
361
362         * tabular.C: remove some commented code.
363
364 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
365
366         * BufferView_pimpl.C: call hideSplash()
367
368         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
369
370         * include_form.h:
371         * bibforms.h: remove
372
373         * lyxfunc.C:
374         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
375           add LFUN_CHILD_CREATE
376
377         * counters.h: fix tiny typo
378         
379         * lyx_cb.C:
380         * lyx.h:
381         * lyx_gui.C:
382         * lyx.C: move splash to frontends/xforms/
383
384         * lyx_gui_misc.C: move Include and Bibform to frontends
385
386         * lyxvc.h: clarify comment
387
388         * vspace.C: tiny housekeeping
389
390 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
391
392         * text.C (PrepareToPrint): RTL Fix.
393
394         * paragraph.C (GetUChar): New method.
395         (String):  Use GetUChar.
396
397         * buffer.C (asciiParagraph): Use GetUChar.
398
399 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
400
401         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
402
403 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
404
405         * buffer.h:
406         * buffer.C: rename to getLogName(), handle
407           build log / latex log nicely
408
409 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
410
411         * MenuBackend.C: 
412         * MenuBackend.h: remove support for reference menuitem type.
413
414 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
415
416         * BufferView_pimpl.C: housekeeping
417         * BufferView_pimpl.h:
418         * LyXView.h:
419         * Makefile.am:
420         * Timeout.C:
421         * Timeout.h:
422         * minibuffer.h: move Timeout GUI-I
423                           
424 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
425
426         * lyxrc.C (read): Update converters data-structures.
427
428 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
429
430         * LaTeX.h (operator!=): add operator != for Aux_Info 
431
432 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
433
434         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
435
436         * LaTeXLog.C: deleted, useful code moved to Buffer
437
438         * buffer.h:
439         * buffer.C: new function getLatexLogName()
440
441         * lyx_gui_misc.C:
442         * lyx_gui.C:
443         * lyxvc.C:
444         * lyxvc.h:
445         * lyxfunc.C: use frontends for LaTeX and VC logs
446
447 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
448
449         * LaTeX.h: yet another std:: that Allan forgot.
450
451         * Variables.C (set): renamed from isset(), because this clashes
452         with some HP-UX macros (grr).
453
454 2001-02-06  Allan Rae  <rae@lyx.org>
455
456         * LaTeX.h: Another bug fix.  Missing std:: this time.
457
458 2001-02-04  Allan Rae  <rae@lyx.org>
459
460         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
461         floats problem. I've left it commented out because it's not quite
462         correct.  It should also test that the current object is a table or
463         figure inset.  But I haven't gotten around to figuring out how to do
464         that.  I *think* it'll be something like: "table" == inset.type()
465
466         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
467         bool.
468
469 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
470
471         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
472         all the citation/databases/styles in the auxilary file. 
473         (run): Rerun latex if there was a babel language error.
474
475 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
476
477         * text.C (Backspace): Preserve the font when changing newline char
478         with a space.
479         (BreakParagraph): If the cursor is before a space, delete the space.
480
481         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
482
483 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
484
485         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
486         new argument (code).
487         (ChangeCitationsIfUnique): New method.
488
489         * paragraph.C (GetPositionOfInset): Handle bibkey.
490
491 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
492
493         * BufferView_pimpl.h: change type of Position::par_pos to
494         LyXParagraph::size_type. 
495
496 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
497
498         * BufferView_pimpl.C (savePosition, restorePosition): Write
499         messages to minibuffer.
500
501 2001-01-28  José Matos  <jamatos@fep.up.pt>
502
503         * buffer.C (makeDocBookFile): adds support for document language.
504         A silly restriction on the name of LatexCommand types where removed.
505         Added support for CDATA sections, allows to chars unescaped, used
506         among others in code, to avoid escape < and >.
507         
508 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
509
510         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of 
511         saved positions instrad of a stack. Furthermore, a position is
512         stored using paragraph id/paragraph position.
513
514         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
515         Remove LFUN_REF_BACK.
516
517 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
518
519         * converter.C (dvipdfm_options): New method.
520
521 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
522
523         * vspace.C (isValidLength): Fix for empty input string.
524
525 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
526
527         * LyXAction.C (init): change description of LFUN_FIGURE to
528         "Insert Graphics"
529
530 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
531
532         * LaTeX.C: add using directive
533
534 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
535
536         * MenuBackend.C (expand): Fix the sorting of the formats.
537
538 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
539
540         * lyx_main.C: tiny error message fix
541
542 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
543
544         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
545         calling fl_initialize(). This fixes the problem with ',' as
546         decimal separator in text files.
547
548 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
549
550         * trans.C (process): Fix the keymap bug.
551
552 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
553
554         * LaTeX.C (scanAuxFiles): New method. Provides support for
555         multiple bibliographies (when using the bibtopic/bibunits pacakges).
556         (scanLogFile) Scan for "run BibTeX" messages.
557
558         * buffer.C (makeLaTeXFile): Do not load the ae package when using
559         OT1 font encoding. Also, load the aecompl package if the ae
560         package is loaded.
561
562         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
563
564 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
565
566         * texrow.C (increasePos): turn two error messages into debug
567         messages. 
568
569 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
570
571         * LaTeX.C (scanAux): Handle the \@input macro.
572         (runBibTeX): Use scanAux().
573
574         * language.C (latex_options_): New field.
575
576         * LaTeXFeatures.C (getMacros): Add language macros.
577
578         * buffer.C (makeLaTeXFile): Small fix.
579
580 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
581
582         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
583
584         * text2.C: add a using directive.
585
586 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
587
588         * BufferView2.C:
589         * lyx_gui_misc.h:
590         * lyxfr1.C:
591         * lyxfunc.C: kill LyXBell.
592
593 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
594
595         * text.C (IsBoundary): Remove the error message
596         
597         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
598
599         * lyxrc.C (setDefaults): Correct initialization value for
600         font_norm_type.
601
602 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
603
604         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
605         gotoError().
606
607         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
608         and GotoNextNote().
609
610         * src/LyXAction.C: Added reference-next.
611
612         * text.C (InsertChar): Use contains instead of strchr.
613
614         * lyx_cb.C (MenuInsertLabel): Enable default value code.
615
616 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
617
618         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
619         alignment commands (when needed).
620
621         * text.C (InsertChar): Add ':' to number separator chars.