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